/* =========================================================================
   Gautama Veda Pathashale – site styles
   Built on Bootstrap 5. Change colours and fonts in the :root block below
   and the whole page follows.
   ========================================================================= */

/* ---------- 1. Brand tokens (taken from the logo) ---------- */
:root {
  --gv-lamp:        #3B1D0E;  /* lamp body brown – dark sections   */
  --gv-lamp-deep:   #24110A;  /* deepest brown – footer, shadows   */
  --gv-gold:        #B8832B;  /* logo gold – lines, borders        */
  --gv-gold-soft:   #E2B865;  /* gold on dark backgrounds          */
  --gv-gold-ink:    #8A5A12;  /* gold dark enough for text on light */
  --gv-flame:       #C65A12;  /* saffron – buttons (AA with white) */
  --gv-flame-hover: #A6480B;
  --gv-flame-glow:  240, 138, 46; /* RGB of the flame glow          */
  --gv-ivory:       #FFFBF4;  /* page background                   */
  --gv-leaf:        #F6ECD8;  /* palm-leaf tint – alternate bands  */
  --gv-ink:         #2E1C11;  /* body text                         */
  --gv-muted:       #6B5444;  /* secondary text                    */

  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-body:    'EB Garamond', Georgia, serif;
  --font-kn:      'Noto Serif Kannada', 'Tunga', serif;

  --header-h: 84px;           /* used to offset anchor scrolling   */

  /* Hand our tokens to Bootstrap */
  --bs-body-bg: var(--gv-ivory);
  --bs-body-color: var(--gv-ink);
  --bs-body-font-family: var(--font-body);
  --bs-link-color-rgb: 138, 90, 18;
  --bs-link-hover-color-rgb: 166, 72, 11;
}

/* ---------- 2. Base typography ---------- */
html { scroll-padding-top: var(--header-h); }

body {
  font-size: 1.1875rem;   /* 19px – Garamond reads small, so go up a step */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .section-title {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--gv-lamp);
  letter-spacing: .01em;
}

.kn { font-family: var(--font-kn); line-height: 1.6; }

p { max-width: 68ch; }

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--gv-gold-soft);
  outline-offset: 3px;
  box-shadow: none;
}

.skip-link {
  position: absolute; top: .5rem; left: .5rem; z-index: 2000;
  background: var(--gv-lamp); color: #fff; padding: .5rem 1rem; border-radius: 4px;
}

/* ---------- 3. Buttons ---------- */
.btn { font-family: var(--font-body); font-weight: 600; border-radius: 999px; padding: .55rem 1.4rem; }
.btn-lg { padding: .75rem 1.9rem; font-size: 1.15rem; }

.btn-flame { background: var(--gv-flame); border: 1px solid var(--gv-flame); color: #fff; }
.btn-flame:hover, .btn-flame:focus { background: var(--gv-flame-hover); border-color: var(--gv-flame-hover); color: #fff; }
.btn-flame:disabled { background: var(--gv-flame); opacity: .65; color: #fff; }

.btn-outline-gold { border: 1px solid var(--gv-gold-soft); color: var(--gv-gold-soft); background: transparent; }
.btn-outline-gold:hover, .btn-outline-gold:focus { background: var(--gv-gold-soft); color: var(--gv-lamp); }

/* ---------- 4. Header ---------- */
.site-header {
  background: rgba(255, 251, 244, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(184, 131, 43, .35);
}
.site-header .navbar { min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .75rem; }
.brand-mark { height: 56px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--gv-lamp); }
.brand-sub { font-size: .85rem; color: var(--gv-gold-ink); }

@media (max-width: 575.98px) {
  .brand { gap: .5rem; }
  .brand-mark { height: 44px; }
  .brand-name { font-size: .95rem; }
  .brand-sub { font-size: .78rem; }
  .navbar-toggler { padding: .25rem .5rem; }
}

.navbar-nav .nav-link { color: var(--gv-ink); font-size: 1.05rem; padding-inline: .7rem !important; }
.navbar-nav .nav-link:hover { color: var(--gv-flame); }
.navbar-nav .nav-link.active { color: var(--gv-flame); }
.navbar-toggler { border-color: rgba(184, 131, 43, .5); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(226, 184, 101, .5); }

@media (max-width: 1199.98px) {
  .navbar-collapse { padding: .5rem 0 1.25rem; }
  .navbar-nav .nav-link { padding-block: .6rem; border-bottom: 1px solid rgba(184, 131, 43, .15); }
}

/* ---------- 5. Hero – the lamp in a dark sanctum ---------- */
.hero {
  --hero-pad: clamp(3rem, 6vw, 6rem);   /* top/bottom space, reused by the light panel */
  position: relative;
  overflow: hidden;
  color: var(--gv-ivory);
  padding: var(--hero-pad) 0;
  background:
    radial-gradient(ellipse 50% 70% at 25% 40%, #5C2D12 0%, rgba(59, 29, 14, 0) 70%),
    linear-gradient(180deg, var(--gv-lamp) 0%, var(--gv-lamp-deep) 100%);
}

/* Soft light glow behind the emblem only.
   A radial gradient: light ivory at the centre, fading out into the dark
   hero background – no hard edges. Tweak the rgba() stops to make it
   brighter (raise the alpha values) or smaller (lower the % positions). */
.hero-art {
  position: relative;
  align-self: stretch;                  /* full height of the row */
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: calc(-1 * var(--hero-pad));
  bottom: calc(-1 * var(--hero-pad));
  left: -12%;
  right: -12%;
  pointer-events: none;
  background: radial-gradient(closest-side,
              rgba(255, 249, 238, .96) 0%,
              rgba(255, 244, 224, .82) 38%,
              rgba(240, 214, 170, .38) 68%,
              rgba(240, 214, 170, 0) 100%);
}
@media (max-width: 991.98px) {
  .hero-art { padding-bottom: 1rem; }
  .hero-art::before { left: -20%; right: -20%; bottom: -1.5rem; }
}

.hero-mantra { font-size: 1.3rem; color: var(--gv-gold-soft); margin-bottom: .1rem; }
.hero-mantra-meaning { font-style: italic; color: rgba(255, 251, 244, .7); margin-bottom: 1.75rem; }

.hero-title {
  color: var(--gv-ivory);
  font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.1rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 17ch;
}

.hero-lead { font-size: 1.3rem; color: rgba(255, 251, 244, .88); max-width: 46ch; }

.hero-trust-note {
  margin-top: 2rem; margin-bottom: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 184, 101, .3);
  color: var(--gv-gold-soft);
  font-size: 1rem;
  max-width: 40ch;
}

.hero-emblem { position: relative; z-index: 1; width: 100%; max-width: 400px; margin-inline: auto; }
.hero-emblem img { position: relative; z-index: 1; width: 100%; height: auto; }

/* The glow behind the lamp flame – the page's one bit of ambient motion */
.hero-emblem::before {
  content: "";
  position: absolute; z-index: 0;
  left: 50%; top: 54%;
  width: 85%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
              rgba(var(--gv-flame-glow), .32) 0%,
              rgba(var(--gv-flame-glow), .10) 38%,
              rgba(var(--gv-flame-glow), 0) 68%);
  animation: flame-glow 5s ease-in-out infinite;
}

@keyframes flame-glow {
  0%, 100% { opacity: .8; transform: translate(-50%, -50%) scale(.96); }
  45%      { opacity: 1;  transform: translate(-50%, -50%) scale(1.04); }
  60%      { opacity: .9; transform: translate(-50%, -50%) scale(1); }
}

@media (max-width: 991.98px) {
  .hero-emblem { max-width: 240px; }
}

/* ---------- 6. Trust strip ---------- */
.trust-strip {
  background: var(--gv-leaf);
  border-bottom: 1px solid rgba(184, 131, 43, .3);
}
.trust-item { padding: 2rem 1.75rem; }
.trust-item p { margin: 0; color: var(--gv-muted); font-size: 1.05rem; }
.trust-title { font-size: 1.15rem; font-weight: 600; color: var(--gv-gold-ink); margin-bottom: .4rem; }

@media (min-width: 768px) {
  .trust-item + .trust-item { border-left: 1px solid rgba(184, 131, 43, .35); }
  .trust-item:first-child { padding-left: 0; }   /* line up with the page edge */
  .trust-item:last-child  { padding-right: 0; }
}
@media (max-width: 767.98px) {
  .trust-item { padding: 1.5rem .25rem; }
  .trust-item + .trust-item { border-top: 1px solid rgba(184, 131, 43, .35); }
}

/* ---------- 7. Generic section spacing ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-head { margin-bottom: 2.5rem; }
.section-title { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); line-height: 1.2; margin-bottom: .75rem; }
.section-intro { font-size: 1.25rem; color: var(--gv-muted); margin: 0; }

/* ---------- 8. Offerings ---------- */
.offer-card {
  height: 100%;
  display: flex; flex-direction: column;
  padding: 2rem 1.75rem 1.75rem;
  background: #fff;
  border: 1px solid rgba(184, 131, 43, .35);
  border-top: 4px solid var(--gv-gold);
  border-radius: 4px;
}
.offer-card p { color: var(--gv-ink); }
.offer-card .offer-kn { color: var(--gv-flame); font-size: 1.05rem; margin-bottom: .25rem; }
.offer-title { font-size: 1.4rem; margin-bottom: .9rem; }
.offer-card .offer-for { font-size: 1rem; color: var(--gv-muted); }
.offer-link {
  margin-top: auto;
  align-self: flex-start;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* ---------- 9. Testimonials ---------- */
.testimonials { background: var(--gv-leaf); }
.testimonial { height: 100%; margin: 0; padding-left: 1.5rem; border-left: 3px solid var(--gv-gold); }
.testimonial blockquote { margin: .75rem 0 1rem; }
.testimonial blockquote p { font-size: 1.4rem; line-height: 1.5; font-style: italic; color: var(--gv-lamp); }
.testimonial figcaption { color: var(--gv-muted); font-size: 1rem; }
.stars { color: var(--gv-gold); letter-spacing: .15em; font-size: 1rem; }

/* ---------- 10. Final CTA / contact ---------- */
.final-cta {
  color: var(--gv-ivory);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background:
    radial-gradient(ellipse 50% 60% at 15% 20%, #5C2D12 0%, rgba(59, 29, 14, 0) 70%),
    var(--gv-lamp);
}
.final-title { color: var(--gv-ivory); font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); line-height: 1.15; }
.final-lead { color: rgba(255, 251, 244, .85); font-size: 1.2rem; }

.donate-box {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid rgba(226, 184, 101, .4);
  border-radius: 6px;
  background: rgba(0, 0, 0, .15);
}
.donate-title { font-size: 1.2rem; color: var(--gv-gold-soft); margin-bottom: 1rem; }
.donate-box .form-label { color: rgba(255, 251, 244, .85); font-size: 1rem; }

.amount-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 576px) { .amount-options { grid-template-columns: repeat(4, 1fr); } }

.amount-chip {
  padding: .6rem .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1.1rem;
  color: var(--gv-ivory);
  background: transparent;
  border: 1px solid rgba(226, 184, 101, .5);
  border-radius: 999px;
  transition: background-color .15s, color .15s;
}
.amount-chip:hover { border-color: var(--gv-gold-soft); }
.amount-chip.is-selected { background: var(--gv-gold-soft); color: var(--gv-lamp); border-color: var(--gv-gold-soft); }

.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-list li { display: flex; gap: .75rem; align-items: baseline; margin-bottom: .6rem; }
.contact-list i { color: var(--gv-gold-soft); }
.contact-list a { color: var(--gv-ivory); }
.contact-list a:hover { color: var(--gv-gold-soft); }

.form-panel {
  background: var(--gv-ivory);
  color: var(--gv-ink);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 6px;
  border-top: 4px solid var(--gv-gold);
}
.form-panel-title { font-size: 1.45rem; margin-bottom: 1.5rem; }
.form-label { font-weight: 500; margin-bottom: .3rem; }
.optional { font-weight: 400; color: var(--gv-muted); }

.form-control, .form-select { font-size: 1.05rem; border-color: #D9C6A3; padding: .6rem .8rem; }
.form-control:focus, .form-select:focus { border-color: var(--gv-gold); box-shadow: 0 0 0 .2rem rgba(184, 131, 43, .25); }

.form-status { margin: .9rem 0 0; font-size: 1.05rem; min-height: 1.5em; }
.form-status.is-success { color: #2F6B2F; }
.form-status.is-error   { color: #A12A1A; }
.final-cta .donate-box .form-status.is-success { color: #B9E3A8; }
.final-cta .donate-box .form-status.is-error   { color: #FFB4A3; }

/* ---------- 11. Footer ---------- */
.site-footer {
  background: var(--gv-lamp-deep);
  color: rgba(255, 251, 244, .75);
  padding: 3.5rem 0 2rem;
  font-size: 1.05rem;
}
.footer-brand { font-family: var(--font-display); font-size: 1.3rem; color: var(--gv-ivory); margin-bottom: 0; }
.footer-kn { color: var(--gv-gold-soft); margin-bottom: .5rem; }
.footer-note { margin: 0; }

.footer-links { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 1.5rem; }
.footer-links li { margin-bottom: .4rem; }
.site-footer a { color: rgba(255, 251, 244, .85); text-decoration: none; }
.site-footer a:hover { color: var(--gv-gold-soft); text-decoration: underline; }

.social { display: flex; gap: .75rem; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(226, 184, 101, .4);
  border-radius: 50%;
  font-size: 1.15rem;
}
.social a:hover { background: var(--gv-gold-soft); color: var(--gv-lamp); text-decoration: none; }

.copyright {
  margin: 2.5rem 0 0; padding-top: 1.25rem;
  border-top: 1px solid rgba(226, 184, 101, .2);
  font-size: .95rem; max-width: none;
}

/* =========================================================================
   INNER PAGES (added for About, Vedas, Admissions, Events, Gallery, etc.)
   ========================================================================= */

/* ---------- 12. Navigation dropdowns ---------- */
.navbar .dropdown-menu {
  border: 1px solid rgba(184, 131, 43, .35);
  border-top: 3px solid var(--gv-gold);
  border-radius: 4px;
  padding: .4rem 0;
  background: var(--gv-ivory);
  box-shadow: 0 12px 28px rgba(36, 17, 10, .12);
}
.navbar .dropdown-item { font-size: 1.02rem; padding: .45rem 1.1rem; color: var(--gv-ink); }
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus { background: var(--gv-leaf); color: var(--gv-flame); }
.navbar .dropdown-item.active,
.navbar .dropdown-item:active { background: var(--gv-leaf); color: var(--gv-flame); font-weight: 600; }
@media (max-width: 1199.98px) {
  .navbar .dropdown-menu { border: 0; box-shadow: none; background: transparent; padding: 0 0 .4rem 1rem; }
}

/* ---------- 13. Page title band ---------- */
.page-banner {
  color: var(--gv-ivory);
  padding: clamp(2.5rem, 5vw, 4.25rem) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(ellipse 45% 80% at 85% 30%, rgba(var(--gv-flame-glow), .16) 0%, rgba(59, 29, 14, 0) 70%),
    radial-gradient(ellipse 50% 70% at 15% 40%, #5C2D12 0%, rgba(59, 29, 14, 0) 70%),
    linear-gradient(180deg, var(--gv-lamp) 0%, var(--gv-lamp-deep) 100%);
  border-bottom: 3px solid var(--gv-gold);
}
.page-banner .breadcrumb { font-size: .98rem; margin-bottom: 1.5rem; --bs-breadcrumb-divider-color: rgba(226, 184, 101, .6); }
.page-banner .breadcrumb a { color: var(--gv-gold-soft); text-decoration: none; }
.page-banner .breadcrumb a:hover { text-decoration: underline; }
.page-banner .breadcrumb-item.active { color: rgba(255, 251, 244, .7); }
.page-kn { color: var(--gv-gold-soft); font-size: 1.15rem; margin-bottom: .2rem; }
.page-title { color: var(--gv-ivory); font-size: clamp(2rem, 1.3rem + 2.6vw, 3.3rem); line-height: 1.12; margin-bottom: 1rem; max-width: 22ch; }
.page-lead { font-size: 1.25rem; color: rgba(255, 251, 244, .86); max-width: 62ch; margin: 0; }

/* ---------- 14. Content helpers ---------- */
.section-tight { padding: clamp(2.5rem, 5vw, 3.75rem) 0; }
.band-leaf { background: var(--gv-leaf); border-block: 1px solid rgba(184, 131, 43, .2); }
.section-title-sm { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); }
.sub-title { font-family: var(--font-display); font-size: 1.3rem; color: var(--gv-lamp); margin-bottom: .75rem; }
.lead-text { font-size: 1.3rem; line-height: 1.6; color: var(--gv-lamp); }
.text-muted-warm { color: var(--gv-muted); }
.small-print { font-size: 1rem; margin-top: 1rem; }
.eyebrow { font-family: var(--font-display); font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gv-gold-ink); margin-bottom: 1rem; }
.text-link { font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link i { font-size: .9em; }

/* Highlights text you still need to fill in, e.g. [Insert the official email address] */
.fill-in { background: #FFF1C9; color: #7A4A00; padding: 0 .3em; border-radius: 3px; border: 1px dashed #D4A94F; }

.pull-quote { margin: 0; padding: .5rem 0 .5rem 1.5rem; border-left: 3px solid var(--gv-gold); }
.pull-quote p { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); line-height: 1.4; font-style: italic; color: var(--gv-lamp); margin: 0; }
.pull-quote-center { border: 0; padding: 0; text-align: center; }
.pull-quote-center p { margin-inline: auto; max-width: 34ch; }
.pull-quote-center::before { content: "॥"; display: block; color: var(--gv-gold); font-size: 1.6rem; margin-bottom: .5rem; }

.note-box { background: #fff; border: 1px solid rgba(184, 131, 43, .35); border-left: 4px solid var(--gv-gold); border-radius: 4px; padding: 1.5rem 1.75rem; }
.note-box p:last-child { margin-bottom: 0; }
.note-box-gold { background: #FFF6E4; }
.note-title { font-size: 1.3rem; margin-bottom: .6rem; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .55rem; }
.check-list li::before {
  content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .1em;
  color: var(--gv-flame); font-size: 1.15rem;
}

.tag-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list li { border: 1px solid rgba(184, 131, 43, .5); border-radius: 999px; padding: .2rem .9rem; font-size: 1rem; background: #fff; color: var(--gv-lamp); }

/* Home: "how a passage is learned" */
.method-list { list-style: none; padding: 0; margin: 0; border-left: 2px solid rgba(184, 131, 43, .45); }
.method-list li { display: flex; align-items: center; gap: 1rem; padding: .8rem 0 .8rem 0; margin-left: -1.05rem; font-size: 1.2rem; }
.method-num {
  flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gv-lamp); color: var(--gv-gold-soft); font-family: var(--font-display); font-size: 1rem;
}
.method-list strong { color: var(--gv-flame); font-weight: 600; }

/* About: growth figure + purposes */
.growth-figure { display: flex; flex-direction: column; align-items: flex-start; padding: 1.75rem; background: var(--gv-leaf); border-radius: 4px; border-top: 4px solid var(--gv-gold); }
.growth-step { display: grid; grid-template-columns: 5.5rem 1fr; align-items: center; gap: 1rem; }
.growth-num { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--gv-flame); text-align: center; }
.growth-label { color: var(--gv-muted); font-size: 1.1rem; line-height: 1.4; }
.growth-line { width: 2px; height: 2.2rem; margin: .6rem 0 .6rem calc(2.75rem - 1px); background: repeating-linear-gradient(var(--gv-gold) 0 5px, transparent 5px 10px); }
.purpose-card { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid rgba(184, 131, 43, .35); border-radius: 4px; padding: 1.25rem 1.5rem; height: 100%; }
.purpose-card p { margin: 0; font-size: 1.25rem; color: var(--gv-lamp); }
.purpose-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--gv-gold-ink); }

/* Vision & mission */
.vision-block { text-align: center; max-width: 52rem; margin: 0 auto; }
.vision-text { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); line-height: 1.5; color: var(--gv-lamp); margin: 0 auto; max-width: none; }
.mission-list { list-style: none; counter-reset: m; padding: 0; margin: 0; }
.mission-list li { counter-increment: m; position: relative; padding: .9rem 0 .9rem 3rem; border-bottom: 1px solid rgba(184, 131, 43, .3); }
.mission-list li:first-child { padding-top: 0; }
.mission-list li:first-child::before { top: 0; }
.mission-list li::before {
  content: counter(m, decimal-leading-zero); position: absolute; left: 0; top: .9rem;
  font-family: var(--font-display); color: var(--gv-gold-ink); font-size: 1.05rem;
}
.value-card { background: #fff; border: 1px solid rgba(184, 131, 43, .35); border-top: 4px solid var(--gv-gold); border-radius: 4px; padding: 1.5rem 1.5rem 1.25rem; height: 100%; }
.value-card p:last-child { margin-bottom: 0; }
.value-title { font-size: 1.3rem; margin-bottom: .6rem; }

/* Acharya */
.acharya-card {
  text-align: center; padding: 2.5rem 1.5rem; border-radius: 4px; color: var(--gv-ivory);
  background: radial-gradient(ellipse 70% 60% at 50% 30%, #5C2D12 0%, var(--gv-lamp) 75%);
  border-bottom: 4px solid var(--gv-gold);
}
.acharya-kn { color: var(--gv-gold-soft); font-size: 1.15rem; margin: 0 auto .25rem; }
.acharya-name { color: var(--gv-ivory); font-size: 1.7rem; margin-bottom: .25rem; }
.acharya-role { color: rgba(255, 251, 244, .75); margin: 0 auto; letter-spacing: .04em; }

/* About the Vedas */
.veda-card { position: relative; background: #fff; border: 1px solid rgba(184, 131, 43, .35); border-radius: 4px; padding: 1.6rem 1.6rem 1.25rem; height: 100%; }
.veda-card.is-focus { border: 2px solid var(--gv-flame); box-shadow: 0 10px 24px rgba(198, 90, 18, .12); }
.veda-badge { position: absolute; top: 1.1rem; right: 1.1rem; background: var(--gv-flame); color: #fff; font-size: .85rem; font-weight: 600; padding: .15rem .7rem; border-radius: 999px; }
.veda-kn { color: var(--gv-flame); margin-bottom: .1rem; }
.veda-title { font-size: 1.5rem; margin-bottom: .6rem; }
.veda-card p:last-child { margin-bottom: 0; }

.tree-figure { margin: 0; text-align: center; }
.tree-figure img { width: 100%; max-width: 560px; height: auto; }
.tree-figure figcaption { font-style: italic; color: var(--gv-muted); margin-top: .5rem; }
.tree-switch { display: inline-flex; border: 1px solid rgba(184, 131, 43, .6); border-radius: 999px; padding: 3px; margin-bottom: 1rem; background: #fff; }
.tree-btn { border: 0; background: transparent; border-radius: 999px; padding: .3rem 1.1rem; font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--gv-lamp); }
.tree-btn.kn { font-family: var(--font-kn); }
.tree-btn.is-active { background: var(--gv-lamp); color: var(--gv-gold-soft); }

.anga-card { background: #fff; border: 1px solid rgba(184, 131, 43, .35); border-radius: 4px; padding: 1.4rem 1.5rem 1.1rem; height: 100%; }
.anga-kn { color: var(--gv-flame); margin-bottom: 0; font-size: 1.05rem; }
.anga-title { font-size: 1.3rem; margin-bottom: .45rem; }
.anga-card p:last-child { margin-bottom: 0; color: var(--gv-ink); }

.pattern-row { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.pattern-row li { background: var(--gv-lamp); color: var(--gv-gold-soft); border-radius: 999px; padding: .2rem .95rem; font-weight: 600; }
.pattern-row li + li::before { content: "›"; color: var(--gv-gold); margin: 0 .55rem 0 -.2rem; display: none; }

/* Learning path / admission steps (numbered) */
.path-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 768px)  { .path-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .path-steps { grid-template-columns: repeat(4, 1fr); } .path-steps-3 { grid-template-columns: repeat(3, 1fr); } }
.path-steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid rgba(184, 131, 43, .35); border-radius: 4px; padding: 3.6rem 1.4rem 1.25rem; }
.path-steps li::before {
  content: counter(step); position: absolute; top: 1.1rem; left: 1.4rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--gv-flame); color: #fff; font-family: var(--font-display); font-size: 1rem;
}
.path-steps h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.path-steps p { margin: 0; }

.subject-card { text-align: left; background: #fff; border: 1px solid rgba(184, 131, 43, .35); border-radius: 4px; padding: 1.5rem; height: 100%; }
.subject-card i { font-size: 1.8rem; color: var(--gv-gold); }
.subject-card h3 { font-size: 1.2rem; margin: .6rem 0 .4rem; }
.subject-card p { margin: 0; }

.question-list { padding-left: 1.2rem; margin: 0; }
.question-list li { margin-bottom: .55rem; padding-left: .3rem; }
.question-list li::marker { color: var(--gv-gold); }

/* Events */
.empty-state { text-align: center; padding: 2.5rem 1.5rem; border: 1px dashed rgba(184, 131, 43, .6); border-radius: 6px; background: #fff; }
.empty-state i { font-size: 2.2rem; color: var(--gv-gold); }
.empty-state p { margin-inline: auto; }
.empty-title { font-family: var(--font-display); font-size: 1.35rem; color: var(--gv-lamp); margin: .5rem auto .25rem; }
.event-card { display: flex; gap: 1.5rem; background: #fff; border: 1px solid rgba(184, 131, 43, .35); border-radius: 4px; padding: 1.5rem; margin-bottom: 1rem; }
.event-date { flex: none; width: 5.5rem; text-align: center; background: var(--gv-lamp); color: var(--gv-ivory); border-radius: 4px; padding: .75rem .5rem; align-self: flex-start; }
.event-day { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--gv-gold-soft); }
.event-month { font-size: .95rem; }
.event-title { font-size: 1.35rem; }
.event-meta { list-style: none; padding: 0; margin: 0 0 .75rem; color: var(--gv-muted); }
.event-note { font-size: 1rem; color: var(--gv-muted); margin: 0; }

/* Gallery */
.video-figure { margin: 0; max-width: 900px; }
.video-figure video { width: 100%; height: auto; display: block; border-radius: 6px; background: var(--gv-lamp-deep); border: 1px solid rgba(184, 131, 43, .4); }
.video-figure figcaption { color: var(--gv-muted); margin-top: .6rem; font-style: italic; }
.collection-card { background: #fff; border: 1px solid rgba(184, 131, 43, .35); border-radius: 4px; overflow: hidden; height: 100%; padding: 0 0 1.25rem; }
.collection-thumb {
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem;
  background: radial-gradient(ellipse at 50% 40%, #FBEFD6 0%, var(--gv-leaf) 70%); color: var(--gv-gold);
  font-size: 2.4rem; border-bottom: 1px solid rgba(184, 131, 43, .3);
}
.collection-card h3, .collection-card p { padding-inline: 1.4rem; }
.collection-title { font-size: 1.25rem; margin-bottom: .4rem; }
.collection-soon { font-size: .95rem; color: var(--gv-gold-ink); font-style: italic; margin: 0; }

/* Support us */
.final-title-sm { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.give-points { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.give-points li { display: flex; gap: .8rem; margin-bottom: .9rem; color: rgba(255, 251, 244, .88); }
.give-points i { color: var(--gv-gold-soft); font-size: 1.2rem; }
.donate-policy { font-size: .98rem; color: rgba(255, 251, 244, .75); margin: .4rem 0 0; }
.donate-policy a { color: var(--gv-gold-soft); }
.btn-outline-dark-gold { border: 1px solid var(--gv-gold); color: var(--gv-gold-ink); background: transparent; }
.btn-outline-dark-gold:hover, .btn-outline-dark-gold:focus { background: var(--gv-lamp); border-color: var(--gv-lamp); color: var(--gv-gold-soft); }

/* Donation policy */
.draft-notice { display: flex; gap: 1rem; background: #FFF1C9; border: 1px solid #D4A94F; border-radius: 6px; padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; }
.draft-notice > i { font-size: 1.6rem; color: #8A5A12; }
.draft-notice p { margin-bottom: .35rem; }
.draft-title { font-weight: 600; color: #6B3E00; font-size: 1.15rem; }
.draft-meta { font-size: 1rem; color: var(--gv-muted); margin-bottom: 0 !important; }
.policy-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.25rem 1.25rem 1rem; background: var(--gv-leaf); border-radius: 4px; }
.policy-toc-title { font-family: var(--font-display); color: var(--gv-lamp); margin-bottom: .5rem; }
.policy-toc ol { padding-left: 1.3rem; margin: 0; font-size: 1rem; }
.policy-toc li { margin-bottom: .3rem; }
.policy-toc a { text-decoration: none; color: var(--gv-ink); }
.policy-toc a:hover { color: var(--gv-flame); text-decoration: underline; }
.policy-section { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(184, 131, 43, .25); }
.policy-section:last-child { border-bottom: 0; }
.policy-section h2 { font-size: 1.35rem; margin-bottom: .6rem; }
.policy-num { color: var(--gv-gold-ink); }

/* Contact */
.contact-details { margin: 0; }
.contact-details > div { padding: .85rem 0; border-bottom: 1px solid rgba(184, 131, 43, .25); }
.contact-details dt { font-weight: 600; color: var(--gv-lamp); }
.contact-details dt i { color: var(--gv-gold); margin-right: .35rem; }
.contact-details dd { margin: .2rem 0 0 1.6rem; }
.form-panel-light { background: #fff; border: 1px solid rgba(184, 131, 43, .35); border-top: 4px solid var(--gv-gold); }
.form-panel-title { font-family: var(--font-display); color: var(--gv-lamp); }
.form-hint { font-size: 1rem; color: var(--gv-muted); margin: -.25rem 0 0; }
.form-hint.is-error { color: #A12A1A; }
.privacy-note { font-size: 1rem; color: var(--gv-muted); background: var(--gv-leaf); padding: .75rem 1rem; border-radius: 4px; }
.privacy-note i { color: var(--gv-gold-ink); margin-right: .25rem; }
fieldset legend.form-label { font-size: 1.1875rem; float: none; }
.form-check-input:checked { background-color: var(--gv-flame); border-color: var(--gv-flame); }
.form-check-input:focus { border-color: var(--gv-gold); box-shadow: 0 0 0 .2rem rgba(184, 131, 43, .25); }

/* ---------- 15. "Continue reading" cards ---------- */
.related { border-top: 1px solid rgba(184, 131, 43, .25); }
.related-title { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gv-gold-ink); margin-bottom: 1.25rem; }
.next-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 1.25rem 3rem 1.25rem 1.4rem; text-decoration: none; color: var(--gv-ink);
  background: #fff; border: 1px solid rgba(184, 131, 43, .35); border-radius: 4px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.next-card:hover { border-color: var(--gv-flame); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(36, 17, 10, .08); color: var(--gv-ink); }
.next-kicker { font-size: .9rem; color: var(--gv-gold-ink); letter-spacing: .04em; }
.next-title { font-family: var(--font-display); font-size: 1.2rem; color: var(--gv-lamp); margin: .15rem 0 .3rem; }
.next-text { font-size: 1.02rem; color: var(--gv-muted); }
.next-arrow { position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); color: var(--gv-flame); font-size: 1.2rem; }

/* ---------- 16. Connect band (dark closing CTA) ---------- */
.connect-band {
  color: var(--gv-ivory);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background:
    radial-gradient(ellipse 50% 70% at 10% 30%, #5C2D12 0%, rgba(59, 29, 14, 0) 70%),
    var(--gv-lamp);
}
.connect-title { color: var(--gv-ivory); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); line-height: 1.2; }
.connect-text { color: rgba(255, 251, 244, .85); font-size: 1.2rem; margin: 0; }

/* ---------- 17. Footer columns ---------- */
.footer-head { font-family: var(--font-display); color: var(--gv-gold-soft); font-size: 1rem; letter-spacing: .08em; margin-bottom: .75rem; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: .45rem; }

/* ---------- 18. Respect reduced-motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-emblem::before { animation: none; }
  .next-card:hover { transform: none; }
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
