.section-title {
    text-align: center;
    font-family: "Georgia", serif;
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* ================= GALLERY STYLES ================= */


.gallery-swiper {
    padding: 10px 0;
}

/* Linear timing function is CRUCIAL for the seamless marquee effect */
.gallery-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.gallery-card {
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background-color: #ccc;
    overflow: hidden;
    /* fallback */
}

.gallery-card img {
    height: 100% !important;
    object-fit: cover;
}

/* ================= TESTIMONIAL STYLES ================= */
/* Container Layout */
.testimonial-section {
    position: relative;
    padding: 80px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.testimonial-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 60px;
}

.testimonial-wrapper-inner {
    width: 100%;
}

/* --- Avatars Slider Styling --- */
.review-avatars-swiper {
    max-width: 240px;
    overflow-x: hidden;
    /* Constrain width so multiple avatars show on sides */
    margin: 0 auto 0 auto;
    overflow-x: hidden;
    padding-block: 20px;
    /* Allows outer avatars to peek through beautifully */
}

.review-avatars-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.review-avatars-swiper .swiper-slide img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0.35;
    transform: scale(0.85);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Swiper-thumb-active auto handles the current selected avatar state */
.review-avatars-swiper .swiper-slide-thumb-active img {
    opacity: 1;
    transform: scale(1.2);
    border-color: #111111;
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.04);
}

/* --- Content Slider Styling --- */
.review-content-swiper {
    width: 100%;
    text-align: center;
}

.review-text {
    font-size: 19px;
    line-height: 28px;
    color: #4a4a4a;
    max-width: 650px;
    margin: 0 auto 20px auto;
    font-weight: 300;
}

.client-name {
    font-family: "Georgia", serif;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: #111111;
    margin-top: 15px;
}

/* --- Navigation Buttons --- */
.review-nav-btn {
    color: #adadad !important;
    width: 45px !important;
    height: 45px !important;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.review-nav-btn:hover {
    color: #111111 !important;
    border-color: #111111;
}

.review-nav-btn::after {
    font-size: 14px !important;
    /* Resize Swiper standard icon */
}

/* Custom minimal Navigation arrows */
.custom-nav {
    color: #ccc !important;
    border: 1px solid #eee;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.custom-nav:hover {
    border-color: #333;
    color: #333 !important;
}

/* Remove default pseudo-element arrows from Swiper */
.custom-nav::after {
    display: none;
}

.review-avatars-swiper {
    padding-block: 20px !important;
}

@media(max-width:767px) {
    .gallery-card {
        height: 280px;
    }
}