/* =====================================================
   SANGEETA ACADEMY — Complete UI Redesign 2026
   Vibrant & Energetic Theme
   ===================================================== */

/* ── DESIGN TOKENS ─────────────────────────────────── */
:root {
  /* Brand colours */
  --pink:          #F72585;
  --pink-mid:      #B5179E;
  --pink-dark:     #C2185B;
  --pink-light:    #FFF0F8;
  --pink-glass:    rgba(247,37,133,0.12);
  --purple:        #7209B7;
  --purple-light:  #EDE7F6;
  --purple-glass:  rgba(114,9,183,0.12);
  --teal:          #4CC9F0;
  --teal-dark:     #0097A7;
  --orange:        #F77F00;

  /* Surface colours — strict 3-level system */
  --surface-dark:   #0D0818;   /* darkest — hero, wt-section (deep brand purple-black) */
  --surface-dark-2: #160D28;   /* mid-dark — testimonials (deep purple, not charcoal) */
  --surface-mid:    #F6F6FC;   /* light tint — classes, gallery, blog */
  --surface-light:  #FFFFFF;   /* pure white — about, contact */

  /* Backwards compat aliases */
  --dark:   #0D0818;
  --dark-2: #160D28;
  --dark-3: #1E0F38;
  --bg:     #F4F5FF;
  --white:  #FFFFFF;

  /* Text */
  --text:          #374151;
  --text-light:    #6B7280;
  --text-muted:    #9CA3AF;
  --border:        #E5E7EB;

  /* Gradients */
  --grad-main:     linear-gradient(135deg, #F72585 0%, #7209B7 100%);
  --grad-cool:     linear-gradient(135deg, #7209B7 0%, #4CC9F0 100%);
  --grad-warm:     linear-gradient(135deg, #F72585 0%, #F77F00 100%);
  --grad-dark:     linear-gradient(135deg, #0D0818 0%, #160D28 100%);

  /* Shadows */
  --shadow-xs:     0 1px 3px rgba(0,0,0,0.08);
  --shadow-sm:     0 4px 16px rgba(0,0,0,0.08);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.15);
  --shadow-pink:   0 8px 32px rgba(247,37,133,0.28);
  --shadow-purple: 0 8px 32px rgba(114,9,183,0.22);

  /* Radii — standardised */
  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s var(--ease);
}

/* ── RESET & BASE ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', 'Poppins', sans-serif;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }
section { padding: 0; }

/* ── UTILITY ────────────────────────────────────────── */
.grad-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-wrap { padding: 90px 0; }
.section-wrap-sm { padding: 60px 0; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--pink);
  background: var(--pink-light);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
  font-family: 'Nunito', sans-serif;
}

/* On dark-background sections */
.section-label--dark {
  background: var(--pink-glass);
  border: 1px solid rgba(247,37,133,0.28);
  color: rgba(255,255,255,0.85);
}

.section-heading {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

/* ── BUTTONS ────────────────────────────────────────── */
.btn-pink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-main);
  color: var(--white);
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-pink);
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-pink:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(247,37,133,0.45);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

/* ── TOP INFO BAR ───────────────────────────────────── */
.site-header {
  display: none !important;
}

.site-header p,
.site-header i {
  color: rgba(17,24,39,0.82);
  font-size: 0.78rem;
  margin: 0;
}

.site-header a {
  color: rgba(114,9,183,0.95) !important;
  font-weight: 600;
  font-size: 0.78rem;
}

.site-header a:hover { color: var(--pink) !important; }

.site-header .social-top {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-header .social-top a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, rgba(247,37,133,0.12) 0%, rgba(114,9,183,0.12) 100%);
  border-radius: 50%;
  color: var(--purple) !important;
  font-size: 0.74rem;
  transition: var(--transition);
  border: 1px solid rgba(247,37,133,0.15);
}

.site-header .social-top a:hover {
  background: var(--grad-main);
  color: white !important;
  transform: translateY(-2px);
}

/* ── NAVBAR ─────────────────────────────────────────── */
.sticky-top { position: sticky; top: 0; z-index: 1000; }

.navbar {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.08);
}

.toplogo { height: 50px; width: auto; }

/* Hamburger toggler — clean, no border box */
.navbar-toggler {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(114,9,183,0.06) !important;
  transition: background 0.2s ease;
}
.navbar-toggler:hover,
.navbar-toggler:focus {
  background: rgba(114,9,183,0.12) !important;
  box-shadow: none !important;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%237209B7' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  width: 22px;
  height: 22px;
}

.navbar .navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.2px;
  position: relative;
}

.navbar .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--grad-main);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
  width: 60%;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--pink);
}

.navbar .nav-cta {
  background: var(--grad-main);
  color: white !important;
  border-radius: 50px;
  padding: 9px 22px !important;
  font-size: 0.88rem !important;
  box-shadow: var(--shadow-pink);
  margin-left: 8px;
}

.navbar .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(247,37,133,0.45);
  color: white !important;
}

.navbar .nav-cta::after { display: none; }

.navbar .bi-phone { font-style: normal; }
.navbar .bi-phone a { color: var(--pink); font-weight: 600; }

/* ── HERO CAROUSEL ──────────────────────────────────── */
.hero-section { position: relative; }

.hero-section .carousel-item img {
  height: 88vh;
  min-height: 500px;
  max-height: 720px;
  object-fit: cover;
  object-position: center 40%;
  width: 100%;
}

/* dark overlay — deep purple/indigo dominant, minimal pink */
.hero-section .carousel-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(13,13,26,0.78) 0%,
    rgba(55,10,120,0.52) 40%,
    rgba(114,9,183,0.38) 70%,
    rgba(76,201,240,0.15) 100%
  );
}

/* hero text overlay */
.hero-caption {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 0 5%;
  pointer-events: none; /* allow clicks to pass through to carousel controls */
}

.hero-caption-inner {
  pointer-events: all; /* re-enable clicks for buttons inside the caption */
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(247,37,133,0.2);
  border: 1px solid rgba(247,37,133,0.5);
  color: #FF8DC7;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title span {
  background: linear-gradient(90deg, #FF8DC7, #C77DFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }

/* Social icons below buttons — inline layout */
.hero-social {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-social-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: rgba(255,255,255,0.72);
  margin: 0;
  white-space: nowrap;
}

.hero-social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: white;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(6px);
}

.hero-social-icons a:hover {
  background: linear-gradient(135deg, #FF8DC7 0%, #C77DFF 100%);
  border-color: rgba(255,255,255,0.3);
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 12px 32px rgba(255,141,199,0.5);
}

/* hero slide label pill */
.carcaphead { display: none; }

/* carousel controls — z-index must exceed .hero-caption (10) */
.carousel-control-prev,
.carousel-control-next {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  z-index: 20;
  pointer-events: all;
}

.carousel-control-prev { left: 24px; }
.carousel-control-next { right: 24px; }

.carousel-indicators {
  bottom: 24px;
  gap: 6px;
  margin: 0;
  z-index: 20;
}

.carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  transition: var(--transition);
  pointer-events: all;
}

.carousel-indicators .active {
  background: var(--pink);
  width: 28px;
  border-radius: 4px;
}

/* ── STATS STRIP ────────────────────────────────────── */
.stats-strip {
  background: var(--grad-main);
  padding: 36px 0;
  position: relative;
  overflow: hidden;
}

.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-item {
  text-align: center;
  color: white;
  position: relative;
}

.stat-number {
  font-family: 'Nunito', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0.88;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.25);
  margin: auto;
}

/* ── CLASSES SECTION ────────────────────────────────── */
.classes-section { background: var(--surface-mid); }

/* ── CLASS CARDS — full-image overlay style ────────── */
.class-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.class-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.class-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s var(--ease);
}

.class-card:hover > img {
  transform: scale(1.06);
}

/* Dark gradient from bottom — always visible */
.class-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,13,26,0.92) 0%,
    rgba(13,13,26,0.55) 40%,
    rgba(13,13,26,0.08) 70%,
    transparent 100%
  );
  z-index: 1;
  transition: var(--transition);
}

.class-card:hover::after {
  background: linear-gradient(
    to top,
    rgba(114,9,183,0.90) 0%,
    rgba(247,37,133,0.50) 45%,
    rgba(13,13,26,0.05) 75%,
    transparent 100%
  );
}

/* Category pill at top-left */
.class-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.25);
}

.class-card-tag i { font-size: 0.78rem; }

/* Content overlay at bottom */
.class-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px;
  z-index: 2;
}

.class-card-content h5 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.class-card-content p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
  margin-bottom: 14px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease), opacity 0.3s ease;
}

.class-card:hover .class-card-content p {
  max-height: 120px;
  opacity: 1;
}

.class-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
  text-decoration: none;
}

.class-card-link i {
  transition: transform 0.3s ease;
}

.class-card:hover .class-card-link i { transform: translateX(4px); }

/* ── GALLERY LIGHTBOX MODAL ────────────────────────── */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-modal img {
  max-width: 88vw;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  transform: scale(0.94) translateY(8px);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.22,1,0.36,1), opacity 0.28s ease;
  will-change: transform, opacity;
}

.lightbox-modal.active img {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.lightbox-modal.is-loading img {
  opacity: 0;
  transform: scale(0.985) translateY(4px);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}

.lightbox-close:hover {
  background: rgba(247,37,133,0.5);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}

.lightbox-nav:hover { background: rgba(247,37,133,0.5); }

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
}

/* ── ABOUT SECTION ──────────────────────────────────── */
.about-section { background: var(--surface-light); }

.about-img-wrap {
  position: relative;
  display: inline-block;
}

.about-img-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-height: 540px;
  object-fit: cover;
}

.about-img-badge {
  position: absolute;
  top: 28px;
  right: -20px;
  background: var(--grad-main);
  color: white;
  border-radius: var(--radius);
  padding: 18px 24px;
  text-align: center;
  box-shadow: var(--shadow-pink);
}

.about-img-badge .badge-num {
  font-family: 'Nunito', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.about-img-badge .badge-txt {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.9;
}

.about-content { padding-left: 20px; }

.about-tag-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }

.about-tag {
  background: var(--grad-main);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
}

.about-tag.alt {
  background: var(--purple-light);
  color: var(--purple);
}

.about-list { list-style: none; padding: 0; margin: 0 0 28px; }

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.5;
}

.about-list li .icon-wrap {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--pink-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* ── GALLERY ────────────────────────────────────────── */
.gallery-section { background: var(--surface-mid); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-main);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-open-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.5);
  transition: var(--transition);
}

.gallery-open-btn i {
  font-size: 2.2rem;
  color: white;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 0.45; }
.gallery-item:hover .gallery-open-btn { transform: scale(1); }

/* ── VIDEO SECTION ──────────────────────────────────── */
.video-section {
  background: var(--surface-light);
}

.video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/9;
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* ── BLOG SECTION ───────────────────────────────────── */
.blog-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 320px at 14% 18%, rgba(247,37,133,0.10), transparent 68%),
    radial-gradient(560px 300px at 86% 82%, rgba(114,9,183,0.10), transparent 66%),
    var(--surface-mid);
}

.blog-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, #ffffff 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(114,9,183,0.10);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  height: 100%;
  padding: 12px;
  position: relative;
}

.blog-card:hover {
  border-color: rgba(247,37,133,0.28);
  box-shadow: 0 14px 36px rgba(31,41,55,0.14);
  transform: translateY(-6px);
}

.blog-card-img {
  width: 116px;
  height: 116px;
  flex-shrink: 0;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(247,37,133,0.08), rgba(114,9,183,0.08));
  border: 1px solid rgba(114,9,183,0.14);
  display: grid;
  place-items: center;
  padding: 12px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: 6px 10px 6px 2px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-category {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--pink);
  margin-bottom: 7px;
}

.blog-card-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 6px;
}

.blog-card-body p {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 12px;
}

.blog-read-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-read-link:hover { gap: 8px; color: var(--purple); }

/* ── TESTIMONIALS ───────────────────────────────────── */
.testimonials-section {
  background: var(--surface-dark-2);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(247,37,133,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(76,201,240,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials-section .section-heading { color: white; }
.testimonials-section .section-label {
  background: var(--pink-glass);
  border: 1px solid rgba(247,37,133,0.28);
  color: rgba(255,255,255,0.85);
}

.testi-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  height: 100%;
}

.testi-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(247,37,133,0.3);
  transform: translateY(-4px);
}

.testi-quote {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 12px;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: Georgia, serif;
}

.testi-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 20px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pink);
}

.testi-author-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: white;
}

.testi-stars {
  color: #FFC107;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

/* ── CONTACT SECTION ────────────────────────────────── */
.contact-section { background: var(--surface-light); }

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  box-shadow: var(--shadow-sm);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.form-field { margin-bottom: 18px; }

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  display: block;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  transition: var(--transition);
  outline: none;
  background: var(--white);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(247,37,133,0.1);
}

.form-field textarea { resize: vertical; min-height: 110px; }

/* ── FOOTER ─────────────────────────────────────────── */
.footer-main {
  background: var(--dark);
  padding: 70px 0 40px;
  color: rgba(255,255,255,0.65);
  position: relative;
  overflow: hidden;
}

.footer-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-main);
}

.footer-logo { height: 48px; width: auto; margin-bottom: 18px; filter: brightness(1.1); }

.footer-about {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-social { display: flex; gap: 10px; }

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--pink);
  color: white;
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: white;
  margin-bottom: 20px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.footer-links a::before {
  content: '›';
  color: var(--pink);
  font-size: 1rem;
  line-height: 1;
}

.footer-links a:hover { color: var(--pink); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

.footer-contact-item i {
  color: var(--pink);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item a { color: rgba(255,255,255,0.65); }
.footer-contact-item a:hover { color: var(--pink); }

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 16px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--pink); }

/* ── WHATSAPP FLOAT ─────────────────────────────────── */
.whatsAppfloat {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 32px;
  right: 32px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  z-index: 9999;
  transition: var(--transition);
}

.whatsAppfloat:hover {
  color: white;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 32px rgba(37,211,102,0.65);
}

.mywhatsapp { margin: 0; line-height: 1; }

/* ── SCROLL ANIMATIONS ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ─────────────────────────────────────── */

/* ---- Tablet (max 991px) ---- */
@media (max-width: 991px) {
  .about-content { padding-left: 0; margin-top: 40px; }
  .about-img-badge { right: 10px; top: 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .class-card { height: 360px; }
  .class-card-content h5 { font-size: 1.15rem; }

  /* Navbar mobile toggle */
  .navbar-collapse {
    background: #fff;
    border-radius: 0 0 20px 20px;
    padding: 8px 0 16px;
    margin-top: 0;
    box-shadow: 0 12px 32px rgba(114,9,183,0.10);
    border-top: 1px solid rgba(114,9,183,0.08);
  }
  .navbar .navbar-nav { padding: 0 8px; }
  .navbar .navbar-nav .nav-item { border-bottom: 1px solid rgba(114,9,183,0.06); }
  .navbar .navbar-nav .nav-item:last-child { border-bottom: none; }
  .navbar .navbar-nav .nav-link {
    padding: 13px 16px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
  }
  .navbar .navbar-nav .nav-link::after { display: none; }
  .navbar .nav-cta {
    margin: 12px 16px 0;
    padding: 12px 20px !important;
    text-align: center;
    display: block;
    border-radius: 14px !important;
  }

  /* Contact form */
  .contact-section .row { flex-direction: column; align-items: flex-start; }
  .contact-section .row > [class*="col-"] { width: 100%; height: auto !important; flex: 0 0 auto !important; }
  .contact-map { height: 250px !important; min-height: 0 !important; max-height: 250px !important; overflow: hidden !important; }
  .contact-map iframe { height: 250px !important; min-height: 0 !important; }
}

/* ---- Tablet portrait / large phone (max 768px) ---- */
@media (max-width: 768px) {
  .section-wrap { padding: 60px 0; }
  .section-heading { font-size: 1.7rem; }
  .section-sub { font-size: 0.9rem; margin-bottom: 32px; }

  /* Hero — reduce height at tablet to show more image width */
  .hero-section .carousel-item img { height: 55vh; min-height: 300px; object-position: center center; }
  .hero-title { font-size: 2rem; }
  .hero-sub { font-size: 0.92rem; max-width: 100%; }
  .carousel-control-prev,
  .carousel-control-next { width: 38px; height: 38px; }
  .carousel-control-prev { left: 12px; }
  .carousel-control-next { right: 12px; }

  /* Stats */
  .stat-number { font-size: 2rem; }
  .stat-divider { display: none; }
  .stats-strip { padding: 28px 0; }

  /* Class cards */
  .class-card { height: 320px; }
  .class-card-content { padding: 20px 18px; }
  .class-card-content h5 { font-size: 1.05rem; }
  .class-card-content p { font-size: 0.8rem; }
  .class-card-tag { font-size: 0.65rem; padding: 4px 10px; top: 12px; left: 12px; }

  /* Gallery */
  .gallery-grid { gap: 10px; }
  .gallery-overlay i { font-size: 1.4rem; }

  /* Blog cards — stacked layout on tablet */
  .blog-card { flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; }
  .blog-card-img {
    width: 100%;
    height: 240px;           /* fixed height — square 800×800 image scales to fit (contain) */
    border-radius: 16px 16px 0 0;
    padding: 0;
    border-bottom: 1px solid rgba(114,9,183,0.08);
    background: linear-gradient(135deg, rgba(247,37,133,0.06) 0%, rgba(114,9,183,0.06) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .blog-card-img img {
    /* contain shows the FULL image — no cutting. The gradient bg fills any gaps. */
    width: auto !important;
    height: 100% !important;
    max-width: 100%;
    object-fit: contain !important;
    object-position: center;
  }
  .blog-card-body { padding: 20px; }
  .video-section .row > [class*='col-'],
  .blog-section .row > [class*='col-'] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Testimonial */
  .testi-card { padding: 22px 18px; }
  .testi-card .testi-text { font-size: 0.88rem; }

  /* Footer */
  .footer-main { padding: 50px 0 28px; }
  .footer-about { max-width: 100%; }

  /* Lightbox */
  .lightbox-modal img { max-width: 94vw; max-height: 80vh; border-radius: 8px; }
  .lightbox-nav { width: 38px; height: 38px; font-size: 1rem; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 14px; right: 14px; width: 38px; height: 38px; font-size: 1.1rem; }
}

/* ---- Mobile (max 576px) — most users ---- */
@media (max-width: 576px) {
  /* Hide top info bar on mobile */
  .site-header { display: none; }

  .sticky-top { top: 0; }

  /* Navbar — clean & compact */
  .toplogo { height: auto; width: 110px; }
  .navbar { padding: 8px 0; }
  .mobile-phone-link a {
    color: var(--pink) !important;
    font-weight: 700;
    font-size: 0.78rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .mobile-phone-link i { font-size: 0.72rem; }
  .navbar-toggler { padding: 6px 8px; }
  .navbar .nav-cta { margin: 8px 16px 0; padding: 10px 20px !important; font-size: 0.85rem !important; }

  /* Hero — original design, only text color changed to pink-violet */
  .hero-section .carousel-item img {
    height: 75vh;
    min-height: 360px;
    max-height: 560px;
    object-fit: cover;
    object-position: center 40%;
  }
  /* Clean caption overlay — enough breathing room at bottom */
  .hero-caption {
    padding: 0 20px;
    align-items: flex-end;
    padding-bottom: 52px;
  }
  .hero-caption-inner { max-width: 100%; }
  /* Title — slightly larger now that subtitle is gone */
  .hero-title {
    font-size: 1.6rem;
    line-height: 1.2;
    color: white;
    font-weight: 800;
    margin-bottom: 16px;
  }
  .hero-title span {
    background: linear-gradient(90deg, #FF8DC7, #C77DFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  /* Eyebrow — tight spacing below pill */
  .hero-eyebrow {
    font-size: 0.64rem;
    padding: 3px 10px;
    letter-spacing: 1.3px;
    margin-bottom: 8px;
    color: #FF8DC7;
  }
  /* Hide subtitle on mobile — keeps hero clean & spacious */
  .hero-sub { display: none; }

  /* Side-by-side compact buttons — less vertical stack */
  .hero-btns {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .btn-pink {
    flex: 1 1 auto;
    justify-content: center;
    padding: 11px 18px;
    font-size: 0.82rem;
    min-width: 130px;
  }
  .btn-outline-white {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    padding: 11px 18px;
    font-size: 0.82rem;
    min-width: 130px;
  }

  /* Social row — compact on mobile, no label */
  .hero-social {
    display: flex;
    margin-top: 16px;
    gap: 10px;
  }
  .hero-social-label { display: none; }
  .hero-social-icons { gap: 8px; }
  .hero-social-icons a {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
  /* Smaller, less intrusive nav arrows */
  .carousel-control-prev,
  .carousel-control-next { width: 30px; height: 30px; top: 38%; opacity: 0.6; }
  .carousel-control-prev { left: 6px; }
  .carousel-control-next { right: 6px; }
  .carousel-indicators { bottom: 6px; }
  .carousel-indicators [data-bs-target] { width: 7px; height: 7px; border-radius: 50%; opacity: 0.4; }
  .carousel-indicators .active { width: 20px; border-radius: 10px; opacity: 1; }

  /* Lighten the dark overlay on mobile so images are clearly visible */
  .hero-section .carousel-item::after {
    background: linear-gradient(
      180deg,
      rgba(13,13,26,0.15) 0%,
      rgba(55,10,120,0.20) 50%,
      rgba(13,8,30,0.55) 100%
    );
  }

  /* Stats strip */
  .stats-strip { padding: 20px 0; }
  .stat-number { font-size: 1.65rem; }
  .stat-label { font-size: 0.72rem; }

  /* Class cards — 2-column grid-like with shorter cards */
  .class-card { height: 280px; border-radius: var(--radius); }
  .class-card-content { padding: 16px 14px; }
  .class-card-content h5 { font-size: 0.95rem; margin-bottom: 4px; }
  .class-card-content p { display: none; } /* hide description on mobile for cleaner look */
  .class-card-link { font-size: 0.78rem; }
  .class-card-tag { font-size: 0.6rem; padding: 3px 8px; top: 10px; left: 10px; gap: 3px; }
  .class-card-tag i { font-size: 0.68rem; }

  /* About section */
  .about-img-wrap { margin-bottom: 0; }
  .about-img-badge { padding: 14px 18px; }
  .about-img-badge .badge-num { font-size: 1.7rem; }
  .about-img-badge .badge-txt { font-size: 0.68rem; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery-item { border-radius: var(--radius-sm); }

  /* Video */
  .video-wrap { border-radius: var(--radius); }

  /* Blog cards — mobile */
  .blog-card {
    flex-direction: column;
    border-radius: var(--radius);
    align-items: stretch;
    padding: 0;
    overflow: hidden;
  }
  .blog-card-img {
    width: 100%;
    height: 210px;           /* square images fill height fully, no cutting */
    border-radius: 14px 14px 0 0;
    padding: 0;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(247,37,133,0.06) 0%, rgba(114,9,183,0.06) 100%);
    border-bottom: 1px solid rgba(114,9,183,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .blog-card-img img {
    /* contain = full image always visible, gradient bg fills the sides */
    width: auto !important;
    height: 100% !important;
    max-width: 100%;
    object-fit: contain !important;
    object-position: center;
  }
  .blog-card-body { padding: 18px; }
  .blog-card-body h4 { font-size: 0.95rem; }
  .blog-card-body p { font-size: 0.82rem; }

  /* Testimonials */
  .testi-card { padding: 18px 16px; border-radius: var(--radius); }
  .testi-card .testi-text { font-size: 0.85rem; line-height: 1.6; }

  /* Contact */
  .contact-card { padding: 20px; border-radius: var(--radius); }
  .contact-card h3 { font-size: 1.2rem; }
  .contact-card .form-control { padding: 10px 14px; font-size: 0.88rem; }
  .contact-card .btn-pink { width: 100%; justify-content: center; }

  /* Footer */
  .footer-main { padding: 40px 0 20px; }
  .footer-logo { height: 40px; }
  .footer-heading { font-size: 0.78rem; margin-bottom: 14px; }
  .footer-links a { font-size: 0.82rem; }
  .footer-about { font-size: 0.82rem; }
  .footer-bottom { padding: 12px 0; font-size: 0.75rem; margin-top: 24px; }

  /* WhatsApp float */
  .whatsAppfloat { width: 48px; height: 48px; font-size: 22px; bottom: 20px; right: 16px; }

  /* Lightbox mobile */
  .lightbox-modal img { max-width: 96vw; max-height: 75vh; border-radius: 6px; }
  .lightbox-nav { width: 34px; height: 34px; font-size: 0.9rem; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-close { top: 10px; right: 10px; width: 34px; height: 34px; }
  .lightbox-counter { bottom: 14px; font-size: 0.7rem; }

  /* Section padding tighter on mobile */
  .section-wrap { padding: 50px 0; }
  .section-wrap-sm { padding: 40px 0; }
}

/* ---- Very small phones (max 380px) ---- */
@media (max-width: 380px) {
  .hero-title { font-size: 1.4rem; }
  .hero-sub { font-size: 0.8rem; }
  .class-card { height: 240px; }
  .class-card-content h5 { font-size: 0.88rem; }
  .stat-number { font-size: 1.4rem; }
  .stat-label { font-size: 0.65rem; }
  .toplogo { width: 100px; }
  .gallery-grid { gap: 6px; }
}

/* Dark section text overrides */
.testimonials-section .section-heading { color: #fff; }
.testimonials-section .section-sub { color: rgba(255,255,255,0.68); }
/* wt-section on light bg — use default dark text */
.wt-section .section-label { color: var(--pink); background: var(--pink-light); border: none; }

/* ── WHAT WE TEACH — TABBED INTERFACE ───────── */
.wt-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 15% 60%, rgba(114,9,183,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 85% 25%, rgba(247,37,133,0.07) 0%, transparent 68%);
  pointer-events: none;
}

/* ─── Tab pills row ─── */
.wt-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
  padding: 6px 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 60px;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.wt-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: rgba(55,20,80,0.55);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.28s, color 0.28s, transform 0.22s, box-shadow 0.28s;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.wt-tab i { font-size: 1rem; }

.wt-tab:hover {
  color: var(--purple);
  background: rgba(114,9,183,0.07);
}

.wt-tab.active {
  background: linear-gradient(135deg, var(--tc, #F72585), var(--tc2, #7209B7));
  color: #fff;
  box-shadow: 0 4px 20px rgba(114,9,183,0.25);
  transform: translateY(-1px);
}

/* Auto-progress bar inside active tab */
.wt-tab.active .wt-tab-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  border-radius: 0 0 50px 50px;
  background: var(--tc, var(--purple));
  width: 0%;
  animation: wtTabProgress var(--wt-duration, 6s) linear forwards;
}

@keyframes wtTabProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

.wt-tab { position: relative; overflow: hidden; }

@media (max-width: 991px) {
  .wt-tabs {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding: 8px;
  }
  .wt-tab { flex: 0 0 auto; }
}

/* ─── Panel + pane ─── */
.wt-panel { position: relative; transition: height 520ms cubic-bezier(0.22,1,0.36,1); }

.wt-pane {
  display: none;
  opacity: 0;
  transform: translateY(14px) scale(0.99);
}

.wt-pane.active,
.wt-pane.exiting { display: block; }

.wt-pane.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 520ms cubic-bezier(0.22,1,0.36,1), transform 520ms cubic-bezier(0.22,1,0.36,1);
}

.wt-pane.exiting {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(-10px) scale(0.99);
  transition: opacity 420ms cubic-bezier(0.22,1,0.36,1), transform 420ms cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}

@keyframes wtFadeIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─── Inner layout ─── */
.wt-pane-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 20px;
  align-items: stretch;
  min-height: 360px;
}

/* ─── Left: image hero panel ─── */
.wt-pane-hero {
  border-radius: 24px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Real photo — slow Ken Burns zoom */
.wt-ph-bg {
  position: absolute;
  inset: -12px;
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: wtBgZoom 14s ease-in-out alternate infinite;
  will-change: transform;
}

@keyframes wtBgZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.1); }
}

/* Colour gradient overlay on top of photo */
.wt-pane-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-grad, linear-gradient(160deg, rgba(13,13,26,0.62) 0%, rgba(114,9,183,0.58) 100%));
  z-index: 1;
  border-radius: inherit;
}

/* Bottom vignette for text legibility */
.wt-pane-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.36) 0%, transparent 55%);
  z-index: 2;
  border-radius: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .wt-ph-bg { animation: none !important; }
  .wt-pane,
  .wt-pane.active,
  .wt-pane.exiting { transition: none !important; transform: none !important; }
}

.wt-pane-hero > *:not(.wt-ph-bg) { position: relative; z-index: 3; }

.wt-big-icon {
  font-size: 2.8rem;
  color: rgba(255,255,255,0.92);
  line-height: 1;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
  margin-bottom: 4px;
}

.wt-pane-hero h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  color: #fff;
  margin: 0;
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}

.wt-pane-hero p {
  color: rgba(255,255,255,0.88);
  font-size: 0.93rem;
  line-height: 1.7;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* CTA button */
.wt-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #1a1a2e;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 11px 22px;
  border-radius: 50px;
  text-decoration: none;
  width: fit-content;
  transition: transform 0.2s, box-shadow 0.2s, gap 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  letter-spacing: 0.3px;
}

.wt-cta:hover {
  color: #1a1a2e;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
  gap: 12px;
}

/* ─── Right: courses grid ─── */
.wt-courses {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(114,9,183,0.10);
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(114,9,183,0.06);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.wt-courses-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(114,9,183,0.45);
  margin-bottom: 22px;
}

.wt-course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wt-course-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-mid);
  border: 1px solid rgba(114,9,183,0.10);
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 16px;
  border-radius: 14px;
  transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.22s;
  cursor: default;
  font-family: 'Nunito', sans-serif;
}

.wt-course-item .wt-ci-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(114,9,183,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  transition: background 0.22s;
}

.wt-course-item:hover {
  background: rgba(114,9,183,0.07);
  border-color: rgba(114,9,183,0.22);
  color: var(--purple);
  transform: translateX(4px);
}

.wt-course-item:hover .wt-ci-icon {
  background: rgba(114,9,183,0.14);
}

/* ─── Responsive ─── */
@media (max-width: 991px) {
  .wt-pane-inner { grid-template-columns: 1fr 1fr; min-height: auto; }
}

@media (max-width: 768px) {
  .wt-tabs {
    border-radius: 16px;
    padding: 4px;
    gap: 4px;
  }
  .wt-tab { padding: 10px 16px; font-size: 0.82rem; }
  .wt-pane-inner { grid-template-columns: 1fr; }
  .wt-pane-hero { padding: 36px 28px; }
  .wt-pane-hero h3 { font-size: 1.5rem; }
  .wt-big-icon { font-size: 3rem; }
  .wt-courses { padding: 28px 22px; }
}

@media (max-width: 480px) {
  .wt-tab span { display: none; }
  .wt-tab { padding: 10px 14px; }
  .wt-tab i { font-size: 1.1rem; }
  .wt-tabs { border-radius: 50px; }
  /* Course grid: single column on small phones */
  .wt-course-grid { grid-template-columns: 1fr; }
  .wt-course-item { font-size: 0.88rem; padding: 12px 14px; }
}


/* ── TEACH CARDS (service pages) ────────────── */
.teach-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.teach-card:hover {
  border-color: rgba(247,37,133,0.25);
  box-shadow: 0 12px 32px rgba(114,9,183,0.12);
  transform: translateY(-5px);
}
.teach-card-img {
  width: 100%;
  /* Fixed aspect ratio = every card image is identical height, no size mismatch */
  aspect-ratio: 4 / 3;
  height: auto;
  flex-shrink: 0;
  overflow: hidden;
}
.teach-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
}
.teach-card:hover .teach-card-img img {
  transform: scale(1.05);
}
.teach-card-body {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.teach-card-body h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.teach-card-body p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}
.blog-article h1 { font-size: 1.8rem; margin-bottom: 16px; color: var(--dark); }
.blog-article h2 { font-size: 1.3rem; margin: 28px 0 12px; color: var(--dark); }
.blog-article h4 { font-size: 1.05rem; margin: 20px 0 8px; color: var(--purple); }
.blog-article p  { font-size: 0.95rem; color: var(--text); line-height: 1.8; margin-bottom: 14px; }
.blog-article ul { padding-left: 20px; margin-bottom: 16px; }
.blog-article ul li { font-size: 0.92rem; color: var(--text); margin-bottom: 8px; line-height: 1.6; }

/* ── TEACH CARD & BLOG ARTICLE MOBILE ────────── */
@media (max-width: 768px) {
  /* aspect-ratio handles height automatically — no fixed height needed */
  .teach-card-body { padding: 16px 18px; }
  .teach-card-body h4 { font-size: 0.95rem; }
  .teach-card-body p { font-size: 0.82rem; }
  .blog-article h1 { font-size: 1.4rem; }
  .blog-article h2 { font-size: 1.1rem; }
  .blog-article p  { font-size: 0.88rem; line-height: 1.7; }
}

@media (max-width: 576px) {
  .teach-card { border-radius: var(--radius); }
  /* Keep 4/3 aspect-ratio on mobile — consistent with desktop, no size mismatch */
  .teach-card-body { padding: 14px 16px; }
  .teach-card-body h4 { font-size: 0.9rem; }
  .teach-card-body p { font-size: 0.8rem; }
  .blog-article h1 { font-size: 1.25rem; }
  .blog-article h2 { font-size: 1rem; margin: 20px 0 8px; }
  .blog-article h4 { font-size: 0.92rem; }
  .blog-article p  { font-size: 0.85rem; }
  .blog-article ul li { font-size: 0.84rem; }

  /* Blog hero mobile */
  img[style*="height:520px"] { height: 280px !important; }

  /* Thank you page mobile */
  .thankyou-card { padding: 36px 20px; }
  .thankyou-card h1 { font-size: 1.8rem; }
  .thankyou-card .subtitle { font-size: 0.95rem; }
  .thankyou-icon { width: 72px; height: 72px; }
  .thankyou-icon i { font-size: 2rem; }
  .thankyou-actions { flex-direction: column; }
  .btn-home, .btn-call { width: 100%; justify-content: center; }

  /* Service page hero on mobile */
  .hero-section .carousel-indicators { bottom: 10px; }

  /* Contact form mobile */
  .contact-map { height: 220px !important; min-height: 0 !important; max-height: 220px !important; overflow: hidden !important; }
  .contact-map iframe { height: 220px !important; border-radius: var(--radius); }

  /* Dropdown menu mobile */
  .dropdown-menu { border: none; box-shadow: none; padding: 0 16px; }
  .dropdown-item { font-size: 0.88rem; padding: 8px 12px; }
}

/* ── MID-PAGE CTA STRIP ─────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink-mid) 50%, var(--pink) 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 90% 50%, rgba(0,0,0,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.cta-strip-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.cta-strip-heading {
  font-family: 'Nunito', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: #fff;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.cta-strip-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.cta-strip-actions .btn-pink {
  background: #fff;
  color: var(--purple);
  border-color: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}

.cta-strip-actions .btn-pink:hover {
  background: rgba(255,255,255,0.9);
  color: var(--purple);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.25);
}

.cta-strip-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
  white-space: nowrap;
}

.cta-strip-link:hover {
  color: #fff;
  gap: 10px;
}

@media (max-width: 768px) {
  .cta-strip { padding: 44px 0; }
  .cta-strip-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .cta-strip-heading { font-size: 1.35rem; }
  .cta-strip-actions { flex-direction: column; gap: 14px; width: 100%; }
  .cta-strip-actions .btn-pink,
  .cta-strip-link { justify-content: center; width: 100%; }
}

@media (max-width: 991px) and (min-width: 769px) {
  .cta-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .cta-strip-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }
  .cta-strip-link { white-space: normal; }
}
