/* ============================================================
   Sri Atma Sakshi — Main Stylesheet
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #c9a84c;
  --gold-light: #e8d08a;
  --gold-dark: #8b6914;
  --deep: #1a0f00;
  --cream: #faf8f3;
  --warm-white: #fff9f0;
  --brown-light: #f5ede0;
  --text-dark: #1a1208;
  --text-mid: #5c4a2a;
  --text-muted: #9a8060;
  --border: #e8d8b8;
  --accent: #8b1a1a;
  --accent-light: #d4584a;
  --nav-h: 76px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(26,15,0,0.10);
  --shadow-hover: 0 8px 40px rgba(26,15,0,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.75;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(26,15,0,0.96);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(15,8,0,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-emblem {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--gold-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-emblem:hover {
  transform: rotate(10deg) scale(1.05);
  box-shadow: 0 0 20px rgba(201,168,76,0.4);
}

.logo-emblem.small { width: 38px; height: 38px; }

.om {
  font-size: 22px;
  color: var(--deep);
  font-weight: bold;
  line-height: 1;
}

.logo-emblem.small .om { font-size: 18px; }

.logo-text {
  display: flex; flex-direction: column;
}

.logo-main {
  font-size: 17px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.logo-sub {
  font-size: 11px;
  color: rgba(201,168,76,0.7);
  letter-spacing: 0.04em;
  font-style: italic;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links li a {
  display: block;
  padding: 8px 16px;
  color: rgba(255,249,240,0.8);
  font-size: 14px;
  font-family: 'Georgia', serif;
  letter-spacing: 0.02em;
  border-radius: 6px;
  transition: all 0.25s ease;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  left: 16px; right: 16px;
}

.nav-links li a:hover {
  color: var(--gold-light);
  background: rgba(201,168,76,0.1);
}

.nav-links li a.active {
  color: var(--gold);
  background: rgba(201,168,76,0.12);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--deep) !important;
  font-weight: 600;
  border-radius: 6px !important;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--deep) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201,168,76,0.4);
}

.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(139,26,26,0.12) 0%, transparent 50%),
    linear-gradient(160deg, #0d0800 0%, #1a1000 40%, #120c00 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero::before {
  content: 'ॐ';
  position: absolute;
  font-size: 500px;
  color: rgba(201,168,76,0.025);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: pulse-bg 8s ease-in-out infinite;
}

@keyframes pulse-bg {
  0%, 100% { opacity: 0.5; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.03); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='0.8' fill='rgba(201,168,76,0.15)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 760px;
  padding: 0 24px;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 40px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease forwards;
}

.hero-title {
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--warm-white);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  animation: fadeInUp 0.9s ease 0.1s both;
}

.hero-title .highlight {
  color: var(--gold);
  font-style: italic;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,249,240,0.65);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeInUp 0.9s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease 0.3s both;
}

.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  color: rgba(201,168,76,0.5);
  font-size: 12px;
  letter-spacing: 0.1em;
  animation: fadeInUp 1s ease 0.6s both;
}

.scroll-arrow {
  width: 24px; height: 24px;
  border-right: 2px solid rgba(201,168,76,0.4);
  border-bottom: 2px solid rgba(201,168,76,0.4);
  transform: rotate(45deg);
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--deep);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Georgia', serif;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}

.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  border: 1.5px solid rgba(201,168,76,0.5);
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: 'Georgia', serif;
}

.btn-secondary:hover {
  background: rgba(201,168,76,0.12);
  border-color: var(--gold);
  transform: translateY(-2px);
}


.btn-outline {
  display: inline-block;
  padding: 10px 22px;
  background: transparent;
  color: var(--accent);
  font-size: 14px;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: 'Georgia', serif;
}

.btn-outline:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139,26,26,0.25);
}

.full-width { width: 100%; text-align: center; }



/* Our Works Section */
.our-works { padding: 5rem 0; background: #fff; }
.works-group { margin-bottom: 3rem; }
.works-group-header { display: flex; align-items: center; gap: 14px; margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid #eee; }
.sas-logo-badge { background: linear-gradient(135deg, #FF9933 33%, #fff 33%, #fff 66%, #138808 66%); border: 1px solid #ddd; border-radius: 6px; padding: 6px 10px; font-size: 11px; font-weight: 800; letter-spacing: 1px; color: #111; }
.works-group-label { font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; color: #555; text-transform: uppercase; }
.pdf-cards-row { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.pdf-card { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; cursor: pointer; }
.pdf-thumb { width: 160px; height: 210px; background: #e8e8e8; border-radius: 10px; border: 1px solid #d0d0d0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; transition: transform 0.2s, box-shadow 0.2s; }
.pdf-thumb:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.pdf-icon-box { background: #c0392b; color: white; font-size: 10px; font-weight: 700; padding: 6px 10px; border-radius: 4px; letter-spacing: 1px; }
.pdf-thumb span { font-size: 12px; color: #999; }
.pdf-card-title { width: 160px; text-align: center; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px; color: #222; text-transform: uppercase; line-height: 1.4; margin: 0; }

/* ============================================================
   SECTIONS — SHARED
   ============================================================ */
section { padding: 96px 0; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(201,168,76,0.12);
  padding: 4px 16px;
  border-radius: 40px;
  margin-bottom: 16px;
  font-family: sans-serif;
  font-weight: 600;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features { background: var(--warm-white); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon { font-size: 36px; margin-bottom: 20px; }

.feature-card h3 {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.feature-link {
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.feature-link:hover {
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* ============================================================
   QUOTE SECTION
   ============================================================ */
.quote-section {
  background: linear-gradient(135deg, #1a0f00, #0d0800);
  padding: 80px 0;
}

.quote-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-mark {
  font-size: 100px;
  line-height: 0.6;
  color: rgba(201,168,76,0.3);
  font-family: Georgia, serif;
  margin-bottom: 20px;
}

blockquote {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--warm-white);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

cite {
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.05em;
  font-style: normal;
}

/* ============================================================
   PROGRAMS SECTION
   ============================================================ */
.programs { background: var(--cream); }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.program-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.35s ease;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.program-img {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.program-img.meditation {
  background: linear-gradient(135deg, #1a0f00, #4a2a00, #8b6914);
}

.program-img.satsang {
  background: linear-gradient(135deg, #0d1a3a, #1a3a6b, #4a6a9b);
}

.program-img.retreat {
  background: linear-gradient(135deg, #0d1a0d, #1a4a1a, #3a7a3a);
}

.program-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E");
}

.program-body {
  padding: 24px;
}

.program-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(201,168,76,0.15);
  color: var(--gold-dark);
  padding: 3px 12px;
  border-radius: 40px;
  margin-bottom: 12px;
  font-family: sans-serif;
  font-weight: 600;
}

.program-body h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.program-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.program-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-family: sans-serif;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats {
  background: linear-gradient(135deg, var(--gold-dark), #5c3800);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: rgba(232,208,138,0.7);
  letter-spacing: 0.06em;
  font-family: sans-serif;
  text-transform: uppercase;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  background: var(--warm-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  font-family: sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
}

.contact-item p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

.contact-form-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form-box h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 28px;
  color: var(--text-dark);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
  font-family: sans-serif;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: 'Georgia', serif;
  color: var(--text-dark);
  background: var(--cream);
  transition: all 0.25s ease;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
  background: white;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(160deg, #1a0f00, #0d0800);
  padding: 80px 0 0;
  color: rgba(255,249,240,0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand h3 {
  font-size: 20px;
  color: var(--gold-light);
  font-weight: 500;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(232,208,138,0.5);
}

.footer-links h4 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-family: sans-serif;
  font-weight: 600;
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }

.footer-links ul li a {
  font-size: 14px;
  color: rgba(255,249,240,0.55);
  transition: all 0.25s ease;
}

.footer-links ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,249,240,0.4);
  font-family: sans-serif;
}

.footer-mantra {
  font-family: 'Georgia', serif !important;
  font-style: italic;
  color: rgba(201,168,76,0.4) !important;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  background: linear-gradient(160deg, #1a0f00, #0d0800);
  text-align: center;
}

.page-hero-content { max-width: 640px; margin: 0 auto; padding: 0 24px; }

.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  color: var(--warm-white);
  margin: 16px 0;
  line-height: 1.2;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,249,240,0.6);
  line-height: 1.8;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-mission { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image-box {
  background: linear-gradient(135deg, #1a0f00, #2a1a00);
  border-radius: var(--radius);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201,168,76,0.2);
  overflow: hidden;
}

.mandala-art {
  position: relative;
  width: 260px; height: 260px;
  display: flex; align-items: center; justify-content: center;
}

.mandala-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.25);
  animation: rotate-slow 20s linear infinite;
}

.mandala-ring.r1 { width: 260px; height: 260px; animation-duration: 30s; }
.mandala-ring.r2 { width: 180px; height: 180px; animation-direction: reverse; animation-duration: 20s; }
.mandala-ring.r3 { width: 110px; height: 110px; animation-duration: 15s; }

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.mandala-center {
  font-size: 64px;
  color: var(--gold);
  z-index: 1;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; text-shadow: 0 0 30px rgba(201,168,76,0.6); }
}

.about-text h2 {
  font-size: 34px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-values { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-mid);
}

.value-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* TIMELINE */
.timeline-section { background: var(--warm-white); }

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(201,168,76,0.1));
}

.timeline-item {
  display: flex;
  gap: 40px;
  margin-bottom: 48px;
  align-items: flex-start;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 94px;
  top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--warm-white);
  box-shadow: 0 0 0 2px var(--gold);
  z-index: 1;
}

.timeline-year {
  min-width: 80px;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-dark);
  font-family: sans-serif;
  padding-top: 2px;
  text-align: right;
}

.timeline-content {
  padding-left: 40px;
}

.timeline-content h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* PHILOSOPHY */
.philosophy { background: var(--cream); }

.philosophy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.phil-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.3s ease;
}

.phil-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(201,168,76,0.4);
}

.phil-num {
  font-size: 48px;
  font-weight: 300;
  color: rgba(201,168,76,0.25);
  line-height: 1;
  margin-bottom: 16px;
  font-family: sans-serif;
}

.phil-card h3 { font-size: 22px; font-weight: 500; margin-bottom: 14px; }

.phil-card p { font-size: 15px; color: var(--text-muted); line-height: 1.8; }

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-section { background: var(--cream); }
.team-section.alt-bg { background: var(--warm-white); }

.team-leadership {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.team-card.featured {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  transition: all 0.3s ease;
  align-items: start;
}

.team-card.featured:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(201,168,76,0.35);
}

.team-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  font-family: sans-serif;
  border: 3px solid rgba(255,255,255,0.2);
}

.team-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(201,168,76,0.15);
  color: var(--gold-dark);
  padding: 4px 14px;
  border-radius: 40px;
  margin-bottom: 12px;
  font-family: sans-serif;
  font-weight: 600;
}

.team-info h2 { font-size: 28px; font-weight: 500; margin-bottom: 4px; }

.team-title {
  font-size: 15px;
  color: var(--gold-dark);
  margin-bottom: 16px;
  font-style: italic;
}

.team-info p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.team-tags span {
  font-size: 12px;
  padding: 4px 14px;
  background: var(--brown-light);
  color: var(--text-mid);
  border-radius: 40px;
  font-family: sans-serif;
}

/* TEACHERS GRID */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.teacher-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.teacher-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(201,168,76,0.35);
}

.teacher-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  font-family: sans-serif;
}

.teacher-card h3 { font-size: 19px; font-weight: 500; margin-bottom: 4px; }

.teacher-role {
  font-size: 13px;
  color: var(--gold-dark);
  font-style: italic;
  margin-bottom: 12px;
  display: block;
}

.teacher-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.teacher-social { display: flex; justify-content: center; gap: 10px; }

.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 14px;
  transition: all 0.25s ease;
}

.social-icon:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
  transform: scale(1.1);
}

/* VOLUNTEER */
.volunteer-banner {
  background: linear-gradient(135deg, #1a0f00, #2a1a00);
  border-radius: var(--radius);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  gap: 64px;
  border: 1px solid rgba(201,168,76,0.2);
}

.volunteer-text h3 {
  font-size: 28px;
  font-weight: 500;
  color: var(--warm-white);
  margin-bottom: 14px;
}

.volunteer-text p {
  font-size: 15px;
  color: rgba(255,249,240,0.6);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 480px;
}

.volunteer-circles {
  display: flex;
  gap: -10px;
  flex-shrink: 0;
  flex-wrap: wrap;
  max-width: 220px;
  gap: 8px;
}

.vol-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  font-family: sans-serif;
  border: 2px solid rgba(255,255,255,0.15);
}

.vol-circle.more {
  background: rgba(201,168,76,0.2) !important;
  color: var(--gold);
  font-size: 12px;
  border-color: rgba(201,168,76,0.4);
}

/* ============================================================
   PUBLICATIONS PAGE
   ============================================================ */
.pub-filter-bar {
  background: var(--warm-white);
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
}

.pub-filter-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-buttons { display: flex; gap: 8px; flex-wrap: wrap; }

.filter-btn {
  padding: 8px 20px;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text-muted);
  border-radius: 40px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Georgia', serif;
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep);
  font-weight: 600;
}

.pub-search input {
  padding: 10px 20px;
  border: 1.5px solid var(--border);
  border-radius: 40px;
  font-size: 14px;
  font-family: 'Georgia', serif;
  min-width: 240px;
  transition: all 0.25s ease;
  background: white;
}

.pub-search input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

/* FEATURED PUB */
.featured-pub {
  background: var(--cream);
  padding: 64px 0;
}

.featured-pub-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.featured-pub-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--accent), var(--gold));
}

.featured-pub-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(139,26,26,0.1);
  color: var(--accent);
  padding: 4px 14px;
  border-radius: 40px;
  margin-bottom: 28px;
  font-family: sans-serif;
  font-weight: 600;
}

.featured-pub-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: start;
}

.featured-book-cover {
  width: 160px;
  height: 220px;
  border-radius: 6px;
  background: linear-gradient(160deg, #1a0f00, #3a2000);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 8px 8px 24px rgba(0,0,0,0.2);
  flex-shrink: 0;
  overflow: hidden;
  padding: 20px;
  text-align: center;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease;
}

.featured-book-cover:hover { transform: rotate(-2deg) scale(1.03); }

.book-spine {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 18px;
  background: rgba(201,168,76,0.3);
}

.book-face {
  padding-left: 8px;
}

.book-om {
  font-size: 40px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.book-face h4 {
  font-size: 15px;
  color: var(--warm-white);
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.4;
}

.book-face p {
  font-size: 11px;
  color: rgba(232,208,138,0.6);
}

.featured-pub-text span.pub-category {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(201,168,76,0.15);
  color: var(--gold-dark);
  padding: 4px 14px;
  border-radius: 40px;
  margin-bottom: 16px;
  font-family: sans-serif;
  font-weight: 600;
}

.featured-pub-text h2 { font-size: 28px; font-weight: 400; margin-bottom: 8px; }

.pub-author {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-family: sans-serif;
}

.featured-pub-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.featured-meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 28px; }

.meta-pill {
  font-size: 12px;
  padding: 4px 14px;
  background: var(--brown-light);
  color: var(--text-mid);
  border-radius: 40px;
  font-family: sans-serif;
}

.featured-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* PUB GRID */
.publications-grid-section { background: var(--warm-white); }

.pub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pub-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pub-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.pub-cover {
  height: 130px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  transition: transform 0.3s ease;
}

.pub-card:hover .pub-cover { transform: scale(1.03); }

.pub-info { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.pub-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(201,168,76,0.12);
  color: var(--gold-dark);
  padding: 3px 12px;
  border-radius: 40px;
  margin-bottom: 12px;
  font-family: sans-serif;
  font-weight: 600;
}

.pub-info h3 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.4;
}

.pub-auth {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-family: sans-serif;
}

.pub-info p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.pub-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.pub-link {
  font-size: 14px;
  color: var(--gold-dark);
  font-weight: 600;
  transition: all 0.2s ease;
}

.pub-link:hover { color: var(--accent); letter-spacing: 0.02em; }

.pub-dl {
  font-size: 13px;
  color: var(--text-muted);
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.25s ease;
  font-family: sans-serif;
}

.pub-dl:hover {
  background: var(--brown-light);
  border-color: var(--gold);
  color: var(--gold-dark);
}

.pub-card.hidden { display: none; }

/* NEWSLETTER */
.newsletter-section { background: var(--cream); padding: 80px 0; }

.newsletter-box {
  background: linear-gradient(135deg, #1a0f00, #2a1800);
  border-radius: var(--radius);
  padding: 60px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  border: 1px solid rgba(201,168,76,0.2);
}

.newsletter-text h2 { font-size: 28px; font-weight: 400; color: var(--warm-white); margin-bottom: 10px; }
.newsletter-text p { font-size: 15px; color: rgba(255,249,240,0.55); line-height: 1.7; max-width: 440px; }

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.newsletter-form input {
  padding: 12px 20px;
  border: 1.5px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  color: var(--warm-white);
  font-size: 15px;
  font-family: 'Georgia', serif;
  min-width: 260px;
  transition: all 0.25s ease;
}

.newsletter-form input::placeholder { color: rgba(232,208,138,0.4); }

.newsletter-form input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-box { max-width: 360px; margin: 0 auto; }
  .philosophy-cards { grid-template-columns: 1fr; }
  .teachers-grid { grid-template-columns: 1fr 1fr; }
  .team-card.featured { grid-template-columns: 1fr; }
  .featured-pub-inner { grid-template-columns: 1fr; }
  .pub-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-box { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-form input { min-width: unset; width: 100%; }
  .volunteer-banner { flex-direction: column; padding: 40px; }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: rgba(15,8,0,0.98); padding: 24px; gap: 8px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .pub-grid { grid-template-columns: 1fr; }
  .teachers-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 60px; }
  .timeline-item::before { left: 54px; }
  .timeline-year { min-width: 50px; font-size: 15px; }
  .timeline-content { padding-left: 28px; }
  .featured-pub-card { padding: 28px; }
  .pub-filter-bar .container { flex-direction: column; align-items: stretch; }
  .pub-search input { width: 100%; min-width: unset; }
}