/* ============================= */
/* HERO SECTION */
/* ============================= */

.hero-video {
    position: relative;
    /* height: 100vh; */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url('../images/Background.png');
}


/* Background wrapper */
.hero-bg-screen {
    position: absolute;
    inset: 0;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100vh;
    /* min-height: 100%; */
    min-width: 100%;
    transform: translate(-50%, -50%) scale(1);
    object-fit: cover;
    overflow: hidden;
    z-index: 0;
    height: 100dvh;
}

.hero-video::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}




/* Background image */
/* .hero-bg-screen img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
} */

/* Dark overlay */
/* .hero-bg-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.4);
} */

/* Hero content container */
.hero-content {
    position: relative;
    /* left: 10%;
    bottom: 10%; */
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

/* Year title */
.hero-video h1 {
    font-family: 'Playfair Display', serif;
    font-size: 120px;
    margin: 0;
}

/* Subtitle */
.hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
    /* background-image: url('/frontend/images/Background.png'); */
    padding: 10px;
    border-radius: 20px;
}


/* Counter animation styling */
.year {
    font-weight: bold;
    transition: all 0.6s ease;
}

.year.finished {
    color: #ffffff;
    transform: scale(1.1);
}

/* ============================= */
/* ABOUT SECTION */
/* ============================= */

.about {
    position: relative;
    height: auto;
    /* Full height of the viewport */
}

.about-header {
    text-align: center;
    padding: 40px 0;
}

.about-header h2 {
    position: relative;
}

/* About content layout */
.about-content {
    /* Add styling for the container if needed */
}

.about-items {
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two equal columns */
    grid-template-rows: repeat(4, 1fr);
    /* Make rows flexible to fill available space */
    gap: 20px;
    grid-template-areas:
        "mission mission"
        "vision core-values"
        "approach execution-excellence"
        "partnership transparency";
    height: 100%;
    /* Make the grid take up the full height of the parent */
}

.about-items .item {
    padding: 10px;
    border-radius: 10px;
}

.mission {
    grid-column: span 2;
}

.title {
    margin-bottom: 10px;
    color: #a67c3f;
    font-weight: 600;
}

.item p {
    font-style: italic;
}

.about-image {
    z-index: 0;
    position: absolute;
    bottom: 20%;
    left: 25%;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 992px) {
    .about {
        height: auto;
    }

    .hero-screen h1 {
        font-size: 60px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-left,
    .about-right {
        flex: 1 1 100%;
    }

    .about-image img {
        display: none;
    }
}

@media (max-width: 768px) {
    .mission {
        grid-area: mission;
    }

    .vision {
        grid-area: vision;
    }

    .core-values {
        grid-area: core-values;
    }

    .approach {
        grid-area: approach;
    }

    .execution-excellence {
        grid-area: execution-excellence;
    }

    .partnership {
        grid-area: partnership;
    }

    .transparency {
        grid-area: transparency;
    }

    .about-items {

        grid-template-columns: 1fr;
        grid-template-rows: auto;

        grid-template-areas:
            "mission"
            "vision"
            "core-values"
            "approach"
            "execution-excellence"
            "partnership"
            "transparency";
    }

}

@media (max-width: 600px) {

    .hero-screen h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .about-text p {
        font-size: 16px;
    }
}

.testimonials-item {
    width: auto;
}