:root {
  --paper: #F2E8D5;
  --paper-deep: #E9DCC0;
  --paper-card: #FBF6EA;
  --ink: #241812;
  --ink-soft: #4a3c30;
  --maroon: #7A2331;
  --maroon-deep: #5C1A24;
  --gold: #B8892B;
  --gold-soft: #d9b878;
  --teal: #1F4B43;
  --font-display: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;
  --font-dev: 'Noto Sans Devanagari', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(122,35,49,0.03), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(184,137,43,0.05), transparent 45%);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ---------- NAV ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242,232,213,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(36,24,18,0.12);
}
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; max-width: 1160px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; }
.seal {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid var(--maroon);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-dev); color: var(--maroon); font-weight: 700; font-size: 18px;
  background: var(--paper-card);
  position: relative;
}
.seal::after {
  content: ''; position: absolute; inset: 4px;
  border: 1px solid var(--gold); border-radius: 50%;
}
.logo-text { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: 0.2px; }
.logo-text span { display: block; font-family: var(--font-body); font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--maroon); font-weight: 600; margin-top: 2px; }

.nav-links { display: flex; gap: 34px; font-size: 14.5px; font-weight: 500; }
.nav-links a { position: relative; padding-bottom: 4px; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--maroon); transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.active::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 3px;
  font-weight: 600; font-size: 14px; letter-spacing: 0.3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--maroon); color: var(--paper-card); }
.btn-primary:hover { background: var(--maroon-deep); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(122,35,49,0.3); }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.nav-cta { display: flex; align-items: center; gap: 16px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--ink); }

/* ---------- HERO ---------- */
.hero { padding: 88px 0 70px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; min-width: 0; }
.hero-grid > * { min-width: 0; }
.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--maroon); margin-bottom: 18px; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before,
.eyebrow::after {
  content: ''; width: 26px; height: 1.5px; background: var(--gold); flex-shrink: 0;
}

.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 56px; line-height: 1.06; letter-spacing: -0.5px;
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--maroon); font-weight: 500; }

.hero-sub { font-size: 17px; color: var(--ink-soft); max-width: 460px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 16px; margin-bottom: 46px; flex-wrap: wrap; }

.stats-row { display: flex; gap: 40px; }
.stat-num { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--maroon-deep); }
.stat-label { font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

.manuscript {
  background: var(--paper-card);
  border: 1px solid rgba(36,24,18,0.15);
  border-radius: 4px;
  padding: 40px 34px;
  position: relative;
  box-shadow: 0 24px 48px rgba(36,24,18,0.12);
}
.manuscript::before, .manuscript::after {
  content: ''; position: absolute; width: 26px; height: 26px;
  border: 2px solid var(--gold);
}
.manuscript::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.manuscript::after { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.shloka {
  font-family: var(--font-dev); font-size: 25px; line-height: 1.75; color: var(--maroon-deep);
  text-align: center; font-weight: 500; margin-bottom: 18px;
}
.shloka-divider { width: 50px; height: 1.5px; background: var(--gold); margin: 0 auto 18px; }
.translation { text-align: center; font-style: italic; color: var(--ink-soft); font-size: 15px; margin-bottom: 6px; }
.translation-src { text-align: center; font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); font-weight: 600; }

.photo-frame {
  margin-top: 28px; border-radius: 3px; overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--teal), var(--maroon-deep));
  display: flex; align-items: center; justify-content: center;
  color: rgba(242,232,213,0.6); font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  position: relative;
}
.photo-frame img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- SECTION BASE ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--paper-deep); }
h2 { font-family: var(--font-display); font-size: 36px; font-weight: 600; margin-bottom: 20px; letter-spacing: -0.3px; }

/* ---------- ABOUT SNIPPET ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.about-photo {
  aspect-ratio: 3/4; border-radius: 4px; overflow: hidden;
  background: linear-gradient(160deg, var(--maroon), var(--maroon-deep));
  display: flex; align-items: center; justify-content: center;
  color: rgba(242,232,213,0.55); font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  position: relative;
}
.about-photo img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-photo::after { content: ''; position: absolute; inset: 14px; border: 1px solid var(--gold-soft); border-radius: 3px; }
.about-text p { color: var(--ink-soft); margin-bottom: 16px; font-size: 15.5px; }
.credentials { display: flex; gap: 30px; margin-top: 28px; flex-wrap: wrap; }
.credential { border-left: 2px solid var(--gold); padding-left: 14px; }
.credential-title { font-weight: 600; font-size: 14.5px; }
.credential-sub { font-size: 13px; color: var(--ink-soft); }

/* ---------- SECTION HEAD ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; gap: 20px; flex-wrap: wrap; }
.section-head p { color: var(--ink-soft); max-width: 420px; font-size: 15px; }

/* ---------- VIDEOS ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.video-card {
  display: block;
  background: var(--paper-card); border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(36,24,18,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.video-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(36,24,18,0.14); }
.video-thumb {
  aspect-ratio: 16/9; background: linear-gradient(135deg, var(--ink), #3a2c22);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.play-btn {
  width: 46px; height: 46px; border-radius: 50%; background: rgba(242,232,213,0.9);
  display: flex; align-items: center; justify-content: center; color: var(--maroon);
}
.video-info { padding: 16px 18px; }
.video-info h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.video-info span { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- COURSES ---------- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.course-card {
  background: var(--paper-card); border: 1px solid rgba(36,24,18,0.12); border-radius: 4px;
  padding: 30px 26px; display: flex; flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.course-card:hover { border-color: var(--maroon); transform: translateY(-3px); }
.course-level {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--teal); background: rgba(31,75,67,0.1); padding: 5px 12px; border-radius: 20px; margin-bottom: 18px; width: fit-content;
}
.course-card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.course-card p { color: var(--ink-soft); font-size: 14px; margin-bottom: 22px; flex-grow: 1; }
.course-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid rgba(36,24,18,0.1); }
.course-price { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--maroon-deep); }
.course-link { font-size: 13.5px; font-weight: 600; color: var(--maroon); }

/* ---------- TESTIMONIALS ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card { background: var(--paper-card); border-radius: 4px; padding: 30px 26px; border: 1px solid rgba(36,24,18,0.1); }
.testi-quote { font-size: 14.5px; color: var(--ink-soft); font-style: italic; margin-bottom: 20px; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--gold-soft); }
.testi-name { font-weight: 600; font-size: 14px; }
.testi-role { font-size: 12px; color: var(--ink-soft); }

/* ---------- CTA BAND ---------- */
.cta-band { background: var(--maroon-deep); color: var(--paper); padding: 70px 0; text-align: center; }
.cta-band h2 { color: var(--paper); font-size: 32px; }
.cta-band p { color: rgba(242,232,213,0.75); margin-bottom: 30px; }
.cta-band .btn-primary { background: var(--gold); color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--gold-soft); }

/* ---------- FOOTER ---------- */
footer { background: var(--ink); color: rgba(242,232,213,0.7); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-text { color: var(--paper); }
.footer-brand p { font-size: 13.5px; margin-top: 14px; max-width: 260px; color: rgba(242,232,213,0.55); }
.footer-col h5 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold-soft); margin-bottom: 16px; }
.footer-col a { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 10px; color: rgba(242,232,213,0.75); }
.footer-col a i { color: var(--gold-soft); width: 14px; text-align: center; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { border-top: 1px solid rgba(242,232,213,0.15); padding-top: 22px; font-size: 12.5px; display: flex; justify-content: space-between; color: rgba(242,232,213,0.5); flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: var(--gold-soft); }
.footer-bottom a:hover { color: var(--gold); text-decoration: underline; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .video-grid, .course-grid, .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- MOBILE NAV MENU ---------- */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper-card);
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    border-bottom: 1px solid rgba(36,24,18,0.12);
    box-shadow: 0 12px 24px rgba(36,24,18,0.1);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    padding: 14px 32px;
    width: 100%;
  }
  .nav-links a::after { display: none; }

  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hamburger span { transition: all 0.25s ease; }
}

/* ---------- PAGE HEADER (About/Courses/Contact) ---------- */
.page-header { padding: 70px 0 50px; text-align: center; border-bottom: 1px solid rgba(36,24,18,0.08); }
.page-header .eyebrow { justify-content: center; }
.page-header h1 { font-family: var(--font-display); font-size: 44px; font-weight: 600; margin-bottom: 14px; letter-spacing: -0.3px; }
.page-header p { color: var(--ink-soft); max-width: 560px; margin: 0 auto; font-size: 16px; }

/* ---------- TIMELINE (About page) ---------- */
.timeline { max-width: 760px; margin: 0 auto; }
.timeline-item { display: grid; grid-template-columns: 70px 1fr; gap: 28px; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker { display: flex; flex-direction: column; align-items: center; }
.timeline-dot {
  width: 14px; height: 14px; border-radius: 50%; background: var(--maroon);
  border: 3px solid var(--gold-soft); flex-shrink: 0; margin-top: 4px;
}
.timeline-line { flex: 1; width: 2px; background: rgba(36,24,18,0.15); margin-top: 8px; }
.timeline-item:last-child .timeline-line { display: none; }
.timeline-card {
  background: var(--paper-card); border: 1px solid rgba(36,24,18,0.1);
  border-radius: 6px; padding: 22px 26px;
}
.timeline-year {
  display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 12.5px;
  color: var(--maroon-deep); background: rgba(122,35,49,0.08); padding: 4px 13px;
  border-radius: 20px; margin-bottom: 10px; letter-spacing: 0.5px; text-transform: uppercase;
}
.timeline-title { font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.timeline-desc { color: var(--ink-soft); font-size: 14px; line-height: 1.65; }

/* ---------- PRESS / MEDIA MENTIONS ---------- */
.press-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; max-width: 820px; margin: 0 auto; }
.press-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--paper-card); border: 1px solid rgba(36,24,18,0.12);
  border-radius: 30px; padding: 14px 28px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.press-item:hover { border-color: var(--maroon); transform: translateY(-3px); box-shadow: 0 10px 22px rgba(36,24,18,0.1); }
.press-item::before {
  content: '"'; font-size: 26px; color: var(--gold); line-height: 0; margin-top: 6px;
}

/* ---------- COURSES PAGE - DETAILED CARDS ---------- */
.course-detail-list { display: flex; flex-direction: column; gap: 26px; max-width: 860px; margin: 0 auto; }
.course-detail-card {
  background: var(--paper-card); border: 1px solid rgba(36,24,18,0.12); border-radius: 6px;
  padding: 36px 38px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start;
}
.course-detail-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.course-detail-card h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.course-detail-desc { color: var(--ink-soft); font-size: 15px; margin-bottom: 18px; max-width: 560px; }
.course-meta { display: flex; gap: 22px; margin-bottom: 20px; flex-wrap: wrap; }
.course-meta-item { display: flex; flex-direction: column; }
.course-meta-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); font-weight: 700; margin-bottom: 3px; }
.course-meta-value { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.course-learn-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.course-learn-list li { font-size: 14px; color: var(--ink-soft); padding-left: 22px; position: relative; }
.course-learn-list li::before { content: '✓'; position: absolute; left: 0; color: var(--maroon); font-weight: 700; }
.course-detail-side {
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px; text-align: right;
  border-left: 1px solid rgba(36,24,18,0.1); padding-left: 24px; min-width: 160px;
}
.course-detail-price { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--maroon-deep); }
.course-detail-price span { font-size: 12px; font-weight: 500; color: var(--ink-soft); }

@media (max-width: 760px) {
  .course-detail-card { grid-template-columns: 1fr; }
  .course-detail-side { border-left: none; border-top: 1px solid rgba(36,24,18,0.1); padding-left: 0; padding-top: 18px; align-items: flex-start; text-align: left; width: 100%; }
}

/* ---------- WHY LEARN WITH HIM ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 900px; margin: 0 auto; }
.why-card { text-align: center; padding: 10px; }
.why-icon {
  width: 52px; height: 52px; border-radius: 50%; background: rgba(122,35,49,0.08);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  font-family: var(--font-display); font-size: 20px; color: var(--maroon); font-weight: 600;
}
.why-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.why-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--paper-card); border: 1px solid rgba(36,24,18,0.1); border-radius: 6px; padding: 22px 26px; }
.faq-q { font-weight: 600; font-size: 15px; margin-bottom: 8px; color: var(--ink); }
.faq-a { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ---------- CONTACT PAGE ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }

.contact-form-card {
  background: var(--paper-card); border: 1px solid rgba(36,24,18,0.12); border-radius: 6px;
  padding: 38px 36px;
}
.contact-form-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 24px; }

.form-group { margin-bottom: 20px; display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0.2px; }
.form-input, .form-select {
  width: 100%; padding: 12px 14px; border: 1.5px solid rgba(36,24,18,0.18);
  border-radius: 4px; background: var(--paper); font-family: var(--font-body);
  font-size: 14.5px; color: var(--ink); transition: border-color 0.2s ease;
}
.form-input:focus, .form-select:focus { outline: none; border-color: var(--maroon); }
.form-select { cursor: pointer; }
.form-submit-btn { width: 100%; justify-content: center; margin-top: 6px; border: none; cursor: pointer; font-size: 14.5px; }

.contact-info-card {
  background: var(--maroon-deep); color: var(--paper); border-radius: 6px; padding: 38px 34px;
}
.contact-info-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-bottom: 22px; color: var(--paper); }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(217,164,65,0.15);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--gold-soft); font-weight: 700; font-size: 14px;
}
.contact-info-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1px; color: rgba(242,232,213,0.55); margin-bottom: 4px; }
.contact-info-value { font-size: 15px; font-weight: 600; }
.contact-info-value a { color: var(--paper); }
.contact-info-value a:hover { color: var(--gold-soft); }

.map-section { margin-top: 60px; }
.map-wrapper {
  border-radius: 6px; overflow: hidden; border: 1px solid rgba(36,24,18,0.12);
  box-shadow: 0 16px 32px rgba(36,24,18,0.1);
}
.map-wrapper iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(15%) contrast(1.05); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- OM SYMBOL (HERO) ---------- */
.om-frame {
  margin-top: 28px; border-radius: 3px; overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--maroon-deep), var(--ink) 70%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.om-frame::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 30%, rgba(184,137,43,0.12), transparent 55%);
}
.om-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}