/* ------------------------------------------------
   Who We Are Hero
------------------------------------------------ */
.who-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Slideshow container */
.slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Each slide */
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideshow 18s infinite;
}

/* stagger each slide by 6s */
.slide-1 {
    background-image: url("../assets/images/who-bg-1.jpg");
    animation-delay: 0s;
}
.slide-2 {
    background-image: url("../assets/images/who-bg-2.jpg");
    animation-delay: 6s;
}
.slide-3 {
    background-image: url("../assets/images/who-bg-3.jpg");
    animation-delay: 12s;
}
.slide-4 {
    background-image: url("../assets/images/who-bg-4.jpg");
    animation-delay: 18s;
}

/* fade in + zoom in + fade out */
@keyframes slideshow {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    30% {
        opacity: 1;
        transform: scale(1.08);
    }
    40% {
        opacity: 0;
        transform: scale(1.08);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* dark overlay so text is readable */
.slideshow-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* Content on top */
.who-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    padding: 80px 30px;
    color: #ffffff;
}

/* Video box */
.who-video {
    width: 100%;
    height: auto;
    margin: 0 auto 50px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #000;
}

.who-video video {
    width: 100%;
    display: block;
}

/* Text */
.who-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.who-content p {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .who-content h2 {
        font-size: 1.75rem;
    }

    .who-content p {
        font-size: 0.9rem;
    }
}

/* ------------------------------------------------
   Quality Section
------------------------------------------------ */
.quality-section {
    background-color: #f5f3ef;
}

/* 3 images row */
.quality-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 280px;
}

.quality-img {
    overflow: hidden;
}

.quality-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.quality-img img:hover {
    transform: scale(1.05);
}

/* Text content */
.quality-content {
    text-align: center;
    padding: 80px 30px;
    max-width: 750px;
    margin: 0 auto;
}

.quality-icon {
    margin-bottom: 20px;
}

.quality-icon img {
    width: 50px;
    height: auto;
    opacity: 0.5; /* matches the faded gray look */
    margin: 0 auto;
}

.quality-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #111;
    margin-bottom: 1rem;
}

.quality-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .quality-images {
        grid-template-columns: 1fr;
        height: auto;
    }

    .quality-img {
        height: 200px;
    }

    .quality-content h2 {
        font-size: 1.75rem;
    }
}
