/* ============================================================
   ANANTAM YOGSHALA — Master Stylesheet
   Aesthetic: Earthy luxury · Warm greens · Organic calm
   ============================================================ */

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

/* ── CSS Variables ──────────────────────────────────────── */
:root {
  --navbar-height: 80px;
  --navbar-mobile-height: 110px;
  --teal:       #0d9488;

  --teal-dark:  #0f766e;
  --teal-light: #ccfbf1;
  --sage:       #4f7c6d;
  --cream:      #faf8f4;
  --sand:       #f0ebe1;
  --charcoal:   #1a1a1a;
  --text:       #333;
  --muted:      #6b7280;
  --white:      #ffffff;
  --gold:       #c9a96e;
  --shadow-sm:  0 2px 12px 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);
  --radius:     16px;
  --radius-sm:  8px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ── Page Hero Banner (non-index pages) ─────────────────── */
.page-hero {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, rgba(15,118,110,0.88) 0%, rgba(13,148,136,0.78) 100%),
              url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b') center/cover no-repeat;
  padding: 120px 20px 60px;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-top: 0.75rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 80, 74, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: 0.6rem 5%;
}

/* Logo */
.logo img {
  height: 58px;
  width: auto;
  transition: var(--transition);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}
.navbar.scrolled .logo img { height: 48px; }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links > li > a {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 4px;
  transition: var(--transition);
}

.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

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

.nav-links > li > a:hover { color: var(--gold); }

/* Dropdown */
.dropdown { position: relative; }

.dropdown > a { display: flex; align-items: center; gap: 0.3rem; }
.dropdown > a::before {
  content: '';
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255,255,255,0.6);
  order: 1;
  transition: var(--transition);
  flex-shrink: 0;
}
.dropdown:hover > a::before { border-top-color: var(--gold); transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(8, 60, 55, 0.97);
  backdrop-filter: blur(16px);
  min-width: 210px;
  border-radius: var(--radius-sm);
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(8,60,55,0.97);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.65rem 1.4rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  transition: var(--transition);
  border-left: 2px solid transparent;
}

.dropdown-menu li a:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
  border-left-color: var(--gold);
  padding-left: 1.8rem;
}

/* Call Now Button */
.nav-btn a {
  background: var(--gold);
  color: var(--charcoal);
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(201,169,110,0.35);
}
.nav-btn a:hover {
  background: #e0b97a;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,169,110,0.5);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 4px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s;
}
.nav-overlay.active { opacity: 1; }

/* ── HERO (index) ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,60,55,0.82) 0%,
    rgba(13,148,136,0.55) 60%,
    rgba(0,0,0,0.3) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 5% 80px;
}

@media (max-width: 768px) {
  /* ULTRA MOBILE FORM FIX - FORCES TAP */
  * { -webkit-tap-highlight-color: transparent; }
  
  .hero-container, .contact-container { flex-direction: column !important; gap: 3rem; }
  
  .hero-form, .contact-form-box {
    position: relative !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
    isolation: isolate !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 3rem 2rem !important;
    background: transparent !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3) !important;
  }
  
  .form-group * {
    position: relative !important;
    z-index: 10000 !important;
    pointer-events: auto !important;
  }
  
  .form-group input,
  .form-group textarea,
  .contact-form-box input,
  .contact-form-box textarea {
    padding: 1.5rem !important;
    font-size: 18px !important;
    height: 60px !important;
    border: 3px solid #e5e7eb !important;
    border-radius: 16px !important;
    background: white !important;
    touch-action: manipulation !important;
  }
  
  .hero,
  .page-hero,
  .contact-section {
    padding-top: 160px !important;
  }
  
  .btn-primary {
    height: 60px !important;
    padding: 0 !important;
    font-size: 18px !important;
    z-index: 10000 !important;
  }
  
  /* Navbar lower priority */
  .navbar { z-index: 100 !important; }
  .nav-overlay { pointer-events: none !important; }
}

.hero-left { flex: 1.2; }


.hero-tagline {
  display: inline-block;
  background: rgba(201,169,110,0.2);
  border: 1px solid rgba(201,169,110,0.5);
  color: var(--gold);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-left h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.hero-left h1 em {
  font-style: italic;
  color: var(--gold);
}

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

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.stat-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}

.stat-item p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.4rem;
  letter-spacing: 0.04em;
}

/* Hero Form */
.hero-form {
  flex: 0.8;
  background: transparent;
  /* background: rgba(255, 255, 255, 0.816); */
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}

.hero-form h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.hero-form p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 1.8rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255,255,255,0.92);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--charcoal);
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.03em;
  margin-top: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(13,148,136,0.4);
}

.form-note {
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  margin-top: 1rem;
}

/* ── SECTION SHARED STYLES ──────────────────────────────── */
.section-tag {
  display: inline-block;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5rem;
}
.section-tag::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 2px;
  background: var(--teal);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--charcoal);
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 620px;
  line-height: 1.8;
}

.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-desc { margin: 0 auto; }
.section-header.centered .section-tag { padding-left: 0; }
.section-header.centered .section-tag::before { display: none; }

/* ── SERVICES SECTION ───────────────────────────────────── */
.services {
  padding: 5rem 5%;
  background: var(--cream);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  position: relative;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15,118,110,0.95) 0%, transparent 100%);
  padding: 2rem 1.2rem 0.9rem;
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.keywords span {
  background: var(--teal-light);
  color: var(--teal-dark);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
}

.card-text {
  flex: 1;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.card-btns {
  display: flex;
  gap: 0.8rem;
}

.card-btns a {
  flex: 1;
  padding: 0.7rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.card-btns .btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.card-btns .btn-whatsapp:hover {
  background: #1fb855;
  transform: translateY(-2px);
}
.card-btns .btn-call {
  background: var(--teal);
  color: #fff;
}
.card-btns .btn-call:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

/* ── LOCATIONS ──────────────────────────────────────────── */
.locations-section {
  padding: 5rem 5%;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--sage) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.locations-section::before {
  content: '🕉';
  position: absolute;
  font-size: 300px;
  opacity: 0.04;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.locations-section .section-tag { color: var(--gold); }
.locations-section .section-tag::before { background: var(--gold); }
.locations-section .section-title { color: #fff; max-width: 760px; margin: 0 auto 1.5rem; }
.locations-section .section-desc { color: rgba(255,255,255,0.8); margin: 0 auto; max-width: 760px; }

/* ── ABOUT PAGE ─────────────────────────────────────────── */
.about-highlight {
  padding: 5rem 5%;
  background: var(--cream);
}

.about-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.about-stat {
  text-align: center;
  padding: 1.5rem 2rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  min-width: 150px;
}

.about-stat h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--teal);
  font-weight: 600;
  line-height: 1;
}

.about-stat span {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.5rem;
  display: block;
}

.about-bottom {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-image { flex: 1; }
.about-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  height: 480px;
}

.about-content { flex: 1; }

.about-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
}

/* Why Choose */
.why-choose {
  padding: 5rem 5%;
  background: #fff;
}

.why-container {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
}

.why-left { flex: 1.1; }
.why-right { flex: 0.9; }

.why-right img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  height: 500px;
  object-fit: cover;
}

.why-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}

.why-card {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--teal);
  transition: var(--transition);
}

.why-card:hover {
  background: var(--teal-light);
  transform: translateX(6px);
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.why-card h3::before {
  content: '✦';
  color: var(--teal);
  font-size: 0.75rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── TEAM PAGE ──────────────────────────────────────────── */
.team-section {
  padding: 5rem 5%;
  background: var(--cream);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.team-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s;
}
.team-card:hover img { transform: scale(1.04); }

.team-card-body { padding: 1.5rem; }

.team-card-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--charcoal);
  font-weight: 600;
}

.team-card-body span {
  display: block;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0.4rem 0 0.8rem;
  letter-spacing: 0.05em;
}

.team-card-body p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── GALLERY ────────────────────────────────────────────── */
.photo-gallery {
  padding: 5rem 5%;
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,148,136,0);
  transition: var(--transition);
}

.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { background: rgba(13,148,136,0.2); }

/* ── CLASSES PAGE ───────────────────────────────────────── */
.classes-section {
  padding: 5rem 5%;
  background: var(--cream);
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.class-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.class-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.class-card-img {
  position: relative;
  overflow: hidden;
}
.class-card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s;
}
.class-card:hover .class-card-img img { transform: scale(1.05); }

.class-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--gold);
  color: var(--charcoal);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.class-card-body {
  padding: 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.class-card-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.class-card-body p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.4rem;
}
.class-card-body .btn-teal {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  background: var(--teal);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  text-align: center;
}
.class-card-body .btn-teal:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

/* ── COURSES PAGE ───────────────────────────────────────── */
.courses-section {
  padding: 5rem 5%;
  background: #fff;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.course-card {
  border-radius: var(--radius);
  background: var(--cream);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.course-card-top {
  background: linear-gradient(135deg, var(--teal-dark), var(--sage));
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.course-card-top::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.course-hours {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}
.course-hours span { font-size: 1.1rem; color: rgba(255,255,255,0.7); }

.course-card-top h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: #fff;
  margin-top: 0.5rem;
  font-weight: 600;
}

.course-card-body { padding: 1.8rem; }

.course-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}
.course-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text);
}
.course-features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.btn-outline-teal {
  display: block;
  width: 100%;
  padding: 0.8rem;
  border: 2px solid var(--teal);
  color: var(--teal);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: var(--transition);
}
.btn-outline-teal:hover {
  background: var(--teal);
  color: #fff;
}

/* ── CONTACT PAGE ───────────────────────────────────────── */
.contact-section {
  padding: 5rem 5%;
  background: var(--cream);
}

.contact-container {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
}


.contact-left { flex: 1; }
.contact-right { flex: 1; }

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.contact-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-icon.phone { background: var(--teal-light); color: var(--teal); }
.contact-icon.whatsapp { background: #dcfce7; color: #16a34a; }
.contact-icon.email   { background: #fef3c7; color: #d97706; }
.contact-icon.address { background: #fee2e2; color: #dc2626; }

.contact-info h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.contact-info a, .contact-info p {
  font-size: 0.95rem;
  color: var(--charcoal);
  font-weight: 500;
}
.contact-info a:hover { color: var(--teal); }

/* Contact Form Box */
.contact-form-box {
  background: transparent;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form-box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-form-box p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.8rem;
}

.contact-form-box .form-group { margin-bottom: 1.2rem; }

.contact-form-box input,
.contact-form-box select,
.contact-form-box textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--charcoal);
  outline: none;
  background: var(--cream);
  transition: var(--transition);
}
.contact-form-box textarea { resize: vertical; min-height: 110px; }

.contact-form-box input:focus,
.contact-form-box select:focus,
.contact-form-box textarea:focus {
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}

/* Form status messages */
.form-status {
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  margin-top: 1rem;
  display: none;
}
.form-status.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
  display: block;
}
.form-status.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  display: block;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.modern-footer {
  position: relative;
  background: linear-gradient(rgba(5,40,37,0.93), rgba(5,40,37,0.97)),
              url('https://images.unsplash.com/photo-1506744038136-46273834b3fb') center/cover;
  padding: 4rem 5% 0;
  color: #fff;
}

.modern-footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 300px;
}

.footer-box h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-contact-info p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-contact-info p i {
  color: var(--gold);
  font-size: 0.8rem;
  width: 16px;
}

.footer-link-group { margin-bottom: 1.8rem; }
.footer-link-group h5 {
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}
.footer-link-group ul li { margin-bottom: 0.55rem; }
.footer-link-group ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-link-group ul li a::before {
  content: '→';
  font-size: 0.75rem;
  color: var(--gold);
  opacity: 0;
  transition: var(--transition);
}
.footer-link-group ul li a:hover {
  color: #fff;
  padding-left: 4px;
}
.footer-link-group ul li a:hover::before { opacity: 1; }

.footer-map iframe { border-radius: var(--radius-sm); }

.footer-bottom-bar {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-bar p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 0.7rem;
}
.footer-socials a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
  transform: translateY(-3px);
}

/* WhatsApp Floating */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: pulse-whatsapp 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 4px 36px rgba(37,211,102,0.7); }
}

/* ── MOBILE RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-container { gap: 2.5rem; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .modern-footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .about-bottom, .why-container, .contact-container { flex-direction: column; }
  .about-image img, .why-right img { height: 340px; }
}

@media (max-width: 768px) {
  /* Mobile navbar */
  .hamburger { display: flex !important; }
  .nav-overlay { display: block; }

.logo img{transform: scale(1.5);}
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(85vw, 320px);
    height: 100vh;
    background: linear-gradient(160deg, #083833 0%, #0d9488 100%);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    box-shadow: -8px 0 40px rgba(0,0,0,0.3);
  }

  .nav-links.mobile-active { right: 0; }

  .nav-links > li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links > li > a {
    display: block;
    padding: 0.9rem 0;
    font-size: 1rem;
    width: 100%;
  }

  .nav-links > li > a::after { display: none; }
  .dropdown > a::before { display: none; }

  /* Mobile dropdowns */
  .dropdown-menu {
    position: static !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    background: rgba(255,255,255,0.1) !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0.8rem 0 !important;
    box-shadow: none !important;
    border: none !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    min-width: 100% !important;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease, padding 0.3s ease;
  }

  .dropdown-menu::before { display: none; }

  .dropdown.open .dropdown-menu {
    visibility: visible;
    height: auto;
    padding: 0.5rem 0;
  }

  .dropdown-menu li a {
    padding: 0.5rem 1.5rem;
    font-size: 0.88rem;
  }

  .nav-btn { margin: 1.5rem 0 0; width: 50%; }
  .nav-btn a { display: block; text-align: center; border-radius: var(--radius-sm); }

  /* Hero */
  .hero-container { flex-direction: column; padding: 100px 5% 60px; }
  .hero-left h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
  .hero-form { width: 100%; }
  .hero-stats { gap: 1rem; }
  .stat-item { padding: 0.8rem 1rem; }
  .stat-item h3 { font-size: 1.6rem; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .modern-footer-container { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-bar { flex-direction: column; text-align: center; }

  /* Contact */
  .contact-cards { grid-template-columns: 1fr; }

  /* About stats */
  .about-stats { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .gallery-item img { height: 160px; }
  .service-cards { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 0.8rem; }
  .stat-item { width: 100%; }
  .classes-grid, .courses-grid { grid-template-columns: 1fr; }
}

/* ── UTILITIES ──────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.call-float{
    position:fixed;
    width:60px;
    height:60px;
    bottom:100px;
    right:30px;
    background:#007bff;
    color:#fff;
    border-radius:50%;
    text-align:center;
    font-size:24px;
    box-shadow:2px 2px 10px rgba(0,0,0,0.3);
    z-index:9999;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    transition:0.3s ease;
}

.call-float:hover{
    transform:scale(1.1);
}
