/* TESTIMONIALS PAGE */

.section-tag {
    color: #C89A2B;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
}

.center-tag {
    display: block;
    margin-bottom: 15px;
    text-align: center;
}

/* TESTIMONIAL CAROUSEL */

.testimonial-hero-section {
    padding: 60px 80px 80px;
    background: #FAFAF8;
    border-bottom: 1px solid #E7E7E7;
    text-align: center;
}

.testimonial-hero-section h1,
.gallery-header h2 {
    color: #0D2342;
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    line-height: 1.1;
}

.hero-subtitle {
    margin: 18px 0 50px;
    color: #1A1A1A;
    font-size: 15px;
    line-height: 1.8;
}

.testimonial-carousel-container {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
    padding: 50px;
    overflow: hidden;
    background: white;
    border: 1px solid #E7E7E7;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-slide {
    display: none;
    align-items: center;
    gap: 50px;
    text-align: left;
}

.testimonial-slide.active {
    display: flex;
}

.slide-left-photo {
    position: relative;
    flex: 0 0 280px;
}

.slide-left-photo img {
    width: 280px;
    height: 340px;
    border-radius: 10px;
    object-fit: cover;
}

.student-meta-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 7px 14px;
    background: #0D2342;
    border-radius: 8px;
    color: white;
    font-size: 12px;
}

.slide-right-text {
    flex: 1;
}

.quote-icon {
    margin-bottom: 10px;
    color: #C89A2B;
    font-size: 36px;
    opacity: 0.55;
}

.testimonial-quote {
    margin-bottom: 25px;
    color: #1A1A1A;
    font-size: 16px;
    font-style: italic;
    line-height: 1.8;
}

.student-name {
    margin-bottom: 5px;
    color: #0D2342;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
}

.student-course {
    color: #C89A2B;
    font-size: 13px;
    font-weight: 500;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: white;
    border: 1px solid #E7E7E7;
    border-radius: 50%;
    color: #0D2342;
    cursor: pointer;
    transform: translateY(-50%);
    transition: 0.3s;
}

.carousel-btn:hover {
    background: #0D2342;
    border-color: #0D2342;
    color: white;
}

.prev-btn {
    left: 12px;
}

.next-btn {
    right: 12px;
}

.carousel-dots-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 35px;
}

.dot {
    width: 8px;
    height: 8px;
    padding: 0;
    background: #E7E7E7;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active,
.dot:hover {
    width: 20px;
    background: #C89A2B;
    border-radius: 4px;
}

/* PROOF GALLERY */

.proof-gallery-section {
    padding: 60px 80px;
    background: #FAFAF8;
}

.gallery-header {
    max-width: 650px;
    margin: 0 auto 50px;
    text-align: center;
}

.gallery-header h2 {
    margin: 15px 0;
}

.gallery-header p {
    color: #1A1A1A;
    font-size: 15px;
    line-height: 1.8;
}

.gallery-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 45px;
}

.filter-tab {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid #E7E7E7;
    border-radius: 30px;
    color: #0D2342;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    transition: 0.3s;
}

.filter-tab:hover,
.filter-tab.active {
    background: #0D2342;
    border-color: #0D2342;
    color: white;
}

.gallery-media-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    transition: 0.3s;
}

.img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #E7E7E7;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.img-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    background: linear-gradient(to top, rgba(13, 35, 66, 0.9), rgba(13, 35, 66, 0.2));
    opacity: 0;
    transition: 0.3s;
}

.img-overlay span {
    color: white;
    font-size: 13px;
}

.img-overlay i {
    margin-right: 6px;
    color: #C89A2B;
}

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

.img-wrapper:hover .img-overlay {
    opacity: 1;
}

/* TABLET AND MOBILE */

@media (max-width: 900px) {
    .testimonial-hero-section,
    .proof-gallery-section {
        padding: 50px 30px;
    }

    .testimonial-carousel-container {
        padding: 35px;
    }

    .testimonial-slide {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .gallery-media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .testimonial-hero-section h1,
    .gallery-header h2 {
        font-size: 36px;
    }

    .testimonial-carousel-container {
        padding: 25px;
    }

    .slide-left-photo {
        flex: none;
    }

    .slide-left-photo img {
        width: 220px;
        height: 280px;
    }

    .prev-btn {
        left: 5px;
    }

    .next-btn {
        right: 5px;
    }

    .gallery-media-grid {
        grid-template-columns: 1fr;
    }
}
/* TABLET AND MOBILE TESTIMONIALS RESPONSIVE */

@media (max-width: 900px) {
    .testimonial-hero-section,
    .proof-gallery-section {
        padding: 45px 30px;
    }

    .testimonial-carousel-container {
        padding: 35px 28px;
    }

    .testimonial-slide {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .slide-left-photo {
        flex: none;
    }

    .slide-left-photo img {
        width: 260px;
        height: 320px;
    }

    .carousel-btn {
        top: auto;
        bottom: 20px;
        transform: none;
    }

    .prev-btn {
        left: 25px;
    }

    .next-btn {
        right: 25px;
    }

    .carousel-dots-container {
        margin-bottom: 60px;
    }

    .gallery-media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .testimonial-hero-section,
    .proof-gallery-section {
        padding: 35px 18px;
    }

    .testimonial-hero-section h1,
    .gallery-header h2 {
        font-size: 31px;
    }

    .hero-subtitle,
    .gallery-header p {
        font-size: 14px;
    }

    .testimonial-carousel-container {
        padding: 25px 18px;
    }

    .slide-left-photo img {
        width: 220px;
        height: 270px;
    }

    .testimonial-quote {
        font-size: 14px;
    }

    .student-name {
        font-size: 22px;
    }

    .filter-tab {
        padding: 9px 18px;
        font-size: 12px;
    }

    .gallery-media-grid {
        grid-template-columns: 1fr;
    }
}
.gallery-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox img {
    width: auto;
    height: auto;
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: white;
    color: #0D2342;
    font-size: 20px;
    cursor: pointer;
}