/* =========================
   SWIPER CONTAINER
========================= */
.swiper {
    width: 100%;
    padding: 60px 0 50px;
    perspective: 1200px;
    overflow: visible;
}

/* =========================
   BASE SLIDE
========================= */
.swiper-slide {
    transition: all 0.5s ease;

    transform: scale(0.8);
    opacity: 0.5;
    filter: blur(2px);
    z-index: 1;
}

/* =========================
   SIDE SLIDES (LEFT & RIGHT)
========================= */
.swiper-slide-prev {
    transform: scale(0.7) translateX(60px) !important;
    opacity: 0.6;
    filter: blur(2px);
    z-index: 2;
}

.swiper-slide-next {
    transform: scale(0.7) translateX(-60px) !important;
    opacity: 0.6;
    filter: blur(2px);
    z-index: 2;
}

/* =========================
   CENTER SLIDE (FOCUS)
========================= */
.swiper-slide-active {
    transform: scale(1.05) !important;
    opacity: 1;
    filter: none;
    z-index: 5;
}

/* =========================
   TESTIMONIAL CARD
========================= */
.testimonial-card {
    width: 100%;
    max-width: 600px;
    height: 400px;

    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;

    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);

    transition: all 0.4s ease;
}

/* Hover lift */
.testimonial-card:hover {
    transform: translateY(-6px);
}

/* Active card highlight */
.swiper-slide-active .testimonial-card {
    transform: scale(1.02);
    border: 1px solid #1C7A5E;
    box-shadow: 0 15px 40px rgba(28, 122, 94, 0.25);
}

/* =========================
   QUOTE ICON
========================= */
.quote-icon {
    font-size: 42px;
    color: #1C7A5E;
    margin-bottom: 20px;
}

/* =========================
   TEXT
========================= */
.testimonial-text {
    font-size: 17px;
    color: #4b5563;
    margin-bottom: 25px;
    line-height: 1.7;
}

/* =========================
   NAME
========================= */
.testimonial-name {
    font-weight: 600;
    font-size: 20px;
    color: #1C7A5E;
    margin-bottom: 5px;
}

.testimonial-name::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #EE2D42;
    margin: 8px auto 0;
    border-radius: 2px;
}

/* =========================
   ROLE
========================= */
.testimonial-role {
    font-size: 14px;
    color: #6b7280;
}

/* =========================
   NAVIGATION ARROWS
========================= */
.swiper-button-next,
.swiper-button-prev {
    color: #1C7A5E;
    background: transparent;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #1C7A5E;
    color: #fff;
    opacity: 0.3;
}

/* =========================
   PAGINATION DOTS
========================= */
.swiper-pagination-bullet {
    background: #cbd5e1;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #1C7A5E;
}

/* =========================
   SECTION BACKGROUND
========================= */
.testimonials-section {
    background: linear-gradient(to bottom, #f8fafc, #eef6f3);
}

.swiper-slide:not(.swiper-slide-active):not(.swiper-slide-prev):not(.swiper-slide-next) {
    opacity: 0 !important;
    pointer-events: none;
}




/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {

    .testimonial-card {
        max-width: 90%;     /* shrink width */
        margin: 0 auto;
        height: auto;       /* let content decide height */
        padding: 25px;      /* reduce spacing */
    }

    .testimonial-text {
        font-size: 15px;
    }

    .testimonial-name {
        font-size: 18px;
    }

    .testimonial-role {
        font-size: 13px;
    }

    .quote-icon {
        font-size: 30px;
    }
}