:root {
  --gold: #c9a84c;
  --gold-dark: #a8872e;
  --gold-light: #e0c872;
  --dark: #0a0a0a;
  --darker: #050505;
  --sec-1: #0e0e0e;
  --sec-2: #141414;
  --sec-3: #1a1a1a;
  --text: #e0d6c8;
  --text-muted: #9e9484;
  --text-dim: #6d6358;
  --border: rgba(201, 168, 76, 0.12);
  --glow: rgba(201, 168, 76, 0.08);
  --radius: 6px;
  --max-w: 1200px;
  --transition: 0.35s cubic-bezier(.4, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--gold-light);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ===================== NAVBAR ===================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all var(--transition);
  background: transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 10, .96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: .6rem 0;
  box-shadow: 0 1px 30px rgba(0,0,0,.6);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 3px;
  white-space: nowrap;
}

.nav-brand span {
  color: var(--text-dim);
  font-weight: 400;
  font-size: .8rem;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  gap: .25rem;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-menu a {
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: .45rem .7rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold);
  background: var(--glow);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all .3s;
  border-radius: 1px;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero--short {
  min-height: 55vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.25) saturate(.8);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 0%, var(--dark) 72%);
}

.hero-body {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  max-width: 800px;
}

.hero-om {
  font-size: 3.5rem;
  color: var(--gold);
  opacity: .35;
  margin-bottom: .5rem;
  animation: breathe 5s ease-in-out infinite;
}

@keyframes breathe {
  0%,
  100% { opacity: .2; transform: scale(1); }
  50% { opacity: .45; transform: scale(1.06); }
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: var(--gold);
  letter-spacing: 6px;
  line-height: 1.1;
  margin-bottom: .5rem;
  text-shadow: 0 0 80px rgba(201, 168, 76, .2);
}

.hero-sub {
  font-size: clamp(.95rem, 2.2vw, 1.3rem);
  color: var(--text-muted);
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.hero-desc {
  font-size: .95rem;
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .85rem 2.2rem;
  font-size: .8rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid var(--gold);
  text-align: center;
}

.btn--outline {
  background: transparent;
  color: var(--gold);
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 0 30px rgba(201, 168, 76, .25);
}

.btn--filled {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.btn--filled:hover {
  background: var(--gold-dark);
  box-shadow: 0 0 30px rgba(201, 168, 76, .25);
}

.btn--sm {
  padding: .55rem 1.3rem;
  font-size: .72rem;
  letter-spacing: 1.5px;
}

/* ===================== SECTIONS ===================== */
.section {
  padding: 5.5rem 1.5rem;
}

.section--1 {
  background: var(--sec-1);
}

.section--2 {
  background: var(--sec-2);
}

.section--3 {
  background: var(--sec-3);
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: .75rem;
}

.section-head .bar {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin: .75rem auto;
}

.section-head p {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: .95rem;
}

/* ===================== GRID LAYOUTS ===================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split img {
  border-radius: var(--radius);
  box-shadow: 0 16px 50px rgba(0,0,0,.45);
}

.prose h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 1.3rem;
  letter-spacing: 1.5px;
  margin-bottom: .8rem;
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-align: justify;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong { color: var(--text); }

.prose ul,
.prose ol {
  color: var(--text-muted);
  padding-left: 1.3rem;
  margin-bottom: 1rem;
}

.prose li { margin-bottom: .4rem; }

/* Card grids */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  transition: all var(--transition);
}

.card:hover {
  border-color: rgba(201, 168, 76, .3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

.card-icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: .8rem;
}

.card h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: .6rem;
}

.card p { color: var(--text-muted); font-size: .9rem; }

.tag {
  display: inline-block;
  padding: .2rem .6rem;
  background: rgba(201, 168, 76, .1);
  color: var(--gold);
  font-size: .72rem;
  border-radius: 2px;
  margin: .15rem .1rem 0 0;
  letter-spacing: .5px;
}

/* School cards */
.schools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.school {
  background: rgba(255, 255, 255, .015);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: border-color var(--transition);
}

.school:hover {
  border-color: rgba(201, 168, 76, .25);
}

.school h4 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: .95rem;
  letter-spacing: 1px;
  margin-bottom: .6rem;
}

.school p { color: var(--text-muted); font-size: .88rem; }

/* ===================== CONTACT / INFO CARDS ===================== */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.info-card:hover {
  border-color: rgba(201, 168, 76, .25);
  transform: translateY(-3px);
}

.info-card h4 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: .95rem;
  letter-spacing: 1px;
  margin-bottom: .7rem;
}

.info-card p {
  color: var(--text-muted);
  font-size: .88rem;
  margin-bottom: .4rem;
}

/* ===================== TABLE ===================== */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.dir-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.dir-table th {
  background: rgba(201, 168, 76, .08);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  padding: .85rem 1rem;
  text-align: left;
  font-size: .82rem;
  letter-spacing: 1px;
  white-space: nowrap;
}

.dir-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  color: var(--text-muted);
  font-size: .88rem;
  vertical-align: top;
}

.dir-table tr:hover td {
  background: rgba(201, 168, 76, .03);
}

/* Hierarchy / rules lists */
.step-list {
  list-style: none;
  max-width: 780px;
  margin: 0 auto;
}

.step-list li {
  padding: 1rem 1.4rem;
  border-left: 2px solid var(--gold);
  margin-bottom: .5rem;
  background: rgba(255, 255, 255, .015);
  color: var(--text-muted);
  font-size: .92rem;
}

.step-list li strong {
  color: var(--gold);
}

/* Pricing table */
.price-table {
  width: 100%;
  max-width: 620px;
  margin: 2rem auto;
  border-collapse: collapse;
}

.price-table th {
  background: rgba(201, 168, 76, .1);
  color: var(--gold);
  padding: .7rem 1rem;
  text-align: left;
  font-size: .85rem;
}

.price-table td {
  padding: .7rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  color: var(--text-muted);
  font-size: .88rem;
}

/* ===================== YANTRA GALLERY ===================== */
.gallery-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 2rem;
  align-items: center;
  justify-content: center;
}

.gallery-bar input,
.gallery-bar select {
  padding: .65rem 1rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  font-size: .88rem;
  font-family: inherit;
}

.gallery-bar select option { background: var(--dark); }

.gallery-bar input {
  width: 280px;
}

.g-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}

.g-card {
  background: rgba(255, 255, 255, .015);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
}

.g-card:hover {
  border-color: rgba(201, 168, 76, .3);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,0,0,.4);
}

.g-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: rgba(255,255,255,.03);
}

.g-card figcaption {
  padding: .6rem .8rem;
  font-size: .76rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.3;
}

.section-nav{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:2.5rem;justify-content:center;padding:1.2rem;background:rgba(255,255,255,.02);border:1px solid var(--border);border-radius:var(--radius)}
.section-nav-link{font-size:.78rem;color:var(--text-muted);letter-spacing:.5px;padding:.35rem .8rem;border-radius:var(--radius);transition:all var(--transition);white-space:nowrap}
.section-nav-link:hover{color:var(--gold);background:var(--glow)}
.gallery-section{margin-bottom:3rem}
.gallery-section-title{font-family:'Cinzel',serif;font-size:1.15rem;color:var(--gold);letter-spacing:1.5px;padding-bottom:.6rem;border-bottom:1px solid var(--border);margin-bottom:1.3rem}

/* Lightbox */
.lb {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .96);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lb.open {
  display: flex;
}

.lb img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lb-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--gold);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.lb-title {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text);
  font-size: .92rem;
  text-align: center;
  max-width: 80%;
  background: rgba(0, 0, 0, .6);
  padding: .4rem 1.2rem;
  border-radius: var(--radius);
}

/* ===================== VIDEO ===================== */
.video {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===================== FORM ===================== */
.signup {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
}

.signup input[type="email"] {
  width: 100%;
  padding: .85rem 1.1rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  margin-bottom: 1rem;
}

.signup input[type="email"]::placeholder {
  color: var(--text-dim);
}

.signup button {
  border: none;
  font-family: inherit;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--darker);
  padding: 3rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer p {
  color: var(--text-dim);
  font-size: .82rem;
  margin-bottom: .3rem;
}

.footer-links {
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1.2rem;
  justify-content: center;
}

.footer-links a {
  font-size: .78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--gold);
}

/* ===================== FADE ANIMATION ===================== */
.fade {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .split {
    gap: 2.5rem;
  }
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  .schools {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, .98);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
    border-top: 1px solid var(--border);
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu a {
    padding: .7rem 0;
    display: block;
    font-size: .82rem;
  }
  .nav-toggle {
    display: flex;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .split--reverse {
    direction: ltr;
  }
  .section {
    padding: 4rem 1.25rem;
  }
  .g-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .8rem;
  }
  .g-card figcaption {
    font-size: .7rem;
    padding: .4rem .5rem;
  }
  .hero-title {
    letter-spacing: 3px;
  }
}

@media (max-width: 480px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .schools {
    grid-template-columns: 1fr;
  }
  .info-cards {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 3rem 1rem;
  }
  .hero-body {
    padding: 1.5rem 1rem;
  }
  .gallery-bar input {
    width: 100%;
  }
  .gallery-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .gallery-bar .btn {
    width: 100%;
  }
}
