/* Reviews Section CSS */

/* Rating Display */
.reviewRatingInfo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto 20px;
    padding: 0;
}

.rating-display {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.rating-top {
     display: flex
;
    align-items: start;
    flex-direction: column;
    gap: 2px;
    justify-content: space-around;
}

.rating-number {
    font-size: 48px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1;
    letter-spacing: -1px;
}

.rating-stars {
    display: flex;
    gap: 2px;
    align-items: center;
}

.rating-stars .star {
    width: 24px;
    height: 24px;
}

.review-count {
    font-size: 13px;
    color: #6f6f6f;
    font-weight: 400;
    line-height: 1.4;
}

/* Review Filter Buttons */
.review-filter-buttons {
   
    display: flex
;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 60px auto 20px;
    flex-wrap: wrap;
    max-width: max-content;
    padding: 0;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-height: 56px;
    position: relative;
    border-bottom: 3px solid transparent;
}

.filter-btn:hover {
    background: rgba(0, 0, 0, 0.02);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

/* Active state - border color matches logo brand color */
.filter-btn.active {
    border-bottom-color: #233f8c;
}

/* 5staressays logo - blue underline */
.filter-btn[data-platform="website"].active {
    border-bottom-color: #233f8c;
}

/* Reviews.io logo - dark/black underline */
.filter-btn[data-platform="reviewsio"].active {
    border-bottom-color: #1a1a1a;
}

/* Sitejabber logo - orange underline */
.filter-btn[data-platform="sitejabber"].active {
    border-bottom-color: #ff6b35;
}

/* Filter button logos - always full color, no opacity */
.filter-btn img.starimg {
    height: 26px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
    object-fit: contain;
    opacity: 1;
}

 
/* Specific adjustments for each platform logo */
.filter-btn[data-platform="website"] img.starimg {
    height: 24px;
}

.filter-btn[data-platform="reviewsio"] img.starimg {
    height: 22px;
}

.filter-btn[data-platform="sitejabber"] img.starimg {
    height: 24px;
}

.swiper-slide[data-platform] {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.swiper-slide[data-platform].hidden {
    display: none !important;
}

.mpw_reviews .mpw-pagination,
.reviews-swiper>.swiper-pagination-bullets,
.siteJabber-swiper>.swiper-pagination-bullets,
.sitejabe-pagination,
.trustPilot-swiper>.swiper-pagination-bullets,
.trust_pilot__reviews .trust-pagination {
    display: none
}
.reviews h2 {
    text-align: center;
    font-weight: 500;
    font-size: 32px;
    color: #161616;
    padding-bottom: 15px;
    line-height: 44.27px;
}

.mpw_reviews .slide-inner:hover {
    border: 1px solid #233f8c;
    box-shadow: 0 4px 16px rgba(35, 63, 140, 0.15);
    transition: all 0.3s ease;
}

.reviews-wraper {
    display: block;
    padding-top: 30px;
}

.author,
.rating,
.ratingBox,
.ratingName,
.slide-inner {
    display: flex
}

.slide-inner {
    max-width: 457px;
    width: 100% !important;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    height: 100%;
    background: #fff;
    box-shadow: 0 1px 16px 0 rgba(54, 127, 211, 0.18);
    border-radius: 20px;
    border: 1px solid transparent;
    padding: 24px;
    transition: all 0.3s ease;
}

.reviews-swiper .swiper-slide.swiper-slide-next .slide-inner,
.siteJabber-swiper .swiper-slide.swiper-slide-next .slide-inner,
.trustPilot-swiper .swiper-slide.swiper-slide-next .slide-inner {
    margin-left: 0;
    margin-right: auto
}

.slide-inner hr {
    border-top: 1px solid #ebebec;
    margin: 0
}

.reviews-swiper .swiper-pagination-bullet {
    max-width: 15px;
    width: 100%;
    height: 15px;
    border-radius: 100%;
    background-color: #efefef;
    opacity: 1
}

.reviews-swiper span.swiper-pagination-bullet-active {
    --swiper-theme-color: #233f8c;
    background-color: #233f8c;
    width: 21px;
    border-radius: 100px;
}

.review-controls .swiper-button-next:after,
.review-controls .swiper-button-prev:after {
    font-size: 14px;
    color: #575e62;
    font-weight: 500;
}

.review-controls .swiper-button-next:active,
.review-controls .swiper-button-prev:active {
    background-color: #233f8c;
    border-color: #233f8c;
}

.review-controls .swiper-button-next:hover:after,
.review-controls .swiper-button-prev:hover:after {
    color: #233f8c;
}

.reviews-swiper,
.siteJabber-swiper,
.trustPilot-swiper {
    width: 100%;
    padding: 35px 10px 50px
}

.reviews-swiper .swiper-slide {
    height: auto;
}

.swiper-slide .slide-inner {
    height: 100%;
}

.review-controls {
    z-index: 1;
    position: absolute;
    width: 100%;
    top: 56%
}

.ratingBox,
.rev-inner,
.showReviews {
    position: relative
}

section.reviews .review-controls .swiper-button-prev {
    left: -52px
}

.review-controls .swiper-button-next {
    right: -18px
}

.review-controls .swiper-button-next,
.review-controls .swiper-button-prev {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    content: unset !important
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}

.review-separator {
    width: 100%;
    height: 1px;
    background: #e5e7eb;
    margin: 16px 0;
    border-radius: 2px;
}

.review-footer-separator {
    width: 100%;
    height: 1px;
    background: #e5e7eb;
    margin: 16px 0 12px 0;
}

.rating,
.rev-inner {
    align-items: center
}

.author-inner .author-name {
    font-style: normal;
    font-weight: 450;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: .005em;
    color: #9ba0a4;
    margin: 0
}

.customer__review p {
    font-style: normal;
    font-weight: 450;
    font-size: 14px;
    line-height: 160%;
    margin: 0;
        min-height: 111px;
    color: #575e62;
}

.ratingBox {
    justify-content: center;
    width: 100%;
    align-items: center;
    background: #fff;
    box-shadow: 0 1px 16px 0 rgba(54, 127, 211, 0.18);
    border-radius: 20px;
    padding: 20px 0;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.ratingBox:hover {
    border: 1px solid #233f8c;
    box-shadow: 0 4px 16px rgba(35, 63, 140, 0.15);
    transform: translateY(-2px);
}

.ratingName {
    flex-direction: column;
    align-items: center
}

.ratingName .starimg {
    width: 130px;
    height: 23px
}

.ratingName .mpw {
    max-width: 172px;
    width: 100%;
    max-height: 27px;
    height: 100%
}

.rev-inner {
    max-width: 776px;
    width: 100%;
    display: flex !important;
    margin: 0;
    row-gap: 30px;
    column-gap: 21px
}

.allSwiper {
    width: 100%;
    cursor: grab
}

.customWrapppper {
    display: flex;
    width: 100%;
    column-gap: 50px;
    align-items: center;
    flex-direction: column
}

.reviewsContainer {
    max-width: 90%;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto
}

.showReviews {
    max-width: 990px;
    width: 100%;
    margin: auto;
    padding: 0 18px
}

#siteJabberBtn.reviewsActive,
#siteJabberBtn:hover,
.site_jabber_reviews .slide-inner:hover {
    border: 1px solid #ef6a23;
    box-shadow: 0 4px 16px rgba(239, 106, 35, 0.15);
    transform: translateY(-2px);
}

#trustPilotBtn.reviewsActive,
#trustPilotBtn:hover,
.trust_pilot__reviews .slide-inner:hover {
    border: 1px solid #5cd3cb;
    box-shadow: 0 4px 16px rgba(92, 211, 203, 0.15);
    transform: translateY(-2px);
}
section.reviews{
    padding: 60px 0;
}

/* Review Bar */
.reviewBar{
    max-width: 892px;
    height: 99px;
    margin: 0 auto;
    border-radius: 45px;
    background: #fff;
    box-shadow: 0px 5px 24px 0px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    margin-top: 50px;
}
.reviewItem::before{
    content: unset;
}
.reviewBar__list{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    width: 100%;
}
.reviewItem::after {
    content: "";
    width: 1px;
    height: 66px;
    background-color: #CFDEF0;
    position: relative;
    left: 15px;
}
.reviewItem:last-child:after{
    content:none;
}
.reviewItem {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 9px;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 9px;
    position: relative;
    width: 100%;
    max-width: 162px;
    flex: 1;
}
 .rvwCardimg{
    background: linear-gradient(180deg, #E6F5FF 0%, #FFF1E0 100%);
    max-width: 40px;
    height: 40px;
    width: 100%;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
 }
.reviewItem strong{
    display: block;
    color: #161616;
    font-weight: 600;
    font-size: 18px;
    line-height: 21px;
}
.reviewItem span {
    display: block;
    color: #6f6f6f;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
}

section.reviews::before{
    z-index: 1;
    right: 18px;
}
.customer__review .author-name{
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.005em;
    color: #6b7280;
    margin: 0;
    display: block;
}

.review-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: 0;
    justify-content: space-between;
}

.review-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
}

.review-meta-item img,
.review-meta-item svg {
    width: 16px;
    height: 16px;
}

.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0;
    padding-top: 0;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #233f8c 0%, #0f3870 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 3px 0 0;
}

.review-author-info {
    display: flex;
    flex-direction: column;
}

.review-author-name {
    font-weight: 500;
    font-size: 13px;
    color: #1f2937;
}

.review-date {
    font-size: 12px;
    color: #9ca3af;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #E3FFEE;
    border: 1px solid #B3F6CD;
    border-radius: 20px;
    font-size: 12px;
    color: #00B646;
    font-weight: 500;
}

.verified-badge img,
.verified-badge svg {
    width: 14px;
    height: 14px;
}
.customer__review {
    padding: 0;
    flex: 1;
}

.customer__review p {
    min-height: unset;
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0 0 16px 0;
    min-height: 111px;
}

.customer__review p a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.customer__review p a:hover {
    text-decoration: underline;
}
.rating .filter{
filter: brightness(0) saturate(100%) invert(98%) sepia(40%) saturate(6183%) hue-rotate(330deg) brightness(99%) contrast(92%);
}

.review-header .rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-header .rating img {
    height: 16px;
    width: auto;
}

.rating-score {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.review-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-stars svg,
.rating-stars img {
    width: 20px;
    height: 20px;
    color: #fbbf24;
    fill: #fbbf24;
}

.author-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.reviews .sec__desc p {
    max-width: 66%;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    color: #6f6f6f;
}
 .reviews  .swiper-pagination-bullet-active{
        background-color: #233f8c;
    }
/* Responsive Styles */
@media (max-width:1350px) {
    .author-inner span {
        font-size: 16px;
        line-height: 22px
    }
}
@media (max-width:1200px) {
    .slide-inner {
        max-width: 100%;
    }
    .ratingBox {
        padding: 17px 35px
    }
}
@media (max-width: 991px){
    .reviewBar {
        height: auto;
        border-radius: 30px;
        padding: 18px;
        background: unset;
        box-shadow: unset;
        margin-top: 41px;
    }
    .reviewBar__list {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    .reviewBar .reviewItem {
        max-width: 47%;
        width: 100%;
        background-color: white;
        border-radius: 100px;
        display: flex;
        align-items: center;
        gap: 14.09px;
        padding: 12px 15px;
        box-shadow: 1px 1px 14px -1px #00000014;
        position: relative;
    }
    .reviewItem::after{
        display: none;
    }
}
@media (max-width:767px) {
    .review-controls {
        display: none
    }
    .reviewsContainer {
        max-width: 1170px;
        width: 100%;
        padding: 0 15px;
        margin: 0 auto
    }
    .customWrapppper {
        flex-direction: column
    }
    .rev-inner {
        max-width: 245px;
        flex-direction: column;
        row-gap: 15px;
        margin-bottom: 24px
    }
    .reviews-swiper .swiper-pagination,
    .siteJabber-swiper .swiper-pagination,
    .trustPilot-swiper .swiper-pagination {
        display: block
    }
    .reviews-swiper span.swiper-pagination-bullet-active,
    .siteJabber-swiper span.swiper-pagination-bullet-active,
    .trustPilot-swiper span.swiper-pagination-bullet-active {
        max-width: 21px;
        min-height: 8px;
        border-radius: 100px;
        --swiper-theme-color: #117bd4;
        width: 100%
    }
}
@media (max-width: 575px) {
    .customer__review p {
            min-height: unset;

    }
    .reviews h2 {

    font-size: 24px;

    line-height: 150%;
}

    .reviewRatingInfo {
        margin: 20px auto 15px;
    }

    .rating-display {
        align-items: center;
        gap: 6px;
    }

     

    .rating-number {
        font-size: 36px;
    }

    .rating-stars {
        gap: 2px;
    }

    .rating-stars .star {
        width: 20px;
        height: 20px;
    }

    .review-count {
        font-size: 12px;
        text-align: center;
    }

    .review-filter-buttons {
        gap: 8px;
        margin: 20px auto 15px;
        padding: 5px;
        max-width: 95%;
        flex-direction: column;
        width: 100%;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 13px;
        width: 40%;
        min-height: 44px;
    }

    .filter-btn img.starimg {
        height: 20px;
    }

    .filter-btn[data-platform="website"] img.starimg {
        height: 18px;
    }

    .filter-btn[data-platform="reviewsio"] img.starimg {
        height: 16px;
    }

    .filter-btn[data-platform="sitejabber"] img.starimg {
        height: 18px;
    }
    
    .naraRevw.mpw_reviews .mpw-pagination {
        bottom: -2px !important;
    }
    .reviews-wraper {
        padding-top: 0
    }
   
    .reviews-swiper,
    .siteJabber-swiper,
    .trustPilot-swiper {
        padding: 12px
    }
    .mpw_reviews .mpw-pagination,
    .sitejabe-pagination,
    .trust_pilot__reviews .trust-pagination {
        position: absolute;
        left: 0;
        right: 0;
        max-width: max-content;
        margin: 0 auto;
        bottom: -43px !important;
        display: block
    }
    .swiper-pagination-clickable .swiper-pagination-bullet {
        cursor: pointer;
        margin: 5px
    }
    .swiper-pagination-bullet-active {
        width: 21px !important;
        height: 8px !important;
        border-radius: 100px !important;
        background: #233f8c
    }
    .reviews .sec__desc {
               max-width: 90%;
        padding-bottom: 40px;
        margin: 0 auto;
    }
    .reviews .sec__desc p{
    max-width: 100%;
    width: 100%;
    }
    .slide-inner {
        min-height: auto;
        max-width: 100%;
        padding: 20px;
    }
    
    .author {
        padding: 0 0 12px 0;
    }
    
    .review-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .verified-badge {
        align-self: flex-start;
    }
    .reviews-swiper .swiper-slide,
    .siteJabber-swiper .swiper-slide,
    .trustPilot-swiper .swiper-slide {
        display: flex;
        justify-content: center
    }
    
    .customer__review {
        padding: 12px 0 0 0;
    }
    .rating img {
        width: 90%
    }
    .author-inner .author-name {
        line-height: 32px
    }
}

