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

/* --- Page Banner (Reusable/Specific) --- */
.page-banner--about {
    background-image: linear-gradient(rgba(28, 37, 57, 0.8), rgba(28, 37, 57, 0.8)), url('../../images/about/hero-banner.jpg'); /* Fallback or specific image */
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    margin-bottom: 0;
    color: var(--color-white);
}

.page-title {
    font-size: var(--h1);
    font-weight: var(--p-bold);
    color: var(--color-white);
    margin-bottom: 15px;
}

.page-breadcrumb {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-b1);
}

/* --- About Intro Section --- */
.about-intro {
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.about-images {
    position: relative;
    width: fit-content;
    margin: 0 auto;
    padding-right: 40px;
    padding-bottom: 40px;
}

.about-images .main-img {
    display: block;
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.experience-badge {
    position: absolute;
    top: 40px;
    left: -30px;
    background: var(--color-primary);
    padding: 20px 25px;
    border-radius: var(--radius-md);
    color: var(--color-white);
    z-index: 3;
    box-shadow: var(--shadow-float);
    text-align: center;
    min-width: 140px;
}

.experience-badge .count {
    font-size: 48px;
    font-weight: var(--p-extra-bold);
    line-height: 1;
    display: block;
    margin-bottom: 5px;
    font-family: var(--font-primary);
    color: var(--color-white);
}

.experience-badge span {
    font-size: 14px;
    font-weight: var(--p-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content {
    padding-left: 30px;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: var(--p-bold);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 15px;
    background: #F2F2F2;
    padding: 8px 16px;
    border-radius: 30px;
}

.check-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.single-check {
    display: flex;
    align-items: center;
    gap: 15px;
}

.single-check i {
    color: var(--color-success);
    font-size: 20px;
}

.single-check p {
    margin: 0;
    font-weight: var(--p-medium);
    color: var(--color-heading-1);
}

/* --- Team Section --- */
.team-section {
    /*background-color: var(--color-bg-light);*/
    padding: 1rem;
}

.team-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-slider .team-card {
    flex: 0 0 280px;
}

/* Team dots - hidden on desktop */
.team-dots {
    display: none;
}

.team-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-base);
    text-decoration: none;
    display: block;
    position: relative;
}

.team-card:hover,
.team-card:active,
.team-card.touched {
    background: var(--color-secondary);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.team-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover img,
.team-card:active img,
.team-card.touched img {
    transform: scale(1.05);
    transition: var(--transition-base);
}

.team-info {
    padding: 20px;
    text-align: center;
    background: var(--color-white);
    position: relative;
    z-index: 2;
    transition: var(--transition-base);
}


.team-info h5 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--color-heading-1);
}

.team-info span {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: var(--p-medium);
}

.team-card:hover .team-info,
.team-card:active .team-info,
.team-card.touched .team-info {
    background: var(--color-secondary);
}

.team-card:hover .team-info h5,
.team-card:hover .team-info span,
.team-card:active .team-info h5,
.team-card:active .team-info span,
.team-card.touched .team-info h5,
.team-card.touched .team-info span {
    color: var(--color-white);
}

/* --- Approach Section (Business Goal) --- */
.approach-section {
    padding: 1rem;
}

.approach-images {
    position: relative;
    width: fit-content;
    margin: 0 auto;
    padding-left: 40px;
    padding-bottom: 40px;
}
.approach-images

.approach-images .main-img {
    display: block;
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

/* --- Features Grid (shared with index) --- */
.feature-card {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.feature-icon {
    height: 60px;
    min-width: 60px;
    background: #F2F2F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 24px;
    transition: var(--transition);
}


.feature-content h5 {
    font-size: var(--h5);
    margin-bottom: 10px;
    color: var(--color-heading-1);
}

.feature-content p {
    font-size: var(--font-size-b1);
    color: var(--color-body);
    line-height: var(--line-height-b3);
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 1rem;
}

.testimonial-slider {
    display: grid;
    position: relative;
    max-width: 100%;
    margin: 0;
    padding-bottom: 50px; /* Space for dots */
}

.testimonial-slide {
    grid-area: 1 / 1; /* All slides stack in same cell */
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-image {
    flex: 0 0 350px; /* Fixed width for image column */
    aspect-ratio: 7 / 8;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
    text-align: left;
    position: relative;
}

.testimonial-icon {
    font-size: 40px;
    color: var(--color-primary);
    opacity: 0.2;
    margin-bottom: 25px;
    display: block;
}

.testimonial-text {
    font-size: 24px;
    line-height: 1.5;
    color: var(--color-heading-1);
    font-weight: var(--p-medium);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-info {
    border-left: 4px solid var(--color-primary);
    padding-left: 20px;
}

.testimonial-name {
    font-size: 20px;
    font-weight: var(--p-bold);
    color: var(--color-heading-1);
    margin-bottom: 5px;
}

.testimonial-role {
    font-size: 15px;
    color: var(--color-body);
    font-weight: var(--p-medium);
}

/* Slider Navigation - Dots */
.testimonial-dots {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-heading-1);
    opacity: 0.3;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.testimonial-dot:hover,
.testimonial-dot:active {
    opacity: 0.6;
}

.testimonial-dot.active {
    opacity: 1;
    background: var(--color-primary);
    transform: scale(1.2);
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .about-intro { padding: 2rem 1rem; }
    .about-images { padding-right: 0; margin-bottom: 50px; padding-bottom: 0; }
    .about-content { padding-left: 0; }

    .team-section { padding: 2rem 0; }

    /* Team horizontal scroll slider on mobile */
    .team-slider {
        display: flex;
        flex-wrap: nowrap;
        gap: 15px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        /* Padding on sides allows first/last card to center */
        padding: 0 calc(50% - 140px);
        margin: 0;

        /* Hide scrollbar but keep functionality */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .team-slider::-webkit-scrollbar {
        display: none;
    }

    .team-slider .team-card {
        flex: 0 0 280px;
        scroll-snap-align: center;
    }

    /* Team dots beneath slider */
    .team-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    .team-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--color-heading-1);
        opacity: 0.3;
        border: none;
        cursor: pointer;
        padding: 0;
        transition: all 0.3s ease;
    }

    .team-dot:hover,
    .team-dot:active {
        opacity: 0.6;
    }

    .team-dot.active {
        opacity: 1;
        background: var(--color-primary);
        transform: scale(1.2);
    }

    .approach-item { flex-direction: column; }
    .approach-section { padding: 2rem 1rem; }
    .approach-images { padding-left: 0; padding-bottom: 0; }

    /* Testimonials mobile */
    .testimonials-section {
        padding: 2rem 1rem;
    }

    .testimonial-slide {
        flex-direction: column;
        gap: 25px;
        align-items: stretch;
    }

    .testimonial-image {
        flex: none;
        width: 100%;
        max-width: 350px;
        aspect-ratio: 7 / 8;
        margin: 0 auto;
    }

    .testimonial-content {
        text-align: center;
    }

    .testimonial-info {
        border-left: none;
        padding-left: 0;
        border-top: 4px solid var(--color-primary);
        padding-top: 15px;
        display: inline-block;
    }

    .testimonial-dots {
        position: relative;
        justify-content: center;
        margin-top: 20px;
    }

    .testimonial-slider {
        padding-bottom: 0;
    }
}

@media (max-width: 575px) {
    .experience-badge {
        position: static;
        margin-bottom: 20px;
        display: inline-block;
        min-width: auto;
    }
    .about-images .small-img-wrapper { display: none; }

    .team-slider {
        padding: 0 calc(50% - 120px);
    }
    .team-slider .team-card { flex: 0 0 240px; }

    /* Testimonials smaller screens */
    .testimonial-text { font-size: 18px; line-height: 1.6; }
    .testimonial-icon { font-size: 30px; margin-bottom: 15px; }
    .testimonial-name { font-size: 18px; }
    .testimonial-role { font-size: 14px; }
    .testimonial-image { max-width: 280px; }
}
