/* Bootstrap container responsive adjustments */
.container{padding-left:clamp(1rem,6vw,1.5rem);padding-right:clamp(1rem,6vw,1.5rem);max-width:100%;width:100%}
@media (min-width:576px){
  .container{max-width:540px}
}
@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 (max-width:576px){
  .container{padding-left:1rem;padding-right:1rem;max-width:100%}
}
@media (max-width:420px){
  .container{padding-left:0.75rem;padding-right:0.75rem}
}

/* When the mobile navbar is open, prevent page content from intercepting pointer events
   so the slide-in menu remains fully interactive on all pages */
body.navbar-open{overflow:hidden;}
body.navbar-open .wrap.topbar,
body.navbar-open .hero-wrap,
body.navbar-open main,
body.navbar-open .ftco-section {
  pointer-events: none;
}

.wrap.topbar .container{max-width:100%;width:100%;padding-left:clamp(0.75rem,4vw,1.25rem);padding-right:clamp(0.75rem,4vw,1.25rem)}
.ftco-navbar-light .container{max-width:100%;width:100%;padding-left:clamp(1rem,5vw,1.5rem);padding-right:clamp(1rem,5vw,1.5rem)}
:root{
  --brand:#2AA9A4;
  --brand-dark:#1F8F85;
  --muted:#6b7a78;
 --heading: #7dd3fc;
  /* Theme tokens - light defaults (keep visual identity) */
  --bg: #eef4ef; /* body background - light */
  --card: #ffffff; /* card / surface */
  --text: #153532; /* primary text */
  --muted-text: #6b7a78; /* secondary text */
  --footer-bg: #071b18; /* original footer */
  --accent: var(--brand);
  --border: rgba(0,0,0,0.08); /* light theme borders - softened */
  --topbar-height: 0px;
  --fixed-navbar-height: 88px;

  /* Spacing scale (consistent spacing system) */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 80px;

  /* Border radius scale */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Elevation / shadow tokens */
  --shadow-soft: 0 8px 24px rgba(2,30,23,0.06);
  --shadow-strong: 0 22px 60px rgba(2,30,23,0.12);
}

html{overflow:visible}
body{font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;color:var(--text);background-color:var(--bg);overflow-x:hidden;min-width:100%;transition:background-color .36s ease,color .36s ease;}

/* Global text contrast improvements */
body, h1, h2, h3, h4, h5, h6, p, li, label, button, a{color:var(--text)}
button, input, textarea, select{color:var(--text)}

[data-theme="dark"] body, [data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6, [data-theme="dark"] p, [data-theme="dark"] li, [data-theme="dark"] label, [data-theme="dark"] button, [data-theme="dark"] a{color:#f3f7f5}

*, *::before, *::after{box-sizing:border-box;}
img, picture, svg, video{max-width:100%;height:auto;display:block;}
button, input, textarea, select{min-width:0;}

/* Remove flashing preloader and stabilize initial render */
#ftco-loader,
#ftco-loader.show {
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
  display:none !important;
}

/* Ensure extended sections fill viewport before JS runs */
.js-fullheight {
  min-height:100vh;
  height:auto;
}

/* Topbar and header refinements */
.wrap.topbar{background:rgba(12,30,24,0.78);border-bottom:1px solid rgba(255,255,255,0.08);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);position:relative;z-index:1045;padding:0 1rem;}
.topbar-contact{display:flex;flex-wrap:wrap;align-items:center;gap:0.45rem;margin-bottom:0;font-size:0.95rem;line-height:1.7;color:rgba(255,255,255,0.82)}
.topbar-contact .contact-item{display:inline-flex;align-items:center;gap:0.5rem;padding:0.55rem 0.8rem;border-radius:999px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.1);text-decoration:none;color:#f8fbf8}
.topbar-contact .contact-item:hover{background:rgba(255,255,255,0.12)}
.topbar-sep{color:rgba(255,255,255,0.42);margin:0 0.55rem}
.social-media{align-items:center;gap:0.75rem}
.follow-label{font-size:0.72rem;font-weight:700;text-transform:uppercase;letter-spacing:0.18em;color:rgba(255,255,255,0.65)}
.instagram-link{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:14px;background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.18);color:#fff;transition:transform .24s ease,background .24s ease,border-color .24s ease}
.instagram-link:hover,.instagram-link:focus{transform:translateY(-2px);background:rgba(255,255,255,0.16);border-color:rgba(255,255,255,0.28)}

/* Navbar premium glass effect - smooth scroll behavior */
.ftco-navbar-light{position:fixed;top:0;left:0;right:0;width:100%;z-index:1200;background:rgba(12,30,24,0.56) !important;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,0.18);padding:0.9rem 1rem;transition:background .32s cubic-bezier(.2,.9,.3,1),box-shadow .32s cubic-bezier(.2,.9,.3,1),border-color .32s ease,padding .32s cubic-bezier(.2,.9,.3,1),height .32s cubic-bezier(.2,.9,.3,1),top .24s ease;height:auto;will-change:background,box-shadow,padding,top}
.topbar-visible .ftco-navbar-light{top:var(--topbar-height,68px)}
.ftco-navbar-light + *{margin-top:var(--fixed-navbar-height,88px)}
.ftco-navbar-light .container{max-width:100%;width:100%;padding-left:0;padding-right:0}
.ftco-navbar-light .navbar-brand{color:#ffffff;padding:0.85rem 0;font-weight:700;font-size:1.18rem;display:inline-flex;align-items:center;gap:0.7rem;transform:translateX(12px);line-height:1}
.ftco-navbar-light .navbar-brand:hover{color:#eefaf7}
.ftco-navbar-light .navbar-brand .brand-icon{width:1.25em;height:1.25em;flex-shrink:0}
.ftco-navbar-light .navbar-brand .brand-text{font-size:1em;white-space:nowrap}
.ftco-navbar-light .navbar-toggler{border:1px solid rgba(255,255,255,0.28);border-radius:999px;color:#ffffff !important;padding:0.65rem 1rem;transition:all .24s ease;position:relative;z-index:1201}
.ftco-navbar-light .navbar-toggler:hover,.ftco-navbar-light .navbar-toggler:focus{background:rgba(255,255,255,0.12);color:#ffffff !important}
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link{position:relative;font-size:0.95rem;letter-spacing:0.02em;padding:0.95rem 1.05rem;color:#ffffff;font-weight:500;transition:color .24s ease,transform .24s ease;word-break:break-word}
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link::after{content:'';position:absolute;left:0;bottom:0.7rem;width:100%;height:2px;background:#ffffff;transform:scaleX(0);transform-origin:left center;transition:transform .28s cubic-bezier(.34,1.56,.64,1)}
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover,.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:focus{color:#f0fffd}
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover::after,.ftco-navbar-light .navbar-nav > .nav-item.active > .nav-link::after{transform:scaleX(1)}
.ftco-navbar-light.scrolled{
  background: rgba(12,30,24,0.56) !important;
  border-color: rgba(255,255,255,0.18) !important;
  box-shadow: none !important;
  padding: 0.65rem 0;
}
.ftco-navbar-light.scrolled .navbar-brand,
.ftco-navbar-light.scrolled .navbar-nav > .nav-item > .nav-link,
.ftco-navbar-light.scrolled .navbar-toggler {
  color: #ffffff !important;
}
.ftco-navbar-light.scrolled .navbar-nav > .nav-item > .nav-link::after {
  background: #ffffff;
}
.ftco-navbar-light.scrolled .navbar-toggler {
  border-color: rgba(255,255,255,0.28) !important;
}
.ftco-navbar-light.scrolled .navbar-toggler:hover,
.ftco-navbar-light.scrolled .navbar-toggler:focus {
  background: rgba(255,255,255,0.12);
}
.ftco-navbar-light.scrolled .navbar-nav > .nav-item > .nav-link.active {
  color: #ffffff !important;
}

/* Slightly nudge brand/logo to the right for better visual balance
   Keeps nav menu in place and preserves height, colors, and responsiveness */
@media (min-width: 992px) {
  .ftco-navbar-light .navbar-brand{transform:translateX(20px);font-size:1.28rem}
  .ftco-navbar-light .navbar-brand .brand-icon{width:1.36em;height:1.36em}
}

@media (max-width: 575.98px) {
  .ftco-navbar-light .navbar-brand{font-size:1.04rem}
}
@media (max-width: 575.98px) {
  /* smaller nudge on very small screens to avoid overflow */
  .ftco-navbar-light .navbar-brand{transform:translateX(6px)}
}

html.initial-navbar-scrolled .ftco-navbar-light {
  background: rgba(12,30,24,0.56) !important;
  border-color: rgba(255,255,255,0.18);
  box-shadow: none !important;
  padding: 0.65rem 0;
}
html.initial-navbar-scrolled .ftco-navbar-light .navbar-brand,
html.initial-navbar-scrolled .ftco-navbar-light .navbar-nav > .nav-item > .nav-link,
html.initial-navbar-scrolled .ftco-navbar-light .navbar-toggler {
  color: #ffffff !important;
}
html.initial-navbar-scrolled .ftco-navbar-light .navbar-nav > .nav-item > .nav-link::after {
  background: #ffffff;
}
html.initial-navbar-scrolled .ftco-navbar-light .navbar-toggler {
  border-color: rgba(255,255,255,0.28) !important;
}
html.initial-navbar-scrolled .ftco-navbar-light .navbar-toggler:hover,
html.initial-navbar-scrolled .ftco-navbar-light .navbar-toggler:focus {
  background: rgba(255,255,255,0.12);
}
html.initial-navbar-scrolled .ftco-navbar-light .navbar-nav > .nav-item > .nav-link.active {
  color: #ffffff !important;
}

/* MOBILE NAVBAR FIX - keep mobile menu sliding cleanly without overlay/backdrop */
.navbar-collapse{position:relative}
@media (max-width:768px){
  h1{font-size:1.9rem}
  .navbar-collapse{position:fixed;top:0;right:0;max-height:100vh;width:min(300px,75vw);background:#071b18;padding:80px 20px 30px;transform:translateX(100%);transition:transform .36s cubic-bezier(.2,.9,.3,1);z-index:1100;overflow-y:auto;overscroll-behavior-y:contain;box-shadow:-16px 0 60px rgba(0,0,0,0.3);pointer-events:none}
  .navbar-collapse.show{transform:translateX(0);pointer-events:auto}
  .navbar-nav{display:flex;flex-direction:column;gap:0}
  .navbar-nav .nav-item{margin:0}
  .navbar-nav .nav-link{display:block;padding:1rem 1.2rem !important;font-size:1rem;border-bottom:1px solid rgba(255,255,255,0.1);color:#ffffff !important;position:relative;z-index:1051;pointer-events:auto;cursor:pointer;text-decoration:none}
  .navbar-nav .nav-link:hover{background:rgba(255,255,255,0.08);color:#f0fffd !important}
  .navbar-nav .nav-link::after{display:none !important}
  .navbar-nav .nav-item.active .nav-link{background:rgba(42,169,164,0.15);border-bottom-color:rgba(255,255,255,0.2);color:var(--brand) !important}
  .ftco-section{padding:2rem 0.75rem}
}
.ftco-section.ftco-services.bg-light{background:#f3f8f3}
.ftco-section.testimony-section.bg-light{background:linear-gradient(180deg,#f8faf7 0%,#e9f2ea 100%)}
.ftco-footer{background:var(--footer-bg)}
.ftco-section{padding:var(--space-lg) 0}

/* Ensure the navbar always sits above the mobile menu and content. */
.ftco-navbar-light { z-index: 1200; }
.ftco-navbar-light .navbar-toggler { z-index: 1201; }

/* Remove potential translate/translateY transitions that could hide it */
.ftco-navbar-light { transition: background .24s ease !important; }

@media (max-width:576px){
  .navbar-collapse{width:min(280px,80vw);padding:70px 16px 30px}
  .navbar-nav .nav-link{padding:0.9rem 1rem !important;font-size:0.95rem}
}

/* Hero refinements and enhanced hero media */
.hero-wrap{overflow:hidden}
.hero-wrap .overlay{background:rgba(0,0,0,0.38)}
.hero-wrap .overlay-2{background:rgba(0,0,0,0.14)}
.hero-media{position:absolute;inset:0;z-index:0;overflow:hidden}
.hero-video{width:100%;height:100%;object-fit:cover;display:block}
.hero-fallback{position:absolute;inset:0;background-size:cover;background-position:center;filter:brightness(.68)}
.hero-dark-overlay{position:absolute;inset:0;background:linear-gradient(180deg, rgba(5,18,16,0.72), rgba(5,18,16,0.78));mix-blend-mode:multiply}
.enhanced-hero .container{position:relative;z-index:3}
.hero-wrap .ftco-animate{max-width:min(760px,90vw);margin-left:auto;margin-right:auto}
.hero-wrap .mb-5 p{max-width:min(720px,90vw);color:rgba(255,255,255,0.95)}
.hero-wrap h1, .hero-wrap .subheading{color:#fff}

/* Floating decorative shapes */
.shape{position:absolute;border-radius:50%;opacity:0.18;filter:blur(8px);transform:translate3d(0,0,0)}
.shape-1{width:120px;height:120px;background:linear-gradient(135deg,#2AA9A4,#1F8F85);left:6%;top:24%;animation:floatA 8s ease-in-out infinite}
.shape-2{width:84px;height:84px;background:linear-gradient(135deg,#F6B352,#F27C6B);right:8%;top:18%;animation:floatB 10s ease-in-out infinite}
.shape-3{width:64px;height:64px;background:linear-gradient(135deg,#8EC5FF,#6B8BFF);left:18%;bottom:14%;animation:floatC 9s ease-in-out infinite}
.shape-4{width:100px;height:100px;background:linear-gradient(135deg,#C08EFF,#7A5BDF);right:22%;bottom:22%;animation:floatA 12s ease-in-out infinite}

@keyframes floatA{0%{transform:translateY(0)}50%{transform:translateY(-18px)}100%{transform:translateY(0)}}
@keyframes floatB{0%{transform:translateY(0)}50%{transform:translateY(-26px)}100%{transform:translateY(0)}}
@keyframes floatC{0%{transform:translateY(0)}50%{transform:translateY(-12px)}100%{transform:translateY(0)}}

/* Premium hero layout */
.hero-breadcrumbs{font-size:0.95rem;color:rgba(255,255,255,0.9);letter-spacing:0.5px;margin-bottom:16px;font-weight:600;text-transform:uppercase}
.hero-breadcrumbs a{color:rgba(255,255,255,0.95);text-decoration:none}
.hero-breadcrumbs .sep{opacity:0.7;margin:0 10px}

.hero-label{display:block;color:#d7f7f3;font-size:0.95rem;letter-spacing:1.8px;margin-bottom:16px;font-weight:700}
.hero-title{font-size:clamp(1.8rem,7vw,3rem);line-height:1.04;font-weight:800;letter-spacing:-0.4px;margin-bottom:20px;color:#fff;max-width:min(700px,95vw);margin-left:auto;margin-right:auto;word-break:break-word;hyphens:auto}
.hero-lead{color:rgba(255,255,255,0.94);font-size:clamp(1rem,3vw,1.08rem);line-height:1.85;max-width:min(700px,95vw);margin:0 auto 26px;word-break:break-word;hyphens:auto}
.hero-highlights{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;list-style:none;padding:0;margin:0 auto 28px;max-width:min(700px,100%)}
.hero-highlights li{background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.16);border-radius:999px;padding:10px 16px;color:rgba(255,255,255,0.92);font-size:0.94rem}
.hero-ctas{display:flex;gap:16px;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:8px}
.hero-ctas .btn{padding:clamp(0.6rem,2vw,0.8rem) clamp(1rem,3vw,1.4rem);font-size:clamp(0.9rem,2vw,0.95rem);border-radius:6px;min-width:0;width:auto;touch-action:manipulation;-webkit-user-select:none;user-select:none;cursor:pointer}
.btn-primary, .btn-secondary, .btn-outline-primary{transition:all .22s ease;white-space:nowrap}
.btn:active{transform:scale(0.98)}
@media (max-width:576px){
  .btn{padding:0.7rem 1.2rem;font-size:0.95rem}
}
@media (max-width:480px){
  .btn{padding:0.6rem 1rem;font-size:0.9rem}
}
.hero-ctas .btn-primary{box-shadow:0 18px 42px rgba(42,169,164,0.2)}
.hero-ctas .btn-outline-primary{border-color:rgba(255,255,255,0.8);color:#fff}
.hero-ctas .btn-outline-primary:hover{background:rgba(255,255,255,0.16)}

.premium-hero{position:relative;min-height:75vh;height:75vh;display:flex;align-items:center;overflow:hidden}
.hero-background{position:absolute;inset:0;z-index:0;overflow:hidden}
.hero-bg-image{position:absolute;inset:0;background-image:url('../images/classes-2.jpg');background-size:cover;background-position:center center;transform:scale(1.1);transition:transform 18s ease}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,18,16,0.42),rgba(4,18,16,0.72));mix-blend-mode:normal}
.hero-gradient{position:absolute;inset:0;background:linear-gradient(135deg,rgba(42,169,164,0.24),rgba(31,143,133,0.12));mix-blend-mode:screen;pointer-events:none}

.hero-copy{position:relative;z-index:2;padding:24px max(18px,5vw);max-width:min(700px,95vw);margin:0 auto;text-align:center}
.hero-copy h1, .hero-copy p, .hero-copy .btn, .hero-breadcrumbs, .hero-label, .hero-highlights{opacity:0;transform:translateY(18px)}

.premium-hero:hover .hero-bg-image{transform:scale(1.12)}

@media (max-width:991px){
  .hero-title{font-size:2.4rem}
  .hero-lead{font-size:1rem;max-width:100%}
}

@media (max-width:767px){
  .hero-ctas{flex-direction:column}
  .hero-ctas .btn{width:100%;max-width:360px}
  .premium-hero{min-height:70vh;height:auto;padding:60px 0}
  .hero-copy{text-align:center}
  .hero-bg-image{background-position:top center}
  .hero-highlights{justify-content:center}
}

@media (max-width:480px){
  .topbar-contact, .social-media{justify-content:center}
  .hero-title{font-size:2rem}
  .hero-lead{font-size:0.95rem}
  .hero-copy{padding:18px clamp(14px,4vw,24px)}
  .wrap.topbar, .ftco-navbar-light{padding-left:0.75rem;padding-right:0.75rem}
  body{margin:0;padding:0}
}

/* Compact topbar & navbar on narrow screens: keep elements on single row */
@media (max-width:576px){
  .wrap.topbar .row{flex-wrap:nowrap;align-items:center}
  .wrap.topbar .col-12{flex:1 1 auto;min-width:0}
  .topbar-contact{flex:1 1 auto;min-width:0;overflow:hidden}
  .topbar-contact .contact-item{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0.45rem 0.6rem}
  .topbar-sep{display:none}
  .follow-label{display:none}
  .social-media{flex:0 0 auto}

  /* Navbar: keep brand and toggler on one line and truncate long brand text */
  .ftco-navbar-light .container{display:flex;align-items:center;justify-content:space-between;gap:8px}
  .ftco-navbar-light .navbar-brand{max-width:60%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ftco-navbar-light .navbar-toggler{white-space:nowrap;flex:0 0 auto}
  .ftco-navbar-light .navbar-toggler .fa{margin-right:0.35rem}
}

@media (max-width:991px){
  .hero-title{font-size:2.3rem}
  .hero-lead{max-width:100%;font-size:1rem}
}

@media (max-width:767px){
  .hero-ctas{flex-direction:column}
  .hero-ctas .btn{width:100%;max-width:320px}
  .premium-hero{min-height:70vh;height:auto;padding:64px 0}
  .hero-copy{text-align:center}
  .hero-bg-image{background-position:top center}
}

.hero-program-highlights{display:flex;gap:12px;justify-content:center;align-items:center;list-style:none;margin:18px auto 0;padding:0;flex-wrap:wrap}
.hero-program-highlights li{background:rgba(255,255,255,0.05);padding:8px 14px;border-radius:999px;color:#eaf7f5;font-weight:600;border:1px solid rgba(255,255,255,0.03)}

/* Entrance helpers (also used by IntersectionObserver) */
.fade-up{
  opacity:0;
  visibility:hidden;
  transform:translateY(50px);
  transition:opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              visibility 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-up.in-view{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

/* Make hero a strong, centered band ~70vh and reduce empty space */
.hero-wrap{min-height:70vh;height:70vh;display:flex;align-items:center}
.enhanced-hero .slider-text{padding:18px 0}

/* Move content slightly upward for better visual balance */
.enhanced-hero .slider-text{transform:translateY(-6%)}
@media (max-width:767px){
  .hero-video{display:none}
  .hero-fallback{filter:brightness(.55)}
  .hero-wrap{min-height:55vh;height:55vh}
  .hero-lead{font-size:0.96rem}
  .hero-ctas{flex-direction:column}
  .hero-badges{justify-content:center}
}

/* Buttons */
.btn{font-weight:600;border-radius:var(--radius-md)}
.btn-primary{background:linear-gradient(135deg,var(--brand),var(--brand-dark));border:none;color:#fff;border-radius:var(--radius-md);padding:.9rem 1.6rem;box-shadow:var(--shadow-soft);transition:transform .18s ease,box-shadow .18s ease}
.btn-primary:hover{transform:translateY(-3px);box-shadow:var(--shadow-strong);background:linear-gradient(135deg,var(--brand-dark),var(--brand))}

/* Card / component baseline for consistent visual rhythm */
.benefit-card,
.feature-item > div,
.services,
.services .icon,
.kids-image-card,
.adult-image-card{
  background:var(--card);
  border-radius:var(--radius-sm);
  border:1px solid var(--border);
  padding:var(--space-sm);
}

.benefit-card{display:flex;flex-direction:column;gap:var(--space-xs);padding:var(--space-md);box-shadow:var(--shadow-soft);}
.benefit-card h5{margin:0 0 var(--space-xs) 0}

/* Form controls: consistent spacing, borders and radii */
input, textarea, select { 
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  line-height: 1.4;
}

/* Headings: consistent hierarchy and readability */
h1, h2, h3, h4, h5, h6 { 
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--heading);
  line-height: 1.18;
  letter-spacing: -0.2px;
}

/* Override any template script/display font usages to keep typography professional */
.subheading,
.hero-breadcrumbs,
.hero-wrap .slider-text .breadcrumbs,
.hero-wrap .slider-text .subheading,
.small-label,
.play-label {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
}

/* Images and media: subtle radius for premium look */
.kids-image-card img, .adult-image-card img, .figure img { 
  border-radius: var(--radius-sm);
  display: block;
  width: 100%;
  height: auto;
}

/* Hero copy padding alignment to spacing scale */
.hero-copy{padding:var(--space-md) max(18px,5vw);}

/* Dark theme toggle button */
.theme-toggle-btn{
  background: transparent;
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--text);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 12px;
  padding: 0;
}

.theme-toggle-btn:hover{
  background: rgba(42,169,164,0.08);
  border-color: var(--brand);
  color: var(--brand);
  transform: scale(1.08);
}

.theme-toggle-btn:active{
  transform: scale(0.95);
}

[data-theme="dark"] .theme-toggle-btn{
  border-color: rgba(255,255,255,0.12);
  color: var(--text);
}

[data-theme="dark"] .theme-toggle-btn:hover{
  background: rgba(42,169,164,0.12);
  border-color: var(--brand);
}

/* Video icon */
.icon-video{width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,0.06);border:2px solid rgba(255,255,255,0.12);color:#fff;font-size:28px;transition:transform .18s ease,background .18s ease}
.icon-video:hover{transform:scale(1.06);background:rgba(255,255,255,0.12)}

/* Bootstrap row gutters: restore standard gutters for consistent layout */
.row{margin-left:-15px;margin-right:-15px;max-width:100%;width:100%;box-sizing:border-box}
@media (max-width:768px){
  .row{margin-left:0;margin-right:0;max-width:100%;width:100%;box-sizing:border-box}
}

/* Services cards responsive fixes */
.services, .services-2, .services-3{padding:clamp(1.5rem,4vw,2.5rem);margin-bottom:clamp(1rem,3vw,2rem)}
@media (max-width:768px){
  .services, .services-2, .services-3{padding:1.5rem 1.25rem}
}
@media (max-width:576px){
  .services, .services-2, .services-3{padding:1.25rem 1rem}
}
.services .heading, .services-2 .text h2, .ftco-services .services-3 .media-body h3, .ftco-services .services h3{color:var(--heading)}
.ftco-section.ftco-services.bg-light .services .heading,
.ftco-section.ftco-services.bg-light .services-3 .media-body h3{color:var(--heading)}

/* Clean premium icon layout for the ftco-services section */
.ftco-section .services{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  justify-content:flex-start;
  padding:2rem 1.5rem;
  min-height:100%;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:24px;
  box-shadow:0 20px 55px rgba(0,0,0,0.08);
}
.ftco-section .services:after{
  display:none;
  content:none;
}
.ftco-section .services > .d-flex.align-items-center.mb-4{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:1rem;
  margin-bottom:1rem;
  width:100%;
  text-align:left;
}
.ftco-section .services .media-body,
.ftco-section .services .heading{
  width:100%;
}
.ftco-section .services .icon{
  width:72px;
  height:72px;
  min-width:72px;
  min-height:72px;
  border-radius:50%;
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.16);
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:0;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.06);
}
.ftco-section .services .icon span{
  font-size:1.5rem;
  color:var(--brand);
}
.ftco-section .services .heading{
  margin:0;
  font-size:1.1rem;
  line-height:1.25;
  letter-spacing:0.02em;
}
.ftco-section .services .media-body{
  width:100%;
}
.ftco-section .services .media-body p{
  margin:0;
  color:var(--muted-text);
  font-size:0.95rem;
  line-height:1.8;
  max-width:28rem;
}
.ftco-section .services:hover{
  background:rgba(255,255,255,0.09);
  box-shadow:0 24px 70px rgba(0,0,0,0.1);
}
@media (max-width:991.98px){
  .ftco-section .services{padding:1.5rem 1.25rem;}
}
@media (max-width:576px){
  .ftco-section .services{padding:1.25rem 1rem;}
  .ftco-section .services .icon{width:60px;height:60px;min-width:60px;min-height:60px;}
  .ftco-section .services > .d-flex.align-items-center.mb-4{
    gap:0.75rem;
  }
  .ftco-section .services .heading{
    font-size:1rem;
  }
  .ftco-section .services .media-body p{
    max-width:100%;
  }
}

.testimony-wrap{background:var(--card);border-radius:12px;padding:clamp(1.5rem,4vw,2.2rem);box-shadow:0 10px 30px rgba(2,30,23,0.05);color:var(--text)}
.testimony-wrap .text{font-size:clamp(0.95rem,2vw,0.98rem)}
@media (max-width:576px){
  .testimony-wrap{padding:1.5rem 1.25rem}
}
.testimony-wrap .user-img{width:56px;height:56px;border-radius:50%;background-size:cover;background-position:center;box-shadow:0 6px 18px rgba(2,30,23,0.06);flex-shrink:0}

.carousel-testimony{width:100%;max-width:100%;overflow:visible;padding:0 clamp(0.5rem,3vw,1rem)}
@media (max-width:768px){
  .carousel-testimony{padding:0 0.75rem}
}
@media (max-width:480px){
  .carousel-testimony{padding:0 0.5rem}
}

/* Card hover */
.services, .services-2, .services-3{transition:transform .22s ease,box-shadow .22s ease}
.services:hover, .services-2:hover, .services-3:hover{transform:translateY(-6px);box-shadow:0 18px 46px rgba(2,30,23,0.08);background:linear-gradient(180deg,rgba(255,255,255,0.02),rgba(255,255,255,0.00))}
.services .icon, .services-2 .icon, .services-3 .icon{background:rgba(255,255,255,0.02);border-radius:10px;padding:12px;flex-shrink:0}

/* Testimony section layout fix */
.testimony-section .row {
  margin-left: -15px;
  margin-right: -15px;
}
.testimony-section .row > [class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
}
.testimony-section .services-3 {
  flex-wrap: wrap;
  min-width: 0;
}
.testimony-section .services-3 .media-body {
  min-width: 0;
}
.testimony-section .services-3 .heading {
  margin-bottom: 0;
}

/* Gallery: uniform square grid with cropped image covers, hover polish, and premium lightbox styles */
.gallery-grid{display:grid;width:100%;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,4vw,22px);margin-bottom:40px;padding:0 clamp(0.75rem,5vw,1rem);position:relative;z-index:1}
.gallery-grid img{width:100%;height:100%;display:block;object-fit:cover;object-position:center center;cursor:pointer}
@media (max-width:900px){
  .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:0 1rem}
}
@media (max-width:576px){
  .gallery-grid{grid-template-columns:1fr;gap:14px;padding:0 0.75rem}
}
.gallery-item{position:relative;overflow:hidden;border-radius:16px;background:#f7fbf7;width:100%;max-width:100%;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;aspect-ratio:1 / 1;min-height:0}
.gallery-item:active{transform:scale(0.98)}

/* Subtle right-shift for brand icon, brand text, and theme toggle
   - Keeps sizes, colors and spacing of navigation untouched
   - Small increments for mobile / tablet / desktop to preserve responsiveness */
.ftco-navbar-light .navbar-brand .brand-icon{display:inline-flex;align-items:center;justify-content:center;margin-left:4px}
.ftco-navbar-light .navbar-brand .brand-text{display:inline-block;margin-left:6px}
#theme-toggle-btn{margin-left:8px}

@media (min-width: 768px){
  .ftco-navbar-light .navbar-brand .brand-icon{margin-left:6px}
  .ftco-navbar-light .navbar-brand .brand-text{margin-left:8px}
  #theme-toggle-btn{margin-left:10px}
}

@media (min-width: 1200px){
  .ftco-navbar-light .navbar-brand .brand-icon{margin-left:8px}
  .ftco-navbar-light .navbar-brand .brand-text{margin-left:10px}
  #theme-toggle-btn{margin-left:12px}
}
.gallery-item a{display:block;width:100%;height:100%;position:relative}
.gallery-item img{width:100%;height:100%;object-fit:cover;object-position:center center;transition:transform 0.48s cubic-bezier(0.16,1,0.3,1),filter 0.4s cubic-bezier(0.2,0.9,0.3,1),box-shadow 0.4s cubic-bezier(0.2,0.9,0.3,1);will-change:transform,filter,box-shadow;backface-visibility:hidden}
.gallery-item:hover img{transform:scale(1.065);filter:brightness(0.85) saturate(1.05);box-shadow:0 24px 48px rgba(12,30,23,0.18)}
.gallery-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,rgba(0,0,0,0.26),rgba(0,0,0,0.46));opacity:0;transition:opacity 0.32s cubic-bezier(0.22,1,0.36,1)}
.gallery-item:hover .gallery-overlay{opacity:1}
.gallery-icon{width:clamp(44px,10vw,56px);height:clamp(44px,10vw,56px);display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,0.18);color:#fff;font-size:clamp(1.2rem,2.5vw,22px);transition:transform 0.36s cubic-bezier(0.16,1,0.3,1),background 0.36s cubic-bezier(0.22,1,0.36,1),box-shadow 0.36s cubic-bezier(0.22,1,0.36,1);backface-visibility:hidden;will-change:transform}
.gallery-item:hover .gallery-icon{transform:scale(1.1);background:rgba(255,255,255,0.3);box-shadow:0 18px 40px rgba(12,30,23,0.2)}

/* Lightbox (custom) */
.gallery-lightbox{display:flex;position:fixed;inset:0;z-index:20000;align-items:center;justify-content:center;padding:28px;opacity:0;visibility:hidden;pointer-events:none;transform:scale(0.98);transition:opacity 0.65s cubic-bezier(0.22,0.1,0.26,1),visibility 0.65s ease,transform 0.65s cubic-bezier(0.22,0.1,0.26,1);backface-visibility:hidden}
.gallery-lightbox.active{opacity:1;visibility:visible;pointer-events:auto;transform:scale(1)}
.gallery-lightbox.closing{opacity:0;pointer-events:none;transform:scale(0.98)}
.gallery-lightbox__backdrop{position:absolute;inset:0;background:rgba(6,12,10,0.6);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;transition:opacity 0.68s cubic-bezier(0.22,0.1,0.26,1),backdrop-filter 0.68s cubic-bezier(0.22,0.1,0.26,1),-webkit-backdrop-filter 0.68s cubic-bezier(0.22,0.1,0.26,1);will-change:backdrop-filter}
.gallery-lightbox.active .gallery-lightbox__backdrop{opacity:1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.gallery-lightbox.closing .gallery-lightbox__backdrop{opacity:0;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.gallery-lightbox-inner{position:relative;z-index:20001;display:flex;flex-direction:row;gap:28px;align-items:flex-start;max-width:min(1180px,calc(100vw - 56px));width:100%;max-height:92vh;opacity:0;transform:translateY(24px) scale(0.96);transition:opacity 0.7s cubic-bezier(0.22,0.1,0.26,1),transform 0.7s cubic-bezier(0.22,0.1,0.26,1);backface-visibility:hidden;margin-left:auto;margin-right:auto;overflow:visible;min-height:0}
.gallery-lightbox-inner{box-sizing:border-box}
.gallery-lightbox.active .gallery-lightbox-inner{opacity:1;transform:translateY(0) scale(1)}
.gallery-lightbox.closing .gallery-lightbox-inner{opacity:0;transform:translateY(28px) scale(0.94)}
.gallery-lightbox-viewport{flex:1 1 60%;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:22px;position:relative;background:rgba(7,25,21,0.15);border:1px solid rgba(255,255,255,0.08);box-shadow:0 36px 120px rgba(2,12,8,0.4);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:transform 0.28s cubic-bezier(0.22,0.1,0.26,1),opacity 0.28s cubic-bezier(0.22,0.1,0.26,1);}
.gallery-lightbox-viewport.switching{opacity:0.75;transform:scale(0.98);}
.gallery-lightbox-viewport img{max-width:100%;width:auto;height:auto;object-fit:contain;max-height:calc(92vh - 60px);border-radius:18px;box-shadow:0 36px 110px rgba(2,12,8,0.55);transition:transform 0.48s cubic-bezier(0.22,0.1,0.26,1),opacity 0.48s cubic-bezier(0.22,0.1,0.26,1),filter 0.48s cubic-bezier(0.22,0.1,0.26,1);will-change:transform,opacity,filter;backface-visibility:hidden;filter:brightness(1) saturate(1)}
.gallery-lightbox-img-slide-out{animation:galleryImageSlideOut 0.26s cubic-bezier(0.22,0.1,0.26,1) forwards;}
.gallery-lightbox-img-slide-in{animation:galleryImageSlideIn 0.34s cubic-bezier(0.22,0.1,0.26,1) forwards;}
@keyframes galleryImageSlideOut{from{opacity:1;transform:translateX(0) scale(1);filter:brightness(1);}to{opacity:0;transform:translateX(-40px) scale(0.96);filter:brightness(0.88);}}
@keyframes galleryImageSlideIn{from{opacity:0;transform:translateX(40px) scale(0.96);filter:brightness(0.92);}to{opacity:1;transform:translateX(0) scale(1);filter:brightness(1);}}
.gallery-lightbox-status{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);padding:10px 18px;border-radius:999px;background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.12);color:rgba(245,255,248,0.92);font-size:0.95rem;letter-spacing:0.12em;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 16px 40px rgba(0,0,0,0.18);pointer-events:none;white-space:nowrap;}
.gallery-lightbox-info{position:absolute;bottom:30px;right:30px;width:min(360px,42vw);color:#edf7f5;padding:22px 24px 22px;max-height:auto;overflow:hidden;opacity:0;transform:translateY(28px);background:rgba(4,12,10,0.92);border:1px solid rgba(255,255,255,0.1);border-radius:28px;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 36px 90px rgba(1,11,10,0.45);transition:opacity 0.56s cubic-bezier(0.22,0.1,0.26,1) 0.32s,transform 0.56s cubic-bezier(0.22,0.1,0.26,1) 0.32s;backface-visibility:hidden;will-change:transform,opacity}
.gallery-lightbox.active .gallery-lightbox-info{opacity:1;transform:translateY(0)}
.gallery-lightbox.closing .gallery-lightbox-info{opacity:0;transform:translateY(28px)}
.gallery-lightbox-card-meta{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.gallery-lightbox-info .label{display:inline-flex;align-items:center;color:rgba(255,255,255,0.72);text-transform:uppercase;letter-spacing:0.18em;font-size:0.78rem;font-weight:700}
.gallery-lightbox-dot{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,0.9);box-shadow:0 0 12px rgba(42,169,164,0.35)}
.gallery-lightbox-info h3{margin:0 0 10px;font-size:1.6rem;color:#fff;font-weight:700;line-height:1.2}
.gallery-lightbox-info p{margin:0;color:rgba(255,255,255,0.86);line-height:1.75;font-size:1rem;font-weight:500}
.gallery-lightbox-close{position:absolute;top:12px;right:12px;width:46px;height:46px;border-radius:999px;background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.12);color:#fff;font-size:28px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform 0.36s cubic-bezier(0.16,1,0.3,1),background 0.36s cubic-bezier(0.22,1,0.36,1),box-shadow 0.36s cubic-bezier(0.22,1,0.36,1),border-color 0.36s ease;backface-visibility:hidden;will-change:transform;z-index:20003}
.gallery-lightbox-close:hover{transform:scale(1.1);background:rgba(255,255,255,0.16);border-color:rgba(255,255,255,0.2);box-shadow:0 20px 50px rgba(0,0,0,0.28),inset 0 1px 2px rgba(255,255,255,0.2)}
.gallery-lightbox-arrow{position:absolute;top:50%;transform:translateY(-50%);width:64px;height:64px;border-radius:50%;background:rgba(0,0,0,0.42);display:flex;align-items:center;justify-content:center;color:#fff;font-size:28px;cursor:pointer;z-index:20002;border:1px solid rgba(255,255,255,0.06);transition:transform 0.36s cubic-bezier(0.16,1,0.3,1),background 0.36s cubic-bezier(0.22,1,0.36,1),box-shadow 0.36s cubic-bezier(0.22,1,0.36,1),border-color 0.36s ease;backface-visibility:hidden;will-change:transform;box-shadow:0 12px 32px rgba(0,0,0,0.18)}
.gallery-lightbox-arrow:hover{transform:translateY(-50%) scale(1.12);background:rgba(0,0,0,0.72);border-color:rgba(255,255,255,0.12);box-shadow:0 28px 60px rgba(0,0,0,0.32),inset 0 1px 2px rgba(255,255,255,0.08),0 0 32px rgba(42,169,164,0.16)}
.gallery-lightbox-arrow--prev{left:-40px}
.gallery-lightbox-arrow--next{right:-40px}

/* Mobile adjustments */
@media (max-width:900px){
  .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .gallery-lightbox-inner{flex-direction:column;gap:14px;max-width:min(100%,calc(100vw - 56px));}
  .gallery-lightbox-viewport{width:100%;flex-basis:auto;max-width:100%;}
  .gallery-lightbox-viewport img{max-height:60vh}
  .gallery-lightbox-info{position:relative;bottom:auto;right:auto;transform:none;width:100%;flex-basis:auto;padding:10px 6px;max-height:calc(92vh - 60vh - 40px);overflow:auto;}
  .gallery-lightbox-arrow--prev{left:12px}
  .gallery-lightbox-arrow--next{right:12px}
  .gallery-lightbox-arrow{width:56px;height:56px;font-size:24px}
  .gallery-lightbox-arrow--prev{left:12px}
  .gallery-lightbox-arrow--next{right:12px}
  .gallery-lightbox-close{width:40px;height:40px;font-size:24px;top:12px;right:12px}
}

/* Tablet specific: 768px - 1024px — increase width and prevent overlap while preserving side-by-side layout */
@media (min-width:768px) and (max-width:1024px){
  .gallery-lightbox-inner{flex-direction:row;gap:20px;max-width:min(1000px,95vw);}
  .gallery-lightbox-viewport{flex:1 1 65%;min-width:0}
  .gallery-lightbox-info{position:relative;bottom:auto;right:auto;transform:none;width:min(360px,34vw);padding:18px;max-height:80vh;overflow:auto}
  .gallery-lightbox-viewport img{max-height:82vh;width:100%;height:auto}
  .gallery-lightbox-arrow--prev{left:12px}
  .gallery-lightbox-arrow--next{right:12px}
  .gallery-lightbox-close{top:12px;right:12px}
}

/* Mobile specific: stack content, use most of viewport, allow internal scrolling */
@media (max-width:767px){
  .gallery-lightbox-inner{flex-direction:column;gap:10px;max-width:95vw;width:95vw;max-height:90vh;padding:12px;box-sizing:border-box;overflow-y:visible;background:transparent}
  .gallery-lightbox-viewport{width:100%;flex-basis:auto;min-height:0}
  .gallery-lightbox-viewport img{width:100%;height:auto;object-fit:contain;max-height:55vh;border-radius:8px}
  .gallery-lightbox-info{position:relative;bottom:auto;right:auto;transform:none;width:100%;flex-basis:auto;margin-top:8px;padding:12px;max-height:calc(90vh - 55vh - 32px);overflow:auto}
  .gallery-lightbox-arrow{z-index:20003}
  .gallery-lightbox-arrow--prev{left:12px}
  .gallery-lightbox-arrow--next{right:12px}
  .gallery-lightbox-close{top:12px;right:12px}
}

/* Moved inline background-image helpers (keeps exact visuals) */
.bg-bg_4{background-image: url("../images/bg_4.png") !important;background-size:cover;background-position:center center}
.bg-bg_3{background-image: url("../images/bg_3.jpg") !important;background-size:cover;background-position:center center}
.bg-bg_2{background-image: url("../images/bg_2.jpg") !important;background-size:cover;background-position:center center}
.bg-trainer-2{background-image: url("../images/trainer-2.jpg") !important;background-size:cover;background-position:center center}
.bg-about{background-image: url("../images/about.jpg") !important;background-size:cover;background-position:center center}
.bg-about-2{background-image: url("../images/about-2.jpg") !important;background-size:cover;background-position:center center}

/* Testimonial user images (replace inline background-image) */
.user-img-1{background-image: url("../images/person_1.jpg") !important}
.user-img-2{background-image: url("../images/person_2.jpg") !important}
.user-img-3{background-image: url("../images/person_3.jpg") !important}

.full-width{width:100%}
.footer-muted{color: rgba(255,255,255,.5)}

/* Extra helpers for other pages */
.bg-bg_1{background-image: url("../images/bg_1.jpg") !important;background-size:cover;background-position:center center}

/* Contact/map helpers moved from inline styles */
.info-wrap-custom{background:linear-gradient(135deg, rgba(42,169,164,0.06), rgba(31,143,133,0.03));border-radius:12px;padding:clamp(1.5rem,6vw,3rem)}
.accent-heading{color:var(--heading)}
.muted-maxwidth{max-width:min(100%,320px);color:var(--muted)}
.map-frame{width:100%;height:0;padding-bottom:66.67%;position:relative;overflow:hidden;border-radius:12px}
.map-frame iframe{position:absolute;top:0;left:0;width:100%;height:100%}
.map-info{display:flex;flex-wrap:wrap;align-items:center;gap:18px}
.map-key-box{flex:0 0 auto;padding:18px;border-radius:10px;background:linear-gradient(180deg,rgba(42,169,164,0.06),rgba(31,143,133,0.03));box-shadow:0 8px 22px rgba(2,30,23,0.04)}
.map-key-box .fa{font-size:20px;color:var(--brand-dark)}
.map-key-content{flex:1 1 auto;min-width:200px}
/* Contact page helper for studio hours text */
.studio-hours{margin-top:12px;font-size:14px;color:var(--muted-text)}

.contact-cards .dbox{
  min-height:220px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:1.6rem 1.5rem;
  border:1px solid rgba(31,143,133,0.12);
  background:var(--card);
  border-radius:20px;
  transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease;
}
.contact-cards .dbox:hover,
.contact-cards .dbox:focus-within{
  transform:translateY(-4px);
  border-color:rgba(31,143,133,0.24);
  box-shadow:0 24px 55px rgba(2,30,23,0.08);
}
.contact-cards .dbox .text{flex:1;}
.contact-cards .contact-info{margin:0;line-height:1.75;color:var(--muted-text);word-break:break-word;}
.contact-cards .contact-info span{font-weight:600;color:var(--text);}
.contact-cards .contact-info a{color:var(--brand);}
.contact-cards .dbox .icon{width:68px;height:68px;border-radius:18px;background:rgba(42,169,164,0.12);margin-bottom:1rem;}
.contact-cards .dbox .icon span{font-size:22px;color:var(--brand-dark);}

[data-theme="dark"] .contact-cards .dbox{background:#1d2e3a;border-color:rgba(255,255,255,0.12);}
[data-theme="dark"] .contact-cards .dbox:hover{background:#233a4b;border-color:rgba(42,169,164,0.32);}
[data-theme="dark"] .contact-cards .contact-info{color:#cbd5e1;}
[data-theme="dark"] .contact-cards .contact-info span{color:#f8fafc;}

.contact-wrap{border-radius:22px;background:var(--card);box-shadow:0 32px 70px rgba(2,30,23,0.08);border:1px solid var(--border);}
.contact-wrap .form-group{margin-bottom:1rem;}
.contact-wrap .form-control{border:1px solid var(--border);border-radius:14px;padding:.95rem 1rem;background:var(--card);transition:border-color .24s ease,box-shadow .24s ease;color:var(--text);}
[data-theme="dark"] .contact-wrap .form-control{background:var(--card);border-color:rgba(255,255,255,0.12);color:#f8fafc;}
.contact-wrap .form-control:focus{border-color:var(--brand);box-shadow:0 0 0 .18rem rgba(42,169,164,0.15);outline:0;}
.contact-wrap .form-status{margin-bottom:1rem;font-size:.95rem;min-height:2.2rem;line-height:1.55;color:var(--text);}
.contact-wrap .form-status .success{display:inline-flex;align-items:center;gap:.55rem;padding:.9rem 1rem;border-radius:1rem;background:rgba(42,169,164,0.08);border:1px solid rgba(42,169,164,0.18);color:#0f5132;}
.contact-wrap .form-status .error{display:inline-flex;align-items:center;gap:.55rem;padding:.9rem 1rem;border-radius:1rem;background:rgba(220,53,69,0.08);border:1px solid rgba(220,53,69,0.18);color:#842029;}
.contact-wrap label{color:var(--muted-text);font-weight:500;}
.contact-wrap .btn-primary{border-radius:999px;font-weight:600;letter-spacing:.01em;}
.info-wrap-custom{min-height:100%;border-radius:20px;padding:clamp(1.75rem,4vw,3rem);background:linear-gradient(135deg, rgba(42,169,164,0.06), rgba(31,143,133,0.03));}
.info-wrap-custom .info-content{width:100%;}
.info-wrap-custom .accent-heading{font-size:clamp(1.75rem,2.3vw,2.2rem);color:var(--text);}
.info-wrap-custom p{color:var(--muted-text);margin-bottom:1.35rem;}
.contact-map-block{margin-top:2rem;border-radius:20px;overflow:hidden;box-shadow:0 28px 72px rgba(2,30,23,0.12);background:var(--card);border:1px solid var(--border);}
.contact-map-block .map-frame{padding-bottom:72%;min-height:420px;}
.map-info{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;padding:1.25rem 1.5rem;background:rgba(255,255,255,0.9);border-top:1px solid rgba(31,143,133,0.12);}
[data-theme="dark"] .map-info{background:rgba(255,255,255,0.05);border-top:1px solid rgba(255,255,255,0.12);}
.map-key-box{padding:16px;border-radius:16px;background:linear-gradient(180deg,rgba(42,169,164,0.12),rgba(31,143,133,0.04));box-shadow:0 12px 30px rgba(2,30,23,0.06);}
[data-theme="dark"] .map-key-box{background:rgba(42,169,164,0.14);}
.map-key-box .fa{font-size:20px;color:var(--brand-dark);}
.map-key-content strong{display:block;margin-bottom:.35rem;color:var(--text);}
.map-key-content p{margin:0;color:var(--muted-text);line-height:1.7;}
.footer-top{padding-bottom:2.5rem;}
.footer-column .ftco-heading-2{font-size:1rem;font-weight:700;letter-spacing:.03em;margin-bottom:1.2rem;color:#fff;}
.footer-links li{margin-bottom:.9rem;}
.footer-links a{color:rgba(255,255,255,0.82);transition:color .2s ease;}
.footer-links a:hover{color:var(--brand);}
.footer-top p{max-width:360px;color:rgba(255,255,255,0.8);}
.footer-bottom{border-top:1px solid rgba(255,255,255,0.08);padding:1.4rem 0;}
.footer-bottom .footer-muted{color:rgba(255,255,255,0.65);}
@media (max-width:991.98px){.contact-cards .dbox{min-height:0;}.contact-map-block{margin-top:1.5rem;}.footer-top .footer-column{padding-top:0;}} 

@media (max-width:576px){
  .gallery-grid{grid-template-columns:1fr;gap:14px}
  .gallery-lightbox{padding:12px}
  .gallery-lightbox-inner{flex-direction:column;gap:8px;max-width:min(100%,calc(100vw - 24px));overflow:visible;background:transparent}
  .gallery-lightbox-viewport{border-radius:12px;max-width:100%;}
  .gallery-lightbox-viewport img{max-height:55vh;border-radius:8px}
  .gallery-lightbox-info{position:relative;bottom:auto;right:auto;transform:none;width:100%;flex-basis:auto;padding:8px 4px;max-height:calc(92vh - 55vh - 32px)}
  .gallery-lightbox-arrow--prev{left:8px}
  .gallery-lightbox-arrow--next{right:8px}
  .gallery-lightbox-close{top:8px;right:8px}
  .gallery-lightbox-info h3{font-size:1.4rem}
  .gallery-lightbox-info p{font-size:0.95rem}
  .gallery-lightbox-arrow{width:48px;height:48px;font-size:20px}
  .gallery-lightbox-arrow--prev{left:4px}
  .gallery-lightbox-arrow--next{right:4px}
  .gallery-lightbox-close{width:36px;height:36px;font-size:20px;top:8px;right:8px}
}

/* Prevent body scroll when lightbox active */
.no-scroll{overflow:hidden;height:100%}

/* Animated states and keyframe animations */
.gallery-fade-in{animation:galleryFadeIn 0.42s cubic-bezier(0.22,1,0.36,1) both}
.gallery-scale-up{transform:scale(0.96);animation:galleryScaleUp 0.48s cubic-bezier(0.16,1,0.3,1) both}
@keyframes galleryFadeIn{0%{opacity:0}to{opacity:1}}
@keyframes galleryScaleUp{0%{transform:scale(0.94);opacity:0}60%{transform:scale(1.02);opacity:1}100%{transform:scale(1);opacity:1}}

/* Image transition animations for smooth 60fps movement */
@keyframes imageSlideOutLeft{0%{opacity:1;transform:translateX(0) scale(1)}100%{opacity:0;transform:translateX(-32px) scale(0.92)}}
@keyframes imageSlideOutRight{0%{opacity:1;transform:translateX(0) scale(1)}100%{opacity:0;transform:translateX(32px) scale(0.92)}}
@keyframes imageSlideInLeft{0%{opacity:0;transform:translateX(32px) scale(0.92)}100%{opacity:1;transform:translateX(0) scale(1)}}
@keyframes imageSlideInRight{0%{opacity:0;transform:translateX(-32px) scale(0.92)}100%{opacity:1;transform:translateX(0) scale(1)}}

.mfp-gallery-caption{padding:18px max(12px,4vw);max-width:min(640px,90vw);margin:0 auto;color:#eef7f5;text-align:center}
.mfp-gallery-label{display:block;color:rgba(255,255,255,0.76);letter-spacing:.18em;text-transform:uppercase;font-size:.82rem;margin-bottom:10px}
.mfp-gallery-caption h2{font-size:1.35rem;margin:0 0 10px;color:#ffffff}
.mfp-gallery-caption p{font-size:1rem;line-height:1.7;color:rgba(255,255,255,0.85);margin:0}
.mfp-content{box-shadow:0 30px 70px rgba(0,0,0,0.28)}
.mfp-bg{opacity:.92;transition:opacity .28s ease}
.mfp-wrap{transition:opacity .28s ease}
.mfp-wrap.mfp-ready{opacity:1}
.mfp-wrap.mfp-removing{opacity:0}
.mfp-arrow{background:rgba(0,0,0,.45);border-radius:50%;width:48px;height:48px;display:flex;align-items:center;justify-content:center;color:#fff}
.mfp-arrow:hover{background:rgba(0,0,0,.65)}
.mfp-close{color:#fff;opacity:0.9;right:-6px;top:-6px;width:42px;height:42px;border-radius:50%;background:rgba(0,0,0,.55)}
.mfp-close:hover{opacity:1}

/* Footer */
.ftco-footer{background:var(--footer-bg);padding-top:clamp(32px,6vw,48px);color:rgba(255,255,255,0.9);padding-bottom:clamp(28px,4vw,42px)}
@media (max-width:768px){
  .ftco-footer{padding-top:36px;padding-bottom:32px}
}
@media (max-width:576px){
  .ftco-footer{padding-top:28px;padding-bottom:24px}
}
.ftco-footer .ftco-heading-2.logo a{color:#fff;font-weight:700}
.ftco-footer p{color:rgba(255,255,255,0.75)}
.ftco-footer .ftco-footer-social a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:transparent;border:1px solid rgba(255,255,255,0.06);color:rgba(255,255,255,0.8);margin-right:8px;transition:transform .18s ease,color .18s ease,background .18s ease}
.ftco-footer .ftco-footer-social a:hover{color:var(--brand);transform:translateY(-4px);background:rgba(255,255,255,0.03)}
.bg-black{background:#071b18}
.bg-black p{color:rgba(255,255,255,0.65)}

/* WhatsApp button */
.whatsapp-button{position:fixed;right:18px;bottom:22px;background:linear-gradient(180deg,var(--brand),var(--brand-dark));color:#fff;width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 36px rgba(31,143,133,0.18);z-index:9999}
.whatsapp-button:hover{transform:translateY(-3px)}

/* Pulse animation for hover */
.pulse{animation:pulse 1.6s infinite}
@keyframes pulse{
  0%{transform:scale(1);box-shadow:0 0 0 0 rgba(42,169,164,0.16)}
  70%{transform:scale(1.03);box-shadow:0 0 0 18px rgba(42,169,164,0)}
  100%{transform:scale(1);box-shadow:0 0 0 0 rgba(42,169,164,0)}
}

/* Fade-up animation helper */
.fade-up{
  opacity:0;
  visibility:hidden;
  transform:translateY(50px);
  transition:opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              visibility 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-up.in-view{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

/* Stagger animation delays for child elements */
.fade-up > * {
  opacity:0;
  visibility:hidden;
  transform:translateY(50px);
  transition:opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              visibility 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.in-view > * {
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

/* Stagger delays for child elements - up to 8 children */
.fade-up.in-view > *:nth-child(1) { transition-delay: 0.1s; }
.fade-up.in-view > *:nth-child(2) { transition-delay: 0.2s; }
.fade-up.in-view > *:nth-child(3) { transition-delay: 0.3s; }
.fade-up.in-view > *:nth-child(4) { transition-delay: 0.4s; }
.fade-up.in-view > *:nth-child(5) { transition-delay: 0.5s; }
.fade-up.in-view > *:nth-child(6) { transition-delay: 0.6s; }
.fade-up.in-view > *:nth-child(7) { transition-delay: 0.7s; }
.fade-up.in-view > *:nth-child(8) { transition-delay: 0.8s; }

.ftco-animate{opacity:1;visibility:visible;transform:none;transition:none}
.ftco-animate.in-view{opacity:1;visibility:visible;transform:none}

/* Small helpers */
.subheading{letter-spacing:1px;color:rgba(255,255,255,0.9);font-weight:600}
.heading-section h2{color:var(--heading)}

/* Dark gray heading for the wellness section */
.ftco-services.img .heading-section h2 {
  color: #333333;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  text-shadow: none;
}

@media (max-width:576px){.hero-wrap .ftco-animate{max-width:100%}.btn-primary{padding:.8rem 1rem}}

/* Minor performance tip: prefer image `decoding=async` and `loading=lazy` where appropriate in markup */

/* Programs preview and programs page styles */
.programs-preview{padding:48px 0;background:linear-gradient(180deg,rgba(8,58,54,0.02),rgba(8,58,54,0.00))}
.programs-preview .card{border-radius:12px;border:none;overflow:hidden;box-shadow:0 12px 34px rgba(2,30,23,0.06);transition:transform .36s cubic-bezier(.2,.9,.3,1),box-shadow .36s ease;cursor:pointer;touch-action:manipulation}
.programs-preview .card .icon{font-size:28px;color:var(--brand);display:inline-flex;align-items:center;justify-content:center;width:72px;height:72px;border-radius:50%;background:linear-gradient(180deg,rgba(42,169,164,0.06),rgba(31,143,133,0.02));margin:0 auto}
.programs-preview .card .card-title{margin-top:12px;font-size:1.15rem;word-break:break-word}
.programs-preview .card .card-text{color:var(--muted);word-break:break-word}
.programs-preview .card .btn{margin-top:12px}
.program-card:hover{transform:translateY(-8px)}
.program-card:active{transform:translateY(-4px)}
.program-card .icon{transition:transform .36s ease}
.program-card:hover .icon{transform:scale(1.08)}
.programs-preview .explore-programs{padding:12px 28px;border-radius:40px}

/* Counter section responsive fixes */
.counter-wrap{margin-bottom:clamp(1rem,3vw,2rem)}
.block-18{padding:clamp(1rem,3vw,1.5rem);flex-direction:row;gap:clamp(12px,3vw,18px)}
.block-18 .icon{width:clamp(56px,12vw,80px);height:clamp(56px,12vw,80px);border-radius:50%;font-size:clamp(1.4rem,3vw,2rem)}
.block-18 .text{font-size:clamp(0.9rem,2vw,1rem)}
.block-18 .number{font-size:clamp(1.6rem,4vw,2rem);font-weight:700}
@media (max-width:576px){
  .block-18{flex-direction:row}
  .block-18 .icon{width:52px;height:52px}
}
@media (max-width:480px){
  .block-18{gap:12px;padding:1rem}
  .block-18 .icon{width:48px;height:48px;font-size:1.2rem}
  .block-18 .number{font-size:1.4rem}
}

/* Programs preview and programs page styles */

/* Programs page detailed sections */
main.programs-list{background:radial-gradient(circle at top, rgba(236,251,248,0.95), rgba(247,251,248,1));}
.program-section{
  padding:0;
  margin-bottom:2.5rem;
  background:rgba(255,255,255,0.78);
  border:1px solid rgba(255,255,255,0.9);
  box-shadow:0 30px 80px rgba(8,47,40,0.1);
  border-radius:24px;
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
  overflow:hidden;
  transition:opacity 0.56s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.56s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease;
}
.program-section.in-view{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.adult-program-section .ftco-animated {
  -webkit-animation-duration: 0.32s !important;
  animation-duration: 0.32s !important;
}
.program-section:not(.in-view):hover{
  transform:translateY(50px);
}
.program-section.in-view:hover{
  transform:translateY(-6px);
  box-shadow:0 40px 110px rgba(8,47,40,0.18);
}
.program-section .program-card-body{padding:2.4rem 2.4rem 2rem;position:relative;z-index:1}
.program-section .program-card-header{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between;margin-bottom:1rem}
.program-section .program-duration{display:inline-flex;align-items:center;gap:.5rem;font-size:.95rem;font-weight:700;color:#0f5f52}
.program-section .program-badges{display:flex;flex-wrap:wrap;gap:.75rem;margin:0}
.program-section .program-badge{display:inline-flex;align-items:center;gap:.45rem;padding:.55rem .95rem;border-radius:999px;font-size:.9rem;font-weight:600;color:#174d3f;background:rgba(62,179,159,0.14);border:1px solid rgba(62,179,159,0.18)}
.program-section .program-badge i{color:var(--brand);font-size:1rem}
.program-section .program-image{
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 18px 56px rgba(7,40,33,0.09);
  min-height:420px;
  opacity:0;
  transform:translateX(-72px);
  transition:opacity 0.75s cubic-bezier(0.22, 0.1, 0.26, 1),
              transform 0.75s cubic-bezier(0.22, 0.1, 0.26, 1);
}
.program-section.image-right .program-image{
  transform:translateX(72px);
}
.program-section .content-copy{
  opacity:0;
  transform:translateX(72px);
  transition:opacity 0.75s cubic-bezier(0.22, 0.1, 0.26, 1),
              transform 0.75s cubic-bezier(0.22, 0.1, 0.26, 1);
}
.program-section.image-right .content-copy{
  transform:translateX(-72px);
}
.program-section.in-view .program-image{
  opacity:1;
  transform:translateX(0);
}
.program-section.image-right.in-view .program-image{
  transform:translateX(0);
}
.program-section.in-view .content-copy{
  opacity:1;
  transform:translateX(0);
}
.program-section.image-right.in-view .content-copy{
  transform:translateX(0);
}
.program-section .program-image .image-inner{position:relative;height:100%}
.program-section .program-image .image-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,98,81,0.12),rgba(15,98,81,0.06));opacity:1;pointer-events:none}
.program-section .program-image img{width:100%;height:100%;max-height:100%;object-fit:cover;object-position:center center;transition:transform .4s ease}
.program-section .program-image:hover img{transform:scale(1.07)}
.program-section h2{margin-bottom:1rem;font-size:clamp(1.5rem,4vw,2.35rem);line-height:1.05;color:var(--text)}
.program-section .lead{color:var(--muted-text);font-size:1.05rem;line-height:1.8;margin-bottom:1.5rem}
.program-section .program-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(170px,1fr));gap:1rem;margin-bottom:1.2rem}
.program-section .program-meta-card{background:rgba(255,255,255,0.92);border:1px solid rgba(19,86,69,0.08);padding:1rem 1.1rem;border-radius:18px;box-shadow:0 10px 25px rgba(9,38,33,0.04)}
.program-section .program-meta-card h5{font-size:.95rem;margin-bottom:.55rem;color:var(--text)}
.program-section .program-meta-card p{margin:0;color:var(--muted-text);font-size:.95rem;line-height:1.7}
.program-section .program-highlights{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:.8rem;margin-bottom:1.35rem}
.program-section .program-highlight{display:inline-flex;align-items:center;justify-content:center;padding:.85rem 1rem;border-radius:15px;background:rgba(42,169,164,0.12);color:var(--text);font-weight:700;font-size:.93rem;min-height:56px;text-align:center}
.program-section .program-button{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 1.8rem;font-size:1rem;font-weight:700;border-radius:999px;position:relative;overflow:hidden;text-decoration:none;color:#fff;background:linear-gradient(135deg,#117464,#28b49a);box-shadow:0 18px 32px rgba(17,94,76,0.24);transition:transform .32s ease,box-shadow .32s ease}
.program-section .program-button:hover{transform:translateY(-2px);box-shadow:0 24px 46px rgba(17,94,76,0.30)}
.program-section .program-button::after{content:'';position:absolute;inset:0;background:rgba(255,255,255,0.14);opacity:0;transition:opacity .3s ease}
.program-section .program-button:hover::after{opacity:1}
.program-section .program-card-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem}
.program-section .program-card-footer .program-badge-secondary{font-size:.92rem;color:#2b5c4e}
.program-section ul{margin-left:1.05rem}
body{background:#f3f8f5}
main.programs-list{background:#f7fbf8}

@media (max-width:991px){
  .programs-page .program-section .row{flex-direction:column}
  .programs-page .program-section .program-image{margin-bottom:0.75rem}
  .programs-page .program-section .program-image img{width:100%;max-width:100%;height:auto;object-fit:cover}
  .programs-page .program-card-body{padding:2rem 1.4rem 1.2rem}
  .programs-page .program-meta-grid{grid-template-columns:1fr}
  .programs-page .program-highlights{grid-template-columns:repeat(2,minmax(120px,1fr))}
}

@media (max-width:767px){
  .program-section{margin-bottom:2rem}
  .program-section .program-card-header{flex-direction:column;align-items:flex-start}
  .program-section .program-duration{margin-top:.5rem}
  .program-section .program-image{min-height:320px}
  .program-section h2{font-size:1.95rem}
  .program-section .lead{font-size:1rem}
  .program-section .program-meta-grid{grid-template-columns:1fr}
  .program-section .program-highlights{grid-template-columns:1fr}
}

body{background:var(--bg)}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .programs-preview .card, .program-section .program-image img, .program-card, .navbar-nav .nav-link::after{transition:none !important;transform:none !important}
}

/* Accessibility & responsive stacking fixes */
a:focus, button:focus, .btn:focus{outline:3px solid rgba(42,169,164,0.14);outline-offset:3px;box-shadow:0 10px 30px rgba(2,30,23,0.06)}
.btn-outline-primary{border:2px solid rgba(31,143,133,0.12);color:var(--brand-dark);background:transparent;padding:.6rem 1rem;border-radius:28px;transition:all .22s ease}
.btn-outline-primary:hover,.btn-outline-primary:focus{background:linear-gradient(135deg,var(--brand),var(--brand-dark));color:#fff;transform:translateY(-3px);box-shadow:0 12px 30px rgba(31,143,133,0.12)}

/* Ensure program sections stack cleanly on small screens */
.program-section .row{align-items:center}
@media (max-width:767px){
  .program-section .row{flex-direction:column}
  .program-section .program-image{margin-bottom:12px}
  .program-section .program-image img{height:320px;object-fit:cover}
  .program-info-grid{grid-template-columns:1fr}
  .benefits-grid{grid-template-columns:1fr}
}

/* Improve contrast for lead text */
.program-section .lead{color:#38524b}

/* Skip link visible when focused */
.skip-link{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{position:fixed;left:18px;top:18px;width:auto;height:auto;padding:10px 14px;background:#071b18;color:#fff;border-radius:6px;z-index:9999;box-shadow:0 8px 30px rgba(2,30,23,0.4)}

/* Programs premium layout additions */
.program-categories{display:block;padding:10px 14px;background:rgba(255,255,255,0.88);border-radius:18px;margin:0 1rem 22px;position:sticky;top:var(--program-nav-sticky-top, calc(var(--fixed-navbar-height,88px) + 0.75rem)) !important;z-index:1020;transition:background .32s ease,box-shadow .32s ease,transform .32s ease;border:1px solid rgba(255,255,255,0.7)}
.program-categories-placeholder{display:none}
@media (max-width:768px){
  .program-categories{margin:0 0.75rem 18px;padding:8px 12px;position:static !important;top:auto !important;width:auto}
}
@media (max-width:480px){
  .program-categories{margin:0 0.5rem 14px;padding:8px 10px;}
}
.program-categories.sticky{background:rgba(255,255,255,0.96);box-shadow:0 20px 40px rgba(16,44,38,0.12);}
.program-categories.sticky{margin-top:0 !important}
.program-categories ul{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;list-style:none;margin:0;padding:0;overflow-x:auto;overflow-y:hidden}
.program-categories a{display:inline-block;padding:10px 16px;border-radius:999px;color:var(--muted);background:rgba(8,58,54,0.06);text-decoration:none;font-weight:700;letter-spacing:.02em;transition:all .22s ease}
.program-categories a:hover,.program-categories a.active{background:linear-gradient(135deg,var(--brand),var(--brand-dark));color:#fff;transform:translateY(-2px);box-shadow:0 10px 20px rgba(17,96,78,0.16)}

/* Ensure anchor targets are visible below fixed navbar + category nav */
:root{--page-sticky-offset:calc(var(--fixed-navbar-height,88px) + 72px)}
html{scroll-padding-top:var(--page-sticky-offset)}
.program-section{scroll-margin-top:var(--page-sticky-offset)}
.program-categories + .program-section{margin-top:var(--program-nav-sticky-top, calc(var(--fixed-navbar-height,88px) + 0.75rem));}

.benefits-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:10px 0 14px;padding:0 1rem}
@media (max-width:900px){
  .benefits-grid{grid-template-columns:repeat(2,1fr);gap:10px;padding:0 0.75rem}
}
@media (max-width:576px){
  .benefits-grid{grid-template-columns:1fr;gap:8px;margin:8px 0 12px;padding:0 0.75rem}
}
.benefit-card{background:rgba(255,255,255,0.03);border-radius:12px;padding:14px;border:1px solid rgba(8,58,54,0.04);box-shadow:0 10px 26px rgba(2,30,23,0.04);transition:transform .22s ease,box-shadow .22s ease}
.benefit-card h5{margin:0 0 6px;font-size:1rem;color:var(--heading)}
.benefit-card p{margin:0;color:var(--muted);font-size:.95rem}
.benefit-card:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(2,30,23,0.06)}

.kids-program-section{padding:4rem 0 1.8rem;background:linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(245,250,246,1) 100%);}
.kids-program-section .program-copy{max-width:min(520px,100%);}
.kids-program-section .subheading{display:inline-block;margin-bottom:.9rem;letter-spacing:.18em;text-transform:uppercase;color:var(--brand);font-weight:700;}
.kids-program-section .kids-section-title{margin-bottom:1rem;font-size:clamp(2.4rem,3vw,3rem);line-height:1.08;color:var(--heading);max-width:36rem;}

/* Apply the exact Kids label styling to heading-section subheadings
   (ensures Adult Yoga label is visually identical to Kids Yoga label) */
.heading-section .subheading{
  display:inline-block;
  margin-bottom:.9rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--brand);
  font-weight:700;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
.kids-program-section .program-description{margin-bottom:1.4rem;color:var(--muted-text);font-size:1rem;line-height:1.75;max-width:38rem;}
.kids-program-section .kids-benefits-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:.9rem;margin-bottom:1.4rem;grid-auto-rows:minmax(0,1fr);align-items:stretch;}
.kids-program-section .benefit-card{background:var(--card);border:1px solid var(--border);border-radius:20px;padding:1rem;box-shadow:0 18px 40px rgba(2,30,23,0.08);transition:transform .28s ease,box-shadow .28s ease;display:flex;flex-direction:column;justify-content:space-between;height:100%;min-height:220px;align-self:stretch;}
.kids-program-section .benefit-card:hover{transform:translateY(-5px);box-shadow:0 22px 45px rgba(2,30,23,0.1);}
.kids-program-section .benefit-card h5{margin:0 0 .45rem;font-size:1.02rem;color:var(--text);}
.kids-program-section .benefit-card p{margin:0;color:var(--muted-text);font-size:.95rem;line-height:1.6;}
.kids-program-section .benefit-icon{width:40px;height:40px;border-radius:14px;background:rgba(42,169,164,0.12);color:var(--brand);display:inline-flex;align-items:center;justify-content:center;font-size:1.1rem;margin-bottom:.75rem;}
.kids-program-section .kids-image-wrap{position:relative;display:flex;justify-content:center;align-items:center;min-height:560px;padding:0;}
.kids-program-section .kids-image-composition{position:relative;width:100%;max-width:640px;min-height:560px;}
.kids-program-section .kids-image-card{position:absolute;overflow:hidden;border-radius:32px;background:var(--card);border:1px solid var(--border);box-shadow:0 38px 110px rgba(2,30,23,0.14);transition:transform .4s cubic-bezier(0.25,0.46,0.45,0.94),box-shadow .4s ease;will-change:transform;}
.kids-program-section .kids-image-card img{
  width:100%;
  height:100%;
  display:block;
  /* Fill the container entirely while allowing intelligent focal positioning.
     Set a custom focal point per-image with an inline CSS variable, e.g.
     <img src="..." style="--focal: 40% 22%;"> */
  object-fit: cover;
  object-position: var(--focal, center center);
  transition:transform .6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.kids-program-section .kids-image-card:hover img{transform:scale(1.05);}
.kids-program-section .kids-image-card--large{top:0;left:0;width:100%;height:100%;animation:kidsFloatUp 8s cubic-bezier(0.25,0.46,0.45,0.94) infinite alternate;}
.kids-program-section .kids-image-card--small{bottom:-6%;right:-4%;width:56%;height:52%;z-index:2;box-shadow:0 40px 120px rgba(2,30,23,0.16);animation:kidsFloatDown 8s cubic-bezier(0.25,0.46,0.45,0.94) infinite alternate;}
.kids-program-section .kids-image-card--small:hover img{transform:scale(1.06);}
.kids-program-section .kids-image-card--large:hover img{transform:scale(1.06);}

@keyframes kidsFloatUp{from{transform:translateY(0);}to{transform:translateY(-6px);}}
@keyframes kidsFloatDown{from{transform:translateY(0);}to{transform:translateY(6px);}}

@media (prefers-reduced-motion: reduce){
  .kids-program-section .kids-image-card{animation:none;transition:none;}
  .kids-program-section .kids-image-card img{transition:none;}
}

@media (max-width:991.98px){
  .kids-program-section .kids-benefits-grid{grid-template-columns:1fr;}
  .kids-program-section .kids-image-wrap{min-height:520px;}
  .kids-program-section .kids-image-composition{min-height:520px;}
  .kids-program-section .kids-image-card--large{position:relative;width:100%;height:auto;transform:none;margin-bottom:1rem;}
  .kids-program-section .kids-image-card--small{position:relative;width:72%;height:auto;transform:none;right:auto;bottom:auto;margin:0 auto;}
}
@media (max-width:767.98px){
  .kids-program-section{padding:3rem 0 1.2rem;}
  .kids-program-section .kids-section-title{font-size:2rem;}
  .kids-program-section .kids-image-wrap{min-height:360px;}
}
/* Reuse Kids heading typography for Adult heading */
.adult-program-section{padding:4rem 0 3rem;position:relative;background:linear-gradient(180deg, rgba(245,250,246,1) 0%, rgba(255,255,255,1) 100%);}
.adult-program-section .heading-section h2{
  margin-bottom:1rem;
  font-size:clamp(2.4rem,3vw,3rem);
  line-height:1.08;
  color:var(--heading);
  max-width:36rem;
}

@media (max-width:767.98px){
  .adult-program-section .heading-section h2{font-size:2rem;}
}

.adult-program-section{padding:4rem 0 3rem;position:relative;background:linear-gradient(180deg, rgba(245,250,246,1) 0%, rgba(255,255,255,1) 100%);}
.adult-program-section .adult-hero-panel{display:grid;grid-template-columns:1fr;gap:18px;}
.adult-program-section .adult-image-wrap{position:relative;display:flex;justify-content:center;align-items:center;min-height:580px;padding:0;}
.adult-program-section .adult-image-composition{position:relative;width:100%;max-width:770px;min-height:638px;}
.adult-program-section .adult-image-card{position:absolute;overflow:hidden;border-radius:32px;background:var(--card);border:1px solid var(--border);box-shadow:0 38px 110px rgba(2,30,23,0.14);transition:transform .4s cubic-bezier(0.25,0.46,0.45,0.94),box-shadow .4s ease;will-change:transform;}
.adult-program-section .adult-image-card img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .6s cubic-bezier(0.25,0.46,0.45,0.94);}
.adult-program-section .adult-image-card:hover img{transform:scale(1.05);}
.adult-program-section .adult-image-card--large{top:0;left:0;width:100%;height:100%;animation:adultFloatUp 8s cubic-bezier(0.25,0.46,0.45,0.94) infinite alternate;}
.adult-program-section .adult-image-card--small{bottom:-10%;right:calc(-8% + 30px);width:58%;height:52%;z-index:2;box-shadow:0 40px 120px rgba(2,30,23,0.16);animation:adultFloatDown 8s cubic-bezier(0.25,0.46,0.45,0.94) infinite alternate;}
.adult-program-section .adult-image-card--small:hover img{transform:scale(1.06);}
.adult-program-section .adult-image-card--large:hover img{transform:scale(1.06);}
.adult-program-section .adult-achievement-panel{background:var(--card);border:1px solid var(--border);border-radius:26px;padding:26px;box-shadow:0 18px 40px rgba(2,30,23,0.08);}
.adult-program-section .adult-achievement-panel .small-label{display:inline-block;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:var(--brand);margin-bottom:.75rem;}
.adult-program-section .adult-achievement-panel h3{margin:0;color:var(--text);font-size:1.45rem;line-height:1.3;}
.adult-program-section .feature-list{display:grid;gap:16px;margin:22px 0;}
.adult-program-section .feature-item{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;gap:20px;padding:22px 22px;box-shadow:0 18px 40px rgba(2,30,23,0.06);background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.06);border-radius:26px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);transition:box-shadow .28s ease,background .28s ease;}
.adult-program-section .feature-item:last-child{border-bottom:none;}
.adult-program-section .feature-item:hover{box-shadow:0 28px 70px rgba(2,30,23,0.14);background:rgba(255,255,255,0.1);}
.adult-program-section .feature-icon{width:56px;height:56px;border-radius:18px;background:rgba(255,255,255,0.08);border:1px solid rgba(42,169,164,0.18);color:var(--brand);display:flex;align-items:center;justify-content:center;font-size:1.4rem;margin:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,0.08);transition:background .28s ease,box-shadow .28s ease;}
.adult-program-section .feature-icon span{display:inline-flex;align-items:center;justify-content:center;line-height:1;}
.adult-program-section .feature-item h5{margin:0;color:var(--text);font-size:1.03rem;letter-spacing:0.01em;}
.adult-program-section .feature-item p{margin:0;color:var(--muted-text);font-size:.94rem;line-height:1.8;max-width:none;}
.adult-program-section .quote-box{background:var(--card);border-left:4px solid var(--brand);border-radius:20px;padding:24px 22px;margin:22px 0;box-shadow:0 18px 40px rgba(2,30,23,0.08);}
.adult-program-section .quote-box p{margin:0;font-style:italic;color:var(--text);font-size:1rem;line-height:1.8;}
.adult-program-section .benefits-panel{background:var(--card);border:1px solid rgba(42,169,164,0.16);border-radius:22px;padding:22px;box-shadow:0 16px 40px rgba(2,30,23,0.08);font-size:.98rem;color:var(--text);}
.adult-program-section .benefits-panel strong{color:var(--text);}

@keyframes adultFloatUp{from{transform:translateY(-6px);}to{transform:translateY(6px);}}
@keyframes adultFloatDown{from{transform:translateY(6px);}to{transform:translateY(-6px);}}

@media (prefers-reduced-motion: reduce){
  .adult-program-section .adult-image-card{animation:none;transition:none;}
  .adult-program-section .adult-image-card img{transition:none;}
}

@media (max-width:991.98px){
  .adult-program-section .adult-image-wrap{min-height:520px;}
  .adult-program-section .adult-image-composition{min-height:520px;}
  .adult-program-section .adult-image-card--large{position:relative;width:100%;height:auto;transform:none;margin-bottom:1rem;}
  .adult-program-section .adult-image-card--small{position:relative;width:72%;height:auto;transform:none;right:auto;bottom:auto;margin:0 auto;}
}

@media (max-width:767.98px){
  .adult-program-section{padding:1.8rem 0 1.2rem;}
  .adult-program-section .adult-image-wrap{min-height:360px;}
}

@media (max-width:991.98px){
  .kids-program-section .kids-collage{min-height:420px;}
  .kids-program-section .collage-card-large{position:relative;top:0;left:0;width:100%;transform:none;}
  .kids-program-section .collage-card-top,
  .kids-program-section .collage-card-bottom{position:relative;right:0;bottom:0;width:100%;transform:none;}
  .adult-program-section .adult-supporting-images{grid-template-columns:1fr;}
}
@media (max-width:767.98px){
  .kids-program-section .benefits-grid{grid-template-columns:1fr;}
  .kids-program-section .stats-row{grid-template-columns:1fr;}
  .adult-program-section .adult-main-image{min-height:320px;}
}

@keyframes kidsFloat{
  from{transform:translateY(0px);}
  to{transform:translateY(-10px);}
}

.program-info-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:14px;margin:0 0 22px;padding:0 1rem}
@media (max-width:768px){
  .program-info-grid{grid-template-columns:1fr;gap:12px;padding:0 0.75rem}
}
.info-card{background:rgba(255,255,255,0.06);border:1px solid rgba(8,58,54,0.08);border-radius:14px;padding:18px;box-shadow:0 12px 26px rgba(2,30,23,0.05)}
.info-card strong{display:block;margin-bottom:8px;color:var(--heading);font-size:0.99rem;letter-spacing:0.3px}
.info-card p{margin:0;color:var(--muted);font-size:.96rem;line-height:1.7}

.btn-whatsapp{display:inline-flex;align-items:center;gap:10px}
.btn-whatsapp::before{content:'\f232';font-family:'FontAwesome';font-weight:900;font-size:1rem}

.program-cta-section{position:relative;overflow:hidden;border-radius:22px;margin:24px 0;padding:4rem 0}
.program-cta-section .cta-background{position:absolute;inset:0;background-image:url('../images/classes-3.jpg');background-size:cover;background-position:center;filter:brightness(0.48);transform:scale(1.03)}
.program-cta-section .cta-overlay{position:absolute;inset:0;background:rgba(8,58,54,0.55)}
.program-cta-section .cta-copy{position:relative;z-index:2;color:#fff;padding:0 1rem}
.program-cta-section .cta-copy h2{font-size:clamp(1.8rem,6vw,2.4rem);line-height:1.05;margin-bottom:18px;padding:0 1rem}



.lightbox-close{position:absolute;top:16px;right:16px;z-index:10002;width:44px;height:44px;padding:0;border:none;background:rgba(255,255,255,0.12);color:#ffffff;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1.4rem;transition:all .24s ease;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.lightbox-close:hover,.lightbox-close:focus{background:rgba(255,255,255,0.24);transform:scale(1.08)}
.lightbox-close:active{transform:scale(0.96)}

.lightbox-prev,.lightbox-next{position:absolute;top:50%;transform:translateY(-50%);z-index:10001;width:56px;height:56px;padding:0;border:none;background:rgba(255,255,255,0.12);color:#ffffff;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1.2rem;transition:all .24s ease;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.lightbox-prev:hover,.lightbox-prev:focus,.lightbox-next:hover,.lightbox-next:focus{background:rgba(255,255,255,0.24);transform:translateY(-50%) scale(1.08)}
.lightbox-prev:active,.lightbox-next:active{transform:translateY(-50%) scale(0.96)}
.lightbox-prev{left:16px}
.lightbox-next{right:16px}

.lightbox-counter{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);z-index:10001;background:rgba(0,0,0,0.56);color:#ffffff;padding:8px 16px;border-radius:24px;font-size:0.95rem;font-weight:500;letter-spacing:0.3px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);white-space:nowrap}

/* CSS rule replacements for inline styles */

/* Copyright text styling */
.copyright-text{color:rgba(255,255,255,0.5)}

/* User profile images */
.user-img{background-size:cover;background-position:center}

/* Flex container with width */
.d-flex.w-100{width:100%}

/* Contact form map styling */
.map-frame{border-radius:12px;overflow:hidden;box-shadow:0 12px 34px rgba(2,30,23,0.08)}

.contact-map-block .map-frame iframe{border:0;width:100%;max-width:100%;height:100%;}

/* Map info section */
.map-info{display:flex;align-items:center;gap:18px}

/* Contact info box */
.info-wrap.cta-box{background:linear-gradient(135deg,rgba(42,169,164,0.06),rgba(31,143,133,0.03));border-radius:12px}

.info-wrap.cta-box h3{color:var(--heading)}

.info-wrap.cta-box p{max-width:320px;color:var(--muted)}

.info-wrap.cta-box .studio-hours{margin-top:12px;font-size:14px;color:var(--muted)}

.map-icon-badge{flex:0 0 auto;padding:18px;border-radius:10px;background:linear-gradient(180deg,rgba(42,169,164,0.06),rgba(31,143,133,0.03));box-shadow:0 8px 22px rgba(2,30,23,0.04)}

.map-icon-badge .fa{font-size:20px;color:var(--brand-dark)}


.lightbox-prev:hover,.lightbox-prev:focus,.lightbox-next:hover,.lightbox-next:focus{background:rgba(255,255,255,0.24);transform:translateY(-50%) scale(1.08)}
.lightbox-prev:active,.lightbox-next:active{transform:translateY(-50%) scale(0.96)}
.lightbox-prev{left:16px}
.lightbox-next{right:16px}

.lightbox-counter{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);z-index:10001;background:rgba(0,0,0,0.72);color:#ffffff;padding:8px 16px;border-radius:24px;font-size:0.95rem;font-weight:500;letter-spacing:0.3px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);white-space:nowrap}

@media (max-width:768px){
  .lightbox-content{width:95%;max-width:100vh}
  .lightbox-prev,.lightbox-next{width:44px;height:44px;font-size:1rem}
  .lightbox-close{width:40px;height:40px;font-size:1.2rem;top:12px;right:12px}
  .lightbox-counter{font-size:0.88rem;padding:6px 12px;bottom:12px}
}

@media (max-width:480px){
  .lightbox-content{width:90%}
  .lightbox-prev,.lightbox-next{width:40px;height:40px;font-size:0.9rem}
  .lightbox-close{width:36px;height:36px;font-size:1rem;top:8px;right:8px}
  .lightbox-counter{font-size:0.78rem;padding:4px 10px;bottom:8px}
}

/* ===== DARK THEME OVERRIDES ===== */
/* Apply dark theme when data-theme="dark" is set on html element */
[data-theme="dark"]{
  --bg: #0f172a;
  --card: #1e293b;
  --text: #f8fafc;
  --muted-text: #94a3b8;
  --footer-bg: #0f172a;
  --accent: var(--brand);
  --border: rgba(255,255,255,0.08);
}

/* Text and headings in dark mode */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6{
  color: #f1f5f9;
}

[data-theme="dark"] .heading-section .subheading{
  color: var(--brand);
}

[data-theme="dark"] a{
  color: #4dd9d0;
  transition: color 0.3s ease;
}

[data-theme="dark"] a:hover{
  color: #6feae3;
}

/* Service boxes and cards */
[data-theme="dark"] .dbox{
  background: #1e293b;
  border-color: rgba(255,255,255,0.08);
  color: #f8fafc;
}

[data-theme="dark"] .dbox .icon{
  background: rgba(42,169,164,0.12);
  color: var(--brand);
}

[data-theme="dark"] .dbox:hover{
  background: #334155;
  border-color: rgba(42,169,164,0.3);
}

[data-theme="dark"] .services,
[data-theme="dark"] .services-2,
[data-theme="dark"] .services-3{
  background: #1e293b;
  border-color: rgba(255,255,255,0.08);
  color: #f8fafc;
}

[data-theme="dark"] .services .icon,
[data-theme="dark"] .services-2 .icon,
[data-theme="dark"] .services-3 .icon{
  background: rgba(42,169,164,0.12);
  color: var(--brand);
}

[data-theme="dark"] .services:hover,
[data-theme="dark"] .services-2:hover,
[data-theme="dark"] .services-3:hover{
  background: #334155;
  border-color: rgba(42,169,164,0.3);
}

/* Testimonials */
[data-theme="dark"] .testimony-wrap{
  background: #1e293b;
  border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .testimony-wrap p{
  color: #cbd5e1;
}

[data-theme="dark"] .testimony-wrap .user-name{
  color: #f1f5f9;
}

[data-theme="dark"] .testimony-wrap .user-title{
  color: var(--brand);
}

/* Contact section */
[data-theme="dark"] .contact-wrap{
  background: #1e293b;
  border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .info-wrap-custom{
  background: linear-gradient(135deg, rgba(42,169,164,0.08), rgba(31,143,133,0.05));
  border: 1px solid rgba(255,255,255,0.08);
}

[data-theme="dark"] .contact-wrap p{
  color: #cbd5e1;
}

[data-theme="dark"] .contact-wrap .heading{
  color: #f1f5f9;
}

/* Forms */
[data-theme="dark"] .form-control{
  background: #0f172a;
  border-color: rgba(255,255,255,0.12);
  color: #f8fafc;
}

[data-theme="dark"] .form-control::placeholder{
  color: #64748b;
}

[data-theme="dark"] .form-control:focus{
  background: #0f172a;
  border-color: var(--brand);
  color: #f8fafc;
  box-shadow: 0 0 0 0.2rem rgba(42,169,164,0.25);
}

[data-theme="dark"] textarea.form-control{
  background: #0f172a;
  color: #f8fafc;
}

/* Sections and backgrounds */
[data-theme="dark"] .ftco-section{
  background: #0f172a;
}

[data-theme="dark"] .ftco-section.bg-light{
  background: #1a202c !important;
}

[data-theme="dark"] .testimony-section{
  background: linear-gradient(135deg, #1a202c 0%, #0f172a 100%);
}

/* Counters */
[data-theme="dark"] .ftco-counter{
  background: #1e293b;
}

[data-theme="dark"] .ftco-counter .icon{
  color: var(--brand);
}

/* Topbar */
[data-theme="dark"] .wrap.topbar{
  background: #0a0f1f;
  border-bottom-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .topbar-contact{
  color: #cbd5e1;
}

[data-theme="dark"] .topbar-contact .contact-item{
  color: #cbd5e1;
}

[data-theme="dark"] .topbar-contact .contact-item:hover{
  color: var(--brand);
}

[data-theme="dark"] .topbar-contact .icon{
  color: var(--brand);
}

/* Social links */
[data-theme="dark"] .instagram-link,
[data-theme="dark"] .instagram-link a{
  color: #cbd5e1;
}

[data-theme="dark"] .instagram-link:hover,
[data-theme="dark"] .instagram-link a:hover{
  color: var(--brand);
}

/* Buttons */
[data-theme="dark"] .btn-primary{
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

[data-theme="dark"] .btn-primary:hover,
[data-theme="dark"] .btn-primary:focus{
  background: #1F8F85;
  border-color: #1F8F85;
}

[data-theme="dark"] .btn-secondary{
  background: #334155;
  border-color: #334155;
  color: #f8fafc;
}

[data-theme="dark"] .btn-secondary:hover,
[data-theme="dark"] .btn-secondary:focus{
  background: #475569;
  border-color: #475569;
}

/* Icons in dark mode */
[data-theme="dark"] .icon{
  color: var(--brand);
}

/* Footer */
[data-theme="dark"] .ftco-footer{
  background: #0a0f1f;
  border-top-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .ftco-footer-heading{
  color: #f1f5f9;
}

[data-theme="dark"] .ftco-footer-heading-2{
  color: #f1f5f9;
}

/* Gallery items */
[data-theme="dark"] .gallery-item{
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}

[data-theme="dark"] .gallery-item:hover{
  border-color: var(--brand);
}

/* Info cards and boxes */
[data-theme="dark"] .info-box,
[data-theme="dark"] .info-wrap{
  background: #1e293b;
  border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .info-box p,
[data-theme="dark"] .info-wrap p{
  color: #cbd5e1;
}

/* Program boxes */
[data-theme="dark"] .program-box{
  background: #1e293b;
  color: #f8fafc;
}

[data-theme="dark"] .program-box:hover{
  background: #334155;
}

/* Decorative elements */
[data-theme="dark"] hr{
  border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .divider{
  background: linear-gradient(90deg, transparent, rgba(42,169,164,0.3), transparent);
}

/* Table elements */
[data-theme="dark"] table{
  color: #f8fafc;
  border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] th{
  background: #1e293b;
  color: #f1f5f9;
  border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] td{
  border-color: rgba(255,255,255,0.08);
}

/* List items */
[data-theme="dark"] .list-item,
[data-theme="dark"] .list-group-item{
  background: #1e293b;
  border-color: rgba(255,255,255,0.08);
  color: #cbd5e1;
}

/* Badge elements */
[data-theme="dark"] .badge-primary{
  background: var(--brand);
  color: #ffffff;
}

/* Alerts */
[data-theme="dark"] .alert{
  background: #1e293b;
  border-color: rgba(255,255,255,0.12);
  color: #cbd5e1;
}

[data-theme="dark"] .alert-info{
  background: rgba(42,169,164,0.1);
  border-color: rgba(42,169,164,0.3);
  color: #26d0c4;
}

/* Modals */
[data-theme="dark"] .modal-content{
  background: #1e293b;
  border-color: rgba(255,255,255,0.12);
}

[data-theme="dark"] .modal-header{
  border-bottom-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .modal-title{
  color: #f1f5f9;
}

[data-theme="dark"] .modal-body{
  color: #cbd5e1;
}

[data-theme="dark"] .close{
  color: #f8fafc;
}

/* Dark mode - Programs section */
[data-theme="dark"] .programs-preview{
  background: linear-gradient(180deg, rgba(42,169,164,0.02), rgba(42,169,164,0.00));
}

[data-theme="dark"] .programs-preview .card{
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 34px rgba(0,0,0,0.3);
  color: #ffffff;
}

[data-theme="dark"] .programs-preview .card:hover{
  background: #334155;
  border-color: rgba(42,169,164,0.3);
  box-shadow: 0 16px 44px rgba(42,169,164,0.15);
}

[data-theme="dark"] .programs-preview .card .card-title{
  color: #ffffff;
}

[data-theme="dark"] .programs-preview .card .card-text{
  color: #e0e7ff;
}

[data-theme="dark"] .programs-preview .card .icon{
  background: linear-gradient(180deg, rgba(42,169,164,0.12), rgba(31,143,133,0.06));
  color: var(--brand);
}

[data-theme="dark"] main.programs-list{
  background: radial-gradient(circle at top, rgba(15,23,42,0.95), rgba(15,23,42,1));
}

[data-theme="dark"] .program-section{
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  color: #ffffff !important;
}

[data-theme="dark"] .program-section:hover{
  box-shadow: 0 40px 110px rgba(42,169,164,0.12);
}

[data-theme="dark"] .program-section .program-card-body{
  color: #ffffff;
}

[data-theme="dark"] .program-section .program-duration{
  color: #2AA9A4;
}

[data-theme="dark"] .program-section .program-duration i{
  color: #2AA9A4;
}

[data-theme="dark"] .program-section .program-badge{
  background: rgba(42,169,164,0.15);
  border-color: rgba(42,169,164,0.3);
  color: #ffffff;
}

[data-theme="dark"] .program-section .program-badge i{
  color: #2AA9A4;
}

[data-theme="dark"] .program-section h2{
  color: #ffffff !important;
}

[data-theme="dark"] .program-section h3{
  color: #ffffff !important;
}

[data-theme="dark"] .program-section h4{
  color: #f0f4f8 !important;
}

[data-theme="dark"] .program-section h5{
  color: #f0f4f8 !important;
}

[data-theme="dark"] .program-section h6{
  color: #f0f4f8 !important;
}

[data-theme="dark"] .program-section p{
  color: #e0e7ff !important;
}

[data-theme="dark"] .program-section .content-copy p{
  color: #e0e7ff !important;
}

[data-theme="dark"] .program-section ul{
  color: #e0e7ff !important;
}

[data-theme="dark"] .program-section ul li{
  color: #e0e7ff !important;
}

[data-theme="dark"] .program-section ol{
  color: #e0e7ff !important;
}

[data-theme="dark"] .program-section ol li{
  color: #e0e7ff !important;
}

[data-theme="dark"] .program-section .pricing-info{
  background: #0f172a;
  border-color: rgba(42,169,164,0.2);
  color: #ffffff;
}

[data-theme="dark"] .program-section .btn-primary{
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

/* ===== Dark Theme - Featured Programs & View All Programs ===== */
[data-theme="dark"] .featured-programs-header{
  background:linear-gradient(180deg,rgba(20,30,40,0.8) 0%,rgba(15,23,42,1) 100%);
}

[data-theme="dark"] .featured-programs-intro h2{
  color:#f1f5f9;
}

[data-theme="dark"] .view-all-programs-section{
  background:linear-gradient(180deg,rgba(15,23,42,1) 0%,rgba(20,30,40,0.8) 100%);
}

[data-theme="dark"] .kids-heading{
  color:#f1f5f9 !important;
}

/* ======================================================================
   Responsive refactor overrides (mobile-first fixes)
   - Keep these overrides at the end so they take precedence.
   - Purely layout/spacing/interaction changes; visual/animation unchanged.
   ====================================================================== */

/* Prevent negative .row margins from causing horizontal scroll on small screens */
@media (max-width:1024px){
  .row{margin-left:0;margin-right:0;max-width:100%;box-sizing:border-box}
}

/* 1) Mobile Header: stack/hide non-essential items below 768px and prevent overlap */
@media (max-width:767px){
  /* Stack topbar content; allow items to wrap naturally */
  .wrap.topbar .row{flex-direction:column;align-items:flex-start;gap:6px;padding:8px 0}
  .wrap.topbar .col-12{min-width:0}
  .topbar-contact{display:flex;flex-wrap:wrap;gap:0.35rem;align-items:center}
  .topbar-contact .contact-item{padding:0.45rem 0.6rem;border-radius:999px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  /* Hide separators and non-critical labels to save space */
  .topbar-sep{display:none}
  .follow-label{display:none}
  .social-media{order:3;align-self:flex-end}
}

/* On very small screens, collapse contact text but keep icons accessible */
@media (max-width:420px){
  .topbar-contact .contact-item .contact-text{display:none}
  .topbar-contact .contact-item{padding:0.45rem}
}

/* ===== Featured Programs Section ===== */
.featured-programs-header{
  padding:clamp(2rem,6vw,3.5rem) 0;
  background:linear-gradient(180deg,rgba(245,250,246,0.5) 0%,rgba(238,244,239,1) 100%);
}

.featured-programs-intro{
  text-align:center;
}

.featured-programs-intro h2{
  font-size:clamp(2rem,6vw,2.8rem);
  font-weight:700;
  color:var(--heading);
  margin:0;
  letter-spacing:-0.5px;
}

/* ===== Enlarge Kids Yoga Heading ===== */
.kids-heading{
  font-size:clamp(1.8rem,5vw,2.4rem) !important;
  font-weight:700;
  color:var(--heading);
  line-height:1.2;
  margin-bottom:1rem;
}

/* ===== View All Programs Section ===== */
.view-all-programs-section{
  padding:clamp(1.5rem,5vw,3rem) 0;
  background:linear-gradient(180deg,rgba(238,244,239,1) 0%,rgba(245,250,246,0.5) 100%);
  text-align:center;
}

.view-all-programs-cta{
  display:flex;
  justify-content:center;
  align-items:center;
}

.view-all-programs-cta p{
  margin:0;
}

.btn-lg{
  padding:1rem 2.2rem !important;
  font-size:1.05rem;
  border-radius:32px;
}

@media (max-width:768px){
  .featured-programs-intro h2{
    font-size:1.8rem;
  }
  
  .kids-heading{
    font-size:1.6rem;
  }
  
  .btn-lg{
    padding:0.9rem 1.8rem !important;
    font-size:1rem;
  }
}

@media (max-width:576px){
  .featured-programs-header{
    padding:1.5rem 0;
  }
  
  .featured-programs-intro h2{
    font-size:1.5rem;
  }
  
  .kids-heading{
    font-size:1.4rem;
  }
  
  .view-all-programs-section{
    padding:1.25rem 0;
  }
  
  .btn-lg{
    padding:0.75rem 1.5rem !important;
    font-size:0.95rem;
  }
}

/* 3) Hero: reduce excessive height and whitespace on mobile */
@media (max-width:767px){
  .hero-wrap{min-height:45vh;height:auto;padding:36px 0}
  .hero-wrap .container{padding-top:8px;padding-bottom:8px}
  .hero-wrap .slider-text{margin-top:0}
}

@media (max-width:480px){
  .hero-wrap{min-height:40vh;padding:28px 0}
}

/* 4) Program Cards/Grid: responsive columns and consistent gaps */
/* If .programs-preview uses bootstrap rows, this grid acts as a safe override */
.programs-preview .row{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media (min-width:768px) and (max-width:1024px){
  .programs-preview .row{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:767px){
  .programs-preview .row{grid-template-columns:1fr}
  .programs-preview .card{width:100%;box-sizing:border-box}
}

/* Ensure program sections convert to single-column on narrow screens */
@media (max-width:767px){
  .program-section .row{flex-direction:column}
  .program-section .program-image{margin-bottom:12px}
}

/* 5) Container & Layout: enforce no horizontal scroll and safe max widths */
html,body{max-width:100%}
@media (max-width:1024px){
  .container{padding-left:1rem;padding-right:1rem}
}

/* 6) Floating WhatsApp Button: keep above edges and above footer */
.whatsapp-button{right:18px;bottom:calc(22px + env(safe-area-inset-bottom));z-index:99999}
@media (max-width:480px){
  .whatsapp-button{right:12px;bottom:calc(12px + env(safe-area-inset-bottom));width:48px;height:48px}
}

/* 7) General responsive helpers: touch targets and typography tweaks */
@media (max-width:1024px){
  .btn, .program-button, .navbar-nav .nav-link{min-height:44px}
}
@media (max-width:768px){
  body{font-size:15px}
  h1{font-size:1.9rem}
}
@media (max-width:480px){
  body{font-size:14px}
  h1{font-size:1.6rem}
}

/* End of responsive refactor overrides */

[data-theme="dark"] .program-section .btn-primary:hover{
  background: #1F8F85;
  border-color: #1F8F85;
}

[data-theme="dark"] .program-section .btn-secondary{
  background: #334155;
  border-color: #334155;
  color: #ffffff;
}

[data-theme="dark"] .program-section .btn-secondary:hover{
  background: #475569;
  border-color: #475569;
}

[data-theme="dark"] .program-section strong,
[data-theme="dark"] .program-section b{
  color: #ffffff;
}

[data-theme="dark"] .program-section a{
  color: #4dd9d0;
}

[data-theme="dark"] .program-section a:hover{
  color: #26d0c4;
}

/* Dark mode - Program meta cards and details */
[data-theme="dark"] .program-section .program-meta-card{
  background: #0f172a !important;
  border-color: rgba(42,169,164,0.2) !important;
}

[data-theme="dark"] .program-section .program-meta-card h5{
  color: #ffffff !important;
}

[data-theme="dark"] .program-section .program-meta-card p{
  color: #e0e7ff !important;
}

[data-theme="dark"] .program-section .program-highlight{
  background: rgba(42,169,164,0.12) !important;
  color: #ffffff !important;
}

[data-theme="dark"] .program-section .lead{
  color: #cbd5e1 !important;
}

[data-theme="dark"] .program-section .program-button{
  background: linear-gradient(135deg, #2AA9A4, #1F8F85) !important;
  color: #ffffff !important;
}

[data-theme="dark"] .program-section .program-button::after{
  background: rgba(255,255,255,0.1) !important;
}

[data-theme="dark"] .program-section .program-card-footer .program-badge-secondary{
  color: #cbd5e1 !important;
}
.lightbox-content{width:98%;aspect-ratio:auto;max-height:70vh}
.lightbox-prev,.lightbox-next{width:40px;height:40px;font-size:0.9rem}
.lightbox-prev{left:8px}
.lightbox-next{right:8px}
.lightbox-close{width:36px;height:36px;font-size:1rem;top:8px;right:8px}
.program-cta-section .cta-copy p{max-width:min(720px,90vw);margin:0 auto 24px;padding:0 1rem;color:rgba(255,255,255,0.86);font-size:1.05rem;line-height:1.85}
.program-cta-section .cta-buttons{display:flex;justify-content:center;gap:clamp(8px,3vw,14px);flex-wrap:wrap;padding:0 1rem}
@media (max-width:576px){
  .program-cta-section .cta-buttons{gap:10px;padding:0 0.75rem}
}
@media (max-width:480px){
  .program-cta-section .cta-buttons{gap:8px;padding:0 0.5rem}
  .program-cta-section .btn{font-size:0.95rem;padding:0.6rem 1rem}
}
.program-cta-section .btn-outline-primary{border-color:rgba(255,255,255,0.75);color:#fff}
.program-cta-section .btn-outline-primary:hover{background:rgba(255,255,255,0.18);color:#fff}

.image-inner{position:relative;overflow:hidden;border-radius:12px}
.image-inner img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.9,.3,1)}
.image-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,30,23,0.12),rgba(2,30,23,0.18));opacity:0;transform:translateY(6px);transition:opacity .36s ease,transform .36s ease}
.image-inner:hover img{transform:scale(1.08)}
.image-inner:hover .image-overlay{opacity:1;transform:translateY(0)}

/* Decorative hero floating shapes */
.hero-deco{position:absolute;width:160px;height:160px;border-radius:50%;pointer-events:none;filter:blur(12px);opacity:0.45;mix-blend-mode:screen}
.hero-deco.deco-1{right:6%;top:18%;background:radial-gradient(circle at 30% 30%, rgba(42,169,164,0.28), rgba(31,143,133,0.08))}
.hero-deco.deco-2{left:8%;bottom:12%;width:220px;height:220px;background:radial-gradient(circle at 40% 40%, rgba(42,169,164,0.18), rgba(8,58,54,0.02))}

@media (max-width:900px){
  .benefits-grid{grid-template-columns:repeat(2,1fr)}
  .program-categories ul{gap:8px}
}
@media (max-width:576px){
  .benefits-grid{grid-template-columns:1fr}
  .stats-grid{flex-direction:column;align-items:center}
  .hero-deco{display:none}
}

/* Instagram section styling */
.instagram-section{background:linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));padding:48px 0}
.instagram-section h2{font-size:2.1rem;margin-bottom:8px;color:var(--heading);font-weight:700}
.instagram-section p{color:var(--muted);font-size:1.02rem;margin-bottom:6px}
.instagram-cta{color:var(--brand-dark);font-weight:600;margin-bottom:12px}
.instagram-meta{gap:14px}
.insta-icon{font-size:34px;color:#fff;width:56px;height:56px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:linear-gradient(45deg,#f58529,#dd2a7b,#8134af);box-shadow:0 8px 26px rgba(0,0,0,0.12);transition:transform .22s ease}
.insta-icon .fa{font-size:20px}
.insta-info{line-height:1}
.insta-username a{color:var(--heading);font-weight:700}
.insta-sub{color:var(--muted);font-size:0.92rem}
.btn-instagram{background:linear-gradient(45deg,#dd2a7b,#f58529);border:none;color:#fff;padding:.6rem 1.05rem;border-radius:30px;box-shadow:0 12px 30px rgba(221,42,123,0.12);transition:transform .18s ease,box-shadow .18s ease}
.btn-instagram:hover{transform:translateY(-4px);box-shadow:0 20px 40px rgba(31,143,133,0.12)}

@media (max-width:767px){
  .instagram-meta{flex-direction:column;gap:10px}
  .insta-icon{width:48px;height:48px}
  .btn-instagram{width:100%;max-width:340px}
  .instagram-section{padding:36px 0}
}

/* Global social icon styles — single Instagram icon only */
.social-media .fa, .ftco-footer-social .fa{font-size:18px;color:var(--heading);transition:transform .18s ease,box-shadow .18s ease}
.social-media a, .ftco-footer-social a{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:8px;background:transparent;transition:transform .18s ease,box-shadow .18s ease}
.social-media a:focus, .ftco-footer-social a:focus{outline:3px solid rgba(31,143,133,0.14);outline-offset:4px}
.social-media a:hover, .ftco-footer-social a:hover{transform:translateY(-4px) scale(1.06);box-shadow:0 12px 30px rgba(31,143,133,0.08)}

@media (max-width:480px){
  .social-media a, .ftco-footer-social a{width:36px;height:36px}
}



/* Override inline styles using CSS attribute selectors */
[style*="background-image:url(images/bg_1.jpg)"],
[style*="background-image:url(images/about.jpg)"],
[style*="background-image: url(images/about-2.jpg)"],
[style*="background-image: url(images/bg_3.jpg)"],
[style*="background-image: url(images/bg_2.jpg)"],
[style*="background-image: url('images/bg_4.png')"]{
  background-size:cover !important;
  background-position:center !important;
}

/* Override text colors */
[style*="color: rgba(255,255,255,.5)"]{
  color:rgba(255,255,255,0.5) !important;
}

/* Contact form gradient boxes */
[style*="background:linear-gradient(135deg, rgba(42,169,164,0.06)"]{
  background:linear-gradient(135deg,rgba(42,169,164,0.06),rgba(31,143,133,0.03)) !important;
  border-radius:12px !important;
}

/* Override inline widths */
[style*="width: 100%"]{
  width:100% !important;
}

/* Override inline font sizes */
[style*="font-size:20px"]{
  font-size:20px !important;
}

/* Map frame borders */
[style*="border:0;"]{
  border:0 !important;
}

/* ===== WEBSITE POLISH & IMPROVEMENTS ===== */

/* TASK 1: Program Section Image Sizing Uniformity */
/* Ensure all program section images display at the same size and aspect ratio */
.program-section .program-image {
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 420px;
}

.program-section .program-image .image-inner {
  aspect-ratio: 4 / 3;
  height: 100%;
}

.program-section .program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile: Maintain 4:3 aspect ratio for consistency */
@media (max-width: 767px) {
  .program-section .program-image {
    aspect-ratio: 4 / 3;
    min-height: 280px;
  }
  
  .program-section .program-image .image-inner {
    aspect-ratio: 4 / 3;
  }
}

/* TASK 2: Mobile Menu Contact Gap Fix */
/* Remove excessive spacing around Contact menu item on mobile */
@media (max-width: 768px) {
  .navbar-nav .nav-link {
    padding: 1rem 1.2rem !important;
    margin: 0 !important;
  }
  
  .navbar-nav .nav-item:last-child .nav-link {
    margin-bottom: 0 !important;
    padding-bottom: 1rem !important;
  }
  
  .navbar-collapse {
    padding-bottom: 1rem !important;
  }
}

/* TASK 3: Program Categories Gradient Text Effect */
/* Apply professional gradient text to program category navigation links */
.program-categories a {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--brand);
  font-weight: 700;
  transition: all 0.22s ease;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not (-webkit-background-clip: text) {
  .program-categories a {
    color: var(--brand);
    background: transparent;
  }
}

/* Hover state: solid color background */
.program-categories a:hover {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(17, 96, 78, 0.16);
}

/* Active state: solid color background */
.program-categories a.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(17, 96, 78, 0.16);
}

/* Ensure gradient works on mobile */
@media (max-width: 768px) {
  .program-categories a {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}



