/* =========================================
   PATIENT TRUST SECTION
========================================= */

.patient-trust-section {
    padding: 95px 0;
    background: #fffaf8;
    overflow: hidden;
}

.patient-trust-content {
    max-width: 570px;
}

.patient-trust-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    margin-bottom: 22px;
    border-radius: 50px;
    background: #f4e6ec;
    color: #5d0039;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.3px;
}

.patient-trust-content h2 {
    margin: 0 0 22px;
    font-family: "Cormorant Garamond", serif;
    font-size: 62px;
    line-height: 1;
    font-weight: 600;
    color: #4b3035;
}

.patient-trust-content h2 span {
    display: block;
    color: #5d0039;
    font-style: italic;
}

.patient-trust-content > p {
    max-width: 530px;
    margin-bottom: 30px;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #756568;
}


/* TRUST POINTS */

.patient-trust-points {
    display: flex;
    flex-direction: column;
}

.patient-trust-point {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(93, 0, 57, 0.08);
}

.patient-trust-point:last-child {
    border-bottom: none;
}

.trust-point-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 13px;
    background: #f4e6ec;
    color: #5d0039;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.patient-trust-point:hover .trust-point-icon {
    background: #5d0039;
    color: #fff;
    transform: translateY(-3px);
}

.patient-trust-point h5 {
    margin: 0 0 3px;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #4b3035;
}

.patient-trust-point p {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: #817174;
}


/* VISUAL */

.patient-trust-visual {
    position: relative;
    max-width: 500px;
    margin: auto;
    padding: 20px 25px 45px 20px;
}

.trust-image-main {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 28px;
}

.trust-image-main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(93, 0, 57, 0.12),
        transparent 45%
    );
    z-index: 1;
}

.trust-image-main {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    overflow: hidden;
    border-radius: 28px;
}

.trust-image-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
    border-radius: 28px;
    transition: transform 0.5s ease;
}

.trust-image-main:hover img {
    transform: scale(1.03);
}

@media (max-width: 576px) {
    .trust-image-main img {
        width: 100%;
        height: 400px;
    }
}
/* QUOTE CARD */

.trust-quote-card {
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: 0;
    width: 280px;
    padding: 20px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(93, 0, 57, 0.13);
}

.quote-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: #f4e6ec;
    color: #5d0039;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.trust-quote-card p {
    margin: 0 0 8px;
    font-family: "Cormorant Garamond", serif;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 600;
    color: #4b3035;
}

.trust-quote-card span {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    color: #817174;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .patient-trust-section {
        padding: 75px 0;
    }

    .patient-trust-content {
        max-width: 700px;
    }

    .patient-trust-content h2 {
        font-size: 53px;
    }

    .patient-trust-visual {
        max-width: 550px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 576px) {

    .patient-trust-section {
        padding: 55px 0;
    }

    .patient-trust-content h2 {
        font-size: 43px;
    }

    .patient-trust-content > p {
        font-size: 12px;
        line-height: 1.75;
    }

    .patient-trust-tag {
        font-size: 9px;
        letter-spacing: 1px;
        padding: 7px 12px;
    }

    .patient-trust-point {
        gap: 12px;
    }

    .trust-point-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 16px;
    }

    .patient-trust-point h5 {
        font-size: 13px;
    }

    .patient-trust-point p {
        font-size: 10px;
    }

    .patient-trust-visual {
        padding: 10px 10px 65px 10px;
    }

    .trust-image-main {
        border-radius: 22px;
    }

    .trust-image-main img {
        height: 400px;
    }

    .trust-quote-card {
        left: 0;
        bottom: 15px;
        width: 245px;
        padding: 16px;
    }

    .trust-quote-card p {
        font-size: 17px;
    }
}
/* =========================================
   TESTIMONIAL INTRO SECTION
========================================= */

.testimonial-intro-section {
    position: relative;
    padding: 90px 0 80px;
    background: #fffaf8;
    overflow: hidden;
}

.testimonial-intro-header {
    max-width: 1000px;
    margin: 0 auto 70px;
}


/* TAG */

.testimonial-intro-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 24px;
    border: 1px solid #e5d8dc;
    border-radius: 50px;
    background: #f8edf1;
    color: #5d0039;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.testimonial-intro-tag span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #5d0039;
}


/* HEADING */

.testimonial-intro-header h2 {
    margin: 28px 0 24px;
    font-family: "Cormorant Garamond", serif;
    font-size: 70px;
    line-height: 1.02;
    font-weight: 600;
    color: #3f292d;
}

.testimonial-intro-header h2 em {
    color: #5d0039;
    font-style: italic;
}

.testimonial-intro-header p {
    max-width: 850px;
    margin: 0 auto;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    line-height: 1.9;
    color: #756568;
}

.testimonial-intro-header p strong {
    color: #4b3035;
    font-weight: 700;
}


/* =========================================
   TESTIMONIAL STATS
   MAROON + LIGHT GOLD THEME
========================================= */

.testimonial-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1250px;
    margin: auto;

    background:   #5d0039;
    border: 1px solid #5d0039;
    border-radius: 25px;
    overflow: hidden;

    box-shadow: 0 20px 50px rgba(93, 0, 57, 0.15);
}


/* STAT ITEM */

.testimonial-stat {
    position: relative;
    min-height: 210px;
    padding: 38px 25px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border-right: 1px solid rgba(238, 239, 126, 0.25);

    transition: all 0.4s ease;
}


/* REMOVE LAST BORDER */

.testimonial-stat:last-child {
    border-right: none;
}


/* NUMBER */

.testimonial-stat h3 {
    margin: 0 0 18px;

    font-family: "Cormorant Garamond", serif;
    font-size: 45px;
    line-height: 1;
    font-weight: 700;

    color: #eeef7e;

    transition: all 0.4s ease;

    animation: statNumber 3s ease-in-out infinite;
}


/* NUMBER HOVER */

.testimonial-stat:hover h3 {
    transform: translateY(-6px) scale(1.06);
    text-shadow: 0 0 18px rgba(238, 239, 126, 0.35);
}


/* TEXT */

.testimonial-stat span {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: 0.8px;

    color: #ffffff;

    transition: all 0.3s ease;
}


/* BOTTOM LINE */

.testimonial-stat i {
    display: block;
    width: 45px;
    height: 3px;

    margin-top: 18px;

    border-radius: 10px;

    background: #eeef7e;

    transition: all 0.4s ease;
}


/* HOVER LINE */

.testimonial-stat:hover i {
    width: 65px;
    box-shadow: 0 0 12px rgba(238, 239, 126, 0.45);
}


/* HOVER ITEM */

.testimonial-stat:hover {
    background: rgba(255, 255, 255, 0.04);
}


/* =========================================
   NUMBER ANIMATION
========================================= */

@keyframes statNumber {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }

    100% {
        transform: translateY(0);
    }

}



/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .testimonial-intro-section {
        padding: 75px 0 65px;
    }

    .testimonial-intro-header {
        margin-bottom: 50px;
    }

    .testimonial-intro-header h2 {
        font-size: 58px;
    }

    .testimonial-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-stat:nth-child(2) {
        border-right: none;
    }

    .testimonial-stat:nth-child(1),
    .testimonial-stat:nth-child(2) {
        border-bottom: 1px solid #eee5e7;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 576px) {

    .testimonial-intro-section {
        padding: 55px 0;
    }

    .testimonial-intro-header {
        margin-bottom: 38px;
    }

    .testimonial-intro-tag {
        padding: 8px 16px;
        font-size: 9px;
        letter-spacing: 1.3px;
    }

    .testimonial-intro-header h2 {
        margin-top: 22px;
        font-size: 42px;
        line-height: 1.05;
    }

    .testimonial-intro-header p {
        font-size: 12px;
        line-height: 1.75;
        padding: 0 10px;
    }

    .testimonial-stats {
        grid-template-columns: 1fr 1fr;
        border-radius: 18px;
    }

    .testimonial-stat {
        min-height: 155px;
        padding: 25px 12px;
    }

    .testimonial-stat h3 {
        font-size: 38px;
        margin-bottom: 10px;
    }

    .testimonial-stat span {
        font-size: 9px;
    }

    .testimonial-stat i {
        width: 32px;
        height: 2px;
        margin-top: 12px;
    }
}

/* =========================================
   TESTIMONIAL INTRO ANIMATION
========================================= */

.testimonial-intro-section {
  overflow: hidden;
}


/* Header */

.testimonial-intro-header {
  animation: testimonialFadeUp 0.9s ease both;
}


/* Tag */

.testimonial-intro-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  animation: testimonialFadeUp 0.7s ease both;
}


/* Small line */

.testimonial-intro-tag span {
  transition: width 0.4s ease;
}


/* Heading */

.testimonial-intro-header h2 {
  animation: testimonialFadeUp 0.9s ease 0.15s both;
}


/* Italic heading */

.testimonial-intro-header h2 em {
  display: inline-block;
  animation: testimonialSoftFloat 4s ease-in-out infinite;
}


/* Description */

.testimonial-intro-header p {
  animation: testimonialFadeUp 0.9s ease 0.3s both;
}


/* =========================================
   STATS
========================================= */

.testimonial-stats {
  animation: testimonialFadeUp 1s ease 0.4s both;
}


/* Individual Stats */

.testimonial-stat {
  opacity: 0;
  animation: testimonialStatReveal 0.7s ease forwards;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}


/* Stagger Animation */

.testimonial-stat:nth-child(1) {
  animation-delay: 0.45s;
}

.testimonial-stat:nth-child(2) {
  animation-delay: 0.55s;
}

.testimonial-stat:nth-child(3) {
  animation-delay: 0.65s;
}

.testimonial-stat:nth-child(4) {
  animation-delay: 0.75s;
}


/* Number */

.testimonial-stat h3 {
  transition:
    transform 0.35s ease,
    color 0.35s ease;
}


/* Hover */

.testimonial-stat:hover {
  transform: translateY(-8px);
}

.testimonial-stat:hover h3 {
  transform: scale(1.08);
}


/* Decorative line */

.testimonial-stat i {
  transition:
    height 0.4s ease,
    opacity 0.4s ease;
}

.testimonial-stat:hover i {
  opacity: 1;
}


/* =========================================
   KEYFRAMES
========================================= */

@keyframes testimonialFadeUp {

  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


@keyframes testimonialStatReveal {

  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


@keyframes testimonialSoftFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

  .testimonial-stat:hover {
    transform: none;
  }

  .testimonial-stat:hover h3 {
    transform: none;
  }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

  .testimonial-intro-header,
  .testimonial-intro-tag,
  .testimonial-intro-header h2,
  .testimonial-intro-header p,
  .testimonial-stats,
  .testimonial-stat,
  .testimonial-intro-header h2 em {
    animation: none;
    opacity: 1;
    transform: none;
  }

}