/* ========================================
   DHYANAHITA — Complete Website Stylesheet
   Color Palette:
   Gold:    #c8892a
   Deep:    #0d1f2d  (dark navy)
   Sage:    #2e5d4b  (forest green)
   Cream:   #f9f5ee
   Warm:    #f0e8d5
   Lotus:   #d4687c  (lotus pink accent)
======================================== */

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

:root {
  --gold:   #c8892a;
  --gold-lt:#e8b050;
  --deep:   #0d1f2d;
  --sage:   #2e5d4b;
  --cream:  #f9f5ee;
  --warm:   #f0e8d5;
  --lotus:  #d4687c;
  --text:   #2a2a2a;
  --text-lt:#5a5a5a;
  --white:  #ffffff;
  --shadow: 0 4px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 60px rgba(0,0,0,0.18);
  --radius: 12px;
  --transition: 0.3s ease;
  --font-display: 'Cinzel', serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-body: 'Lato', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* ---- TOPBAR ---- */
.topbar {
  background: var(--deep);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.topbar-donate {
  background: var(--gold);
  color: white;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.topbar-donate:hover { background: var(--gold-lt); }
.topbar-right a:not(.topbar-donate) {
  color: rgba(255,255,255,0.6);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- HEADER ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,137,42,0.15);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.12); }
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 70px; width: auto; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; }
.logo-main {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--deep);
  letter-spacing: 0.05em;
  line-height: 1.1;
}
.logo-sub {
  font-family: var(--font-serif);
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-lt);
  padding: 7px 14px;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--gold); background: rgba(200,137,42,0.07); }
.nav-link.nav-cta {
  background: var(--gold);
  color: white;
  border-radius: 8px;
}
.nav-link.nav-cta:hover { background: var(--deep); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--deep);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
  border: 2px solid var(--gold);
}
.btn-primary:hover { background: var(--deep); border-color: var(--deep); color: white; transform: translateY(-2px); }
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.5);
  transition: var(--transition);
}
.btn-ghost:hover { background: white; color: var(--deep); border-color: white; transform: translateY(-2px); }

/* ════════════════════════════════════════
   HERO BANNER SLIDESHOW
════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Slides */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }

/* Slide 1 - Deep meditation */
.hero-slide-1 {
  background:
    radial-gradient(ellipse at 70% 50%, rgba(200,137,42,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(46,93,75,0.3) 0%, transparent 50%),
    linear-gradient(135deg, #0d1f2d 0%, #1a3a28 50%, #0d2035 100%);
}
/* Slide 2 - Lotus/rose gold */
.hero-slide-2 {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(212,104,124,0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(200,137,42,0.15) 0%, transparent 50%),
    linear-gradient(135deg, #1a0d20 0%, #2d1535 50%, #180d2a 100%);
}
/* Slide 3 - Forest wisdom */
.hero-slide-3 {
  background:
    radial-gradient(ellipse at 60% 30%, rgba(46,93,75,0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 70%, rgba(200,137,42,0.12) 0%, transparent 50%),
    linear-gradient(135deg, #071510 0%, #0d2a1e 50%, #051812 100%);
}
/* Slide 4 - Spiritual sunrise */
.hero-slide-4 {
  background:
    radial-gradient(ellipse at 50% 60%, rgba(232,176,80,0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(212,104,124,0.15) 0%, transparent 50%),
    linear-gradient(135deg, #1f1508 0%, #2d1f0a 50%, #1a1205 100%);
}

/* Animated BG elements per slide */
.hero-slide-1 .slide-deco,
.hero-slide-2 .slide-deco,
.hero-slide-3 .slide-deco,
.hero-slide-4 .slide-deco {
  position: absolute;
  inset: 0;
}
.slide-deco::before {
  content: '';
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 55vw;
  height: 90vh;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0.12;
}
.hero-slide-1 .slide-deco::before { background: radial-gradient(ellipse, rgba(200,137,42,1), transparent 70%); }
.hero-slide-2 .slide-deco::before { background: radial-gradient(ellipse, rgba(212,104,124,1), transparent 70%); }
.hero-slide-3 .slide-deco::before { background: radial-gradient(ellipse, rgba(46,93,75,1), transparent 70%); }
.hero-slide-4 .slide-deco::before { background: radial-gradient(ellipse, rgba(232,176,80,1), transparent 70%); }

/* Ripple rings */
.hero-ripples { position: absolute; inset: 0; pointer-events: none; }
.ripple {
  position: absolute;
  right: 15%;
  top: 50%;
  transform: translate(50%,-50%);
  border-radius: 50%;
  border: 1px solid rgba(200,137,42,0.2);
  animation: ripple-expand 5s ease-out infinite;
}
.r1 { width: 300px; height: 300px; animation-delay: 0s; }
.r2 { width: 500px; height: 500px; animation-delay: 1.7s; }
.r3 { width: 720px; height: 720px; animation-delay: 3.4s; }
@keyframes ripple-expand {
  0% { opacity: 0.6; }
  100% { opacity: 0; transform: translate(50%,-50%) scale(1.2); }
}

/* Hero content per slide */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 120px 24px 80px max(24px, calc((100vw - 1200px)/2 + 24px));
}
.slide-content {
  display: none;
  animation: fade-up 0.9s ease both;
}
.slide-content.active { display: block; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  background: rgba(200,137,42,0.2);
  border: 1px solid rgba(200,137,42,0.5);
  color: var(--gold-lt);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}
.hero-title span { display: block; color: var(--gold-lt); }
.hero-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  line-height: 1.7;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
}
.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.02rem;
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Slide navigation */
.hero-nav {
  position: absolute;
  bottom: 50px;
  right: max(24px, calc((100vw - 1200px)/2 + 24px));
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.hero-dots {
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.hero-dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}
.hero-arrows {
  display: flex;
  gap: 10px;
}
.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); }

/* Progress bar */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  width: 0%;
  z-index: 10;
  transition: none;
}
.hero-progress.animating {
  transition: width 5.5s linear;
  width: 100%;
}

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 5;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(200,137,42,0.6));
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse { 0%,100%{opacity:0.4;} 50%{opacity:1;} }

/* ---- STATS BANNER ---- */
.stats-banner { background: var(--gold); padding: 0; }
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
}
.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.25);
  margin: 16px 0;
}

/* ---- LAYOUT HELPERS ---- */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 24px;
}
.section-header.centered { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gold);
}
.section-tag.light { color: var(--gold-lt); border-color: var(--gold-lt); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--deep);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.section-title.light { color: white; }
.section-desc { color: var(--text-lt); font-size: 1.05rem; }
.section-desc.light { color: rgba(255,255,255,0.75); }

/* ---- ABOUT ---- */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
}
.about-visual { position: relative; }
.about-mandala {
  width: 350px;
  height: 280px;
  margin: 0 auto 80px;
  *animation: spin-slow 30s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.about-image-card {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  text-align: center;
}
.founder-img-placeholder {
  background: linear-gradient(135deg, var(--deep) 0%, var(--sage) 100%);
  border-radius: 12px;
  padding: 40px 20px;
  color: white;
  margin-bottom: 12px;
}
.founder-initials {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}
.founder-title {
  font-size: 0.85rem;
  color: var(--gold-lt);
  letter-spacing: 0.05em;
}
.about-lead {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--deep);
  margin-bottom: 18px;
  line-height: 1.7;
}
.about-content p { color: var(--text-lt); margin-bottom: 16px; }
.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0;
}
.pillar {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: white;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: var(--transition);
}
.pillar:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pillar-icon { font-size: 1.4rem; flex-shrink: 0; }
.pillar strong { display: block; font-size: 0.9rem; color: var(--deep); margin-bottom: 4px; }
.pillar p { font-size: 0.8rem; color: var(--text-lt); margin: 0; line-height: 1.5; }
.nonprofit-badge-full {
  background: linear-gradient(135deg, var(--deep) 0%, #1a3448 100%);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nonprofit-badge-full span { font-size: 0.8rem; color: rgba(255,255,255,0.8); }
.nonprofit-badge-full span:first-child { color: var(--gold-lt); font-weight: 700; font-size: 0.85rem; }

/* ════════════════════════════════════════
   COURSES with POPUP
════════════════════════════════════════ */
.courses {
  background: var(--deep);
  position: relative;
  overflow: hidden;
}
.courses-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(46,93,75,0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(200,137,42,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.course-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--lotus));
  opacity: 0;
  transition: var(--transition);
}
.course-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-6px); border-color: rgba(200,137,42,0.4); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.course-card:hover::before { opacity: 1; }
.course-card.featured {
  background: rgba(200,137,42,0.12);
  border-color: rgba(200,137,42,0.4);
}
.course-card.featured::before { opacity: 1; }
.course-icon { font-size: 2.2rem; margin-bottom: 12px; }
.course-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200,137,42,0.15);
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
}
.course-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: white;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.course-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; line-height: 1.7; margin-bottom: 18px; }
.course-features {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.course-features li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}
.course-features li::before { content: '✦'; color: var(--gold); font-size: 0.6rem; flex-shrink: 0; }
.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.course-meta span { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.course-btn {
  background: var(--gold);
  color: white;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.course-btn:hover { background: var(--gold-lt); transform: scale(1.05); }

.learn-more-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(200,137,42,0.4);
  color: var(--gold-lt);
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: var(--transition);
}
.learn-more-btn:hover { background: rgba(200,137,42,0.15); border-color: var(--gold); }
.learn-more-btn svg { width: 12px; height: 12px; }

/* ════════════════════════════════════════
   COURSE DETAIL POPUP MODAL
════════════════════════════════════════ */
.course-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 18, 0.88);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(8px);
}
.course-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.course-modal {
  background: var(--deep);
  border: 1px solid rgba(200,137,42,0.3);
  border-radius: 20px;
  max-width: 780px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.35s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(200,137,42,0.3) transparent;
}
.course-modal-overlay.open .course-modal {
  transform: translateY(0) scale(1);
}
.course-modal-header {
  background: linear-gradient(135deg, rgba(200,137,42,0.15), rgba(46,93,75,0.15));
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 36px 40px 28px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--lotus); border-color: var(--lotus); color: white; }
.modal-icon { font-size: 3rem; margin-bottom: 12px; }
.modal-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200,137,42,0.15);
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: white;
  margin-bottom: 8px;
}
.modal-duration {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.course-modal-body {
  padding: 36px 40px;
}
.modal-desc {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
  margin-bottom: 28px;
}
.modal-section-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200,137,42,0.25);
}
.modal-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}
.modal-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 14px;
}
.modal-feature-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(200,137,42,0.2);
  border: 1px solid rgba(200,137,42,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.modal-feature span { font-size: 0.88rem; color: rgba(255,255,255,0.75); line-height: 1.5; }
.modal-outcomes {
  background: rgba(46,93,75,0.15);
  border: 1px solid rgba(46,93,75,0.3);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 28px;
}
.modal-outcomes p { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.modal-outcomes p:last-child { margin: 0; }
.modal-outcomes p::before { content: '🌿 '; }
.modal-footer {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.modal-enroll-btn {
  flex: 1;
  background: var(--gold);
  color: white;
  padding: 15px 28px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.modal-enroll-btn:hover { background: var(--gold-lt); transform: translateY(-2px); }
.modal-call-btn {
  background: transparent;
  color: rgba(255,255,255,0.7);
  padding: 15px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.modal-call-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ════════════════════════════════════════
   GALLERY with LIGHTBOX
════════════════════════════════════════ */
.gallery { background: var(--white); }
.gallery-intro {
  text-align: center;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--text-lt);
  font-style: italic;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 14px;
}
.gallery-item {
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
/* Featured spanning items */
.gi-1 { background: linear-gradient(135deg, #1a3a28 0%, #2e5d4b 100%); grid-column: 1 / 3; }
.gi-2 { background: linear-gradient(135deg, #0d1f2d 0%, #1e3a5a 100%); }
.gi-3 { background: linear-gradient(135deg, #3a1f0d 0%, #6b3a18 100%); }
.gi-4 { background: linear-gradient(135deg, #2e1a2e 0%, #5a2d5a 100%); }
.gi-5 { background: linear-gradient(135deg, #1a2e1a 0%, #2e5d2e 100%); grid-column: 2 / 4; }
.gi-6 { background: linear-gradient(135deg, #2e2a1a 0%, #5d5020 100%); }
.gi-7 { background: linear-gradient(135deg, #1a1a2e 0%, #2e2e5d 100%); }

/* Decorative emoji backgrounds */
.gallery-item::before {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  opacity: 0.13;
  transition: transform 0.5s ease, opacity 0.3s;
}
.gi-1::before { content: '🪷'; }
.gi-2::before { content: '🧘'; }
.gi-3::before { content: '☯'; }
.gi-4::before { content: '💫'; }
.gi-5::before { content: '🌿'; }
.gi-6::before { content: '⚡'; }
.gi-7::before { content: '🔮'; }
.gallery-item:hover::before { transform: scale(1.3) rotate(10deg); opacity: 0.2; }

/* Number badge */
.gallery-num {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.6);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  padding: 20px 18px 16px;
  transform: translateY(6px);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.gallery-item:hover .gallery-overlay { opacity: 1; transform: translateY(0); }
.gallery-overlay-text span {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.gallery-overlay-text small {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  margin-top: 3px;
}
.gallery-zoom-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(200,137,42,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.gallery-item {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-item:hover {
  transform: scale(1.025);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  z-index: 2;
  position: relative;
}

/* ════════════════════════════════════════
   GALLERY LIGHTBOX
════════════════════════════════════════ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 18, 0.95);
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(12px);
}
.lightbox-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  padding: 20px;
}
.lightbox-card {
  background: var(--deep);
  border: 1px solid rgba(200,137,42,0.3);
  border-radius: 20px;
  overflow: hidden;
  transform: scale(0.92);
  transition: transform 0.35s ease;
}
.lightbox-overlay.open .lightbox-card { transform: scale(1); }
.lightbox-image-area {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-bg {
  position: absolute;
  inset: 0;
  transition: background 0.5s ease;
}
.lightbox-emoji {
  font-size: 9rem;
  opacity: 0.18;
  position: relative;
  z-index: 1;
  user-select: none;
}
.lightbox-label-badge {
  position: absolute;
  bottom: 16px;
  left: 20px;
  background: rgba(200,137,42,0.9);
  color: white;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
}
.lightbox-info {
  padding: 28px 32px;
}
.lightbox-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: white;
  margin-bottom: 8px;
}
.lightbox-info p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}
.lightbox-close {
  position: absolute;
  top: -14px;
  right: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}
.lightbox-close:hover { background: var(--lotus); border-color: var(--lotus); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  width: calc(100% + 80px);
  left: -40px;
  pointer-events: none;
}
.lightbox-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(200,137,42,0.85);
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  pointer-events: all;
}
.lightbox-btn:hover { background: var(--gold); transform: scale(1.1); }
.lightbox-counter {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.lightbox-thumbnails {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 16px 32px 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
}
.lightbox-thumb {
  width: 46px;
  height: 36px;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0.5;
}
.lightbox-thumb.active, .lightbox-thumb:hover { border-color: var(--gold); opacity: 1; }

/* ---- DONATE ---- */
.donate {
  background: var(--sage);
  position: relative;
  overflow: hidden;
}
.donate-bg { position: absolute; inset: 0; }
.donate-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(200,137,42,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(0,0,0,0.2) 0%, transparent 50%);
}
.donate-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.donate-desc {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.8;
}
.donate-info { margin-bottom: 30px; }
.donate-detail {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.di-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-lt);
  min-width: 100px;
}
.di-value { color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.donate-methods {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.donate-method {
  display: flex;
  gap: 12px;
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
  padding: 16px;
  flex: 1;
  min-width: 180px;
}
.dm-icon { font-size: 1.5rem; }
.donate-method strong { display: block; color: white; font-size: 0.9rem; margin-bottom: 4px; }
.donate-method p { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin: 0; }
.donate-card {
  background: white;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}
.donate-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--deep);
  margin-bottom: 8px;
}
.donate-card > p { color: var(--text-lt); font-size: 0.9rem; margin-bottom: 20px; }
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.amount-btn {
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--deep);
  cursor: pointer;
  transition: var(--transition);
}
.amount-btn:hover { border-color: var(--gold); background: rgba(200,137,42,0.1); }
.amount-btn.active { background: var(--gold); color: white; border-color: var(--gold); }
.donate-form { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.donate-submit { text-align: center; }
.donate-note { font-size: 0.78rem; color: var(--text-lt); text-align: center; line-height: 1.5; }

/* ---- FORM ELEMENTS ---- */
.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e0d8cd;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: white;
  transition: var(--transition);
  outline: none;
}
.form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,137,42,0.12); }
textarea.form-input { resize: vertical; }
select.form-input { cursor: pointer; }

/* ---- TESTIMONIALS ---- */
.testimonials { background: var(--warm); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: var(--transition);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial.featured-t {
  background: var(--deep);
  border-top: 3px solid var(--gold);
}
.testimonial.featured-t p { color: rgba(255,255,255,0.8); }
.testimonial.featured-t .t-stars { color: var(--gold); }
.t-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 24px;
}
.t-author { display: flex; gap: 12px; align-items: center; }
.t-avatar {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}
.t-author strong { display: block; font-size: 0.9rem; color: var(--deep); }
.testimonial.featured-t .t-author strong { color: white; }
.t-author span { font-size: 0.8rem; color: var(--text-lt); }
.testimonial.featured-t .t-author span { color: rgba(255,255,255,0.5); }

/* ---- CONTACT ---- */
.contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 70px;
  align-items: start;
}
.contact-info p { color: var(--text-lt); margin-bottom: 28px; line-height: 1.8; }
.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: white;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.cd-icon {
  font-size: 1.4rem;
  width: 42px;
  height: 42px;
  background: rgba(200,137,42,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: 0.85rem; color: var(--deep); margin-bottom: 4px; }
.contact-detail p, .contact-detail a { font-size: 0.9rem; color: var(--text-lt); }
.contact-detail a:hover { color: var(--gold); }
.org-legal {
  background: var(--deep);
  border-radius: 10px;
  padding: 16px 20px;
  border-left: 4px solid var(--gold);
}
.org-legal p { color: rgba(255,255,255,0.8); font-size: 0.85rem; margin: 0; }
.org-legal p:first-child { color: var(--gold-lt); font-weight: 700; margin-bottom: 4px; }
.contact-form-wrap {
  background: white;
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--deep);
  margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 0.8rem; font-weight: 700; color: var(--deep); letter-spacing: 0.05em; }
.form-check { display: flex; gap: 10px; align-items: center; margin-bottom: 20px; }
.form-check label { font-size: 0.85rem; color: var(--text-lt); cursor: pointer; }
.form-submit { width: 100%; text-align: center; padding: 15px; font-size: 1rem; cursor: pointer; }
.form-success {
  background: rgba(46,93,75,0.1);
  border: 1px solid var(--sage);
  border-radius: 8px;
  padding: 14px;
  color: var(--sage);
  font-weight: 600;
  text-align: center;
  font-size: 0.9rem;
}

/* ---- FOOTER ---- */
.footer { background: var(--deep); color: rgba(255,255,255,0.7); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer-logo-img { height: 52px; width: auto; object-fit: contain; filter: brightness(0) invert(1) sepia(1) saturate(2) hue-rotate(5deg); opacity: 0.85; }
.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: white;
  display: block;
}
.footer-logo-tag {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.social-btn:hover { background: var(--gold); border-color: var(--gold); color: white; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(200,137,42,0.3);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--gold-lt); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.footer-contact p, .footer-contact a { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.footer-contact p:first-child { color: white; font-weight: 700; }
.footer-contact a:hover { color: var(--gold-lt); }
.footer-501 { background: rgba(200,137,42,0.1); border: 1px solid rgba(200,137,42,0.25); border-radius: 8px; padding: 12px 14px; }
.footer-501 p { font-size: 0.78rem; color: var(--gold-lt); }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(200,137,42,0.4);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 900;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--deep); transform: translateY(-2px); }

/* ---- ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: 200px 200px 200px; }
  .gi-1 { grid-column: 1 / 3; }
  .gi-5 { grid-column: 1 / 3; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--deep);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 999;
  }
  .nav.open { display: flex; }
  .nav-link { font-size: 1.2rem; color: rgba(255,255,255,0.8); }
  .nav-link.nav-cta { padding: 14px 40px; }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .about-grid, .donate-grid, .contact-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gi-1, .gi-5 { grid-column: auto; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .stats-inner { flex-direction: column; }
  .stat-divider { width: 60px; height: 1px; }
  .hero-content { padding: 100px 24px 60px; }
  .about-pillars { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 22px; }
  .donate-card { padding: 28px 22px; }
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-left { justify-content: center; }
  .hero-nav { right: 24px; bottom: 30px; }
  .modal-features { grid-template-columns: 1fr; }
  .course-modal-header, .course-modal-body { padding: 24px; }
  .lightbox-nav { width: 100%; left: 0; }
  .lightbox-btn { width: 38px; height: 38px; font-size: 1rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-footer { flex-direction: column; }
  .modal-enroll-btn, .modal-call-btn { width: 100%; text-align: center; }
}