.box-review {
    background-image: url("../images/review-background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.review-about-section {
    padding: 30px 150px;
}

@media (min-width: 1400px) {
    .review-about-section {
        padding: 30px 100px;
    }
}

.review-sub-title {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 21px;
    text-align: justify;
    color: #d02129;
    margin-bottom: 15px;
}

.review-main-title {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 50px;
    color: #444444;
}

.review-main-title .brand {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 50px;
    color: #27368b;
}

.review-description {
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--bs-neutral-600);
}

@media (min-width: 992px) {
    .review-description.col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
        padding-right: 30px;
    }
    .review-slider.col-lg-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }
}

.btn-discover-review {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 184px;
    height: 40px;
    margin-top: 50px;
    border: 1.31px solid #27368b;
    border-radius: 70px;
    background: transparent;
    color: #27368b !important;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 20px;
    text-decoration: none !important;
    gap: 8px;
}

.btn-discover-review::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("../images/arrow-narrow-right.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.review-container {
    padding-left: 5%;
    padding-right: 5%;
    width: 100%;
}

@media (min-width: 1400px) {
    .review-container {
        padding-left: 100px;
        padding-right: 100px;
    }

    .card-testimonial {
        min-height: 240px;
        padding: 28px 32px;
    }
}

.box-swiper-review {
    position: relative;
    width: 100%;
}

/* Card Testimonial Styles */
.card-testimonial {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.5s ease-in-out;
    transform-origin: left center;
}

.swiper-group-review .swiper-slide {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    transition: all 0.5s ease-in-out;
}

@media (min-width: 992px) {
    .swiper-group-review .swiper-slide .card-testimonial {
        width: 100%;
        opacity: 0.7;
        transform: scale(0.95);
    }

    .swiper-group-review .swiper-slide-active .card-testimonial {
        width: 100%;
        opacity: 1;
        transform: scale(1);
    }
}

.card-testimonial .card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: none;
    padding-bottom: 0;
}

.card-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-testimonial .card-top .card-author .card-image img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.card-author .card-info p.neutral-1000 {
    margin-bottom: 0;
    font-family: "Manrope", sans-serif;
    font-weight: 600 !important;
    font-size: 20px;
    font-style: normal;
    line-height: 26px;
    letter-spacing: 0%;
    vertical-align: middle;
}

.card-author .card-info .sub-card {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: var(--bs-neutral-1000);
}

.text-lg-bold {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #444444;
}

.text-sm {
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    color: #737373;
}

.card-rate {
    display: flex;
    gap: 4px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.card-rate img {
    width: 16px;
    height: 16px;
}

.card-testimonial .card-info .neutral-500 {
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
    color: #444444;
}

/* Pagination */
.swiper-pagination-review {
    bottom: -40px !important;
    text-align: center;
}

.swiper-pagination-review .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #d9d9d9;
    opacity: 1;
    margin: 0 6px !important;
}

.swiper-pagination-review .swiper-pagination-bullet-active {
    background: #27368b !important;
    width: 30px;
    border-radius: 6px;
}

.box-review-text {
    width: 100%;
}

/* Responsive */
@media (max-width: 991px) {
    .box-review-text {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .card-testimonial {
        height: auto;
        min-height: 300px;
        width: 100% !important;
        padding: 30px;
    }

    .swiper-group-review .swiper-slide {
        /* Let Swiper calculate responsive width dynamically */
    }

    .review-section {
        min-height: auto !important;
        padding: 80px 0;
    }

    .review-about-section {
        padding: 30px 20px;
    }

    .review-container {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}
