﻿.hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: ellipse(100% 100% at 50% 0%);
    -webkit-clip-path: ellipse(100% 100% at 50% 0%);
}

.hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease;
}

    .hero-video.active {
        opacity: 1;
    }

.background-image {
    background-image: url('/Content/images/about-us/about-us.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 800px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 2;
}

.hero-content {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    gap: 24px;
    position: absolute;
    width: 100%;
    max-width: 1312px;
    height: auto;
    min-height: 139px;
    left: 50%;
    top: 75%;
    transform: translate(-50%, -50%);
    background: rgba(53, 53, 53, 0.5);
    mix-blend-mode: normal;
    border: 1px solid #7D7D7D;
    border-radius: 24px;
    z-index: 3;
}

.hero-frame {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 12px;
    width: 100%;
    max-width: 914px;
}

.hero-title {
    font-family: var(--font-family-head);
    font-style: normal;
    font-weight: 800;
    font-size: var(--font-size-hero-title);
    line-height: 1.2;
    color: var(--clr-text-white);
    margin: 0;
    text-align: center;
}

.hero-description {
    width: 100%;
    max-width: 914px;
    font-family: var(--font-family-body);
    font-style: normal;
    font-weight: 400;
    font-size: var(--font-size-hero-desc);
    line-height: 1.3;
    color: var(--clr-text-white);
    margin: 0;
    text-align: center;
}

/* Hero Carousel Indicators */
.hero-indicators {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 16px;
    position: absolute;
    z-index: 4;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(25% + 80px);
}

.hero-indicator-active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px;
    gap: 16px;
    width: 52px;
    height: 28px;
    border: 1px solid #7D7D7D;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator-active-bar {
    width: 36px;
    height: 12px;
    background: #FFFFFF;
    border-radius: 12px;
}

.hero-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px;
    width: 28px;
    height: 28px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .hero-indicator:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

.hero-indicator-dot {
    width: 12px;
    height: 12px;
    background: #7D7D7D;
    border-radius: 12px;
}

/* Media queries for different screen sizes */
@media screen and (max-width: 1400px) {
    .hero-content {
        width: 90%;
    }

    .hero-title {
        font-size: var(--font-size-hero-title-lg);
    }
}

/*@media screen and (max-width: 992px) {
    .hero-container {
        height: 600px;
    }

    .hero-content {
        width: 85%;
        padding: 20px;
    }

    .hero-title {
        font-size: var(--font-size-hero-title-md);
    }

    .hero-description {
        font-size: var(--font-size-hero-desc-md);
    }
}*/

@media screen and (max-width: 768px) {
    .hero-container {
        height: 500px;
        margin-bottom: 60px;
    }

    .hero-content {
        width: 90%;
        padding: 16px;
        gap: 16px;
    }

    .hero-title {
        font-size: var(--font-size-hero-title-sm);
    }

    .hero-description {
        font-size: var(--font-size-hero-desc-sm);
    }
    .background-image {
        height: 500px;

        background-size: cover; 
        background-position: top;

    }
}

@media screen and (max-width: 576px) {
    .hero-container {
        height: 400px;
        margin-bottom: 40px;
    }

    .hero-content {
        width: 95%;
        padding: 12px;
        gap: 10px;
    }

    .hero-title {
        font-size: var(--font-size-hero-title-xs);
    }

    .hero-description {
        font-size: var(--font-size-hero-desc-xs);
    }
    .background-image {
        height: 400px;
        background-size: cover;
        background-position: top center;
    }
}
