/**
 * Customer page specific styles
 */

.section-customers-have-chosen-us .title-light {
    font-size:38px;
    font-weight:100;
    line-height:2.75rem;
    color: #fff;
}

.section-customers-have-chosen-us .star-icon,
.hero-section-content .star-icon {
    width: 21px;
    max-height: auto; 
    height: 20px;
    margin-right: .5rem;
}

.hero-section-content .btn-hero-section {
    cursor: pointer;
    border-color: #1b74e4;
    background-color: #1b74e4;
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 45px;
    font-size: 20px;
    border-width: 2px;
}

.hero-section-desc {
    font-size: 17px;
    line-height: 1.75;
}

.hero-section-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.box-customers-chosen-us {
    background-color:#1b74e4;
    position: relative;
}

.box-customers-chosen-us .text-desc {
    font-family: Roboto, sans-serif;
}

/* Customer Brands Section */
.customer-brands-container {
    padding: 20px 0;
    overflow: hidden;
}

.customer-brands-swiper {
    width: 100%;
}

.customer-brands-swiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.customer-item {
    height: 5rem;
    border: 1px solid #d9d9d9d9;
    border-radius: 16px;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.customer-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.customer-logo {
    width: 100%;
    height: auto;
    max-height: 4rem;
    object-fit: contain;
}

/* Hero Section */
.section-our-customers {
    position: relative;
}

.bg-bottom-wave .position-absolute {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-image: url(/images/backgrounds/u2.png);
    z-index: -1;
}

.title-header h1 {
    margin-bottom: 15px;
}

.five-star img {
    width: 21px;
    max-height: auto;
    height: 20px;
}

.header-left-button span {
    cursor: pointer;
}

/* Customer Videos */
.customer-videos {
    display: flex;
    flex-wrap: wrap;
}

.customer-reviews .video-review {
    position: absolute;
    top: 30%;
    left: 0%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.5rem;
    height: 5.5rem;
    background: white;
    border-radius: 50%;
    z-index: 2;
    transition: all ease .2s;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    box-shadow: rgb(0 0 0 / 50%) 0px 4px 12px;
    animation: btnplay-review .5s infinite alternate;
}

.customer-reviews .video-review:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.customer-reviews .video-review i {
    font-size: 3rem;
    color: #1b74e4;
}

.customer-reviews .swiper-slide {
    padding: 0 0 5rem 4.75rem;
}

/* Keyframes */
@keyframes btnplay-review {
    from {
        transform: scale(1, 1) translate(-50%, -50%)
    }

    to {
        transform: scale(1.05, 1.05) translate(-50%, -50%)
    }
}

/* Swiper Common Styles */
.video-reviews-swiper, .text-reviews-swiper {
    width: 100%;
    padding-bottom: 40px;
}

.swiper-button-next, .swiper-button-prev {
    color: #ff5e14;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet-active {
    background-color: #ff5e14;
}

/* Video Reviews */
.customer-reviews .item {
    position: relative;
    width: 100%;
    display: inline-block;
}

.customer-reviews .thumbVideo {
    position: relative;
    overflow: hidden;
}

.customer-reviews .review-infor {
    align-items: center;
    background-color: white;
    width: 75%;
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%);
    padding: 1rem;
    border-radius: 1rem;
    z-index: 2;
    box-shadow: rgb(0 0 0 / 50%) 0px 4px 12px;
}

.customer-reviews .review-logo {
    border: 1px solid #E3E7ED;
    border-radius: 50%;
    overflow: hidden;
    width: 55px;
    height: 55px;
}

.customer-reviews .review-logo img {
    border-radius: 50%;
    width: 55px;
    height: 55px;
    object-fit: scale-down;
    object-position: center;
    transition: all 0.2s ease;
    max-width: none;
}

.customer-reviews .review-des {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 1rem;
}

.customer-reviews .review-item:hover .video-review-Play {
    opacity: 1;
}

.customer-reviews .review-item:hover .video-review {
    width: 90px;
    border-radius: 25px;
    right: -20px;
}

.customer-reviews .review-item:hover .video-review:after {
    left: 88%;
}

.review-des .font-weight-bold {
    margin-bottom: 5px;
    font-weight: bold;
}

.review-des .review-role {
    font-size: 0.85em;
    color: #666;
}

/* Text Reviews */
.customer-text-reviews-container {
    padding: 20px 0;
}

.section-our-customers .swiper-button-next,
.section-our-customers .swiper-button-prev,
.customer-text-reviews-container .swiper-button-next,
.customer-text-reviews-container .swiper-button-prev {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .059), 0 0 24px -4px rgba(0, 0, 0, .059);
    display: flex;
    font-size: 1.8rem;
    height: 38px;
    justify-content: center;
    outline: none;
    top: 50%;
    transition: .3s;
    width: 38px;
}

.section-our-customers .swiper-button-next:after,
.section-our-customers .swiper-button-prev:after,
.customer-text-reviews-container .swiper-button-next:after,
.customer-text-reviews-container .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.text-reviews-swiper .review-item {
    background:#FFFFFF;
    border:1px solid #E3E7ED;
    border-radius:20px;
    position:relative;
    padding:5rem 2rem 1.5rem;
    margin-top:60px;
    height:350px;
    max-height:350px;
    margin-bottom:40px;
}

.text-reviews-swiper .customer-item {
    position:absolute;
    left:0;
    right:0;
    margin:auto;
    top:-55px;
    width:110px;
    height:110px;
    text-align:center;
    background:#fff;
    border:1.5px solid #f7f8ff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 5px;
    overflow:hidden;
}

.text-reviews-swiper .customer-logo {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
}

.text-reviews-swiper .item-content {
    text-align:justify;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:6;
  -webkit-box-orient:vertical;
  white-space:normal;
  height:144px;
  font-size:16px;
  border:0;
  padding:0;
  margin:0;
  color:#273444;
}

.text-reviews-swiper .review-divider {
    border-top: 1px solid #E3E7ED;
    margin: 20px auto;
}

.text-reviews-swiper .d-flex {
    display: flex;
    align-items: center;
}

.text-reviews-swiper .name {
    width: 80%;
}

.text-reviews-swiper .name h5 {
    display: block;
    color: #273444;
    font-size: 20px;
    margin-bottom: 5px;
}

.text-reviews-swiper .name p {
    font-size: 15px;
    color: #676767;
    text-align: justify;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 235px;
}

.text-reviews-swiper .logo {
    width: 20%;
}

.text-reviews-swiper .logo img {
    width: 100%;
    height: auto;
    max-height: 65px;
    max-width: 65px;
    border-radius: 100%;
}

/* Responsive Styles */
@media (max-width: 991.92px) {
    .swiper-button-next, .swiper-button-prev {
        display: none;
    }
    
    .review-des .review-role {
        width: 100%;
        white-space: normal;
    }
}

@media (max-width: 767.98px) {
    .title-header {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .five-star {
        justify-content: center;
    }
    
    .header-left-button {
        display: flex;
        justify-content: center;
    }
    
    .text-reviews-swiper .name p {
        width: 100%;
    }
}