/* ============================================================
   DYNAMICS ACADEMY — style.css
   Theme: Deep Navy (#0A1628) + Gold (#C9A84C)
   Fonts: Playfair Display (headings) + DM Sans (body)
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&family=Noto+Sans+Devanagari:wght@400;600&display=swap');

/* --- CSS Variables --- */
:root {
  --navy:        #0A1628;
  --navy-mid:    #0F2040;
  --navy-light:  #162b52;
  --gold:        #C9A84C;
  --gold-light:  #e8c96a;
  --gold-dark:   #a8882e;
  --white:       #FFFFFF;
  --off-white:   #F4F1EA;
  --text-muted:  #8fa3c7;
  --border:      rgba(201, 168, 76, 0.25);
  --shadow:      0 4px 24px rgba(0,0,0,0.35);
  --radius:      10px;
  --radius-lg:   16px;
  --transition:  0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-left a { color: var(--text-muted); }
.top-bar-left a:hover { color: var(--gold); }

.top-bar-right { display: flex; gap: 6px; align-items: center; }

.lang-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.78rem;
  font-family: 'DM Sans', 'Noto Sans Devanagari', sans-serif;
  transition: all var(--transition);
}
.lang-btn:hover,
.lang-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  font-weight: 600;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}

.logo-text .name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  line-height: 1.1;
}
.logo-text .tagline {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* Nav */
nav { display: flex; align-items: center; gap: 4px; }

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 9px 13px;
  color: var(--off-white);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

/* Dropdown arrow */
.has-dropdown > a::after {
  content: '▾';
  font-size: 0.7rem;
  opacity: 0.6;
}

/* Dropdown menu */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;          /* flush with nav item — no dead-zone gap */
  left: 0;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 190px;
  padding: 6px 0 8px; /* 6px top padding replaces the old 6px gap visually */
  box-shadow: var(--shadow);
  z-index: 999;
  animation: dropFade 0.18s ease;
}

@keyframes dropFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 9px 18px;
  color: var(--off-white);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.dropdown a:hover {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  padding-left: 24px;
}

/* CTA button */
.btn-enquire {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 20px;
  border-radius: 50px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  margin-left: 10px;
}
.btn-enquire:hover {
  background: transparent;
  color: var(--gold) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 10px 0 16px;
}
.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 10px 20px;
  color: var(--off-white);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all var(--transition);
}
.mobile-nav a:hover { color: var(--gold); background: rgba(201,168,76,0.06); }
.mobile-nav .mobile-sub {
  padding-left: 36px;
  font-size: 0.83rem;
  color: var(--text-muted);
}
.mobile-nav .mobile-sub:hover { color: var(--gold); }

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
section { padding: 72px 0; }
section.compact { padding: 48px 0; }

.section-label {
  display: inline-block;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--white);
  margin-bottom: 12px;
}

.section-title span { color: var(--gold); }

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin-bottom: 48px;
}

.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }

.dark-section { background: var(--navy-mid); }
.darker-section { background: #071020; }

/* ============================================================
   MARQUEE BAR
   ============================================================ */
.marquee-bar {
  background: var(--gold);
  padding: 11px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 0 22px;
}
.marquee-track span::before {
  content: '★ ';
  opacity: 0.7;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0d1e3a 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
}

/* Dot pattern background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,168,76,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.12);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--gold);
  margin-bottom: 10px;
  line-height: 1.1;
}

.hero-sub-title {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--white);
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 0.97rem;
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 50px;
  border: 2px solid var(--gold);
  cursor: pointer;
  font-size: 0.92rem;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer;
  font-size: 0.92rem;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Stats row */
.stats-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-item .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.stat-item .stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Hero card (right side) */
.hero-card-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-card {
  background: linear-gradient(145deg, var(--navy-light), var(--navy-mid));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.1);
  animation: floatCard 4s ease-in-out infinite;
  max-width: 320px;
  width: 100%;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

.hero-card-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  display: block;
}
.hero-card h3 {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.hero-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.hero-card-badge {
  background: rgba(201,168,76,0.12);
  border: 1px solid var(--border);
  color: var(--gold);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}

/* ============================================================
   STATS BAR (below hero)
   ============================================================ */
.stats-bar {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stats-bar-item .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.stats-bar-item .lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.stats-bar-divider {
  border: none;
  border-left: 1px solid var(--border);
}

/* ============================================================
   WHY CHOOSE US — 6 cards
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(201,168,76,0.12);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}
.card h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 8px;
}
.card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   VALUE POINTS — numbered list (dark section)
   ============================================================ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  counter-reset: value-counter;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color var(--transition);
}
.value-item:hover { border-color: var(--gold); }

.value-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 36px;
  line-height: 1;
  padding-top: 2px;
}
.value-item h4 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 4px;
}
.value-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   COURSES — 4 cards
   ============================================================ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.course-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}
.course-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.1);
}
.course-card .course-icon { font-size: 2.4rem; margin-bottom: 14px; display: block; }
.course-card h3 { font-size: 1.05rem; color: var(--gold); margin-bottom: 10px; }
.course-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.review-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 36px;
}
.review-summary .big-rating {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.review-summary .stars { font-size: 1.3rem; color: var(--gold); letter-spacing: 2px; }
.review-summary .count { color: var(--text-muted); font-size: 0.88rem; }

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

.testimonial-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--transition);
}
.testimonial-card:hover { border-color: var(--gold); }

.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 12px; }
.testimonial-text {
  font-size: 0.9rem;
  color: var(--off-white);
  line-height: 1.65;
  margin-bottom: 16px;
  font-style: italic;
}
.testimonial-author strong { color: var(--white); font-size: 0.9rem; display: block; }
.testimonial-author span { color: var(--text-muted); font-size: 0.78rem; }

/* ============================================================
   GALLERY — placeholders
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-tile {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition);
}
.gallery-tile:hover { border-color: var(--gold); transform: scale(1.02); }
.gallery-tile .tile-icon { font-size: 2.2rem; }
.gallery-tile .tile-label { font-size: 0.82rem; color: var(--text-muted); }

/* ============================================================
   PAYMENT SECTION
   ============================================================ */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.payment-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
}
.payment-card:hover { border-color: var(--gold); }
.payment-card .pay-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.payment-card h3 { font-size: 1rem; color: var(--gold); margin-bottom: 8px; }
.payment-card p { font-size: 0.85rem; color: var(--text-muted); }

.payment-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.payment-note strong { color: var(--gold); }

/* ============================================================
   ENQUIRY FORM SECTION
   ============================================================ */
.form-section {
  background: linear-gradient(135deg, var(--navy-mid), #071020);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.form-info h2 { font-size: 2rem; color: var(--gold); margin-bottom: 16px; }
.form-info p  { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }

.form-info-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-info-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--off-white);
}
.form-info-points li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}

.enquiry-form {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

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

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-group select option { background: var(--navy-mid); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 90px; }

.btn-submit {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 50px;
  border: 2px solid var(--gold);
  cursor: pointer;
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  transition: all var(--transition);
  margin-top: 6px;
}
.btn-submit:hover { background: transparent; color: var(--gold); }

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.thank-you-msg {
  display: none;
  text-align: center;
  padding: 24px;
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--gold);
  font-size: 1rem;
  font-weight: 600;
}

/* ============================================================
   NEWS TICKER SECTION
   ============================================================ */
.news-ticker-section {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
}

.ticker-label {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-text {
  font-size: 0.88rem;
  color: var(--off-white);
  transition: opacity 0.5s ease;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #071020;
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-about .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-about .footer-logo .icon {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.1rem;
}
.footer-about .footer-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
}
.footer-about p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.social-icons { display: flex; gap: 10px; }
.social-icon {
  width: 36px;
  height: 36px;
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.social-icon:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-contact-list li span:first-child { font-size: 1rem; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom a { color: var(--gold); }

/* ============================================================
   PAGE HERO (for inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,168,76,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--gold); margin-bottom: 12px; }
.page-hero p   { color: var(--text-muted); max-width: 600px; }
.breadcrumb    { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 14px; }
.breadcrumb a  { color: var(--gold); }
.breadcrumb span { margin: 0 6px; }

/* ============================================================
   ACCORDION (FAQ)
   ============================================================ */
.accordion { display: flex; flex-direction: column; gap: 10px; }
.accordion-item {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  transition: background var(--transition);
  font-weight: 500;
  font-size: 0.95rem;
}
.accordion-header:hover { background: rgba(201,168,76,0.06); }
.accordion-header .icon {
  color: var(--gold);
  font-size: 1.1rem;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.accordion-item.open .accordion-header { color: var(--gold); }
.accordion-item.open .accordion-header .icon { transform: rotate(45deg); }
.accordion-body {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.accordion-item.open .accordion-body { display: block; }

/* ============================================================
   CHATBOT
   ============================================================ */
.chat-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(201,168,76,0.4);
  z-index: 9999;
  border: none;
  transition: all var(--transition);
}
.chat-btn:hover { transform: scale(1.08); background: var(--gold-light); }

.chat-window {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 320px;
  max-height: 460px;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  z-index: 9998;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chat-window.open { display: flex; }

.chat-header {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header .close-chat { cursor: pointer; font-size: 1.1rem; background: none; border: none; color: var(--navy); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
}
.chat-msg.bot {
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border);
  color: var(--off-white);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  background: var(--gold);
  color: var(--navy);
  align-self: flex-end;
  font-weight: 600;
  border-bottom-right-radius: 4px;
}

.chat-quick-btns {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chat-quick-btn {
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border);
  color: var(--gold);
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.chat-quick-btn:hover { background: var(--gold); color: var(--navy); }

.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
}
.chat-input-row input {
  flex: 1;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 14px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  outline: none;
}
.chat-input-row input:focus { border-color: var(--gold); }
.chat-send-btn {
  background: var(--gold);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--navy);
  transition: all var(--transition);
}
.chat-send-btn:hover { background: var(--gold-light); }

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

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

/* Tablet */
@media (max-width: 1024px) {
  .cards-grid       { grid-template-columns: repeat(2, 1fr); }
  .courses-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .hero-grid        { grid-template-columns: 1fr; }
  .hero-card-wrapper{ display: none; }
  .stats-bar-grid   { grid-template-columns: repeat(2, 1fr); }
  .value-grid       { grid-template-columns: 1fr; }
  .form-grid        { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links, .btn-enquire { display: none; }
  .hamburger { display: flex; }
  .cards-grid         { grid-template-columns: 1fr; }
  .courses-grid       { grid-template-columns: 1fr 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .gallery-grid       { grid-template-columns: repeat(2, 1fr); }
  .payment-grid       { grid-template-columns: 1fr; }
  .form-row           { grid-template-columns: 1fr; }
  .top-bar .container { flex-direction: column; text-align: center; gap: 6px; }
  .stats-bar-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid        { grid-template-columns: 1fr; }
  section             { padding: 48px 0; }
  .hero               { padding: 48px 0 40px; }
  .review-summary     { flex-direction: column; text-align: center; gap: 8px; }
  .hero-btns          { flex-direction: column; }
  .stats-row          { gap: 16px; }
}

@media (max-width: 480px) {
  .courses-grid  { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: 1fr; }
  .chat-window   { width: calc(100vw - 32px); right: 16px; }
}

/* ============================================================
   SEMINAR BLOCKS + PHOTO GRID + LIGHTBOX (Events / Education pages)
   ============================================================ */
.seminar-block { margin-bottom: 64px; }
.seminar-block:last-child { margin-bottom: 0; }

.seminar-tag {
  display: inline-block;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}

.seminar-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--white);
  margin-bottom: 14px;
}

.seminar-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 840px;
  margin-bottom: 26px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.photo-tile {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: zoom-in;
  background: var(--navy-mid);
  transition: border-color var(--transition);
}
.photo-tile:hover { border-color: var(--gold); }
.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.photo-tile:hover img { transform: scale(1.08); }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 20, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 32px;
  cursor: zoom-out;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 26px;
  font-size: 2rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.lightbox-close:hover { color: var(--gold); }

.section-note {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}
.section-note .icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.section-note h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 8px; }
.section-note p { font-size: 0.88rem; max-width: 420px; margin: 0 auto; }

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

/* ============================================================
   LOGO IMAGE (SVG in header + footer)
   ============================================================ */
.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  border-radius: 10px;
  mix-blend-mode: normal;
  filter: none;
  transition: opacity 0.2s;
}
.logo:hover .logo-img {
  opacity: 0.88;
}
.footer-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  border-radius: 8px;
  mix-blend-mode: normal;
  filter: none;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
}

/* ============================================================
   GOOGLE REVIEWS SLIDER
   ============================================================ */
.reviews-slider-wrap {
  position: relative;
  overflow: hidden;
}

.reviews-slider {
  display: flex;
  gap: 0;
  will-change: transform;
  animation: reviewsScroll 38s linear infinite;
}
.reviews-slider:hover {
  animation-play-state: paused;
}
@keyframes reviewsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Each card — flex-shrink:0 + width keeps them the right size */
.review-card {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 0 8px;
}

/* 3-up on desktop, 2-up on tablet */
@media (min-width: 900px) {
  .review-card { flex: 0 0 33.333%; width: 33.333%; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .review-card { flex: 0 0 50%; width: 50%; }
}

.review-card-inner {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: 100%;
  transition: border-color var(--transition);
}
.review-card-inner:hover { border-color: var(--gold); }

.review-card-stars { color: var(--gold); font-size: 0.95rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-card-text  {
  font-size: 0.88rem;
  color: var(--off-white);
  line-height: 1.65;
  margin-bottom: 16px;
  font-style: italic;
}
.review-card-author strong { color: var(--white); font-size: 0.88rem; display: block; }
.review-card-author span   { color: var(--text-muted); font-size: 0.76rem; }
.review-card-time { color: var(--text-muted); font-size: 0.74rem; margin-top: 8px; }

/* Slider controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.slider-btn {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  color: var(--gold);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

.slider-dots { display: flex; gap: 7px; align-items: center; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.slider-dot.active { background: var(--gold); transform: scale(1.3); }

/* Auto-slide indicator strip */
.slider-progress {
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 14px;
  overflow: hidden;
}
.slider-progress-bar {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

/* ============================================================
   LIVE NEWS SECTION
   ============================================================ */
.live-news-section {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.news-card {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.news-card:hover { border-color: var(--gold); }
.news-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  padding: 3px 10px;
  border-radius: 50px;
  display: inline-block;
  width: fit-content;
}
.news-card-title {
  font-size: 0.88rem;
  color: var(--white);
  line-height: 1.5;
  font-weight: 500;
}
.news-card-title a { color: var(--white); }
.news-card-title a:hover { color: var(--gold); }
.news-card-date { font-size: 0.74rem; color: var(--text-muted); }
.news-loading { text-align: center; color: var(--text-muted); padding: 24px; font-size: 0.9rem; }

@media (max-width: 768px) {
  .news-cards-grid { grid-template-columns: 1fr; }
}

/* ── Active nav link (current page highlight) ── */
nav .nav-links a.active-nav,
nav .nav-links li.has-dropdown > a.active-nav {
  color: var(--gold);
  font-weight: 600;
}
nav .nav-links li.has-dropdown > a.active-nav::after {
  background: var(--gold);
}
