/* =========================================
   ABOUT US PAGE STYLES
   ========================================= */

/* Hero Section */
.about-hero-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../assets/whyshooseus.webp');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 140px 0 100px 0;
    text-align: center;
    position: relative;
}

.about-hero-banner h1 {
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    font-size: clamp(2rem, 8vw, 6rem);
    letter-spacing: -2px;
    position: relative;
    z-index: 2;
}

/* Quality Section */
.about-quality-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.about-quality-images {
    position: relative;
    height: 450px;
}

.about-quality-images .img-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    z-index: 1;
}

.about-quality-images .img-front {
    position: absolute;
    bottom: 0;
    right: 5%;
    width: 55%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    z-index: 2;
    box-shadow: -10px -10px 30px rgba(0, 0, 0, 0.1);
}

.play-btn-wrapper {
    position: absolute;
    top: 275px;
    /* Center of the 350px tall image positioned at bottom of 450px container */
    left: 67.5%;
    /* Center of the 55% wide image positioned at right: 5% */
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: var(--accent-yellow);
    color: var(--primary-black);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    z-index: 3;
    transition: all 0.3s ease;
}

.play-btn-wrapper:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: #5b90ce;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(91, 144, 206, 0.4);
}

.about-quality-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--primary-black);
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.1;
}

.about-quality-content p {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.quality-features {
    display: flex;
    gap: 30px;
}

.q-feature {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-black);
}

/* Override Why Choose Us Background */
#why-choose-us .why-choose-section {
    background-color: #f6f6f6;
    padding-top: 0;
    padding-bottom: 0;
}

/* Laundry Expertise Section */
.expertise-section {
    padding: 100px 0;
    background-color: #f6f6f6;
}

.expertise-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--primary-black);
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0;
}

.expertise-section p {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-gray);
    font-size: 1rem;
    margin: 0;
}

.expertise-card {
    position: relative;
    z-index: 1;
    background-color: transparent;
    padding: 40px;
    border-radius: 16px;
    height: 100%;
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer; /* Allows hover effects to trigger on mobile tap */
}

/* White card layer */
.expertise-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 16px;
    z-index: -1;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: box-shadow 400ms ease;
}

/* Ensure content stays above pseudo-elements */
.expertise-card>* {
    position: relative;
    z-index: 1;
}

/* Blue layer hover animation */
.expertise-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #5b90ce;
    border-radius: 16px;
    z-index: -2;
    transform: rotate(0) translate(0, 0) scale(1);
    opacity: 0;
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), opacity 400ms ease;
}

.expertise-card .exp-icon {
    width: 50px;
    height: 50px;
    background-color: #f0f0f0;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary-black);
    margin-bottom: 25px;
    perspective: 600px;
    transition: background 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.expertise-card .exp-icon i {
    display: inline-block;
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.expertise-card:hover {
    transform: translateY(-5px);
}

.expertise-card:hover::after {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.expertise-card:hover::before {
    opacity: 1;
    transform: rotate(-3deg) translate(5px, -4px) scale(1.02);
}

.expertise-card:hover .exp-icon {
    background: #5b90ce;
}

.expertise-card:hover .exp-icon i {
    transform: rotateY(360deg);
}

.expertise-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.expertise-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Logo Banner Section */
.partner-banner {
    background-color: #000000;
    padding: 80px 0;
}

.partner-banner h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
}

.logo-marquee {
    overflow: hidden;
    padding: 20px 0;
    white-space: nowrap;
    position: relative;
    /* Optional: Faded edges for smoother look */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: inline-flex;
    gap: 80px;
    opacity: 0.7;
    animation: marquee-scroll 10s linear infinite;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 40px));
        /* Move by exactly half the container size minus half the gap */
    }
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background-color: #f6f6f6;
}

.team-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-black);
    text-transform: uppercase;
    margin: 0;
}

.team-btn {
    background-color: var(--accent-yellow);
    color: var(--primary-black);
    padding: 10px 30px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.team-btn:hover {
    background-color: #cde600;
    color: var(--primary-black);
    transform: translateY(-2px);
}

.team-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}


@media (max-width: 991px) {
    .about-quality-images {
        height: 380px;
        margin-bottom: 50px;
    }
    
    .about-quality-images .img-back {
        width: 70%;
        height: 280px;
    }
    
    .about-quality-images .img-front {
        width: 65%;
        height: 280px;
    }
    
    .play-btn-wrapper {
        top: 220px;
        left: 67%;
    }

}

@media (max-width: 767px) {
    .about-hero-banner {
        padding: 140px 0 60px;
    }
    
    .about-quality-section {
        padding: 60px 0;
    }
    
    .about-quality-images {
        height: auto;
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        position: static;
    }
    
    .about-quality-images .img-back,
    .about-quality-images .img-front {
        position: static;
        width: 100%;
        height: 220px;
        border-radius: 12px;
    }
    
    .play-btn-wrapper {
        display: none;
    }
    
    .expertise-section {
        padding: 60px 0;
    }
    
    .expertise-card {
        padding: 28px;
    }
    
}