/* Google Font Import for premium typography */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* Main Wrapper (Transparent & Centered Default Width) */
.testimonial-section-wrapper {
    background-color: transparent;
    padding: 0px;
    font-family: 'Montserrat', sans-serif;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Header Section Layout */
.testimonial-section-header {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-bottom: 24px;
    margin-top: -50px;
}

.header-left {
    max-width: 60%;
}

/* Uppercase Badge with Blue Highlight style */
.testimonial-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #0A5049;
    border: 1.5px solid #A8C5C1;
    background-color: rgba(10, 80, 73, 0.05);
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

/* Serif Section Title */
.testimonial-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 700;
    color: #0A423A;
    margin: 0;
    line-height: 1.2;
}

/* Navigation Pill Container */
.slider-navigation-pill {
    display: flex;
    align-items: center;
    background-color: #0A5049;
    padding: 6px 10px;
    border-radius: 100px;
    gap: 4px;
}

/* Navigation Buttons inside Pill */
.slider-navigation-pill .nav-btn {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Darker Green Circle background on hover */
.slider-navigation-pill .nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.18);
}

/* Default darker circular background for the right arrow button */
.slider-navigation-pill .next-btn {
    background-color: rgba(0, 0, 0, 0.15);
}

.slider-navigation-pill .next-btn:hover {
    background-color: rgba(0, 0, 0, 0.28);
}

.slider-navigation-pill .nav-btn:active {
    transform: scale(0.95);
}

/* Swiper Slider adjustments */
.testimonial-slider {
    width: 100%;
    overflow: hidden;
}

.testimonial-slider .swiper-slide {
    height: auto;
}

/* Card Styling */
.testimonial-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 40px;
    min-height: 410px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(10, 80, 73, 0.08);
}

/* Quote Icon */
.testimonial-quote-icon {
    color: #0A5049;
    margin-bottom: 24px;
    opacity: 0.95;
    display: flex;
}

/* Testimonial Description Text */
.testimonial-description {
    font-size: 16px;
    line-height: 1.7;
    color: #4A5568;
    margin-bottom: 24px;
    font-family: 'Montserrat', sans-serif;
}

.testimonial-description p {
    margin: 0 0 16px;
}

.testimonial-description p:last-child {
    margin-bottom: 0;
}

/* Card Footer Layout */
.testimonial-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid #FAF6F0;
}

/* Avatar Styles (Image & Initials) */
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
}

/* Initials Avatar */
.testimonial-avatar.initials {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Client Details Text */
.testimonial-client-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.testimonial-client-details p {
    display: none;
}

.client-name {
    font-size: 16px;
    font-weight: 700;
    color: #0D1B3E;
    margin: 0 !important;
    line-height: 1.2 !important;
    text-align: left;
}

.client-designation {
    font-size: 14px;
    color: #718096;
    font-weight: 500;
}

/* Swiper Pagination Dots Customization */
.testimonial-slider .swiper-pagination {
    display: none;
}

.testimonial-slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #0A5049;
    opacity: 0.2;
    transition: opacity 0.3s ease, width 0.3s ease;
    border-radius: 100px;
    margin: 0 !important;
}

.testimonial-slider .swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .testimonial-section-wrapper {
        padding: 60px 24px;
    }

    .testimonial-section-header {
        margin-top: 0px;
        margin-bottom: 24px;
        justify-content: flex-end;
    }

    .testimonial-section-title {
        font-size: 32px;
    }

    .testimonial-card {
        padding: 30px;
        min-height: 380px;
        height: auto;
    }
}

@media (max-width: 767px) {
    .testimonial-section-wrapper {
        display: flex;
        flex-direction: column;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .testimonial-section-header {
        display: flex;
        justify-content: center;
        margin-bottom: 0px;
        margin-top: 0px;
        order: 2;
    }

    .header-left {
        max-width: 100%;
    }

    .testimonial-section-title {
        font-size: 28px;
    }

    .testimonial-card {
        padding: 24px;
        min-height: auto;
        height: auto;
    }

    .testimonial-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .testimonial-description p {
        margin: 0px !important;
    }

    .testimonial-card-footer {
        align-items: center !important;
    }

    .testimonial-client-details {
        justify-content: center !important;
    }

    .testimonial-slider {

        order: 1;
    }
}

/* Mobile & Tablet */
@media (max-width: 1024px) {

    .testimonial_section_headding {
        text-align: center !important;
    }

    .testimonial_section_headding p,
    .testimonial_section_headding h2 {
        text-align: center !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

}