/* ==============================================================================
   Sandeep Singh Dham - Main Stylesheet
   Color palette: dark green, white, cream, orange
   ============================================================================== */

:root {
  /* Colors */
  --green-900: #0d2818;
  --green-800: #143d24;
  --green-700: #1b5e3f;
  --green-600: #2d7a52;
  --green-500: #3a9168;
  --green-100: #e8f3ec;
  --green-50:  #f5fbf7;

  --orange-600: #d35400;
  --orange-500: #e67e22;
  --orange-400: #f39c12;
  --orange-100: #fdf0e3;

  --cream: #faf6ef;
  --cream-dark: #f0e9dc;

  --white: #ffffff;
  --black: #1a1a1a;

  --gray-900: #2d2d2d;
  --gray-700: #4a4a4a;
  --gray-600: #6b6b6b;
  --gray-500: #9a9a9a;
  --gray-400: #c4c4c4;
  --gray-300: #e0e0e0;
  --gray-200: #eeeeee;
  --gray-100: #f7f7f7;

  --success: #2d7a52;
  --warning: #f39c12;
  --error: #c0392b;
  --info: #2980b9;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing (8px system) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-10: 5rem;
  --space-12: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--green-900);
  line-height: 1.2;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* Section spacing */
.section { padding: var(--space-10) 0; }
.section-sm { padding: var(--space-6) 0; }
.section-cream { background: var(--cream); }
.section-green { background: var(--green-900); color: var(--white); }
.section-green h2, .section-green h3 { color: var(--white); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-6);
}
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: var(--space-2);
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: var(--space-2);
}
.section-header p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange-500);
  color: var(--white);
  border-color: var(--orange-500);
}
.btn-primary:hover {
  background: var(--orange-600);
  border-color: var(--orange-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-700);
}
.btn-outline:hover {
  background: var(--green-700);
  color: var(--white);
}
.btn-light {
  background: var(--white);
  color: var(--green-800);
}
.btn-light:hover {
  background: var(--cream);
  transform: translateY(-2px);
}
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ==============================================================================
   Top Bar
   ============================================================================== */
.top-bar {
  background: var(--green-900);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 0.5rem 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-bar-left { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.top-bar-left a:hover { color: var(--orange-400); }
.top-bar-left i { color: var(--orange-400); margin-right: 0.3rem; }
.top-bar-right { display: flex; gap: 0.75rem; }
.top-bar-right a {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.75rem;
}
.top-bar-right a:hover { background: var(--orange-500); }

/* ==============================================================================
   Header
   ============================================================================== */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-img { width: 52px; height: 52px; object-fit: contain; }
.logo-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--green-800);
  line-height: 1.2;
}
.logo-text small {
  display: block;
  font-size: 0.72rem;
  color: var(--gray-600);
  letter-spacing: 1px;
}

.main-nav ul { display: flex; gap: 0.25rem; align-items: center; }
.main-nav a {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-700);
  position: relative;
}
.main-nav a:hover { color: var(--green-700); background: var(--green-50); }
.main-nav a.active {
  color: var(--green-700);
  font-weight: 600;
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--orange-500);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gray-700);
  font-size: 1rem;
}
.icon-btn:hover { background: var(--green-50); color: var(--green-700); }
.header-cta { display: inline-flex; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  width: 24px; height: 3px;
  background: var(--green-800);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-close { display: none; }

.search-bar {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--cream);
}
.search-bar.open { max-height: 80px; border-top: 1px solid var(--gray-200); }
.search-bar .container { padding-top: 1rem; padding-bottom: 1rem; }
.search-form { display: flex; gap: 0.5rem; }
.search-input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-full);
  outline: none;
  transition: var(--transition);
}
.search-input:focus { border-color: var(--green-600); }

/* ==============================================================================
   Hero
   ============================================================================== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-900);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,40,24,0.85) 0%, rgba(27,94,63,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: var(--space-10) 0;
  color: var(--white);
}
.hero-content .hero-eyebrow {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(230, 126, 34, 0.2);
  color: var(--orange-400);
  border: 1px solid var(--orange-500);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: var(--space-3);
  line-height: 1.15;
}
.hero-content .hero-subtitle {
  font-size: 1.3rem;
  color: var(--orange-400);
  font-family: var(--font-serif);
  margin-bottom: var(--space-2);
  font-weight: 600;
}
.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-4);
  max-width: 560px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}
.hero-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active { background: var(--orange-500); width: 32px; border-radius: 6px; }

/* ==============================================================================
   Page Banner (inner pages)
   ============================================================================== */
.page-banner {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  color: var(--white);
  padding: var(--space-8) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: var(--space-2);
}
.page-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-2);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.breadcrumb a:hover { color: var(--orange-400); }

/* ==============================================================================
   Cards
   ============================================================================== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--gray-100);
}
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-image img { transform: scale(1.05); }
.card-body { padding: var(--space-3); }
.card-body h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.card-body p { color: var(--gray-600); font-size: 0.95rem; }

.grid { display: grid; gap: var(--space-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ==============================================================================
   Vision & Mission
   ============================================================================== */
.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: stretch;
}
.vm-card {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.vm-card.vision { background: var(--green-800); color: var(--white); }
.vm-card.mission { background: var(--cream); }
.vm-card h3 {
  font-size: 1.6rem;
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.vm-card.vision h3 { color: var(--white); }
.vm-card.mission h3 { color: var(--green-800); }
.vm-card h3 i { font-size: 1.4rem; color: var(--orange-400); }
.vm-card p { font-size: 1.05rem; line-height: 1.7; }
.vm-card.vision p { color: rgba(255,255,255,0.9); }
.vm-card.mission p { color: var(--gray-700); }
.vm-icon {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 8rem;
  opacity: 0.08;
}

/* ==============================================================================
   Focus Areas
   ============================================================================== */
.focus-card {
  text-align: center;
  padding: var(--space-4);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.focus-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--green-500);
}
.focus-icon {
  width: 72px; height: 72px;
  margin: 0 auto var(--space-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 1.8rem;
  transition: var(--transition);
}
.focus-card:hover .focus-icon { background: var(--orange-500); color: var(--white); transform: rotate(5deg); }
.focus-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.focus-card p { font-size: 0.9rem; color: var(--gray-600); }

/* ==============================================================================
   Updates (latest news)
   ============================================================================== */
.update-item {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--orange-500);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  align-items: flex-start;
}
.update-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.update-date {
  flex-shrink: 0;
  width: 60px;
  text-align: center;
  background: var(--green-800);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
}
.update-date .day { font-size: 1.5rem; font-weight: 700; font-family: var(--font-serif); display: block; line-height: 1; }
.update-date .month { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; }
.update-content h4 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.update-content p { font-size: 0.9rem; color: var(--gray-600); }
.update-content a { color: var(--orange-500); font-weight: 600; font-size: 0.85rem; }

/* ==============================================================================
   Initiative cards
   ============================================================================== */
.initiative-card .card-image .badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--orange-500);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.initiative-card .card-body h3 { color: var(--green-800); }
.initiative-meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--gray-500);
  margin: 0.5rem 0 var(--space-2);
}
.initiative-meta i { color: var(--orange-500); margin-right: 0.3rem; }

/* ==============================================================================
   Gallery
   ============================================================================== */
.gallery-filters {
  display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: var(--space-5);
}
.gallery-filter {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--cream);
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.gallery-filter:hover { border-color: var(--green-500); }
.gallery-filter.active { background: var(--green-700); color: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--gray-100);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,40,24,0.8), transparent);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--space-3);
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { color: var(--white); font-size: 1rem; margin-bottom: 0.2rem; }
.gallery-overlay p { color: rgba(255,255,255,0.8); font-size: 0.82rem; }
.gallery-zoom-icon {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  background: var(--orange-500);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-zoom-icon { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  display: none;
  align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90%; max-height: 85vh; border-radius: var(--radius-md); }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: var(--orange-500); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { background: var(--orange-500); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-caption {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: var(--white); text-align: center; font-size: 0.9rem;
}

/* ==============================================================================
   Testimonials
   ============================================================================== */
.testimonial-card {
  background: var(--white);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); }
.testimonial-quote-mark {
  font-size: 3rem; color: var(--orange-400); opacity: 0.3;
  font-family: var(--font-serif); line-height: 1;
  position: absolute; top: 1rem; right: 1.5rem;
}
.testimonial-stars { color: var(--orange-400); margin-bottom: var(--space-2); font-size: 0.9rem; }
.testimonial-text { font-style: italic; color: var(--gray-700); margin-bottom: var(--space-3); font-size: 1rem; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  object-fit: cover; background: var(--green-100);
}
.testimonial-author strong { display: block; color: var(--green-800); font-family: var(--font-serif); }
.testimonial-author small { color: var(--gray-500); }

/* ==============================================================================
   Book section
   ============================================================================== */
.book-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-6);
  align-items: center;
}
.book-cover {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 3/4;
  background: var(--gray-100);
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-info h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }
.book-author { color: var(--orange-500); font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: var(--space-2); }
.book-info p { color: var(--gray-700); margin-bottom: var(--space-3); line-height: 1.7; }
.book-highlights { margin: var(--space-3) 0; }
.book-highlights li {
  padding: 0.5rem 0;
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--gray-700);
}
.book-highlights li i { color: var(--green-600); }
.book-price { font-size: 1.5rem; font-family: var(--font-serif); color: var(--green-800); margin-bottom: var(--space-3); }
.book-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ==============================================================================
   Forms
   ============================================================================== */
.form-group { margin-bottom: var(--space-3); }
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}
.form-label .req { color: var(--error); }
.form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--gray-900);
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(58,145,104,0.1); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.captcha-box {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: var(--green-50);
  border: 2px solid var(--green-100);
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--green-800);
}
.radio-label, .checkbox-label {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.3rem 0;
  font-weight: 500;
  cursor: pointer;
}
.radio-label input, .checkbox-label input { width: 18px; height: 18px; accent-color: var(--green-600); }

.form-feedback {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  font-size: 0.9rem;
  display: none;
}
.form-feedback.show { display: block; }
.form-feedback.success { background: var(--green-100); color: var(--green-800); border: 1px solid var(--green-500); }
.form-feedback.error { background: #fde8e8; color: var(--error); border: 1px solid var(--error); }

/* ==============================================================================
   Contact section
   ============================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-5);
}
.contact-info-card {
  background: var(--green-800);
  color: var(--white);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
}
.contact-info-card h3 { color: var(--white); margin-bottom: var(--space-3); }
.contact-info-item {
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin-bottom: var(--space-3);
}
.contact-info-item i {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange-400);
}
.contact-info-item strong { display: block; margin-bottom: 0.2rem; }
.contact-info-item p { color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.contact-form-card {
  background: var(--white);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ==============================================================================
   Footer
   ============================================================================== */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.8);
  padding-top: var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.3fr;
  gap: var(--space-5);
  padding-bottom: var(--space-6);
}
.footer-logo { margin-bottom: var(--space-2); }
.footer-logo .logo-text strong { color: var(--white); }
.footer-desc { font-size: 0.9rem; line-height: 1.7; margin-bottom: var(--space-3); color: rgba(255,255,255,0.7); }
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
}
.footer-social a:hover { background: var(--orange-500); transform: translateY(-2px); }

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: var(--space-3);
  font-family: var(--font-serif);
}
.footer-links li, .footer-contact li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-links a:hover { color: var(--orange-400); padding-left: 4px; }
.footer-contact li {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.88rem; color: rgba(255,255,255,0.7);
}
.footer-contact i { color: var(--orange-400); margin-top: 4px; }
.footer-contact a:hover { color: var(--orange-400); }

.footer-newsletter-text { font-size: 0.88rem; margin-bottom: var(--space-2); color: rgba(255,255,255,0.7); }
.newsletter-form { display: flex; flex-direction: column; gap: 0.5rem; }
.newsletter-form input {
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { border-color: var(--orange-500); }
.newsletter-msg { font-size: 0.82rem; margin-top: 0.5rem; color: var(--orange-400); min-height: 1rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-3) 0;
  font-size: 0.85rem;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.7); }
.footer-legal a:hover { color: var(--orange-400); }

/* ==============================================================================
   Back to top
   ============================================================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--orange-500);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--orange-600); transform: translateY(-3px); }

/* ==============================================================================
   Pagination
   ============================================================================== */
.pagination {
  display: flex; justify-content: center; gap: 0.4rem;
  margin-top: var(--space-6);
}
.pagination a, .pagination span {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
}
.pagination a:hover { border-color: var(--green-500); color: var(--green-700); }
.pagination .current { background: var(--green-700); color: var(--white); border-color: var(--green-700); }

/* ==============================================================================
   Empty state
   ============================================================================== */
.empty-state {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  color: var(--gray-500);
}
.empty-state i { font-size: 3rem; color: var(--gray-300); margin-bottom: var(--space-2); }
.empty-state h3 { color: var(--gray-600); margin-bottom: 0.5rem; }

/* ==============================================================================
   Alerts
   ============================================================================== */
.alert {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  font-size: 0.9rem;
}
.alert-success { background: var(--green-100); color: var(--green-800); border: 1px solid var(--green-500); }
.alert-error { background: #fde8e8; color: var(--error); border: 1px solid var(--error); }
.alert-info { background: #e8f4fd; color: var(--info); border: 1px solid var(--info); }

/* ==============================================================================
   Media detail
   ============================================================================== */
.detail-hero {
  background: var(--green-900);
  color: var(--white);
  padding: var(--space-8) 0;
}
.detail-hero h1 { color: var(--white); margin-bottom: var(--space-2); }
.detail-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.detail-meta i { color: var(--orange-400); margin-right: 0.3rem; }
.detail-content { max-width: 800px; margin: 0 auto; padding: var(--space-6) 0; }
.detail-content p { margin-bottom: var(--space-3); font-size: 1.05rem; line-height: 1.8; }
.detail-featured { width: 100%; border-radius: var(--radius-lg); margin-bottom: var(--space-4); }

.video-embed {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-4);
}
.video-embed iframe { width: 100%; height: 100%; border: 0; }

/* ==============================================================================
   About page
   ============================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-content h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: var(--space-2); }
.about-content p { margin-bottom: var(--space-3); line-height: 1.8; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.value-card {
  text-align: center;
  padding: var(--space-4);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.value-icon {
  width: 64px; height: 64px;
  margin: 0 auto var(--space-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 1.5rem;
}
.value-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.9rem; color: var(--gray-600); }

/* ==============================================================================
   Responsive
   ============================================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .book-section { grid-template-columns: 1fr; gap: var(--space-4); }
  .book-cover { max-width: 350px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .container { padding: 0 var(--space-3); }

  .top-bar { display: none; }

  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    padding: 5rem var(--space-3) var(--space-3);
    transition: right 0.3s ease;
    z-index: 1100;
    overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; width: 100%; gap: 0; }
  .main-nav li { width: 100%; }
  .main-nav a { display: block; padding: 0.85rem 1rem; border-radius: 0; border-bottom: 1px solid var(--gray-100); }
  .main-nav a.active::after { display: none; }
  .nav-close {
    display: flex;
    position: absolute;
    top: 1rem; right: 1rem;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: var(--gray-700);
  }
  .hamburger { display: flex; }
  .header-cta { display: none; }

  .hero { min-height: 500px; }
  .hero-content { padding: var(--space-6) 0; }

  .vision-mission { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .section { padding: var(--space-6) 0; }
  .back-to-top { bottom: 1rem; right: 1rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .logo-text strong { font-size: 1rem; }
  .logo-text small { font-size: 0.65rem; }
  .logo-img { width: 42px; height: 42px; }
  .hero-content h1 { font-size: 1.8rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}
