/* Secondary Container */
.secondary-container {
  position: relative;
  margin-top: var(--navbar-height);
}

/* Fixed Hero Container */
.hero-container {
  background-color: var(--bg-color);
  margin-top: 15px;
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  width: 100%;
  /* height: calc(var(--hero-height) - var(--navbar-height)); */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--container-max-width);
  width: var(--container-width);
  height: 600px;
  gap: 40px;
  background: transparent; /* removed white background so video is visible */
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 0;
  text-align: center;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2; /* behind all content */
  border-radius: 20px;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* dark overlay for contrast */
  z-index: -1; /* between video and content */
  border-radius: 20px;
}

.hero-content.centered-content {
  position: relative; /* creates stacking context */
  z-index: 10; /* above overlay and video */
  max-width: 550px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 550;
  margin-bottom: 0;
  line-height: 1.2;
}

.hero p {
  font-size: 1rem;
  margin: 0;
  font-weight: 400;
}

/* .demo-button {
   padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 14px;
    background: transparent;
    border: 3px solid var(--white);
    color: var(--text);
}
.demo-button a{
  text-decoration: none;
  color: white;
}
.demo-button:hover {
  background-color: darken(var(--primary), 10%);
} */

/* Scroll Container */
.scroll-container {
  position: relative;
  z-index: 950;
  padding-top: calc(var(--hero-height) - var(--navbar-height));
  width: 100%;
  margin-top: 150px;
  left: 0;
  /* height: calc(var(--hero-height) - var(--navbar-height)); */
}

.scroll-content {
  background: var(--creme);
  border-radius: 30px 30px 0 0;
  /* box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1); */
  width: var(--container-width);
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 100px 0;
  max-width: var(--container-max-width);
  width: var(--container-width);
  overflow: hidden;
  z-index: 0;
}

.section {
  padding: 0 2% 20px;
  max-width: var(--container-max-width);
  margin: 0 auto;
  width: 1400px;
}

.section:last-child {
  padding-bottom: 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 700;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

.section iframe {
  max-width: var(--container-max-width);
  margin-left: 4.5px;
  width: 1332px;
  height: 600px;
  max-height: 650px;
  /* Animation on entrance */
  opacity: 0;
  transform: translateY(40px);
  animation: fadeinup 0.85s cubic-bezier(0.7, 0.18, 0.36, 1) 0.25s forwards;
}
@keyframes fadeinup {
  to {
    opacity: 1;
    transform: none;
  }
}


/* About Section */
.wellness-container {
  padding: 40px 4vw 48px 4vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--primary);
  background-color: var(--light);
  /* Animation on entrance */
  opacity: 0;
  transform: translateY(40px);
  animation: fadeinup 0.85s cubic-bezier(0.7, 0.18, 0.36, 1) 0.25s forwards;
}
@keyframes fadeinup {
  to {
    opacity: 1;
    transform: none;
  }
}
.wellness-header-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  row-gap: 30px;
  column-gap: 40px;
  margin-bottom: 42px;
}

.wellness-title-box {
  min-width: 340px;
  flex: 2 0 350px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.wellness-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  line-height: 1.12;
  color: var(--primary);
}

.wellness-subtitle {
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-mid);
  line-height: 1.12;
}

.wellness-desc {
  flex: 1 0 320px;
  font-size: 1.05rem;
  color: var(--text-dark);
  opacity: 0.74;
  text-align: right;
  padding-top: 10px;
  min-width: 260px;
  max-width: 460px;
  line-height: 1.5;
  align-self: flex-end;
}

.wellness-image-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  width: 100%;
  justify-content: center;
  margin: 30px 0 38px 0;
}

.wellness-card {
  background: #fffefc;
  box-shadow: 0 2px 16px 0 #ebe4d8;
  border-radius: 22px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 22px 18px 20px 18px;
  transition: box-shadow 0.3s, transform 0.25s;
  cursor: pointer;
}
.wellness-card:hover {
  box-shadow: 0px 10px 28px 0 #e0d6c6;
  transform: translateY(-6px) scale(1.025);
}

.wellness-img {
  width: 100%;
  max-width: 340px;
  height: 310px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 17px;
  box-shadow: 0 1px 9px 2px #e9e3db;
  background: #fffefc;
}

.wellness-card-label {
  font-size: 1.08rem;
  color: var(--black);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.35;
}

.wellness-highlight {
  width: 100%;
  text-align: center;
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin-top: 28px;
  margin-bottom: 10px;
  line-height: 1.38;
}


/* therapies bar */
.therapies-bar {
  min-height: 430px;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  box-sizing: border-box;
  overflow-x: auto;
  /* Animation on entrance */
  opacity: 0;
  transform: translateY(40px);
  animation: fadeinup 0.85s cubic-bezier(0.7, 0.18, 0.36, 1) 0.25s forwards;
}
@keyframes fadeinup {
  to {
    opacity: 1;
    transform: none;
  }
}
.therapy-card {
  flex: 1 1 0;
  min-width: 0;
  margin-left: 5px;
  margin-right: 5px;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
  transition: box-shadow 0.23s;
  cursor: pointer;
  overflow: hidden;
}
/* Overlay for readability + hover effect */
.therapy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(18, 19, 29, 0.22) 55%,
    rgba(18, 20, 13, 0.04) 95%
  );
  z-index: 2;
  transition: background 0.3s;
  pointer-events: none;
}
.therapy-card:hover::before,
.therapy-card:focus::before {
  background: linear-gradient(
      0deg,
      rgba(29, 124, 204, 0.29) 80%,
      rgba(14, 55, 108, 0.09) 95%
    ),
    linear-gradient(
      0deg,
      rgba(18, 19, 29, 0.32) 45%,
      rgba(18, 20, 13, 0.07) 95%
    );
  /* A soft blue overlay on hover; tweak color for your theme */
}
/* Blue highlight for last card (if you want only on hover, comment next line) */
.therapy-card.last,
.therapy-card:hover {
  z-index: 3;
  box-shadow: 0 8px 28px -8px rgba(48, 78, 108, 0.22);
}
.therapy-card .card-content {
  position: relative;
  z-index: 3;
  padding: 0 33px 26px 28px;
  color: #fff;
  text-decoration: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 92px;
  transition: color 0.28s;
}
.therapy-card:not(:hover):not(.last) .card-content {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.33), 0 0px 2.5px #0004;
}
.therapy-card .title {
  font-size: 1.54rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.therapy-card .subtitle {
  font-size: 1.04rem;
  opacity: 0.89;
  font-weight: 400;
  margin-bottom: 0;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.23);
}
.therapy-card .title a {
  color: var(--white);
  font-size: 1.54rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.therapy-card .subtitle a {
  color: var(--white);
  font-size: 1.04rem;
  opacity: 0.89;
  font-weight: 400;
  margin-bottom: 0;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.23);
}

.therapy-card a {
  color: var(--white);
}

/* Arrow animates in on hover */
.arrow-cta {
  margin-top: 16px;
  font-size: 2rem;
  font-weight: bold;
  opacity: 0;
  transform: translateX(-18px);
  color: #fff;
  transition: opacity 0.18s, transform 0.28s;
}
.therapy-card:hover .arrow-cta {
  opacity: 1;
  transform: none;
}
/* therapies bar */

/* functional pillar Section Styling */
.heal-in-pillars-section {
  padding: 80px 60px;
  background: var(--white);
  /* border-radius: 20px; */
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Animation class added by JavaScript */
.heal-in-pillars-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.heal-in-pillars-header {
  /* max-width: 1200px; */
  margin: 0 auto 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  text-align: left;
}

.heal-in-pillars-header h2 {
  font-size: 2.2em;
  font-weight: 500;
  color: #333;
  margin: 0;
}

.heal-in-pillars-header p {
  font-size: 1em;
  color: #666;
  margin: 0;
}

/* Cards Container */
.heal-in-pillars-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  /* max-width: 1200px; */
  margin: 0 auto;
}

/* Individual Card Styling */
.heal-in-pillar-card {
  background-color: #f7fcf6;
  border-radius: 16px;
  padding: 40px 25px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
}

/* Staggered animation for cards */
.heal-in-pillars-section.is-visible .heal-in-pillar-card {
  animation: card-fade-in 0.8s ease-out forwards;
}
.heal-in-pillars-section.is-visible .heal-in-pillar-card:nth-child(1) {
  animation-delay: 0.2s;
}
.heal-in-pillars-section.is-visible .heal-in-pillar-card:nth-child(2) {
  animation-delay: 0.4s;
}
.heal-in-pillars-section.is-visible .heal-in-pillar-card:nth-child(3) {
  animation-delay: 0.6s;
}
.heal-in-pillars-section.is-visible .heal-in-pillar-card:nth-child(4) {
  animation-delay: 0.8s;
}
.heal-in-pillars-section.is-visible .heal-in-pillar-card:nth-child(5) {
  animation-delay: 1s;
}

@keyframes card-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.heal-in-pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Icon Styling */
.heal-in-pillar-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.heal-in-pillar-icon-wrapper svg {
  width: 24px;
  height: 24px;
  fill: #000000;
}

/* Text Content Styling */
.heal-in-pillar-card h3 {
  font-size: 1.1em;
  font-weight: 400; /* Reduced font-weight */
  color: #333;
  margin: 0 0 10px;
}

.heal-in-pillar-card p {
  font-size: 0.9em;
  line-height: 1.5;
  color: #666;
  margin: 0;
}

/* tab switch */
.tabs-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 30;
  border-bottom: 1.5px solid #e4e4e9;
}

/* TAB BAR as in reference: white, sharp, all-caps */
.tabs-bar {
  display: flex;
  align-items: stretch;
  max-width: none;
  background: #fff;
  padding: 0;
  gap: 0;
  box-shadow: none;
  border-radius: 0;
}

.tab-btn {
  flex: 1 1 0;
  min-width: 180px;
  height: var(--tab-height);
  border: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
  background: var(--new-gray);
  color: #6a6d78;
  font-family: inherit;
  font-size: 1.03rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.24s, color 0.21s;
  outline: none;
  box-shadow: none;
  border-right: 1.5px solid #e4e4e9;
}
.tab-btn:last-child {
  border-right: none;
}

.tab-btn.active {
  background: var(--tab-active);
  color: var(--text-dark);
  font-weight: 600;
  z-index: 2;
}

/* Active tab backgrounds for color-cue */
.tabs-bar .tab-btn.active.tab-yellow {
  background: var(--yellow);
}
.tabs-bar .tab-btn.active.tab-purple {
  background: var(--purple);
}
.tabs-bar .tab-btn.active.tab-pink {
  background: var(--pink);
}
.tabs-bar .tab-btn.active.tab-blue {
  background: var(--blue);
}

/* SECTION AREA layout*/
.tabs-content {
  margin: 0 auto;
  min-height: 530px;
}
.tab-section {
  display: none;
  min-height: 470px;
  background: var(--yellow);
  padding: var(--section-pad) 0;
  /* Split column */
  box-sizing: border-box;
  border-bottom: 1.5px solid #ededf2;
  animation: fadeIn 0.65s;
}
.tab-section.active {
  display: flex;
}

/* Specific section backgrounds */
.tab-section.tab-yellow {
  background: var(--yellow);
}
.tab-section.tab-purple {
  background: var(--purple);
}
.tab-section.tab-pink {
  background: var(--pink);
}
.tab-section.tab-blue {
  background: var(--blue);
}

.tab-content-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
}

/* Layout for text/image splits */
.section-text,
.section-image {
  flex: 1 1 0;
  min-width: 300px;
}
.section-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.section-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive fixed image frame */
.section-image img {
  width: 360px;
  height: 285px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--new-shadow);
  background: #fff;
  border: 1.7px solid #ededf6;
}

/* Sleek headings/text */
.tab-hero {
  font-size: 1.58rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-dark);
  margin: 0 0 12px 0;
  line-height: 1.16;
}
.tab-desc {
  font-size: 1.04rem;
  color: var(--text-mid);
  margin-bottom: 18px;
  line-height: 1.44;
  font-weight: 400;
}
.tab-features-list {
  margin: 0 0 13px 0;
  padding: 0;
  color: #544e5f;
  font-size: 0.99rem;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.tab-feature {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-weight: 400;
}
.tab-feature .icon {
  min-width: 25px;
  font-size: 1.13rem;
  color: #9b94ba;
  margin-top: 0.18em;
}

/* Sleek buttons */
.tab-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  margin-top: 8px;
}
.tab-btn-main,
.tab-btn-outline {
  font-family: inherit;
  border-radius: 10px;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 9px 18px;
  font-size: 0.97rem;
  font-weight: 600;
  background: #252532;
  color: #fff;
  box-shadow: 0 1.2px 8px 0 rgba(0, 0, 0, 0.02);
  margin-right: 0;
  transition: background 0.14s, color 0.14s;
}
.tab-btn-outline {
  background: #fff;
  color: #23235a;
  border: 1.5px solid #23235a;
}
.tab-btn-main:hover {
  background: #5b43bd;
}
.tab-btn-outline:hover {
  background: #f3faff;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(21px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* tab switch */

/* faq section */
.faq-section {
  margin: 80px auto 90px;
  padding: 0 20px;
}
.faq-title {
  font-weight: 700;
  font-size: 2.4rem;
  color: #1f1f1f;
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}
.faq-subtitle {
  font-weight: 400;
  font-size: 1.05rem;
  color: #5f5f5f;
  text-align: center;
  max-width: 480px;
  margin: 0 auto 50px;
  line-height: 1.6;
}
.faq-item {
  background: #f9f6f2;
  border-radius: 18px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgb(110 110 110 / 8%);
  transition: box-shadow 0.3s ease;
}
.faq-item.expanded {
  box-shadow: 0 16px 48px rgb(110 110 110 / 15%);
  z-index: 10;
}
.faq-question {
  background: #f9f6f2;
  padding: 18px 28px;
  font-weight: 600;
  font-size: 1.15rem;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 18px;
  color: #2c2c2c;
  outline-offset: 4px;
  outline: none;
  transition: background 0.2s ease;
}
.faq-question:hover,
.faq-question:focus-visible {
  background: #e8e6e0;
}
.faq-question::after {
  content: "+";
  font-size: 1.8rem;
  font-weight: 900;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  user-select: none;
  color: #999999;
}
.faq-item.expanded .faq-question::after {
  content: "−";
  transform: rotate(180deg);
  color: #444444;
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  padding: 0 28px;
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.6;
  user-select: text;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.expanded .faq-answer {
  padding: 20px 28px 28px;
  max-height: 300px;
}
.faq-question:focus-visible {
  outline: 2px solid #b7b5af;
  outline-offset: 3px;
}

/* testimonial section */

/* contact section */
.visitus-wrap {
  display: flex;
  align-items: stretch;
  background: #fff;
  box-shadow: 0 4px 36px 0 rgba(41, 92, 118, 0.1);
  overflow: hidden;
  min-height: 440px;
  opacity: 0;
  transform: translateY(60px) scale(0.97);
  transition: opacity 1s cubic-bezier(0.65, 0.1, 0.36, 1),
    transform 1.1s cubic-bezier(0.67, 0.15, 0.29, 1.03);
}
.visitus-wrap.visible {
  opacity: 1;
  transform: none;
}
.visitus-content {
  flex: 1 1 54%;
  padding: 64px 48px 60px 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(125deg, #fafdff 92%, #e2f7ed 100%);
  transition: box-shadow 0.3s;
  animation: fadeInLeft 1.3s cubic-bezier(0.67, 0.18, 0.25, 1) 0.2s both;
}
.visitus-wrap.visible .visitus-content {
  animation-play-state: running;
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.visitus-content h2 {
  font-family: "Alice", serif;
  font-size: 2.6rem;
  font-weight: 700;
  margin: 0 0 18px 0;
  line-height: 1.15;
  color: #13382f;
  letter-spacing: -0.025em;
  -webkit-font-smoothing: antialiased;
}
.visitus-content p {
  font-size: 1.16rem;
  color: #3f585d;
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 32px;
  margin-top: 0;
  max-width: 98%;
}
.contact-list {
  list-style: none;
  margin: 0 0 32px 0;
  padding: 0;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
  font-size: 1.03rem;
  color: #255059;
  font-variant-numeric: lining-nums;
  letter-spacing: 0.02em;
}
.contact-list li svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #18ac84;
  margin-top: 1px;
  opacity: 0.93;
  font-size: 1.1em;
}
.contact-list li a {
  color: #117c6e;
  text-decoration: underline dotted #baf7e2;
}
/* Button with arrow animation */
.visitus-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: linear-gradient(90deg, #1fa07c 0%, #57accb 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 15px 42px 15px 28px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 22px rgba(60, 188, 190, 0.11);
  min-width: 178px;
  transition: background 0.25s, box-shadow 0.22s, transform 0.16s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.visitus-btn span {
  display: inline-block;
  transition: transform 0.23s cubic-bezier(0.83, 0.02, 0.35, 1.19);
  margin-left: 0;
}
.visitus-btn:hover,
.visitus-btn:focus {
  background: linear-gradient(90deg, #5ce2b7 0%, #5cbee7 100%);
  box-shadow: 0 8px 32px rgba(60, 188, 190, 0.18);
  transform: scale(1.03);
}
.visitus-btn:hover span,
.visitus-btn:focus span {
  transform: translateX(10px) scale(1.05);
}
/* Right image side, elegantly large */
.visitus-image {
  flex: 1 1 46%;
  min-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f7f3;
  transition: background 0.38s;
  animation: fadeInRight 1.1s cubic-bezier(0.64, 0.15, 0.38, 1) 0.35s both;
}
.visitus-wrap.visible .visitus-image {
  animation-play-state: running;
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(90px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.visitus-image img {
  max-width: 98%;
  width: 690px;
  height: 570px;
  min-height: 200px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 8px 54px rgba(48, 170, 164, 0.13);
  border: 1.5px solid #d8efe7;
  transition: box-shadow 0.3s;
  background: #d9f4e8;
}
.visitus-image img:hover {
  box-shadow: 0 12px 44px 4px #2abaa422;
}

/*
 * =========================================
 * Responsive Styles (Optimized)
 * =========================================
 */

/* For devices with a width of 1200px or less (Tablets & small desktops) */
@media (max-width: 1200px) {
  /* Hero Section */
  .hero-container {
    margin-top: 0;
  }
  .hero {
    height: 500px;
    padding: 30px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }

  /* Scroll Container */
  .scroll-container {
    padding-top: 480px; /* Adjust based on hero height */
  }
  .scroll-content {
    padding: 80px 0;
  }
  .section {
    padding: 0 4% 20px;
    width: 100%; /* Make section width fluid */
  }
  .section iframe {
    width: 100%;
    height: 450px;
    margin-left: 0;
  }

  /* About/Wellness Section */
  .wellness-container {
    padding: 40px 3vw;
  }
  .wellness-header-row {
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
    text-align: center;
  }
  .wellness-title-box,
  .wellness-desc {
    min-width: unset;
    flex: unset;
    text-align: center;
    align-self: center;
    max-width: 80%;
  }
  .wellness-image-row {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
  }
  .wellness-img {
    height: 250px;
  }
}

/* For devices with a width of 768px or less (Large phones & tablets) */
@media (max-width: 768px) {
  /* Hero Section */
  .hero {
    height: 400px;
    padding: 20px;
    width: 95%;
  }
  .hero-content {
    max-width: 90%;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 0.9rem;
  }

  /* Scroll Container */
  .scroll-container {
    padding-top: 380px; /* Adjust based on new hero height */
  }
  .scroll-content {
    border-radius: 20px 20px 0 0;
    padding: 60px 0;
  }
  .section {
    padding: 0 5% 15px;
  }
  .section-title h2 {
    font-size: 1.8rem;
  }
  .section-title p {
    font-size: 0.9rem;
  }
  .section iframe {
    height: 400px; /* Increased height for mobile */
  }

  /* About/Wellness Section */
  .wellness-container {
    padding: 30px 2vw;
  }
  .wellness-title,
  .wellness-subtitle {
    font-size: 2rem;
  }
  .wellness-desc {
    font-size: 0.95rem;
  }
  .wellness-image-row {
    grid-template-columns: 1fr; /* Stack images vertically */
    gap: 20px;
  }
  .wellness-card {
    min-height: unset;
  }
  .wellness-img {
    height: 200px;
    max-width: 100%;
  }
  .wellness-card-label {
    font-size: 1rem;
  }

  /* Therapies Bar */
  .therapies-bar {
    min-height: unset;
    display: block; /* Stack cards vertically */
    overflow-x: hidden;
  }
  .therapy-card {
    min-height: 250px;
    margin: 0 auto 15px;
    width: 90%;
  }
  .therapy-card:hover {
    transform: none; /* Disable hover effects on touch devices */
  }
  .therapy-card::before {
    background: linear-gradient(
      0deg,
      rgba(18, 19, 29, 0.5) 55%,
      rgba(18, 20, 13, 0.1) 95%
    );
  }

  /* Functional Pillars Section */
  .heal-in-pillars-section {
    padding: 40px 20px;
  }
  .heal-in-pillars-header {
    flex-direction: column;
    text-align: center;
    align-items: center;
    margin-bottom: 20px;
  }
  .heal-in-pillars-cards {
    grid-template-columns: 1fr; /* Stack pillars vertically */
    gap: 15px;
  }
  .heal-in-pillar-card {
    padding: 30px 20px;
  }
  .heal-in-pillar-icon-wrapper {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
  }

  /* Tab Switch Section */
  .tabs-header {
    position: relative; /* Un-pin the header on mobile */
  }
  .tabs-bar {
    flex-direction: column;
    border-bottom: none;
  }
  .tab-btn {
    min-width: unset;
    border-right: none;
    border-bottom: 1px solid #e4e4e9;
    font-size: 0.85rem;
    padding: 15px;
  }
  .tab-section {
    min-height: unset;
  }
  .tab-content-inner {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
    text-align: center;
  }
  .section-text {
    align-items: center;
    order: 2; /* Place text below image on mobile */
  }
  .section-image {
    order: 1; /* Place image above text on mobile */
  }
  .section-image img {
    width: 100%;
    height: auto;
    max-width: 300px;
  }
  .tab-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  .tab-btn-main,
  .tab-btn-outline {
    width: 100%;
    text-align: center;
  }

  /* FAQ Section */
  .faq-section {
    margin: 50px auto;
  }
  .faq-title {
    font-size: 2rem;
  }
  .faq-question {
    font-size: 1rem;
  }
  .faq-answer {
    padding: 0 20px;
    font-size: 0.9rem;
  }

  /* Contact Section */
  .visitus-wrap {
    flex-direction: column;
    min-height: unset;
    border-radius: 12px;
  }
  .visitus-content {
    padding: 40px 20px;
    text-align: center;
  }
  .visitus-content h2 {
    font-size: 2rem;
    text-align: center;
  }
  .visitus-content p {
    font-size: 1rem;
    text-align: center;
  }
  .contact-list {
    text-align: left;
    margin: 0 auto 20px;
  }
  .visitus-image {
    min-width: unset;
    padding: 20px;
  }
  .visitus-image img {
    width: 100%;
    height: 250px;
  }
}

/* For extra small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
  .hero {
    height: 350px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 0.8rem;
  }
  .scroll-container {
    padding-top: 330px; /* Adjust based on new hero height */
  }
  .scroll-content {
    padding: 40px 0;
  }
  .section-title h2 {
    font-size: 1.6rem;
  }
  .section-title p {
    font-size: 0.85rem;
  }
  .section iframe {
    height: 300px; /* Increased height for extra small mobile */
  }
  .wellness-title,
  .wellness-subtitle {
    font-size: 1.6rem;
  }
  .visitus-content h2 {
    font-size: 1.8rem;
  }
  .visitus-image img {
    height: 200px;
  }
  .faq-title {
    font-size: 1.8rem;
  }
  .faq-question {
    font-size: 0.9rem;
  }
}
