/* =========================================================
   Bal Niketan Balha — Stylesheet
   Theme: Forest Green + Cream + Warm Gold
   ========================================================= */

:root {
  /* Colors */
  --green-900: #122a1c;
  --green-800: #1f3d2b;
  --green-700: #2d5a3f;
  --green-600: #3d7a55;
  --green-50:  #eef3ec;

  --cream:     #faf6ec;
  --cream-2:   #f3ecd9;
  --ivory:     #fffdf6;

  --gold:      #c9a24e;
  --gold-dark: #a8842f;

  --ink:       #1a2419;
  --muted:     #5c6b5f;
  --line:      #e2dcc4;

  --white:     #ffffff;

  /* Type */
  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans:  "Manrope", "Inter", system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(31, 61, 43, 0.06);
  --shadow-md: 0 10px 30px rgba(31, 61, 43, 0.08);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green-800); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--green-900);
  margin: 0 0 .5em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 400; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

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

.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 14px;
}

/* ----- Top strip ----- */
.topstrip {
  background: var(--green-900);
  color: var(--cream);
  font-size: 0.82rem;
  padding: 8px 0;
}
.topstrip .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.topstrip a { color: var(--cream); }
.topstrip a:hover { color: var(--gold); }
.topstrip .badge {
  background: var(--gold);
  color: var(--green-900);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

/* ----- Header / Nav ----- */
.site-header {
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(6px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand .logo {
  width: 46px; height: 46px;
  flex-shrink: 0;
}
.brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand .brand-name {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--green-900);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.brand .brand-tag {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
}
.nav-links a:hover { background: var(--green-50); color: var(--green-800); }
.nav-links a.active {
  background: var(--green-800);
  color: var(--cream);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--green-900);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, background .2s ease;
}
.nav-cta:hover { background: var(--gold-dark); color: var(--ivory); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  width: 44px; height: 44px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px; height: 2px;
  background: var(--green-900);
  position: relative;
  transition: transform .2s ease;
}
.menu-toggle span::before { content: ""; position: absolute; top: -6px; left: 0; }
.menu-toggle span::after  { content: ""; position: absolute; top:  6px; left: 0; }

/* ----- Hero ----- */
.hero {
  background:
    radial-gradient(1200px 600px at 85% -20%, rgba(201,162,78,0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(45,90,63,0.10), transparent 60%),
    var(--cream);
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 .accent {
  color: var(--green-700);
  font-style: italic;
  font-weight: 400;
}
.hero .lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--green-800); color: var(--cream); }
.btn-primary:hover { background: var(--green-900); color: var(--ivory); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--green-800); color: var(--green-800); }
.btn-outline:hover { background: var(--green-800); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--green-900); }
.btn-gold:hover { background: var(--gold-dark); color: var(--ivory); }

.hero-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.hero-card .seal {
  position: absolute;
  top: -18px; right: -18px;
  background: var(--green-800);
  color: var(--cream);
  width: 110px; height: 110px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--serif);
  font-size: 0.9rem;
  line-height: 1.2;
  padding: 10px;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--gold);
}
.hero-card .placeholder-img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--green-700), var(--green-900));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-family: var(--serif);
  font-size: 1.1rem;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.hero-card .placeholder-img::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(400px 200px at 70% 30%, rgba(201,162,78,0.18), transparent 60%);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hero-stats .stat {
  text-align: center;
  padding: 12px 6px;
  border-right: 1px solid var(--line);
}
.hero-stats .stat:last-child { border-right: none; }
.hero-stats .stat-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--green-800);
}
.hero-stats .stat-lbl {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----- Generic page header ----- */
.page-hero {
  background: var(--green-900);
  color: var(--cream);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(201,162,78,0.22), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(61,122,85,0.4), transparent 60%);
  pointer-events: none;
}
.page-hero h1 { color: var(--cream); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero p { color: rgba(250,246,236,0.78); max-width: 640px; }
.page-hero .container { position: relative; z-index: 1; }

/* ----- Cards / Grid ----- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  align-items: center;
}

.card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.card .ico {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-50);
  color: var(--green-800);
  border-radius: 12px;
  margin-bottom: 16px;
}
.card h3 { color: var(--green-900); margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }

/* ----- Feature alt block ----- */
.feature-img {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  color: rgba(255,255,255,0.55);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.feature-img.alt { background: linear-gradient(135deg, var(--cream-2), var(--gold)); color: var(--green-900); }

/* ----- Stats strip ----- */
.stats-strip {
  background: var(--green-800);
  color: var(--cream);
  padding: 56px 0;
}
.stats-strip .grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-strip .num {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--gold);
  display: block;
}
.stats-strip .lbl {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,246,236,0.8);
}

/* ----- Accordion (Fee structure) ----- */
.accordion { display: flex; flex-direction: column; gap: 14px; }
.acc-item {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.acc-item.open {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.acc-head {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--green-900);
  font-weight: 600;
}
.acc-head .cls-meta {
  display: flex; flex-direction: column;
}
.acc-head .cls-meta small {
  display: block;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}
.acc-head .chev {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-800);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease, background .2s ease;
  flex-shrink: 0;
}
.acc-item.open .chev { background: var(--gold); color: var(--green-900); transform: rotate(180deg); }
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.acc-item.open .acc-body { max-height: 800px; }
.acc-inner {
  padding: 0 24px 24px;
  border-top: 1px dashed var(--line);
  padding-top: 18px;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ivory);
  font-size: 0.95rem;
}
.fee-table th, .fee-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.fee-table th {
  background: var(--green-50);
  color: var(--green-900);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.fee-table tr:last-child td { border-bottom: none; }
.fee-table .total td {
  background: var(--cream-2);
  font-weight: 700;
  color: var(--green-900);
}

.fee-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: var(--cream-2);
  color: var(--green-900);
  font-size: 0.9rem;
  border-radius: 6px;
}

/* ----- Gallery ----- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery .tile {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
}
.gallery .tile.alt-1 { background: linear-gradient(135deg, #5b8e5a, #2e5a3f); }
.gallery .tile.alt-2 { background: linear-gradient(135deg, var(--cream-2), var(--gold)); }
.gallery .tile.alt-3 { background: linear-gradient(135deg, #c9a24e, #6b4f1d); }
.gallery .tile .lbl {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(18,42,28,0.85), transparent);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}

/* ----- Contact ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact-info {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info h3 { margin-top: 0; }
.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .ico {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: var(--green-50);
  color: var(--green-800);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.contact-row .lbl { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-row .val { color: var(--green-900); font-weight: 600; }

.contact-form {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; margin-bottom: 16px; }
.form-group label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, background .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green-700);
  background: var(--ivory);
}
.form-group textarea { min-height: 130px; resize: vertical; }

.map-embed {
  margin-top: 28px;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  height: 280px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.05rem;
  border: 1px solid var(--line);
}

/* ----- About / Leader card ----- */
.leader-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
}
.leader-avatar {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 3rem;
  border: 4px solid var(--gold);
}
.leader-card h3 { margin: 0 0 4px; }
.leader-card .role { color: var(--gold-dark); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.82rem; margin-bottom: 14px; }

/* ----- Quote ----- */
.quote {
  background: var(--green-900);
  color: var(--cream);
  padding: 64px 0;
  text-align: center;
  position: relative;
}
.quote blockquote {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.4;
  color: var(--cream);
}
.quote cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ----- Footer ----- */
.footer {
  background: var(--green-900);
  color: rgba(250,246,236,0.78);
  padding: 64px 0 24px;
}
.footer .grid-foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer h4 {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 8px; }
.footer a { color: rgba(250,246,236,0.78); }
.footer a:hover { color: var(--gold); }
.footer .brand-name { color: var(--cream); font-family: var(--serif); font-size: 1.2rem; }
.footer .brand-tag { color: rgba(250,246,236,0.55); }
.footer .copy {
  border-top: 1px solid rgba(250,246,236,0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: rgba(250,246,236,0.6);
}

/* ----- Utility / Animations ----- */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 64px 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .stats-strip .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .leader-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .leader-avatar { width: 160px; height: 160px; }
  .footer .grid-foot { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }

  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 0px);
    left: 0; right: 0;
    flex-direction: column;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 18px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-cta.desktop-only { display: none; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer .grid-foot { grid-template-columns: 1fr; }
  .hero-card .seal { width: 92px; height: 92px; font-size: 0.78rem; }
}
