
/* ==============================
   THERAPY PLAN SECTION
============================== */

.therapy {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px clamp(16px, 5.5vw, 40px) 36px;
  background: transparent;
}

/* Section Heading */
.therapy .section-head {
  text-align: center;
  margin-bottom: 20px;
}

.therapy .section-kicker {
  font-family:  var(--title-font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #17385f;
}

.therapy .section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  color: #17385f;
  margin: 10px 0 0;
}

.therapy .section-title em {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  color: #6689b2;
}

/* Decorative Wave Under Heading */
.therapy .wave {
  position: relative;
  width: 54px;
  height: 16px;
  margin: 8px auto 0;
}

.therapy .wave::before,
.therapy .wave::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 8px;
  border-top: 2px solid #6585aa;
  border-radius: 50%;
}

.therapy .wave::before {
  left: 1px;
  transform: rotate(9deg);
}

.therapy .wave::after {
  right: 1px;
  transform: rotate(-9deg);
}

/* Introductory Description */
.therapy-intro {
  max-width: 720px;
  margin: 0 auto 30px;
  padding: 0;
  text-align: center;
  color: #617286;
  font-family:  var(--title-font);
  font-size: 15px;
  line-height: 1.7;
}

/* ==============================
   SIX PHASE CARDS
============================== */

.therapy .plan {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
}

/* Individual Phase Card */
.therapy .phase {
  position: relative;
  min-width: 0;
  padding: 18px 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d9e1ea;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(40, 74, 105, 0.045);
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

/* Arrows Between Phases */
.therapy .phase:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 48%;
  right: -17px;
  z-index: 2;
  color: #6f88a2;
  font-size: 22px;
  line-height: 1;
}

/* Phase Icons */
.therapy .phase-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  color: #17385f;
  transition: color 0.22s ease;
}

.therapy .phase-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Phase Number */
.therapy .phase small {
  display: block;
  font-family:  var(--title-font);
  font-size: 12px;
  font-weight: 600;
  opacity: 0.8;
}

/* Phase Title */
.therapy .phase h4 {
  margin: 6px 0 9px;
  color: #233b57;
  font-family:  var(--title-font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  transition: color 0.22s ease;
}

/* Phase Description */
.therapy .phase p {
  margin: 0;
  color: #5b6d80;
  font-family:  var(--title-font);
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  transition: color 0.22s ease;
}

/* Phase Label */
.therapy .phase .pill {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 16px;
  border-radius: 30px;
  background: #204a78;
  color: #fff;
  font-family:  var(--title-font);
  font-size: 10px;
  font-weight: 800;
  transition:
    background-color 0.22s ease,
    color 0.22s ease;
}

/* Hover Effects */
.therapy .phase:hover,
.therapy .phase:focus-within {
  background: linear-gradient(145deg, #5d83b0, #244d7c);
  border-color: #426c9b;
  box-shadow: 0 12px 28px rgba(24, 54, 86, 0.16);
  transform: translateY(-3px);
}

.therapy .phase:hover h4,
.therapy .phase:hover p,
.therapy .phase:hover small,
.therapy .phase:focus-within h4,
.therapy .phase:focus-within p,
.therapy .phase:focus-within small {
  color: #fff;
}

.therapy .phase:hover .phase-icon,
.therapy .phase:focus-within .phase-icon {
  color: #fff;
}

.therapy .phase:hover .pill,
.therapy .phase:focus-within .pill {
  background: #fff;
  color: #214b79;
}

/* ==============================
   TABLET
============================== */

@media (max-width: 1100px) {
  .therapy {
    padding: 22px 28px 32px;
  }

  .therapy .plan {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .therapy .phase {
    padding: 18px 14px;
  }

  /* Hide arrows where the grid wraps */
  .therapy .phase:nth-child(3)::after,
  .therapy .phase:nth-child(6)::after {
    display: none;
  }

  .therapy .phase:nth-child(4)::after {
    display: block;
  }

  .therapy .phase p {
    font-size: 11px;
  }
}

/* ==============================
   MOBILE
============================== */

@media (max-width: 760px) {
  .therapy {
    padding: 22px 18px 28px;
  }

  .therapy .section-head {
    margin-bottom: 16px;
  }

  .therapy .section-kicker {
    font-size: 11px;
    letter-spacing: 2.4px;
  }

  .therapy .section-title {
    font-size: clamp(30px, 7vw, 40px);
    line-height: 1.12;
  }

  .therapy-intro {
    margin-bottom: 22px;
    padding: 0 4px;
    font-size: 12px;
    line-height: 1.7;
  }

  .therapy .plan {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .therapy .phase {
    padding: 16px 12px;
    border-radius: 14px;
  }

  .therapy .phase::after {
    display: none !important;
  }

  .therapy .phase-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
  }

  .therapy .phase small,
  .therapy .phase .pill {
    font-size: 11px;
  }

  .therapy .phase h4 {
    font-size: 15px;
  }

  .therapy .phase p {
    font-size: 11px;
    line-height: 1.6;
  }
}

/* ==============================
   SMALL MOBILE
============================== */

@media (max-width: 480px) {
  .therapy {
    padding: 20px 13px 26px;
  }

  .therapy .section-title {
    font-size: 32px;
  }

  .therapy .plan {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .therapy .phase {
    padding: 18px 16px;
  }

  .therapy .phase-icon {
    width: 42px;
    height: 42px;
  }

  .therapy .phase h4 {
    font-size: 14px;
  }

  .therapy .phase p {
    max-width: 320px;
    margin: 0 auto;
    font-size: 12px;
    line-height: 1.65;
  }

  .therapy .phase .pill {
    margin-top: 12px;
  }
}

/* Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .therapy .phase,
  .therapy .phase-icon,
  .therapy .phase .pill {
    transition: none;
  }

  .therapy .phase:hover,
  .therapy .phase:focus-within {
    transform: none;
  }
}
 /* Stone Wave Divider */
.stone-wave-divider {
  display: block;
  width: 100%;
  height: clamp(48px, 7vw, 94px);
  object-fit: contain;
  object-position: center;
  margin: 20px auto 18px;
  pointer-events: none;
}

/* MWC Therapy Experience Section */
.experience {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(240px, 1.05fr) minmax(0, 2.95fr);
  align-items: center;
  position: relative;
  isolation: isolate;
}



/* Experience Intro Card */
.experience-intro {
  position: relative;
  z-index: 1;
  min-height: 250px;
  padding: 42px 38px 42px 58px;
  color: #fff;
  background: linear-gradient(
    145deg,
    #244e7d 0%,
    #4e78a5 72%,
    #6b8fb7 100%
  );

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 300' preserveAspectRatio='none'%3E%3Cpath d='M5 95C12 50 53 22 101 24C145 -2 190 11 225 31C266 48 290 28 328 49C373 73 385 119 365 160C351 197 375 225 338 257C304 286 264 265 226 278C178 296 144 269 108 278C58 290 19 254 26 218C-1 187 -5 139 5 95Z' fill='black'/%3E%3C/svg%3E");

  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 300' preserveAspectRatio='none'%3E%3Cpath d='M5 95C12 50 53 22 101 24C145 -2 190 11 225 31C266 48 290 28 328 49C373 73 385 119 365 160C351 197 375 225 338 257C304 286 264 265 226 278C178 296 144 269 108 278C58 290 19 254 26 218C-1 187 -5 139 5 95Z' fill='black'/%3E%3C/svg%3E");

  box-shadow: 0 12px 28px rgba(24, 54, 86, 0.12);
}

.experience-intro::before {
  content: "♡";
  display: block;
  font-family: Georgia, serif;
  font-size: 38px;
  line-height: 1;
  margin-bottom: 10px;
  color: #fff;
  opacity: 0.95;
}

.experience-intro h3,
.experience-intro p {
  position: relative;
  z-index: 1;
}

.experience-intro h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.18;
  margin: 0 0 10px;
}

.experience-intro p {
  font-family:  var(--title-font);
  font-size: 12px;
  line-height: 1.65;
  max-width: 300px;
  margin: 0;
}

.experience-intro::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 58px;
  height: 35px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-12deg);
  pointer-events: none;
}

/* Benefits Grid */
.benefits {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-width: 0;
  max-width: 100%;
  padding: 32px 8px;
  margin-left: 0;
  background: rgba(255, 255, 255, 0.25);
}

.benefit {
  min-width: 0;
  padding: 0 12px;
  text-align: center;
  border-right: 1px solid #cbd7e4;
}

.benefit:last-child {
  border-right: 0;
}

.benefit svg {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  fill: none;
  stroke: #17385f;
  stroke-width: 1.55;
}

.benefit h4 {
  font-family:  var(--title-font);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  line-height: 1.45;
  color: #17385f;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}

.benefit p {
  font-family:  var(--title-font);
  font-size: clamp(11px, 0.85vw, 12px);
  line-height: 1.7;
  color: #344e6b;
  margin: 0;
  overflow-wrap: anywhere;
}

/* Tablet Layout */
@media (max-width: 1100px) {
  .stone-wave-divider {
    height: 60px;
    margin: 16px auto;
  }

  .experience {
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 2.1fr);
    margin-inline: 0;
  }

  .experience-intro {
    min-height: 230px;
    padding: 34px 30px 38px;
  }

  .benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 0;
    padding: 26px 8px;
  }

  .benefit:nth-child(3) {
    border-right: 0;
  }

  .benefit:nth-child(4) {
    border-right: 1px solid #cbd7e4;
  }

  .benefit:nth-child(5) {
    border-right: 0;
  }
}

/* Mobile Layout */
@media (max-width: 760px) {
  .stone-wave-divider {
    height: 54px;
    margin: 14px auto;
    object-fit: contain;
  }

  .experience {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin: 12px 0 0;
  }

  .experience-intro {
    min-height: 220px;
    padding: 32px 32px 36px;
    background-size: 100% 100%;
  }

  .experience-intro h3 {
    font-size: 25px;
  }

  .experience-intro p {
    font-size: 15px;
    line-height: 1.7;
  }

  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 24px 12px;
    gap: 22px 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
  }

  .benefit {
    padding: 0 12px;
    border-right: 1px solid #cbd7e4;
  }

  .benefit:nth-child(2n) {
    border-right: 0;
  }

  .benefit:nth-child(3) {
    border-right: 1px solid #cbd7e4;
  }

  .benefit:nth-child(4) {
    border-right: 0;
  }

  .benefit:last-child {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .benefit svg {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
  }

  .benefit h4 {
    font-size: 15px;
    line-height: 1.45;
  }

  .benefit p {
    font-size: 12px;
    line-height: 1.65;
  }
}

/* Small Mobile Screens */
@media (max-width: 480px) {
  .experience-intro {
    min-height: 205px;
    padding: 30px 27px 34px;
  }

  .benefits {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 18px 16px;
  }

  .benefit,
  .benefit:nth-child(2n),
  .benefit:nth-child(3),
  .benefit:nth-child(4),
  .benefit:last-child {
    grid-column: auto;
    padding: 16px 8px;
    border-right: 0;
    border-bottom: 1px solid #cbd7e4;
  }

  .benefit:last-child {
    border-bottom: 0;
  }

  .benefit svg {
    margin-bottom: 8px;
  }
}



.motto-icon svg { width: 40px; height: 40px; stroke: var(--blue); }
.team-section .team-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin-top: 20px;
}

.team-section .team-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    border: 1.5px solid var(--line);
    border-radius: 25px;
    text-align: center;
    padding: 10px 12px 17px;

    background: rgba(255, 255, 255, 0.75);

    /* Border shadow */
    box-shadow:
        0 5px 15px rgba(48, 76, 100, 0.08),
        0 1px 3px rgba(48, 76, 100, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;

    display: flex;
    flex-direction: column;
    align-items: center;

    /* Smooth hover animation */
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

/* Hover effect */
.team-section .team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(79, 139, 180, 0.65);
    background: rgba(255, 255, 255, 0.92);

    box-shadow:
        0 16px 35px rgba(48, 76, 100, 0.16),
        0 6px 12px rgba(48, 76, 100, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.95) inset;
}
.team-section .portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 1.12 / .83;
  max-height: 245px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 0;
}
.team-section .portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: url("../images/profile-bg.png") center / 100% 100% no-repeat;
  opacity: .98;
}

.portrait::after {
  content: none;
}
.team-section .portrait img.person {
  position: relative;
  z-index: 1;
  max-width: 100%;
  width: 95%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}
.team-section .profile-decoration {
  position: absolute;
  z-index: 2;
  bottom: 0;
  width: 30%;
  max-height: 40%;
  object-fit: contain;
  pointer-events: none;
}
.team-section .profile-decoration.left { left: 1%; }
.team-section .profile-decoration.right { right: 0; width: 24%; }
.team-section .lotus-badge {
  z-index: 3;
  position: relative;
  margin-top: -28px;
  width: 62px; height: 62px;
  flex: 0 0 62px;
  border: 2px solid white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #2678c9, #07509a);
  box-shadow: 0 3px 7px rgba(14,74,132,.22);
}
.team-section .lotus-badge svg { width: 42px; height: 42px; fill: none; stroke: white; stroke-width: 1.4; }
.team-section .team-card h2 {
 
  letter-spacing: -.025em;
      font-weight: 800;
  margin: 15px 0 0px;
    color: #164f7d;
    font-size: 1.08rem;
    line-height: 1.4;
}
.team-section .role {
  font-size: clamp(11px, .93vw, 14px);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 5px;
  text-align: center;
}
.team-section .specialty {
  font-size: clamp(10px, .81vw, 12px);
  line-height: 1.5;
  min-height: 36px;
  margin: 0;
}
.team-section .rule {
  width: 52px;
  height: 1.5px;
  background: #6ea8e4;
  margin: 8px auto 10px;
}
.team-section .bio {
  font-size: clamp(11px, .91vw, 14px);
  line-height: 1.45;
  margin: 0 0 14px;
  flex: 1;
  text-align:center;
}
.team-section .know-more {
      display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 8px;
    padding: 9px 11px;
    font-size: 12px;
    /* min-width: 58%; */
    color: white;
    background: linear-gradient(100deg, #0756a2, #064784);
    font-family: var(--title-font);
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.team-section .know-more:hover { transform: translateY(-2px); box-shadow: 0 5px 13px rgba(7,67,127,.2); }
.team-section .know-more span { font-size: 21px; line-height: 12px; }
.team-section .footer-leaf {
  position: absolute;
  z-index: -1;
  left: -3%;
  bottom: -5%;
  width: clamp(110px, 15vw, 225px);
  opacity: .75;
  pointer-events: none;
}
.team-section .footer-right {
  position: absolute;
  z-index: -1;
  right: -3%;
  bottom: -8%;
  width: clamp(140px, 18vw, 275px);
  opacity: .36;
  pointer-events: none;
}
@media (max-width: 760px) {
  .team-section {
    padding: 36px 17px 48px;
  }
}
@media (max-width: 1100px) {
  .team-section .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .team-section .team-card { padding: 12px 18px 20px; }
  .team-section .portrait { max-height: 300px; }
 .team-section  .team-card h2 { font-size: clamp(21px, 2.5vw, 28px); }
  .team-section .role { font-size: 14px; }
  .team-section .specialty, .bio { font-size: 13px; }
  .team-section .specialty { min-height: auto; }
  .team-section .intro { margin-left: 50px; }
  .flower-right { width: 48vw; }
}
@media (max-width: 620px) {
  .team-section .team-section { padding: 36px 17px 48px; }
  .team-section .leaf-left { width: 105px; left: -36px; top: 10px; opacity: .45; }
  .team-section .flower-right { width: 330px; right: -140px; top: -25px; opacity: .24; }
  .team-section .intro { margin-left: 0; margin-bottom: 26px; }
  .team-section .eyebrow { font-size: 13px; }
  .team-section h1 { font-size: clamp(36px, 10vw, 50px); }
  .team-section .intro-copy { font-size: 15px; max-width: 390px; }
  .team-section .motto { font-size: 15px; gap: 12px; }
  .team-section .motto-icon { width: 58px; height: 58px; flex-basis: 58px; }
  .team-section .team-grid { grid-template-columns: 1fr; gap: 17px; max-width: 420px; margin: 0 auto; }
  .team-section .team-card { padding: 12px 18px 20px; border-radius: 22px; }
  .team-section .portrait { width: 100%; max-height: 300px; aspect-ratio: 1.2 / .85; }
  .team-section .team-card h2 { font-size: 25px; }
  .team-section .role { font-size: 14px; }
  .team-section .specialty, .team-section .bio { font-size: 13px; }
  .team-section .bio { max-width: 320px; }
  .team-section .footer-leaf { width: 130px; }
}


.slider-arrow {
    position: absolute;
    z-index: 8;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .85);
    background: rgba(255, 255, 255, .82);
    color: var(--blue);
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 49, 84, .12);
    transition: transform .2s ease, background .2s ease;
}

.slider-arrow.prev {
    left: 25px;
}

.slider-arrow.next {
    right: 25px;
}

.slider-arrow::before {
    content: "";
    display: block;
    width: 11px;
	margin-top:11px;
    height: 11px;
    border-top: 3px solid var(--blue);
    border-right: 3px solid var(--blue);
}

.slider-arrow.prev::before {
    transform: rotate(-135deg);
    margin-left: 5px;
}

.slider-arrow.next::before {
    transform: rotate(45deg);
    margin-right: 5px;
}

.slider-arrow:hover {
    background: #fff;
}

.slider-arrow.prev:hover {
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow.next:hover {
    transform: translateY(-50%) scale(1.08);
}