/* ===== Edhaa Public School — shared styles ===== */

:root {
  --purple: #3B2856;
  --purple-dark: #2A1D3D;
  --purple-light: #5A3E7D;
  --crimson: #C0304F;
  --orange: #F0922E;
  --blue: #4FA6C9;
  --lime: #A9C93E;
  --cream: #FBF8F2;
  --paper: #FFFFFF;
  --ink: #2A1F3D;
  --ink-soft: #6B6178;
  --border: #EAE3F0;
  --shadow: 0 10px 30px rgba(59, 40, 86, 0.10);
  --shadow-lg: 0 20px 50px rgba(59, 40, 86, 0.18);
  --radius: 18px;
  --max-width: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  color: var(--purple);
  line-height: 1.25;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--crimson), var(--orange));
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 46px;
}

.section-head p {
  color: var(--ink-soft);
  margin-top: 10px;
  font-size: 1.02rem;
}

section { padding: 84px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--crimson), var(--orange));
  color: #fff;
  box-shadow: 0 12px 26px rgba(192, 48, 79, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(192, 48, 79, 0.45); }

.btn-outline {
  background: transparent;
  border-color: var(--paper);
  color: var(--paper);
}
.btn-outline:hover { background: var(--paper); color: var(--purple); transform: translateY(-3px); }

.btn-purple {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 12px 26px rgba(59, 40, 86, 0.3);
}
.btn-purple:hover { transform: translateY(-3px); background: var(--purple-dark); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--purple-dark);
  color: #EDE7F5;
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; opacity: 0.9; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  transition: background 0.25s ease, transform 0.25s ease;
}
.topbar-social a:hover { background: var(--orange); transform: translateY(-2px); }
.topbar-social svg { width: 14px; height: 14px; fill: #fff; }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 54px; width: auto; }
.brand-text { line-height: 1.2; }
.brand-text .name {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--purple);
  letter-spacing: 0.01em;
}
.brand-text .tag {
  font-size: 0.72rem;
  color: var(--crimson);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav.main-nav a {
  display: inline-block;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}

nav.main-nav a:hover { background: #F3ECFA; color: var(--purple); }
nav.main-nav a.active { background: var(--purple); color: #fff; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 24px; font-size: 0.88rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 26px; height: 3px; border-radius: 3px;
  background: var(--purple);
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (page banner) ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(120deg, var(--purple-dark), var(--purple) 55%, var(--purple-light));
  color: #fff;
  padding: 64px 0;
  overflow: hidden;
  text-align: center;
}
.page-hero::before, .page-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.35;
}
.page-hero::before {
  width: 240px; height: 240px;
  background: var(--orange);
  top: -90px; left: -60px;
}
.page-hero::after {
  width: 260px; height: 260px;
  background: var(--blue);
  bottom: -110px; right: -60px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.7rem); }
.breadcrumb {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #D9CCEA;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.breadcrumb a { color: #F0E4FA; font-weight: 600; }
.breadcrumb a:hover { color: var(--orange); }

/* ---------- Home hero ---------- */
.home-hero {
  position: relative;
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 45%, var(--purple-light) 100%);
  color: #fff;
  overflow: hidden;
  padding: 90px 0 110px;
}
.home-hero .blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.28;
  filter: blur(6px);
}
.blob.b1 { width: 320px; height: 320px; background: var(--crimson); top: -100px; right: 8%; }
.blob.b2 { width: 260px; height: 260px; background: var(--lime); bottom: -100px; left: 6%; }
.blob.b3 { width: 180px; height: 180px; background: var(--blue); top: 40%; right: -60px; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
}

.hero-grid h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin-bottom: 18px;
}
.hero-grid h1 span { color: var(--lime); }
.hero-grid p {
  color: #E4D9F1;
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Hero enhancements ---------- */
.hero-logo-bg {
  position: absolute;
  top: 50%;
  right: -6%;
  transform: translateY(-50%);
  width: 640px;
  max-width: 55vw;
  z-index: 0;
  opacity: 0.16;
  pointer-events: none;
}
.hero-logo-bg img { width: 100%; display: block; }

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(22px, -18px) scale(1.05); }
}
.home-hero .blob.b1 { animation: floatBlob 10s ease-in-out infinite; }
.home-hero .blob.b2 { animation: floatBlob 12s ease-in-out infinite reverse; }
.home-hero .blob.b3 { animation: floatBlob 8s ease-in-out infinite; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(169,201,62,0.6);
  animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(169,201,62,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(169,201,62,0); }
  100% { box-shadow: 0 0 0 0 rgba(169,201,62,0); }
}

.trust-row { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.trust-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 12px 16px;
  border-radius: 14px;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, background 0.25s ease;
}
.trust-chip:hover { transform: translateY(-4px); background: rgba(255,255,255,0.14); }
.trust-chip .t-icon { font-size: 1.3rem; line-height: 1; }
.trust-chip strong { display: block; color: var(--orange); font-size: 1.05rem; font-family: "Poppins", sans-serif; line-height: 1.2; }
.trust-chip span { font-size: 0.72rem; color: #D9CCEA; }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  z-index: 3;
}
.scroll-cue span {
  width: 4px; height: 8px; border-radius: 2px;
  background: #fff;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

@media (max-width: 980px) {
  .hero-logo-bg { max-width: 75vw; opacity: 0.12; right: -10%; }
}

@media (max-width: 600px) {
  .scroll-cue { display: none; }
  .trust-row { gap: 10px; }
  .trust-chip { padding: 10px 12px; }
  .hero-logo-bg { max-width: 90vw; opacity: 0.1; }
}

/* ---------- Marquee strip ---------- */
.strip {
  background: linear-gradient(90deg, var(--crimson), var(--orange));
  color: #fff;
  padding: 12px 0;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  letter-spacing: 0.02em;
}

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.icon-badge {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: #fff;
}
.icon-badge.c1 { background: linear-gradient(135deg, var(--crimson), #E85C7D); }
.icon-badge.c2 { background: linear-gradient(135deg, var(--orange), #FFC168); }
.icon-badge.c3 { background: linear-gradient(135deg, var(--blue), #7FCBE8); }
.icon-badge.c4 { background: linear-gradient(135deg, var(--lime), #CFE477); color: var(--purple-dark); }
.icon-badge.c5 { background: linear-gradient(135deg, var(--purple), var(--purple-light)); }

.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Alternating features ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-row.reverse .feature-visual { order: 2; }
.feature-visual {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 55%);
}
.feature-visual .emoji { font-size: 5rem; position: relative; z-index: 2; }
.feature-text ul { margin-top: 18px; display: grid; gap: 12px; }
.feature-text li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.feature-text li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--purple-dark);
  font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  margin-top: 3px;
  font-weight: 700;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--purple-dark), var(--purple));
  border-radius: 28px;
  padding: 56px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #D9CCEA; max-width: 520px; margin: 14px auto 30px; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.testimonial .stars { color: var(--orange); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial p.quote { color: var(--ink-soft); font-style: italic; margin-bottom: 18px; }
.testimonial .who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700;
  background: linear-gradient(135deg, var(--crimson), var(--orange));
}
.who strong { display: block; font-size: 0.92rem; color: var(--purple); }
.who span { font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- Timeline (Academics) ---------- */
.stage-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.stage-pill {
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--border);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.stage-pill.active { background: var(--purple); border-color: var(--purple); color: #fff; }

.stage-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  align-items: flex-start;
}
.stage-num {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.3rem; color: #fff;
}
.stage-card h3 { margin-bottom: 6px; }
.stage-card p { color: var(--ink-soft); font-size: 0.94rem; }
.stage-card .tags { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.stage-card .tags span {
  font-size: 0.76rem;
  padding: 5px 12px;
  border-radius: 999px;
  background: #F3ECFA;
  color: var(--purple);
  font-weight: 600;
}

/* subject chips */
.subject-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.subject-chip {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.subject-chip:hover { transform: translateY(-6px); }
.subject-chip .emoji { font-size: 1.8rem; margin-bottom: 10px; }
.subject-chip strong { font-size: 0.92rem; color: var(--purple); }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: var(--paper);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter-btn:hover { border-color: var(--purple); color: var(--purple); }
.filter-btn.active { background: var(--purple); border-color: var(--purple); color: #fff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 18px;
}
.gallery-item {
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
  cursor: default;
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
}
.gallery-item span { position: relative; z-index: 2; }
.gallery-item .cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em;
  background: rgba(255,255,255,0.25);
  padding: 4px 10px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.g1 { background: linear-gradient(135deg, var(--crimson), #7A2140); }
.g2 { background: linear-gradient(135deg, var(--orange), #C9670E); }
.g3 { background: linear-gradient(135deg, var(--blue), #2C6E8C); }
.g4 { background: linear-gradient(135deg, var(--lime), #6C8A22); }
.g5 { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); }
.g6 { background: linear-gradient(135deg, #E85C7D, var(--crimson)); }
.g7 { background: linear-gradient(135deg, #FFC168, var(--orange)); }
.g8 { background: linear-gradient(135deg, #7FCBE8, var(--blue)); }

.gallery-note {
  text-align: center;
  margin-top: 34px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  background: #F3ECFA;
  padding: 16px 20px;
  border-radius: 14px;
}

/* ---------- Legal pages (Terms, Privacy) ---------- */
.legal-content { max-width: 780px; margin: 0 auto; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.8; }
.legal-content .updated { display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--crimson); background: #FCE9ED; padding: 6px 14px; border-radius: 999px; margin-bottom: 30px; }
.legal-content h2 { font-size: 1.25rem; margin-top: 38px; margin-bottom: 12px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--crimson); font-weight: 600; }
.legal-content a:hover { color: var(--orange); }
.legal-content strong { color: var(--purple); }

/* ---------- News & Events ---------- */
.news-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 44px; }
.news-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 22px;
}
.news-thumb {
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  aspect-ratio: 1;
}
.news-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.news-meta { font-size: 0.78rem; color: var(--crimson); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; display: flex; gap: 14px; }
.news-card p { color: var(--ink-soft); font-size: 0.92rem; }

.news-card-clickable { cursor: pointer; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.news-card-clickable:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(59, 40, 86, 0.18); }
.news-card-clickable:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; }
.news-readmore { display: inline-block; margin-top: 10px; font-size: 0.82rem; font-weight: 700; color: var(--crimson); }

.news-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(42, 29, 61, 0.6);
  backdrop-filter: blur(3px);
  z-index: 400;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.news-modal-overlay.open { opacity: 1; pointer-events: all; }

.news-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  width: min(560px, 92vw);
  max-height: 84vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 22px;
  z-index: 401;
  padding: 34px 32px 38px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.news-modal.open { opacity: 1; pointer-events: all; transform: translate(-50%, -50%) scale(1); }

.news-modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 34px; height: 34px; border-radius: 50%;
  background: #F3ECFA; border: none; color: var(--purple);
  font-size: 1.05rem; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.news-modal-close:hover { background: var(--crimson); color: #fff; }

.news-modal-thumb {
  width: 58px; height: 58px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: #fff; margin-bottom: 18px;
}
.news-modal-meta {
  display: flex; gap: 14px; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--crimson); margin-bottom: 10px;
}
.news-modal-title { font-size: 1.4rem; margin-bottom: 16px; padding-right: 20px; }
.news-modal-body { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.75; }
.news-modal-body p { margin-bottom: 14px; }
.news-modal-body p:last-child { margin-bottom: 0; }

body.modal-open { overflow: hidden; }

.event-card {
  display: flex;
  gap: 16px;
  background: var(--paper);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  align-items: center;
}
.event-date {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.event-date strong { font-size: 1.2rem; line-height: 1; }
.event-date span { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.06em; }
.event-info h4 { font-size: 0.95rem; margin-bottom: 4px; color: var(--purple); }
.event-info span { font-size: 0.8rem; color: var(--ink-soft); }

.sidebar-box {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.sidebar-box h3 { font-size: 1.05rem; margin-bottom: 18px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--purple-dark);
  color: #D9CCEA;
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.footer-brand img { height: 48px; }
.footer-brand strong { color: #fff; font-size: 1.1rem; }
.footer-col h4 { color: #fff; font-size: 0.98rem; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 0.9rem; opacity: 0.85; transition: opacity 0.2s ease, color 0.2s ease; }
.footer-col ul li a:hover { opacity: 1; color: var(--orange); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
.footer-social a:hover { background: var(--crimson); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; fill: #fff; }
.footer-contact li { font-size: 0.88rem; opacity: 0.85; margin-bottom: 14px; display: flex; gap: 10px; }
.bottom-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; font-size: 0.82rem; opacity: 0.7; flex-wrap: wrap; gap: 10px;
}
.bottom-bar-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.bottom-bar-links a { color: inherit; text-decoration: none; opacity: 0.85; transition: opacity 0.2s ease, color 0.2s ease; }
.bottom-bar-links a:hover { opacity: 1; color: var(--orange); }
.admin-footer-link {
  font-size: 0.78rem;
  opacity: 0.55 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.admin-footer-link:hover { opacity: 1 !important; color: var(--orange); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .feature-row, .feature-row.reverse, .news-layout, .grid-2 { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-visual { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .topbar { display: none; }
  nav.main-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: min(78vw, 320px);
    background: var(--paper); flex-direction: column; padding: 90px 30px; box-shadow: var(--shadow-lg);
    transition: right 0.35s ease; z-index: 99; }
  nav.main-nav.open { right: 0; }
  nav.main-nav ul { flex-direction: column; align-items: flex-start; width: 100%; gap: 6px; }
  nav.main-nav a { display: block; width: 100%; padding: 12px 16px; }
  .nav-cta .btn-purple { display: none; }
  .hamburger { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery-item.wide { grid-column: span 2; }
  .stage-card { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .cta-band { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Enquire Now tab + drawer ---------- */
.enquire-tab {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 250;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: linear-gradient(160deg, var(--crimson), var(--orange));
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 20px 12px;
  border-radius: 12px 0 0 12px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  writing-mode: vertical-rl;
  transform-origin: center;
  box-shadow: -8px 8px 24px rgba(59, 40, 86, 0.28);
  transition: padding-right 0.25s ease, box-shadow 0.25s ease;
}
.enquire-tab:hover { padding-right: 18px; box-shadow: -10px 10px 28px rgba(59, 40, 86, 0.36); }
.enquire-tab .chevron {
  writing-mode: horizontal-tb;
  font-size: 1rem;
  line-height: 1;
}

.enquire-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 29, 61, 0.55);
  backdrop-filter: blur(2px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.enquire-overlay.open { opacity: 1; pointer-events: all; }

.enquire-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: min(440px, 92vw);
  background: #fff;
  z-index: 301;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
  box-shadow: 24px 0 60px rgba(0, 0, 0, 0.28);
}
.enquire-drawer.open { transform: translateX(0); }

.enquire-drawer-inner { padding: 34px 30px 40px; }

.enquire-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 26px;
}
.enquire-drawer-head h2 {
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.enquire-drawer-head p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-top: 6px;
}
.enquire-close {
  background: #F3ECFA;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--purple);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.enquire-close:hover { background: var(--crimson); color: #fff; }

.enquire-field { margin-bottom: 18px; }
.enquire-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.enquire-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.enquire-field label .req { color: var(--crimson); margin-left: 2px; }

.enquire-field input[type="text"],
.enquire-field input[type="email"],
.enquire-field input[type="tel"],
.enquire-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease;
}
.enquire-field input:focus,
.enquire-field select:focus {
  outline: none;
  border-color: var(--crimson);
}
.enquire-field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6178' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; }

.date-field { position: relative; }
.date-field input {
  padding-left: 38px !important;
}
.date-field .cal-icon {
  position: absolute;
  left: 12px;
  top: 41px;
  font-size: 0.95rem;
  pointer-events: none;
}

.enquire-radio-group {
  display: flex;
  gap: 20px;
  align-items: center;
  height: 46px;
}
.enquire-radio-group label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  margin: 0;
}
.enquire-radio-group input[type="radio"] { accent-color: var(--crimson); width: 16px; height: 16px; }

.phone-group { display: flex; gap: 8px; }
.phone-group .prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.phone-group input { flex: 1; }

.enquire-submit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
  border: none;
  font-size: 1rem;
}

.enquire-success {
  display: none;
  text-align: center;
  padding: 40px 10px;
}
.enquire-success.show { display: block; }
.enquire-success .icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), #6C8A22);
  color: #fff;
  font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.enquire-success h3 { margin-bottom: 10px; }
.enquire-success p { color: var(--ink-soft); font-size: 0.92rem; }

body.drawer-open { overflow: hidden; }

@media (max-width: 600px) {
  .enquire-row.two-col { grid-template-columns: 1fr; }
  .enquire-drawer-inner { padding: 28px 20px 34px; }
}
