/* ================================================================
   GRM DANCE STUDIO — MASTER DESIGN SYSTEM
   Brand: Black × Electric Yellow (#f1fe01) × White
   Fonts: Syne (display) + DM Sans (body)
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,400&display=swap');

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --yellow:      #f1fe01;
  --yellow-dim:  rgba(241,254,1,0.10);
  --yellow-glow: rgba(241,254,1,0.28);
  --yellow-soft: rgba(241,254,1,0.05);
  --bg:          #000000;
  --surface:     #0d0d0d;
  --surface2:    #141414;
  --surface3:    #1a1a1a;
  --border:      rgba(255,255,255,0.07);
  --border-y:    rgba(241,254,1,0.18);
  --text:        #ffffff;
  --muted:       rgba(255,255,255,0.45);
  --muted2:      rgba(255,255,255,0.25);
  --danger:      #ff4d4d;
  --success:     #00d68f;
  --info:        #4d9fff;

  --font-head:   'Syne', sans-serif;
  --font-body:   'DM Sans', sans-serif;

  --radius:      14px;
  --radius-sm:   8px;
  --radius-pill: 999px;

  --nav-h:       72px;
  --transition:  0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h); /* Pushes content down below the fixed navbar */
}

body.no-nav-pad { padding-top: 0; }

main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

/* ── PAGE FADE ───────────────────────────────────────────────── */
body { animation: pageFadeIn 0.5s ease both; }

@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

body.fade-out { opacity: 0; transition: all 0.3s ease; }

/* ── NOISE TEXTURE OVERLAY ───────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(241,254,1,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241,254,1,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

/* ── GLOBAL GLOW ─────────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(241,254,1,0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ================================================================
   NAVBAR
================================================================ */
.navbar {
  position: fixed; /* Keeps it pinned to the top */
  top: 0; 
  left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 9999; /* Extremely high number ensures it stays on top of EVERYTHING */

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  padding: 0 56px;
  background: rgba(0, 0, 0, 0.95); /* Dark enough to hide scrolling text cleanly */
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-y);
}

/* Logo */
.logo img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 0 14px var(--yellow-glow));
  transition: filter var(--transition);
}
.logo img:hover { filter: drop-shadow(0 0 22px rgba(241,254,1,0.6)); }

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active { color: var(--yellow); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Enroll CTA pill in nav */
.nav-cta {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 9px 24px;
  color: #000000;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid #ffffff;
}

/* Add the .active class alongside the hover state */
.nav-cta:hover,
.nav-cta.active {
  
  border-color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--yellow-glow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
  margin-left: auto;
}
.hamburger span {
  width: 24px; height: 2.5px;
  background: var(--yellow);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── MOBILE NAV ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .navbar { padding: 0 20px; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0;
    width: 100%; height: calc(100vh - var(--nav-h));
    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  }
  .nav-links.active { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { font-size: 1.2rem; }
  .nav-cta { font-size: 1rem; padding: 14px 36px; }
}

/* ================================================================
   BUTTONS
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  background: var(--yellow);
  color: #000;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  width: fit-content;
}
.btn:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--yellow-glow);
}
.btn:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--yellow);
  border: 1.5px solid var(--border-y);
}
.btn-outline:hover { background: var(--yellow-dim); color: var(--yellow); box-shadow: none; }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--border);
  padding: 9px 20px;
}
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.3); background: transparent; box-shadow: none; }

/* ================================================================
   SECTION UTILITIES
================================================================ */
.page-section {
  padding: 96px 24px;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
  display: block;
}

.page-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 48px;
  text-align: center;
  line-height: 1.1;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: -32px auto 56px;
  line-height: 1.7;
}

/* Divider */
hr.divider {
  border: none;
  height: 1px;
  background: var(--border-y);
  margin: 0 0 48px;
}

/* ================================================================
   FOOTER
================================================================ */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 40px 24px;
  text-align: center;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-head);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--yellow); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted2);
}

/* ================================================================
   HERO — INDEX
================================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
}

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 28px; height: 1px;
  background: var(--border-y);
}

.hero h2 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.02;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero h2 span { color: var(--yellow); }

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── SLIDER ─────────────────────────────────────────────────── */
.slider {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: 520px;
  margin: 0 auto 60px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-y);
  box-shadow: 0 0 60px rgba(241,254,1,0.15);
}

.slides { width: 100%; height: 100%; }

.slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.slide.active { opacity: 1; z-index: 1; }

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid var(--border);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.prev { left: 16px; }
.next { right: 16px; }
.prev:hover, .next:hover {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
  box-shadow: 0 0 20px var(--yellow-glow);
}

/* ── STATS BAR ───────────────────────────────────────────────── */
.stats-bar {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 24px;
}
.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

@media (max-width: 600px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   SERVICES SECTION
================================================================ */
.services-section {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
  overflow: hidden;
}

.services-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.services-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.services-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, transparent 20%, transparent 80%, var(--bg) 100%);
}

.services-content { position: relative; z-index: 2; max-width: 1140px; margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-card {
  background: rgba(13,13,13,0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(10px);
  
  /* Add these 3 lines to enable Flexbox */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* Pushes the button to the bottom of the card */
.service-card .btn {
  margin-top: auto; 
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.service-card:hover {
  border-color: var(--border-y);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px var(--yellow-dim);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ================================================================
   ABOUT PAGE
================================================================ */
.about-intro {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-intro p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 24px;
}

.studio-socials { margin-top: 40px; }

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.social-item i { font-size: 1rem; }

.social-item.whatsapp { color: #25d366; border-color: rgba(37,211,102,0.25); }
.social-item.whatsapp:hover { background: rgba(37,211,102,0.1); box-shadow: 0 0 20px rgba(37,211,102,0.2); }

.social-item.instagram { color: #e1306c; border-color: rgba(225,48,108,0.25); }
.social-item.instagram:hover { background: rgba(225,48,108,0.1); box-shadow: 0 0 20px rgba(225,48,108,0.2); }

.social-item.youtube { color: #ff0000; border-color: rgba(255,0,0,0.25); }
.social-item.youtube:hover { background: rgba(255,0,0,0.1); box-shadow: 0 0 20px rgba(255,0,0,0.2); }

/* ── TEAM ─────────────────────────────────────────────────────── */
.team-section {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
}

.team-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--yellow);
  text-align: center;
  margin-bottom: 56px;
}

.owner-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.owner-card {
  max-width: 360px;
  width: 100%;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(24px);
}
.team-card.active {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.25s, box-shadow 0.25s;
}
.team-card:hover {
  border-color: var(--border-y);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 24px var(--yellow-dim);
}

.image-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-y);
}
.owner-card .image-wrapper { width: 160px; height: 160px; }

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.team-card:hover .image-wrapper img { transform: scale(1.08); }

.social-icons {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: 50%;
}
.image-wrapper:hover .social-icons { opacity: 1; }
.social-icons a { color: var(--yellow); font-size: 1.1rem; transition: transform 0.2s; }
.social-icons a:hover { transform: scale(1.2); }

.team-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.team-card .bio {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ================================================================
   CLASSES PAGE — TRUE TIMETABLE UI
================================================================ */

/* Section Headers for Weekday/Weekend */
.schedule-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.schedule-header h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}
.schedule-line {
  flex-grow: 1;
  height: 1px;
  border: none;
  background: linear-gradient(90deg, var(--border-y), transparent);
}

/* The Smart Grid */
.schedule-grid {
  display: grid;
  /* Cards will never squish below 260px. They will perfectly align and wrap naturally. */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Uniform Card Sizing */
.day-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all var(--transition);
  
  display: flex;
  flex-direction: column;
  height: 100%; 
}

/* Highlight for Weekends */
.weekend-card {
  border-color: rgba(241,254,1,0.3);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(241,254,1,0.02) 100%);
}

.day-card h4 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border);
}

/* Structured Text alignment */
.day-card p {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.4;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.day-card p:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Time Slot Styling */
.day-card span {
  font-size: 0.75rem;
  color: var(--yellow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

/* Hover Effect */
.day-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5), 0 0 15px var(--yellow-soft);
}
/* ================================================================
   TABS
================================================================ */
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 10px 24px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}
.tab-btn:hover { color: #fff; border-color: rgba(255,255,255,0.25); }
.tab-btn.active {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
  box-shadow: 0 0 20px var(--yellow-glow);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ================================================================
   BATCHES GRID — UNIFORM CARD UI
================================================================ */

.batches-grid {
  display: grid;
  /* Ensures 3 cards per row on desktop, wrapping perfectly */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.batch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition);
  /* Forces all cards to have the same minimum vertical height */
  min-height: 340px; 
}

.batch-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.batch-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 700;
}

.batch-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 30px;
  /* Ensures the button stays at the bottom of the card */
  margin-top: auto; 
}

/* Specific small button for the card */
.btn-sm {
  padding: 10px 24px;
  font-size: 0.75rem;
  width: 100%;
}

/* Hover Effect */
.batch-card:hover {
  border-color: var(--yellow);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px var(--yellow-soft);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(241,254,1,0.03) 100%);
}

/* ================================================================
   GALLERY
================================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
}

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

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  color: var(--yellow);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: lbFade 0.2s ease;
}
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  border: 1px solid var(--border-y);
  object-fit: contain;
}

.lightbox .close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 36px;
  color: var(--yellow);
  cursor: pointer;
  line-height: 1;
  transition: opacity var(--transition);
}
.lightbox .close:hover { opacity: 0.6; }

/* ================================================================
   FORMS (ENQUIRY / SANGEET / CORPORATE / STUDIO)
================================================================ */
.enquiry-section {
  max-width: 680px;
  margin: 0 auto;
  padding: 80px 24px;
}

.enquiry-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  margin: -36px auto 48px;
  max-width: 500px;
}

.form-container { width: 100%; }

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--border-y);
  background: rgba(241,254,1,0.03);
  box-shadow: 0 0 0 3px rgba(241,254,1,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted2); }

.form-group select { cursor: pointer; }
.form-group select option { background: #111; }

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

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Back button */
.back-button-wrapper { margin-top: 24px; text-align: center; }
.back-btn {
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color var(--transition);
}
.back-btn:hover { color: var(--yellow); }

/* ================================================================
   CONTACT PAGE
================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-item-icon {
  width: 40px; height: 40px;
  background: var(--yellow-dim);
  border: 1px solid var(--border-y);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item-text p { font-size: 0.85rem; color: var(--muted); margin-top: 2px; }
.contact-item-text strong { font-family: var(--font-head); font-size: 0.88rem; }

@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   STUDIO VIDEO SECTION
================================================================ */
.studio-video-section {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  text-align: center;
}

.video-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-y);
  box-shadow: 0 0 40px rgba(241,254,1,0.1);
}
.video-container video {
  width: 100%;
  display: block;
}

/* ================================================================
   SCROLL REVEAL
================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.active {
  opacity: 1;
  transform: none;
}

/* ================================================================
   ADMIN — SHARED TOKENS (also used by login/dashboard pages)
================================================================ */
.admin-body {
  padding-top: 0 !important;
  animation: none !important;
  background: var(--bg);
  min-height: 100vh;
}

/* ================================================================
   THANK YOU PAGE
================================================================ */
.thankyou-section {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  position: relative;
  z-index: 1;
}

.thankyou-card {
  background: var(--surface);
  border: 1px solid var(--border-y);
  border-radius: 20px;
  padding: 60px 48px;
  max-width: 500px;
  box-shadow: 0 0 60px rgba(241,254,1,0.08);
}

.thankyou-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.thankyou-card h1 {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 16px;
}

.thankyou-card p {
  color: var(--muted);
  margin-bottom: 32px;
}

/* ================================================================
   RESPONSIVE UTILITIES
================================================================ */

/* --- Laptops & Tablets (Max 1024px) --- */
@media (max-width: 1024px) {
  .navbar { padding: 0 32px; } /* Reduce the huge side padding */
  .page-title { font-size: 1.9rem; }
  .services-section, .studio-video-section, .page-section,
  .enquiry-section, .team-section { padding: 60px 16px; }
  .form-row { grid-template-columns: 1fr; }
}

/* --- Tablets & Mobile Menu Breakpoint (Max 900px) --- */
@media (max-width: 900px) {
  .navbar { padding: 0 20px; }
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  
  /* Fix the Founder section from squishing */
  .founder-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 24px !important;
  }
  
  /* Center the founder image when stacked */
  .founder-grid .reveal:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* --- Standard Phones (Max 768px) --- */
@media (max-width: 768px) {
  /* Typography Adjustments */
  .page-title { font-size: 2.2rem; margin-bottom: 32px; }
  .section-subtitle { margin-top: -16px; margin-bottom: 40px; font-size: 0.95rem; }
  .hero h2 { font-size: 3.2rem; }
  .hero p { font-size: 1rem; }
  
  /* Section Padding Reductions */
  .services-section, .studio-video-section, .page-section,
  .enquiry-section, .team-section { padding: 60px 16px; }
  
  /* Form Stacking */
  .form-row { grid-template-columns: 1fr; }
  
  /* Shrink the Slider */
  .slider { 
    height: 350px; 
    border-radius: 12px; 
    margin-bottom: 40px; 
  }
  
  /* Adjust Thank You Card */
  .thankyou-card { padding: 40px 24px; margin: 0 16px; }
}

/* --- Small Phones (Max 480px) --- */
@media (max-width: 480px) {
  .schedule-grid { grid-template-columns: 1fr; }
  
  /* Stack the Stats Bar entirely */
  .stats-inner { grid-template-columns: 1fr; gap: 32px; }
  .stat-num { font-size: 2.2rem; }
  
  /* Full-width buttons for easy thumb-tapping */
  .hero-ctas { flex-direction: column; width: 100%; gap: 12px; }
  .hero-ctas .btn { width: 100%; }
  
  /* Shrink slider further */
  .slider { height: 250px; }
  
  /* Shrink gallery items so they don't take up the whole screen */
  .gallery-item { height: 200px; }
}