/* ===================================
revoew banner
=================================== */

.page-banner4 {
    position: relative;
    min-height: 450px;
    background-image: url("../images/Banners/review.webp");
    background-size:cover;
    background-position: center top; /* adjust image focus */
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.banner-content {
  position: relative;
  z-index: 2;
}

.banner-content h1 {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.breadcrumb i {
  font-size: 14px;
}

@media (max-width: 992px) {
  .page-banner4 {
    height: 350px;
  }

  .banner-content h1 {
    font-size: 55px;
  }

  .breadcrumb {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
    .page-banner4 {
        min-height: 480px;
        background-position: 55% center; /* keeps people visible */
    }

  .banner-content h1 {
    font-size: 38px;
    margin-bottom: 15px;
  }

  .breadcrumb {
    gap: 8px;
    font-size: 14px;
    flex-wrap: wrap;
  }

  .breadcrumb i {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
   .page-banner4 {
        min-height: 480px;
        background-position: 15% center; /* keeps people visible */
    }
  .banner-content h1 {
    font-size: 25px;
  }

  .breadcrumb {
    font-size: 11px;
  }
}


/*=================================
CUSTOMER REVIEW SECTION
=================================*/
.customer-review-section{
    max-width:1400px;
    margin:30px auto;
    /* padding:0 40px; */

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}


/*=================================
CARD
=================================*/
.customer-review-card{
    background:#edf1f7;
    border-radius:16px !important;
    padding:20px;
    position:relative;
    display:flex;
    gap:25px;
    transition:.3s ease;
    height: stretch;
}

.customer-review-card:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}


/*=================================
IMAGE
=================================*/
.customer-review-image img{
    width:90px;
    height:90px;
    object-fit:cover;
    border-radius:50%;
    border:6px solid #fff;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}


/*=================================
CONTENT
=================================*/
.customer-review-content{
    flex:1;
}

.customer-review-content h3{
    font-size:20px;
    font-weight:700;
    margin-bottom:0px !important;
    color:#111;
}

.customer-review-content p{
    font-size:15px;
    color:#555;
    line-height:1.7;
    margin-bottom: 4px !important;
}

.review-description-text a,
.customer-review-content p a {
    color: #0d6efd;
    text-decoration: none;
}

.review-description-text a:hover,
.customer-review-content p a:hover {
    color: #084298;
    text-decoration: none;
}

.customer-review-stars{
    color:#ffb400;
    font-size:24px;
    margin-top:0px !important;
}


/*=================================
QUOTE ICON
=================================*/
.customer-review-quote{
    position:absolute;
    right:25px;
    top:20px;
    font-size:90px;
    color:#e7c4cf;
}

/*=================================
VIEW MORE POPUP
=================================*/

/* Overlay */

.review-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

/* Popup */

.review-modal-box {
    width: 100%;
    max-width: 650px;
    background: #fff;
    border-radius: 25px;
    padding: 35px;
    position: relative;
    animation: popupFade .35s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
}

@keyframes popupFade {
    from{
        transform: translateY(30px);
        opacity:0;
    }
    to{
        transform: translateY(0);
        opacity:1;
    }
}

/* Close */

.review-modal-close {
    position: absolute;
    right: 18px;
    top: 18px;
    border: none;
    background: #f3f3f3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
}

/* Header */

.review-modal-header{
    display:flex;
    align-items:center;
    gap:20px;
    margin-bottom:25px;
}

.modal-user-image{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #f5f5f5;
}

#modalReviewTitle{
    margin:0;
    font-size:28px;
    font-weight:700;
}

.modal-stars{
    color:#FDBB0A;
    font-size:24px;
    margin-top:8px;
}

/* Description */

.review-modal-body p{
    color:#555;
    font-size:17px;
    line-height:1.9;
    margin:0;
    text-align:justify;
}

/* Mobile */

@media(max-width:768px){

    .review-modal-box{
        padding:25px;
    }

    .review-modal-header{
        flex-direction:column;
        text-align:center;
    }

    #modalReviewTitle{
        font-size:24px;
    }
}


/*=================================
TABLET
=================================*/
@media(max-width:992px){

    .customer-review-card{
        padding:25px;
    }

    .customer-review-content h3{
        font-size:26px;
    }

    .customer-review-content p{
        font-size:16px;
    }

}


/*=================================
MOBILE
=================================*/
@media(max-width:768px){

    .customer-review-section{
        grid-template-columns:1fr;
        gap:20px;
    }

    .customer-review-card{
        flex-direction:column;
        align-items:center;
        text-align:center;
        padding:25px 20px;
    }

    .customer-review-content h3{
        font-size:22px;
    }

    .customer-review-content p{
        font-size:15px;
    }

    .customer-review-stars{
        font-size:24px;
    }

    .customer-review-quote{
        top:10px;
        right:20px;
        font-size:65px;
    }

}


/*=================================
SMALL MOBILE
=================================*/
@media(max-width:480px){

    .customer-review-card{
        padding: 60px 20px;
        border-radius:20px;
    }

    .customer-review-image img{
        width:80px;
        height:80px;
    }

    .customer-review-content h3{
      text-align: center;
        font-size:18px;
    }

    .customer-review-content p{
      text-align: center;
        font-size:16px;
    }

    .customer-review-stars{
      text-align: center;
        font-size:18px;
    }

}
