body.page-id-161 {
  /*background-color: #e5d9f2;*/
}


/* === DESKTOP TWO-COLUMN LAYOUT === */
/* Remove default vertical spacing on section and row */


.page-id-161 .et_pb_row,
.page-id-161 .et_pb_column,
.page-id-161 .et_pb_module {
  padding-top: 0 !important;
  /*margin-top: 0 !important;*/
}


.page-id-161 .testimonial-hero-row {
  padding-top: 0 !important;
  margin-top: -100px !important;
  overflow: visible !important;
  display: flex;
  flex-wrap: wrap;
  gap: 4vw;
  justify-content: center;
  align-items: center;
  align-content: center;
  padding: 0 5vw;
  /*background-color: #e5d9f2;*/
}


.page-id-161 .testimonial-left-col {
  padding-top: 0 !important;
  margin-top: 0 !important;
  overflow: visible !important;
  position: relative; 
}

.page-id-161 .testimonial-hero-img-container {
  position: relative;
  width: 100%;
  padding-top: 0 !important;
  margin-top: 0 !important;
  overflow: visible !important;
}

.page-id-161 .testimonial-hero-img-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px) brightness(1.05);
  -webkit-backdrop-filter: blur(6px) brightness(1.05);
  background: rgba(255, 255, 255, 0.15);
  z-index: 1;
  border-radius: 1000px 1000px 0 0;
  transition: all 0.4s ease;
  pointer-events: none; /* allow hover to pass through */
}

/* On hover: fade the frosted overlay away */
.page-id-161 .testimonial-hero-img-container:hover::before {
  backdrop-filter: blur(0px) brightness(1);
  -webkit-backdrop-filter: blur(0.15px) brightness(1);
  background: rgba(255, 255, 255, 0);
}

.page-id-161 .testimonial-hero-img-container img {
  /*margin-top: -40px;*/
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1000px 1000px 0 0;
  border: 3px solid #7272ff;
  filter: brightness(60%) contrast(110%) saturate(110%) !important;
  will-change: auto !important;
}

.page-id-161 #hero-script-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-height: 7.5rem;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.4;
  font-family: 'Great Vibes', cursive;
  color: #4B2C56;
  z-index: 2;
  pointer-events: none;
}


.page-id-161 .animated-gradient-text {
  background: linear-gradient(90deg, #ccccff, #a68ac3, #6c91c2, #ccccff);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-slide 6s ease-in-out infinite;
}


@keyframes gradient-slide {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.page-id-161 .testimonial-text-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}


.page-id-161 .testimonial-h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
}

.page-id-161 .testimonial-divider-img {
  display: block;
  max-width: 100%;
  width: 600px; /* adjust as needed */
  height: auto;
  margin: 5px auto; /* center and add vertical space */
  margin-top: -10px !important;
}

.page-id-161 .testimonial-text-content p {
  color: #5a4f7c;
  font-size: 16px;
  line-height: 1.8;
  max-width: 90%;
  margin: 0 auto;
}

.page-id-161 .testimonial-hero-section + .et_pb_section h2 {
  padding-top: 60px !important;
  margin-top: 0 !important;
}

/* Hide the mobile-only image container by default */
.mobile-only-img-container {
  display: none;
}

/* === Default visibility === */
.desktop-only-testimonial {
  display: block;
}
.mobile-only-testimonial {
  display: none;
}

/****************************************************************************/
/****************************************************************************/
@media (max-width: 479px) {
/* Only hide the default desktop image */
.page-id-161 .testimonial-hero-img-container {
  display: none !important;
}

  .desktop-only-testimonial {
    display: none !important;
  }
  .mobile-only-testimonial {
    display: block !important;
  }
  
  /* Flex layout container */
  .mobile-testimonial-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
    gap: 2rem;
    max-width: 100%;
    margin: 0 auto;
    margin-top: 100px !important;
  }

  /* Image wrapper + title overlay */
  .mobile-hero-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 360px;
    height: 280px;
    overflow: hidden;
    border-radius: 1000px 1000px 0 0;
    border: 3px #ccccff !important;
  }

  .mobile-hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%) contrast(110%) saturate(110%);
    display: block;
    border: 10px #7272ff !important;
  }

  #hero-script-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.6rem, 7vw, 3.2rem);
    text-align: center;
    line-height: 1.4;
    color: #4B2C56;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(90deg, #ccccff, #a68ac3, #6c91c2, #ccccff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-slide 6s ease-in-out infinite;
  }

  /* Text content below image */
  .mobile-hero-text-content {
    text-align: center;
    max-width: 90%;
  }

  .mobile-hero-text-content h1.testimonial-h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 6vw, 3rem);
    margin: 0 auto 1rem;
    text-align: center;
    background: linear-gradient(90deg, #ccccff, #a68ac3, #6c91c2, #ccccff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-slide 6s ease-in-out infinite;
  }

.custom-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem auto;
  max-width: 80%;
}

.custom-divider .divider-line {
  flex: 1;
  height: 1.5px;
  background-color: #a68ac3;
  border-radius: 2px;
}

.custom-divider img {
  width: 46px;
  max-width: 100%;
  height: auto;
}


  .mobile-hero-text-content p {
    font-size: 14px !important;
    line-height: 1.7;
    margin: 0 auto;
    color: #5a4f7c;
  }
}

/***************************************************************************/
/**************************************************************************/
@media (max-width: 480px) {
/* Only hide the default desktop image */
.page-id-161 .testimonial-hero-img-container {
  display: none !important;
}

  .desktop-only-testimonial {
    display: none !important;
  }
  .mobile-only-testimonial {
    display: block !important;
  }
  
  /* Flex layout container */
  .mobile-testimonial-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
    gap: 2rem;
    max-width: 100%;
    margin: 0 auto;
    margin-top: 100px !important;
  }

  /* Image wrapper + title overlay */
  .mobile-hero-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 360px;
    height: 280px;
    overflow: hidden;
    border-radius: 1000px 1000px 0 0;
    border: 3px #ccccff !important;
  }

  .mobile-hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%) contrast(110%) saturate(110%);
    display: block;
    border: 10px #7272ff !important;
  }

  #hero-script-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.6rem, 7vw, 3.2rem);
    text-align: center;
    line-height: 1.4;
    color: #4B2C56;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(90deg, #ccccff, #a68ac3, #6c91c2, #ccccff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-slide 6s ease-in-out infinite;
  }

  /* Text content below image */
  .mobile-hero-text-content {
    text-align: center;
    max-width: 90%;
  }

  .mobile-hero-text-content h1.testimonial-h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 6vw, 3rem);
    margin: 0 auto 1rem;
    text-align: center;
    background: linear-gradient(90deg, #ccccff, #a68ac3, #6c91c2, #ccccff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-slide 6s ease-in-out infinite;
  }

.custom-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem auto;
  max-width: 80%;
}

.custom-divider .divider-line {
  flex: 1;
  height: 1.5px;
  background-color: #a68ac3;
  border-radius: 2px;
}

.custom-divider img {
  width: 46px;
  max-width: 100%;
  height: auto;
}


  .mobile-hero-text-content p {
    font-size: 14px !important;
    line-height: 1.7;
    margin: 0 auto;
    color: #5a4f7c;
  }
}
/****************************************************************************/
/****************************************************************************/
@media (max-width: 768px) {
  .page-id-161 .testimonial-hero-section {
    padding-top: 20px;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  
    .page-id-161 .testimonial-hero-img-container {
    height: auto;
    min-height: 465px;
    overflow: visible;
  }
  
  .page-id-161 .testimonial-hero-img-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px) brightness(1.05);
  -webkit-backdrop-filter: blur(6px) brightness(1.05);
  background: rgba(255, 255, 255, 0.15);
  z-index: 1;
  border-radius: 1000px 1000px 0 0;
  pointer-events: none;
  transition: all 0.4s ease;
  transform: none;
}

.page-id-161 .testimonial-hero-img-container img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0;
  border-radius: 1000px 1000px 0 0;
}

 .page-id-161 .testimonial-hero-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 175px !important;
    padding-bottom: 40px !important;
    position: relative;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
  }

  .page-id-161 .testimonial-left-col {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
  }

  .page-id-161 .testimonial-hero-img-container {
    width: 95%;
    max-width: 400px;
    margin: 40px auto 0;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 1000px 1000px 0 0;
    height: auto;
  }

  .page-id-161 #hero-script-title {
    font-size: clamp(2rem, 6vw, 3.2rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .page-id-161 .et_pb_section:last-of-type,
  .page-id-161 .et_pb_section_0_tb_footer.et_pb_section {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  
.page-id-161 .testimonial-text-content h1.testimonial-h1 {
  margin-top: -1.5rem;
  margin-bottom: 0.5rem;
}

.page-id-161 .testimonial-divider-line {
  width: 80px;
  height: 1.5px;
  background-color: #a68ac3;
  margin: 0 auto 1rem;
  border-radius: 2px;
}
}

/****************************************************************************/
/****************************************************************************/
@media (max-width: 980px) {
    
.page-id-161 .et_pb_gutters1 {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

  .page-id-161 .testimonial-hero-section + .et_pb_section {
    margin-top: 0 !important;
    padding-top: 30px !important;
  }
  
  .page-id-161 .testimonial-hero-section + .et_pb_section h2 {
    padding-top: 60px !important;
    margin-top: 0 !important;
  }

    .page-id-161 .et_pb_section {
    min-height: 0 !important;
    height: auto !important;
  }
  
      .page-id-161 .testimonial-hero-section {
        margin-top: -50px !important;
    }
  
  .page-id-161 .et_pb_column {
  padding-right: 0 !important;
  padding-left: 0 !important;
  margin: 0 auto !important;
}
  
  .page-id-161 .testimonial-hero-row {
    padding-top: 200px !important; /* instead of section */
    padding-bottom: 40px !important;
    position: relative;
    margin-bottom: 0 !important;
    align-content: center !important;
  }

  
  /* Stop vertical centering on tablet */
  .page-id-161 .testimonial-hero-section {
    display: block;
    padding-top: 120px;
    padding-bottom: 0;
    margin-bottom: 0;
    min-height: unset !important;
    height: auto !important;
  }
  
  .page-id-161 .et_pb_section:last-of-type {
  margin-bottom: 0 !important;
}
  
  .page-id-161 .testimonial-text-content {
  margin-bottom: 0 !important;

}

.page-id-161 .testimonial-text-content p {
  margin-bottom: 0 !important;
}

.page-id-161 .testimonial-hero-row,
.page-id-161 .testimonial-right-col {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}


  /* Add spacing above the image */
  .page-id-161 .testimonial-hero-img-container {
    /*margin-top: 40px;*/
    width: 100%;
    max-width: 500px;
  }

  /* Lower the script title within the image */
  .page-id-161 #hero-script-title {
  height: auto;
  min-height: 7.5rem;
  font-size: clamp(2.2rem, 6vw, 3.6rem) !important;
  }
  
.page-id-161 .testimonial-text-content h1.testimonial-h1 {
  margin-top: -3rem;
  margin-bottom: 0.5rem;
}

.page-id-161 .testimonial-divider-line {
  width: 80px;
  height: 1.5px;
  background-color: #a68ac3;
  margin: 0 auto 1rem;
  border-radius: 2px;
}
  
  .page-id-161 .et_pb_section:nth-of-type(2) {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
.page-id-161 .et_pb_section_0_tb_footer.et_pb_section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
  }
}
/****************************************************************************/
/****************************************************************************/


/**************************************************************************/
/**************************************************************************/
@media (min-width: 981px) and (max-width: 1024px) {
  .page-id-161 .testimonial-hero-section + .et_pb_section {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
    .page-id-161 .testimonial-hero-section + .et_pb_section h2 {
    padding-top: 60px !important; /* Adjust this value as needed */
    margin-top: 0 !important;     /* In case margin is collapsing */
  }
  
    .page-id-161 .testimonial-hero-section {
        margin-top: -100px !important;
    }
  
    .page-id-161 .et_pb_section {
    min-height: 0 !important;
    height: auto !important;
  }
  
  .page-id-161 .testimonial-hero-row {
    padding-top: 220px !important; /* instead of section */
    padding-bottom: 40px !important;
    position: relative;
    margin-bottom: 0 !important;
  }

  
  /* Stop vertical centering on tablet */
  .page-id-161 .testimonial-hero-section {
    display: block;
    padding-top: 120px;
    padding-bottom: 0;
    margin-bottom: 0;
    min-height: unset !important;
    height: auto !important;
  }
  
  .page-id-161 .et_pb_section:last-of-type {
  margin-bottom: 0 !important;
}
  
  .page-id-161 .testimonial-text-content {
  margin-bottom: 0 !important;

}

.page-id-161 .testimonial-text-content p {
  margin-bottom: 0 !important;
}

.page-id-161 .testimonial-hero-row,
.page-id-161 .testimonial-right-col {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}


  /* Add spacing above the image */
  .page-id-161 .testimonial-hero-img-container {
    margin-top: 40px;
  }

  /* Lower the script title within the image */
  .page-id-161 #hero-script-title {
  height: auto;
  min-height: 7.5rem;
  font-size: clamp(2.2rem, 6vw, 3.6rem) !important;
  }
    .page-id-161 .testimonial-text-content h1 {
    margin-top: -50px;
  }
  
  .page-id-161 .et_pb_section:nth-of-type(2) {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/**************************************************************************/
/***************************************************************************/
/* === STACK COLUMNS ON MOBILE === ******************************************/
@media (max-width: 1024px) {
  .page-id-161 .testimonial-hero-section {
    padding-top: 100px;
    padding-bottom: 30px;
  }
  .page-id-161 .testimonial-hero-row {
    flex-direction: column;
    gap: clamp(40px, 6vh, 80px);
  }

  .page-id-161 .testimonial-left-col,
  .page-id-161 .testimonial-right-col {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .page-id-161 .testimonial-text-content {
    margin-top: clamp(40px, 5vh, 80px);
  }
}

/**************************************************************************/
/***************************************************************************/
@media (min-width: 1025px) {
    
  .page-id-161 .testimonial-hero-section {
    display: block !important; /* remove flex layout */
    min-height: auto !important;
    height: auto !important;
    padding-bottom: 40px;
    margin-bottom: 0 !important;
}

.page-id-161 .testimonial-hero-section + .et_pb_section {
        margin-top: 0 !important;
    padding-top: 0 !important;
}

    .page-id-161 .testimonial-hero-section + .et_pb_section h2 {
    padding-top: 60px !important; /* Adjust this value as needed */
    margin-top: 0 !important;     /* In case margin is collapsing */
  }

  .page-id-161 .testimonial-hero-row {
    padding-top: 120px !important; /* instead of section */
    padding-bottom: 40px !important;
    position: relative;
    margin-bottom: 0 !important;
  }

  .page-id-161 .testimonial-text-content {
    margin-bottom: 0 !important;
  }

  .page-id-161 .testimonial-left-col,
  .page-id-161 .testimonial-right-col {
    flex: 1 1 45%;
    max-width: 600px;
  }
  
  .page-id-161 #hero-script-title {
  z-index: 2;
  position: absolute;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  min-height: 7.5rem;
  text-align: center;
  font-family: 'Great Vibes', cursive;
  pointer-events: none;
  color: #7272ff;
  z-index: 2;
  
    /* Gradient animation */
  background: linear-gradient(90deg, #ccccff, #a68ac3, #6c91c2, #ccccff);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  /*-webkit-text-fill-color: transparent;*/
  animation: gradient-slide 6s ease-in-out infinite;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.2); /* Optional boost */
}

}

/**************************************************************************/
/***************************************************************************/
@media screen and (min-device-width: 768px) and (max-device-width: 1366px) {

  .page-id-161 #hero-script-title.animated-gradient-text {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    color: #a68ac3 !important; /* 🎯 Pick your fallback purple/lavender */
    text-shadow: none !important;
  }

  .page-id-161 #hero-script-title.animated-gradient-text::after {
    display: none !important;
    content: none !important;
  }
}

/**************************************************************************/
/***************************************************************************/

/* === iPad Safari Hero Script Title Fix (Remove Blur) === */
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait),
       screen and (min-device-width: 768px) and (max-device-width: 1366px) and (orientation: landscape) {

  .page-id-161 #hero-script-title.animated-gradient-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);

    font-size: clamp(3.2rem, 7vw, 4.2rem);
    min-height: 8rem;
    text-align: center;
    line-height: 1.3;
    font-family: 'Great Vibes', cursive;
    z-index: 2;
    will-change: transform;

    background-image: linear-gradient(90deg, #ccccff, #a68ac3, #6c91c2, #ccccff);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 0 10px rgba(204, 204, 255, 0.4),
                 0 0 20px rgba(166, 138, 195, 0.3),
                 0 0 25px rgba(108, 145, 194, 0.2);
  }

  /* ✅ Remove blur layer */
  .page-id-161 #hero-script-title.animated-gradient-text::after {
    content: none !important;
    display: none !important;
  }
}



