/* Client Review Section Styling */
.client-review-section {
    background-color: #f8f6f2;
}

.review-eyebrow {
    color: #bb8f4e;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.review-title {
    font-size: 24px;
    font-weight: 700;
    color: #111111;
    max-width: 700px;
    margin: 10px auto 0;
}

.review-title .text-accent {
    color: #bb8f4e;
}

/* Rating Summary Pill */
.rating-bar-pill {
    background: #f4f3ef;
    border: 1px solid #0b497f;
    border-radius: 50px;
    padding: 12px 24px;
    max-width: 850px;
}

.trustindex-badge {
    background-color: #0b497f;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* Review Card Styling */
.client-review-section .swiper-slide {
    height: auto;
    display: flex;
}

.review-card {
    background: #ffffff;
    border: 1px solid #e5d5c5;
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    text-align: left;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-size: 17px;
    font-weight: 700;
    color: #111111;
}

.stars-gold {
    color: #ffb400;
    font-size: 18px;
}

.badge-check-blue {
    background: #4285f4;
    color: #ffffff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.review-body {
    font-size: 15px;
    line-height: 1.7;
    color: #4a4a4a;
    margin: 0px;
    flex-grow: 1;
}

.review-body p {
    margin-bottom: 0px;
    text-align: justify;
}

.read-more-link {
    color: #888888;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}

.read-more-link:hover {
    color: #bb8f4e;
}

.quote-mark {
    font-size: 50px;
    color: #e5d5c5;
    font-family: Georgia, serif;
    line-height: 0.5;
    margin-bottom: -10px;
}

/* Swiper Controls overrides for Theme generated buttons */
.client-review-section .swiper-navigation .swiper-button-prev,
.client-review-section .swiper-navigation .swiper-button-next {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 50%;
    color: #333333;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.client-review-section .swiper-navigation .swiper-button-prev {
    left: -20px;
    right: auto;
}

.client-review-section .swiper-navigation .swiper-button-next {
    right: -20px;
    left: auto;
}

.client-review-section .swiper-navigation .swiper-button-prev::after {
    content: '\F284' !important;
    /* bootstrap icon chevron-left */
    font-family: 'bootstrap-icons';
    font-size: 16px;
    font-weight: bold;
}

.client-review-section .swiper-navigation .swiper-button-next::after {
    content: '\F285' !important;
    /* bootstrap icon chevron-right */
    font-family: 'bootstrap-icons';
    font-size: 16px;
    font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 991px) {

    .client-review-section .swiper-navigation .swiper-button-prev,
    .client-review-section .swiper-navigation .swiper-button-next {
        display: none;
    }
}

/* JIT Brands Section Styling */
.jit-brands-section {
    padding: 60px 0;
    background-color: #f7f9fc;
}

.jit-brands-section .container {
    position: relative;
}

.jit-section-title {
    font-size: 34px;
    font-weight: 500;
    color: #111;
    margin-bottom: 8px;
}

.jit-section-subtitle {
    color: #555;
    font-size: 16px;
}

/* JIT Brand Card */
.jit-brand-card {
    position: relative;
    text-align: center;
    padding-bottom: 12px;
}

.jit-brand-circle {
    width: 170px;
    height: 90px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin: 0 auto;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

.jit-brand-circle:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.jit-brand-circle img {
    max-width: 65%;
    max-height: 50%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.jit-brand-circle:hover img {
    transform: scale(1.08);
}

.jit-brand-badge {
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.jit-brand-badge.trending {
    background: #23356e;
}

.jit-brand-badge.new {
    background: #3c9c61;
}

.jit-brand-badge.sale {
    background: #f21818;
}

/* Swiper Navigation Positioning */
.jit-brand-slider .swiper-controls {
    position: absolute !important;
    top: -85px !important;
    right: 15px !important;
    left: auto !important;
    width: auto !important;
    z-index: 10 !important;
}

.jit-brand-slider .swiper-navigation {
    display: flex !important;
    gap: 12px !important;
    justify-content: flex-end !important;
}

.jit-brand-slider .swiper-navigation .swiper-button-prev,
.jit-brand-slider .swiper-navigation .swiper-button-next {
    position: static;
    width: 44px;
    height: 44px;
    border: 1px solid #23356e;
    background-color: transparent;
    border-radius: 50%;
    margin: 0;
    color: #23356e;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.jit-brand-slider .swiper-navigation .swiper-button-prev:hover,
.jit-brand-slider .swiper-navigation .swiper-button-next:hover {
    background-color: #23356e;
    color: #ffffff;
}

.jit-brand-slider .swiper-navigation .swiper-button-prev::after {
    content: '\F284' !important;
    font-family: 'bootstrap-icons';
    font-size: 16px;
    font-weight: bold;
}

.jit-brand-slider .swiper-navigation .swiper-button-next::after {
    content: '\F285' !important;
    font-family: 'bootstrap-icons';
    font-size: 16px;
    font-weight: bold;
}



/* Hero Swiper Banner */
.hero-banner-section {
    position: relative;
    width: 100%;
}

.myHeroSwiper {
    width: 100%;
    height: auto;
    --swiper-theme-color: #ffffff;
    --swiper-navigation-color: #ffffff;
    --swiper-pagination-color: #ffffff;
}

.myHeroSwiper .swiper-button-next,
.myHeroSwiper .swiper-button-prev {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.myHeroSwiper:hover .swiper-button-next,
.myHeroSwiper:hover .swiper-button-prev {
    opacity: 1;
}

.myHeroSwiper .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}


@media (max-width: 991px) {
    .jit-brand-slider .swiper-controls {
        top: -85px;
    }
    .jit-brand-circle {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 768px) {
    .jit-brand-slider .swiper-controls {
        display: none; /* Hide arrows on mobile */
    }
    .jit-section-title {
        font-size: 26px;
        text-align: center;
    }
    .jit-section-subtitle {
        text-align: center;
    }
    .jit-brands-section .col-md-9 {
        text-align: center !important;
    }
    .jit-brand-circle {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .rating-bar-pill {
        flex-direction: column;
        gap: 15px;
        border-radius: 20px;
        text-align: center;
        padding: 20px;
    }

    .review-title {
        font-size: 26px;
    }
}