.review-header {
  margin-top: 60px !important;
}

.review-container {
  max-width: 1200px;
  margin: auto;
  background: #ffff;
  border:1px solid #111;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.dd:hover {
    border: 1px solid #d78320;
    box-shadow: 0 6px 20px rgba(133, 200, 21, 0.35);
    transition: all 0.3s ease;
}

/* LEFT */
.review-left h3 {
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 6px;
  color: #d78320;

}

.review-left p {
  font-size: 14px;
  color: #111;
  max-width: 533px;
}

/* RIGHT */
.review-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.rating-box {
  text-align: right;
}

.google-text {
  font-size: 21px;
}

.rating-text {
  font-size: 14px;
  margin-left: 4px;
    color: #111;

}

.stars {
  color: #fbbc05;
  font-size: 18px;
  letter-spacing: 2px;
}

.rating-number {
  font-size: 16px;
  color: #111;
}

/* BUTTON */
.review-btn {
 background: #111;
  color:#fff;
  padding: 10px 18px;
  border-radius: 22px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
}

.review-btn:hover {

   background: #d78320;
  color: #fff;
}

/* ===================== */
/* MOBILE RESPONSIVE */
/* ===================== */
@media (min-width: 768px) and (max-width: 991px) {
    .review-right {
        width: 353px;
    }
}

@media (max-width: 768px) {
  .review-container {
    flex-direction: column;
    text-align: center;
  }

  .review-right {
    flex-direction: column;
    gap: 12px;
  }

  .rating-box {
    text-align: center;
  }

  .review-left p {
    max-width: 100%;
  }
}

/* ===========================
   TESTIMONIAL INTRO BOX
=========================== */
.testimonial-intro-box {
    background: rgba(30, 41, 59, 0.25);
    border: 1px solid rgba(133, 200, 21, 0.4);
    border-radius: 14px;
    padding: 28px 30px;
    backdrop-filter: blur(12px);

    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: 0.3s ease;
}

.testimonial-intro-box:hover {
    background: rgba(30, 41, 59, 0.35);

    box-shadow:
      0 18px 45px #d78320,
      inset 0 0 0 1px #d78320;
}

.testimonial-intro-box h2 {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.testimonial-intro-box p {
    line-height: 1.7;
    margin-bottom: 14px;
}


/* ===========================
   TESTIMONIAL CARD
=========================== */
.testimonial-card {
    background: rgba(30, 41, 59, 0.3) !important;
    backdrop-filter: blur(16px);

    border: 2px solid #92d904c3;
    border-radius: 16px !important;

    box-shadow: 0 8px 32px rgba(0,0,0,0.25);

    transition: all 0.4s ease;

    padding: 2rem;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg);

    box-shadow:
      0 20px 50px rgba(133, 200, 21, 0.3),
      0 0 30px rgba(178, 246, 59, 0.2);

    border-color: #d78320;
    background: rgba(30, 41, 59, 0.45) !important;
}


/* ===========================
   CLIENT LOGO
=========================== */
.client-logo {
    height: 50px;
    margin-bottom: 1.5rem;
    transition: 0.3s ease;
}

.testimonial-card:hover .client-logo {
    filter: grayscale(0%) brightness(100%);
}


/* ===========================
   TEXT
=========================== */
.stars {
    color: #FFD700;
    font-size: 1.25rem;
    margin: 0.75rem 0;
    letter-spacing: 2px;
}

.client-name {
    font-weight: 600;
    color: #fff;
    margin: 1rem 0 0.5rem;
    font-size: 1.1rem;
}

.testimonial-content {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
    text-align: justify;
}


/* ===========================
   SPACING
=========================== */
.tz-pb-40 {
    padding-bottom: 40px !important;
}


/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 991px) {
    .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {

    .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .client-logo {
        height: 40px;
    }

    .stars {
        font-size: 1.1rem;
    }
}

.tz-pt-40 {
    padding-top: 40px !important
}

@media (min-width:0) {
    .tz-pt-xs-40 {
        padding-top: 40px !important
    }
}

@media (min-width:576px) {
    .tz-pt-sm-40 {
        padding-top: 40px !important
    }
}

@media (min-width:768px) {
    .tz-pt-md-40 {
        padding-top: 40px !important
    }
}

@media (min-width:992px) {
    .tz-pt-lg-40 {
        padding-top: 40px !important
    }
}

@media (min-width:1200px) {
    .tz-pt-xl-40 {
        padding-top: 40px !important
    }
}

@media (min-width:1440px) {
    .tz-pt-xxl-40 {
        padding-top: 40px !important
    }
}

@media (min-width:1680px) {
    .tz-pt-xxxl-40 {
        padding-top: 40px !important
    }
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 24px
}

@media (min-width:768px) {
    .container {
        max-width: 720px
    }
}

@media (min-width:992px) {
    .container {
        max-width: 960px
    }
}

@media (min-width:1200px) {
    .container {
        max-width: 1140px
    }
}

@media (min-width:1440px) {
    .container {
        max-width: 1320px
    }
}

@media (min-width:1680px) {
    .container {
        max-width: 1680px
    }
}

.tz-bg-primary {
    background-color: #d78320
}

.tz-bg-secondary {
    background-color: #d78320
}

.tz-bg-neutral1 {
    background-color: #1d1d1d
}

.tz-bg-neutral2 {
    background-color: #171717
}

.tz-bg-neutral3 {
    background-color: #121212
}

.tz-bg-neutral4 {
    background-color: #000
}

.tz-bg-neutral5 {
    background-color: #FFF
}

.tz-bg-neutral6 {
    background-color: #BBBBB9
}

.tz-bg-neutral7 {
    background-color: #FDFDFD
}

.tz-text-primary {
    color: #d78320
}

.tz-text-secondary {
    color: #d78320
}

.tz-text-neutral1 {
    color: #1d1d1d
}

.tz-text-neutral2 {
    color: #171717
}

.tz-text-neutral3 {
    color: #121212
}

.tz-text-neutral4 {
    color: #000
}

.tz-text-neutral5 {
    color: #FFF
}

.tz-text-neutral6 {
    color: #BBBBB9
}

.tz-text-neutral7 {
    color: #FDFDFD
}

.tz-border-primary {
    border-color: #d78320
}

.tz-border-secondary {
    border-color: #d78320
}

.tz-border-neutral1 {
    border-color: #1d1d1d
}

.tz-border-neutral2 {
    border-color: #171717
}

.tz-border-neutral3 {
    border-color: #121212
}

.tz-border-neutral4 {
    border-color: #000
}

.tz-border-neutral5 {
    border-color: #FFF
}

.tz-border-neutral6 {
    border-color: #BBBBB9
}

.tz-border-neutral7 {
    border-color: #FDFDFD
}

/* testimonial section cards  */

/* SECTION */

/* SECTION */

.testimonial-section{
    padding:80px 20px;
}


/* GRID */

.testimonial-grid{
    max-width:1300px;
    margin:auto;

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


/* CARD */

.testimonial-box{

    background:linear-gradient(180deg,#0f172a,#020617);

    border:2px solid #d78320;
    border-radius:18px;

    padding:35px 30px;

    color:#fff;

    transition:0.4s ease;

    overflow: visible; /* ✅ FIX */
}


/* HOVER EFFECT */

.testimonial-box:hover{

    transform:translateY(-12px);

    box-shadow:
    0 0 25px rgba(133,200,21,0.4),
    0 0 60px rgba(133,200,21,0.2);

    border-color:#b6ff1a;
}


/* PROFILE */

.profile{
    display:flex;
    align-items:center;
    gap:15px;

    margin-bottom:20px;

    width:100%;
}


/* PROFILE IMAGE */

.profile img{
    width: 55px;
    height:55px;

    border-radius:50%;
    object-fit:cover;

    border:2px solid #d78320;

    flex-shrink:0; /* ✅ stop shrinking */
}


/* PROFILE NAME */

.profile .name{
    margin:0;

    font-size:16px;
    font-weight:600;
    color:#ffffff;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    flex:1;
    min-width:0;  /* ✅ IMPORTANT FIX */
}


/* CIRCLE ICON */

.circle{

    width:55px;
    height:55px;

    border-radius:50%;

    background:#166534;

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

    font-weight:bold;
    font-size:22px;

    border:2px solid #d78320;

    flex-shrink:0; /* ✅ stop shrinking */
}

.circle.green{
    background:#064e3b;
}


/* STARS */

.stars{
    color:#fbbc05;
    font-size:18px;
    margin-bottom:15px;
    letter-spacing:2px;
}


/* TEXT */

.testimonial-box p{

    color:#cbd5e1;
    font-size:15px;
    line-height:1.7;

    margin:0;

    text-align: justify;
}


/* RESPONSIVE */

@media(max-width:992px){

    .testimonial-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:600px){

    .testimonial-grid{
        grid-template-columns:1fr;
    }

}


/* DASH */

.dash{
    font-weight:700;
    color:#ffffff;
}

/* ===========================
   MOBILE FIX PATCH (DO NOT REMOVE)
=========================== */

/* All Mobiles */
@media (max-width: 768px){

    /* Section spacing */
    .testimonial-section{
        padding: 50px 12px;
    }

    /* Grid fix */
    .testimonial-grid{
        max-width: 100%;
        padding: 0;
        gap: 18px;
    }

    /* Card fix */
    .testimonial-box{
        padding: 22px 18px;
        border-radius: 14px;
    }

    /* Profile fix */
    .profile{
        gap: 10px;
        flex-wrap: nowrap;
    }

    .profile img,
    .circle{
        width: 42px;
        height: 42px;
    }

    /* Name fix */
    .profile h4{
        font-size: 14px;
        white-space: normal;
        line-height: 1.4;
    }

    /* Text fix */
    .testimonial-box p{
        font-size: 14px;
        line-height: 1.6;
    }

    /* Stars fix */
    .stars{
        font-size: 15px;
        letter-spacing: 1px;
    }

}


/* Small Phones */
@media (max-width: 480px){

    .testimonial-section{
        padding: 40px 10px;
    }

    .testimonial-box{
        padding: 18px 14px;
    }

    .profile img,
    .circle{
        width: 38px;
        height: 38px;
    }

    .profile h4{
        font-size: 13.5px;
    }

    .testimonial-box p{
        font-size: 13.5px;
    }

}


/* Extra Small Phones */
@media (max-width: 360px){

    .testimonial-box{
        padding: 16px 12px;
    }

    .profile h4{
        font-size: 13px;
    }

    .testimonial-box p{
        font-size: 13px;
    }

}
