/* ============================================
   Engolon CBO - Dark Editorial Redesign
   Color Scheme: Dark Magazine / Warm Orange
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
  /* Dark Editorial Palette */
  --color-bg:            #0d0d0d;
  --color-bg-alt:        #111111;
  --color-bg-card:       #1a1a1a;
  --color-bg-card-alt:   #161616;
  --color-bg-footer:     #080808;

  --color-text:          #f5f0e8;
  --color-text-muted:    rgba(245, 240, 232, 0.6);
  --color-border:        rgba(245, 240, 232, 0.08);
  --color-border-mid:    rgba(245, 240, 232, 0.15);
  --color-border-hover:  rgba(245, 240, 232, 0.4);

  --color-orange:        #e8833a;
  --color-orange-dark:   #d4722a;

  /* Legacy aliases kept so JS-dependent inline styles still resolve */
  --color-primary:       #1a3a2a;
  --color-accent:        #e8833a;
  --color-accent-orange: #e8833a;
  --color-dark:          #0f1f1a;
  --color-light:         #f5f0e8;
  --color-gray-50:       #f5f3f0;
  --color-gray-100:      #ede9e5;
  --color-gray-200:      #ddd8d1;
  --color-gray-300:      #c9c2b8;
  --color-gray-400:      #9e9690;
  --color-gray-600:      #5a5450;
  --color-gray-700:      #3d3a37;
  --color-gray-800:      #2a2420;
  --color-white:         #ffffff;
  --color-orange-legacy: #d4a574;

  /* Typography */
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-body:   'Lora', Georgia, serif;
  --font-sans:   -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  --font-family-serif: 'Playfair Display', Georgia, serif;

  /* Type Sizes */
  --text-xs:   0.8125rem;
  --text-sm:   0.9375rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.25rem;
  --text-4xl:  3rem;

  /* Line Heights */
  --lh-tight:   1.2;
  --lh-normal:  1.5;
  --lh-relaxed: 1.75;

  /* Spacing System - 8px base unit */
  --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-12: 6rem;
  --space-16: 8rem;

  /* Legacy spacing aliases */
  --spacing-sm:  0.5rem;
  --spacing-md:  1rem;
  --spacing-lg:  1.5rem;
  --spacing-xl:  2rem;
  --border-radius: 4px;

  /* Refinement */
  --radius:    4px;
  --radius-lg: 6px;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.6);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-base);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY - DARK EDITORIAL
   ============================================ */

h1 {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: var(--lh-tight);
  margin-bottom: var(--space-3);
  color: var(--color-text);
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: var(--lh-tight);
  margin-bottom: var(--space-3);
  color: var(--color-text);
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: var(--lh-tight);
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

h4 {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: var(--lh-tight);
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

p {
  margin-bottom: var(--space-3);
  line-height: var(--lh-relaxed);
  color: var(--color-text-muted);
  font-family: var(--font-body);
}

/* UI paragraphs that should stay sans-serif */
.section-label,
.program-location,
.program-tagline,
.hero-caption,
.stat-label,
.youth-stat-label,
.testimonial-role,
.tour-highlights li,
.involve-badge,
.launching-badge,
.milestone-detail,
.booking-subtitle,
.form-message,
.modal-badge,
.dignity-items span,
.meaning-label {
  font-family: var(--font-sans);
}

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

a:hover {
  color: var(--color-orange);
}

/* Accent italic pattern — orange italic text inside headings */
em.accent {
  font-style: italic;
  color: var(--color-orange);
}

/* ============================================
   BUTTONS - EDITORIAL STYLE
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
  min-width: 160px;
  background-color: var(--color-orange);
  color: #ffffff;
}

.btn:hover {
  background-color: var(--color-orange-dark);
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-primary {
  background-color: var(--color-orange);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--color-orange-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--color-orange);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: var(--color-orange-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid rgba(245, 240, 232, 0.4);
}

.btn-outline:hover {
  border-color: var(--color-text);
  color: var(--color-text);
  background-color: rgba(245, 240, 232, 0.05);
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-large {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-lg);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-large:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   CONTAINER & GRID
   ============================================ */

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

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

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

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

.flex {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  flex-wrap: wrap;
}

.flex-center  { justify-content: center; }
.flex-between { justify-content: space-between; }

/* ============================================
   HEADER & NAVIGATION - DARK EDITORIAL
   ============================================ */

header {
  background-color: var(--color-bg);
  border-bottom: 1px solid rgba(245, 240, 232, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  gap: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: var(--space-1) 0;
  border-radius: 0;
  transition: var(--transition);
}

.logo:hover {
  background-color: transparent;
  transform: none;
  color: var(--color-text);
  opacity: 0.85;
}

.logo img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 50%;
}

nav ul {
  list-style: none;
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

nav a {
  font-weight: 500;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  border-bottom: none;
  padding-bottom: 0;
  transition: var(--transition);
  text-decoration: none;
}

nav a:hover {
  color: var(--color-orange);
  border-bottom-color: transparent;
}

/* Nav CTA button — "Donate" */
nav a.btn,
nav a.btn-primary {
  background-color: var(--color-orange);
  color: #ffffff;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  letter-spacing: 0.08em;
  font-weight: 700;
  min-width: unset;
  border: none;
}

nav a.btn:hover,
nav a.btn-primary:hover {
  background-color: var(--color-orange-dark);
  color: #ffffff;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 1px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   HERO SECTION - SPLIT LAYOUT
   ============================================ */

.hero {
  background-color: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 55fr 45fr;
  position: relative;
  overflow: hidden;
  /* no padding here — left column handles it */
}

/* Override the old centred container inside hero */
.hero .container {
  /* The container markup is still present — hide it;
     the new hero-left/hero-right columns live as direct section children */
  display: none;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem var(--space-8) 5rem var(--space-8);
  gap: var(--space-4);
  background-color: var(--color-bg);
}

.hero-location {
  display: block;
  color: var(--color-orange);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-2);
  font-family: var(--font-sans);
  animation: heroRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.hero-left h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  font-weight: 700;
  animation: heroRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero-left p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 480px;
  line-height: var(--lh-relaxed);
  margin-bottom: 0;
  font-family: var(--font-body);
  animation: heroRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.hero-cta {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-2);
  animation: heroRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.hero-cta .btn {
  min-width: 160px;
}

.hero-right {
  position: relative;
  background: linear-gradient(160deg, #3d1f0a 0%, #1a3a2a 100%);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-right img.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}

.hero-caption {
  position: relative;
  z-index: 2;
  padding: var(--space-3) var(--space-4);
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-top: 1px solid rgba(245, 240, 232, 0.15);
  width: 100%;
  margin-bottom: 0;
}

/* Keep old animations */
@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   MARQUEE / TICKER
   ============================================ */

.marquee-wrapper {
  background-color: var(--color-orange);
  overflow: hidden;
  padding: 0.7rem 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  padding-right: 0;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   STATS BAR
   ============================================ */

.stats-bar {
  background-color: #111111;
  padding: 3rem var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.stats-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: var(--space-4);
}

.stat-item:not(:last-child) {
  border-right: 1px solid rgba(245, 240, 232, 0.1);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

/* ============================================
   SECTION LABEL (small orange text above h2)
   ============================================ */

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-orange);
  margin-bottom: var(--space-2);
  display: block;
}

/* ============================================
   SECTIONS - PRECISION SPACING
   ============================================ */

section {
  padding: var(--space-12) var(--space-4);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-8);
}

.section-title h2 {
  margin-bottom: var(--space-3);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
}

/* Alternating section backgrounds */
.section-alt {
  background-color: var(--color-bg-alt);
}

/* Hidden hero legacy container — keeps DOM shape JS may rely on */
.hero-legacy-container {
  display: none;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* "Where Compassion Meets Impact" tagline */
.about-tagline {
  font-weight: 600;
  color: var(--color-orange);
  font-size: 1.2rem;
  margin-top: var(--spacing-xl);
}

.mission {
  background-color: var(--color-orange);
  color: #ffffff;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  margin: var(--space-6) 0;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 600;
  font-style: italic;
  line-height: var(--lh-relaxed);
}

/* ============================================
   ENGOLON MEANING - NAME DEFINITION
   ============================================ */

.engolon-meaning {
  background: rgba(232, 131, 58, 0.06);
  border: 1px solid rgba(232, 131, 58, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin: var(--space-6) 0;
  text-align: center;
}

.meaning-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-2);
}

.engolon-meaning h3 {
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin: var(--space-3) 0;
  line-height: var(--lh-tight);
}

.engolon-meaning h3 em {
  font-style: italic;
  font-weight: 700;
  color: var(--color-orange);
}

.meaning-definition {
  display: inline-block;
  background: var(--color-orange);
  color: #ffffff;
  padding: var(--space-1) var(--space-3);
  border-radius: 20px;
  font-size: var(--text-lg);
  font-weight: 600;
  margin-left: var(--space-2);
  font-style: normal;
}

.meaning-description {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  margin-top: var(--space-3);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.meaning-description em {
  font-weight: 600;
  color: var(--color-text);
}

.meaning-description strong {
  color: var(--color-text);
  font-weight: 700;
}

/* ============================================
   IMAGE GALLERY (Our Home / Our Stories)
   ============================================ */

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.image-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  filter: brightness(0.9) contrast(1.05);
}

.image-gallery img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
  filter: brightness(1) contrast(1.05);
}

/* ============================================
   STORY NARRATIVE BLOCK
   ============================================ */

.story-narrative {
  max-width: 720px;
  margin: var(--space-8) auto 0;
  padding: var(--space-8);
  background: var(--color-bg-card);
  border-left: 3px solid var(--color-orange);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-orange);
}

.story-lead {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-4);
}

.story-narrative p {
  font-size: var(--text-lg);
  line-height: var(--lh-relaxed);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.story-closing {
  font-weight: 700;
  color: var(--color-text) !important;
  font-size: var(--text-xl) !important;
  margin-bottom: var(--space-5) !important;
}

.story-cta {
  display: inline-block;
  margin-top: var(--space-2);
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-5);
  min-width: unset;
  max-width: 480px;
  white-space: normal;
  line-height: var(--lh-normal);
}

/* ============================================
   YOUTH SPORTS & MENTORSHIP SECTION
   ============================================ */

.youth-intro {
  max-width: 800px;
  margin: 0 auto var(--space-8);
  text-align: center;
}

.youth-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.youth-photo-featured img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  filter: brightness(0.9) contrast(1.05);
}

.youth-photo-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.youth-photo-secondary img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  filter: brightness(0.9) contrast(1.05);
}

.youth-photo-secondary img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
  filter: brightness(1) contrast(1.05);
}

.youth-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  max-width: 600px;
  margin: 0 auto;
}

.youth-stat {
  text-align: center;
  padding: var(--space-4);
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border-top: 2px solid var(--color-orange);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-orange);
}

.youth-stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-orange);
  letter-spacing: -0.02em;
}

.youth-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--space-1);
}

/* ============================================
   OUR WORK SECTION
   ============================================ */

/* ============================================
   PROGRAMS SECTION
   ============================================ */

.program-filters {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-8);
  overflow-x: auto;
}

.program-filter-btn {
  background: none;
  border: none;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-3);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.program-filter-btn:hover {
  color: var(--color-text);
}

.program-filter-btn.active {
  color: var(--color-text);
  border-bottom-color: var(--color-orange);
}

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

.program-card {
  background: var(--color-bg-card);
  border-top: 3px solid var(--color-orange);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-orange);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: transform 0.2s;
}

.program-card:hover {
  transform: translateY(-3px);
}

.program-card.hidden {
  display: none;
}

.program-icon {
  font-size: 1.75rem;
  background: rgba(245,240,232,0.05);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  margin-bottom: var(--space-1);
}

.program-location {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin: 0;
}

.program-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  line-height: 1.2;
}

.program-desc {
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.65;
  margin: 0;
}

.program-pricing {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-2);
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pricing-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.pricing-name {
  font-weight: 600;
  color: var(--color-text);
  flex: 1;
}

.pricing-duration {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.pricing-price {
  font-weight: 700;
  color: var(--color-orange);
  min-width: 48px;
  text-align: right;
}

.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: var(--space-1);
}

.program-tags span {
  background: rgba(245,240,232,0.06);
  color: var(--color-muted);
  font-size: 0.68rem;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
  border: 1px solid var(--color-border);
}

.program-tagline {
  font-style: italic;
  color: var(--color-muted);
  font-size: 0.82rem;
  margin: 0;
}

/* ============================================
   ONLINE COURSE TEASER & PROGRAM PAGE
   ============================================ */

.course-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: var(--space-6);
  align-items: center;
  background: linear-gradient(135deg, rgba(232, 131, 58, 0.08), rgba(0, 170, 108, 0.05));
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-orange);
  padding: var(--space-6);
}

.course-teaser-content h2 {
  max-width: 860px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.course-teaser-content p {
  max-width: 760px;
}

.course-teaser-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: var(--space-3) 0 var(--space-4);
}

.course-teaser-meta span {
  border: 1px solid rgba(232, 131, 58, 0.35);
  background: rgba(232, 131, 58, 0.08);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 0.45rem 0.75rem;
}

.course-teaser-panel {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--color-border);
  background:
    linear-gradient(90deg, rgba(245, 240, 232, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(245, 240, 232, 0.035) 1px, transparent 1px),
    #111111;
  background-size: 42px 42px;
  overflow: hidden;
}

.course-orbit {
  position: absolute;
  border: 2px solid rgba(0, 170, 108, 0.28);
  border-radius: 50%;
}

.course-orbit-one {
  inset: 54px;
}

.course-orbit-two {
  inset: 108px;
  border-color: rgba(85, 199, 217, 0.26);
}

.course-node {
  position: absolute;
  display: grid;
  place-items: center;
  background: var(--color-bg-card);
  border: 2px solid var(--color-orange);
}

.course-node-main {
  left: 50%;
  top: 50%;
  width: 112px;
  height: 112px;
  transform: translate(-50%, -50%);
  color: var(--color-orange);
  font-weight: 800;
  font-size: 2rem;
}

.course-node-a,
.course-node-b,
.course-node-c {
  width: 24px;
  height: 24px;
  background: #00aa6c;
  border-color: #00aa6c;
}

.course-node-a {
  left: 20%;
  top: 30%;
}

.course-node-b {
  right: 18%;
  top: 22%;
  background: #55c7d9;
  border-color: #55c7d9;
}

.course-node-c {
  right: 24%;
  bottom: 22%;
  background: var(--color-orange);
}

.course-page header {
  position: sticky;
}

.course-login-section {
  display: block;
}

.course-unlocked .course-login-section {
  display: none;
}

.course-protected {
  display: none;
}

.course-unlocked .course-protected {
  display: block;
}

.course-login-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-orange);
  padding: var(--space-5);
}

.course-login-card h2 {
  margin-bottom: var(--space-2);
}

.course-login-form {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.course-login-message {
  display: none;
}

.course-login-message.success,
.course-login-message.error {
  display: block;
}

.course-login-help {
  margin-top: var(--space-3);
  margin-bottom: 0;
  font-size: var(--text-sm);
}

.course-hero {
  padding-top: calc(var(--space-16) + 72px);
  background:
    radial-gradient(circle at 78% 20%, rgba(0, 170, 108, 0.11), transparent 28%),
    radial-gradient(circle at 15% 85%, rgba(232, 131, 58, 0.14), transparent 30%),
    var(--color-bg);
}

.course-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: var(--space-8);
  align-items: center;
}

.course-hero-copy h1 {
  font-size: clamp(2.7rem, 5vw, 5.8rem);
  max-width: 980px;
}

.course-hero-copy p {
  max-width: 820px;
  font-size: var(--text-lg);
}

.course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.course-hero-visual {
  min-height: 500px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border);
  background:
    linear-gradient(90deg, rgba(245, 240, 232, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(245, 240, 232, 0.03) 1px, transparent 1px),
    var(--color-bg-card);
  background-size: 56px 56px;
}

.course-grid-card {
  width: min(420px, 82%);
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4);
  border: 1px solid rgba(232, 131, 58, 0.35);
  border-top: 4px solid var(--color-orange);
  background: rgba(13, 13, 13, 0.72);
}

.course-grid-card strong {
  font-family: var(--font-serif);
  color: var(--color-text);
  font-size: 2rem;
  line-height: 1.1;
  margin-top: var(--space-2);
}

.course-grid-card span {
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-1);
}

.course-facts {
  padding: var(--space-6) var(--space-4);
}

.course-facts-grid,
.course-overview-grid,
.mvp-grid,
.outcomes-grid {
  display: grid;
  gap: var(--space-4);
}

.course-facts-grid {
  grid-template-columns: repeat(4, 1fr);
}

.course-fact,
.course-panel,
.mvp-card,
.outcome-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-orange);
  padding: var(--space-4);
}

.course-fact strong {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.course-fact span {
  display: block;
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 700;
}

.course-overview-grid {
  grid-template-columns: repeat(2, 1fr);
}

.course-panel h3,
.mvp-card h3 {
  margin-bottom: var(--space-3);
}

.course-list {
  display: grid;
  gap: var(--space-2);
  list-style: none;
}

.course-list li {
  color: var(--color-text-muted);
  line-height: 1.55;
}

.course-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-orange);
  margin-right: 0.7rem;
}

.mvp-grid {
  grid-template-columns: repeat(4, 1fr);
}

.mvp-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.mvp-card p:not(.program-location) {
  font-size: var(--text-sm);
}

.mvp-card a {
  margin-top: auto;
  color: var(--color-orange);
  font-weight: 700;
}

.course-video-frame {
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-orange);
  background: var(--color-bg-card);
  padding: var(--space-3);
}

.course-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.outcomes-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.outcome-card {
  min-height: 190px;
  border-top-color: #00aa6c;
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.4;
}

.course-cta {
  text-align: center;
}

.course-cta p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.work-card {
  background-color: var(--color-bg-card);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-orange);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.work-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(245, 240, 232, 0.15);
}

.work-card h3 {
  margin-top: var(--space-2);
  color: var(--color-text);
}

.work-card ul {
  list-style: none;
  padding-left: 0;
}

.work-card li {
  padding: var(--space-1) 0;
  padding-left: var(--space-3);
  position: relative;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}

.work-card li:before {
  content: "•";
  position: absolute;
  left: var(--space-1);
  color: var(--color-orange);
  font-weight: bold;
}

.work-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-2);
}

.work-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: var(--space-3) 0;
  filter: brightness(0.85) contrast(1.1);
}

/* ============================================
   IMPACT SECTION — MILESTONES
   ============================================ */

.impact-launching {
  text-align: center;
  margin-bottom: var(--space-8);
}

.launching-badge {
  display: inline-block;
  background: var(--color-orange);
  color: #ffffff;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-4);
  border-radius: 20px;
  margin-bottom: var(--space-3);
}

.impact-launching p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

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

.milestone-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-orange);
  transition: var(--transition);
}

.milestone-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(245, 240, 232, 0.15);
  border-top-color: var(--color-orange);
}

.milestone-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-3);
}

.milestone-title {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  line-height: var(--lh-tight);
}

.milestone-detail {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}

/* ============================================
   DIGNITY BANNER — COMMUNITY TOURS
   ============================================ */

.dignity-banner {
  background: rgba(232, 131, 58, 0.05);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-orange);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-8);
}

.dignity-items {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}

.dignity-items span {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}

.dignity-banner p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
  line-height: var(--lh-relaxed);
}

/* ============================================
   IMPACT STATISTICS SECTION (legacy — kept for reference)
   ============================================ */

.impact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.impact-card {
  background-color: var(--color-bg-card);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-orange);
  transition: var(--transition);
}

.impact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.impact-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-orange);
  margin: var(--space-3) 0;
  letter-spacing: -0.02em;
}

.impact-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.testimonial-card {
  background-color: var(--color-bg-card);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-orange);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(245, 240, 232, 0.15);
  border-top-color: var(--color-orange);
}

.testimonial-quote {
  font-style: italic;
  font-size: var(--text-base);
  margin-bottom: var(--space-3);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}

.testimonial-quote:before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--color-orange);
  margin-right: var(--space-1);
  display: block;
  text-align: left;
  line-height: 1;
  margin-bottom: var(--space-1);
}

.testimonial-author {
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
  font-size: var(--text-sm);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================
   TECHNOLOGY APPROACH SECTION
   ============================================ */

.tech-approach {
  max-width: 800px;
  margin: 0 auto;
}

.tech-approach p {
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}

.tech-highlight {
  background-color: var(--color-bg-card);
  padding: var(--space-4) var(--space-5);
  border-left: 3px solid var(--color-orange);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-orange);
  margin: var(--space-4) 0;
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  line-height: var(--lh-relaxed);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background-color: #0a0a0a;
  color: var(--color-text);
  padding: var(--space-12) var(--space-4);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(232, 131, 58, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--color-text);
  margin-bottom: var(--space-3);
  font-size: var(--text-3xl);
}

.cta-section > p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 700px;
  margin: 0 auto var(--space-4);
}

.cta-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  max-width: 480px;
  margin: 0 auto;
  margin-bottom: var(--space-8);
  position: relative;
  z-index: 1;
}

.cta-buttons .btn {
  width: 100%;
  background-color: var(--color-orange);
  color: #ffffff;
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-3);
  min-width: unset;
}

.cta-buttons .btn:hover {
  background-color: var(--color-orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* CTA section intro paragraph */
.cta-intro {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
}

/* CTA newsletter wrapper */
.newsletter-wrapper {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(245, 240, 232, 0.12);
}

.newsletter-heading {
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 450px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.form-group label {
  font-weight: 600;
  text-align: left;
  font-size: var(--text-sm);
  color: var(--color-text);
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--space-2) var(--space-3);
  border: 1px solid rgba(245, 240, 232, 0.2);
  border-radius: var(--radius);
  font-family: var(--font-family);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: rgba(245, 240, 232, 0.05);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(232, 131, 58, 0.15);
  background-color: rgba(245, 240, 232, 0.07);
}

.form-group select option {
  background-color: #1a1a1a;
  color: var(--color-text);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--font-family);
  color: var(--color-text);
}

.form-message {
  display: none;
  padding: var(--spacing-sm);
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
}

.form-message.success {
  background-color: rgba(76, 175, 80, 0.15);
  color: #81c784;
  border: 1px solid rgba(76, 175, 80, 0.3);
  display: block;
}

.form-message.error {
  background-color: rgba(244, 67, 54, 0.15);
  color: #e57373;
  border: 1px solid rgba(244, 67, 54, 0.3);
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: var(--color-bg-footer);
  color: var(--color-text);
  padding: var(--space-8) var(--space-4);
  border-top: 1px solid var(--color-border);
}

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

footer a:hover {
  color: var(--color-orange);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: var(--space-6);
}

.footer-section h4 {
  font-family: var(--font-serif);
  color: var(--color-text);
  margin-bottom: var(--space-3);
  font-size: var(--text-base);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-section ul {
  list-style: none;
}

.footer-section p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.footer-section li {
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.social-links {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin: var(--space-3) 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(245, 240, 232, 0.08);
  border-radius: 50%;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.social-links a:hover {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  color: #ffffff;
}

/* ============================================
   DONATION AMOUNT SELECTOR
   ============================================ */

.donation-amounts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: var(--spacing-sm);
  margin: var(--spacing-lg) 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.amount-btn {
  padding: 14px 16px;
  border: 1px solid rgba(245, 240, 232, 0.25);
  background-color: transparent;
  color: var(--color-text);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

.amount-btn:hover {
  border-color: var(--color-text);
  background-color: rgba(245, 240, 232, 0.05);
  transform: scale(1.05);
}

.amount-btn.selected {
  background: var(--color-orange);
  border-color: transparent;
  color: #ffffff;
}

.amount-other {
  padding: 14px 18px;
  border: 1px solid rgba(245, 240, 232, 0.25);
  background-color: rgba(245, 240, 232, 0.05);
  color: var(--color-text);
  border-radius: var(--radius);
  font-size: 1rem;
  width: 100%;
  max-width: 500px;
  margin: var(--spacing-md) auto;
  display: block;
  text-align: center;
  font-weight: 600;
  cursor: text;
}

/* ============================================
   TOURS SECTION
   ============================================ */

.tours-section {
  padding: var(--space-12) 0;
  background-color: var(--color-bg-alt);
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.tour-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.tour-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(245, 240, 232, 0.15);
}

.tour-image {
  font-size: 3rem;
  padding: var(--space-5);
  text-align: center;
  background: linear-gradient(135deg, #1a1006 0%, #0d1a12 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  border-bottom: 1px solid var(--color-border);
}

.tour-content {
  padding: var(--space-4);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tour-content h3 {
  font-size: var(--text-xl);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.tour-rating {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
}

.stars {
  color: #f59e0b;
  letter-spacing: 2px;
}

.review-count {
  color: var(--color-text-muted);
}

.tour-description {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  line-height: var(--lh-relaxed);
}

.tour-highlights {
  list-style: none;
  flex: 1;
}

.tour-highlights li {
  padding: var(--space-1) 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================
   BOOKING FORM SECTION
   ============================================ */

.booking-section {
  background: var(--color-bg-card);
  border: 1px solid rgba(232, 131, 58, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  max-width: 700px;
  margin: var(--space-8) auto 0;
}

.booking-title {
  text-align: center;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.booking-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.date-picker-wrapper {
  position: relative;
}

.date-picker-wrapper input {
  cursor: pointer;
  width: 100%;
}

/* ============================================
   CALENDAR PICKER
   ============================================ */

.calendar-picker {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-bg-card);
  border: 1px solid rgba(245, 240, 232, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-3);
  z-index: 1000;
  margin-top: var(--space-1);
  min-width: 300px;
}

.calendar-picker.active {
  display: block;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}

.calendar-header button {
  background: transparent;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-1);
  transition: var(--transition);
}

.calendar-header button:hover {
  color: var(--color-orange);
}

.calendar-header h3 {
  font-size: var(--text-lg);
  color: var(--color-text);
  margin: 0;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-1);
  margin-bottom: var(--space-2);
}

.calendar-weekdays span {
  text-align: center;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-2);
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-1);
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: var(--text-sm);
  transition: var(--transition);
  background: rgba(245, 240, 232, 0.04);
  color: var(--color-text-muted);
}

.calendar-day:hover:not(.disabled):not(.other-month) {
  background: var(--color-orange);
  color: white;
}

.calendar-day.selected {
  background: var(--color-orange);
  color: white;
  font-weight: 600;
}

.calendar-day.disabled {
  color: rgba(245, 240, 232, 0.2);
  cursor: not-allowed;
  background: transparent;
}

.calendar-day.other-month {
  color: rgba(245, 240, 232, 0.2);
}

/* ============================================
   FORM AGREEMENT & BUTTON
   ============================================ */

.form-agreement {
  padding: var(--space-3);
  background: rgba(245, 240, 232, 0.04);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-4);
}

.form-agreement label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  cursor: pointer;
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  color: var(--color-text-muted);
}

.form-agreement input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--color-orange);
}

.form-message {
  padding: var(--space-3);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 500;
  margin-top: var(--space-3);
}

.form-message.success {
  background: rgba(76, 175, 80, 0.12);
  color: #81c784;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-message.error {
  background: rgba(244, 67, 54, 0.12);
  color: #e57373;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (768px+) */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  nav ul {
    gap: var(--space-3);
  }

  section {
    padding: var(--space-12) var(--space-6);
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-facts-grid,
  .mvp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .cta-buttons {
    grid-template-columns: repeat(4, 1fr);
    max-width: 700px;
    gap: var(--space-2);
  }

  .cta-buttons .btn {
    width: 100%;
    min-width: unset;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  section {
    padding: var(--space-12) var(--space-4);
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .impact-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    align-items: start;
  }

  .testimonial-card:nth-child(3n+2) { margin-top: 1.75rem; }
  .testimonial-card:nth-child(3n+3) { margin-top: 3.5rem; }

  .course-facts-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .mvp-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   VOLUNTEER / INTERNSHIP MODAL
   ============================================ */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.modal-overlay:target,
.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-mid);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-6);
  position: relative;
}

.modal-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: rgba(245, 240, 232, 0.08);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.25rem;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.modal-close:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #ffffff;
}

.modal-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-3);
}

.modal-tab {
  background: none;
  border: none;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  transition: var(--transition);
}

.modal-tab.active {
  background: var(--color-orange);
  color: #ffffff;
}

.modal-tab:hover:not(.active) {
  color: var(--color-text);
  background: rgba(245, 240, 232, 0.06);
}

.modal-tab-content h3 {
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.modal-tab-content p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
  color: var(--color-text-muted);
}

.modal-tab-content--hidden {
  display: none;
}

.modal-list {
  list-style: none;
  margin-bottom: var(--space-3);
}

.modal-list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-1) 0 var(--space-1) var(--space-3);
  position: relative;
}

.modal-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-orange);
  font-weight: 600;
}

.modal-badge {
  display: inline-block;
  background: var(--color-orange);
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius);
  margin-bottom: var(--space-5);
  letter-spacing: 0.04em;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-5);
}

.modal-form-msg--hidden {
  display: none;
}

@media (max-width: 767px) {
  .modal-box {
    padding: var(--space-4);
    max-height: 95vh;
  }

  .modal-tabs {
    flex-direction: row;
  }

  .modal-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   GET INVOLVED - VOLUNTEER & INTERNSHIPS
   ============================================ */

#get-involved {
  background: var(--color-bg);
}

.involve-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.involve-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: var(--transition);
}

.involve-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(245, 240, 232, 0.15);
}

.involve-card-highlight {
  background: rgba(232, 131, 58, 0.05);
  border-color: rgba(232, 131, 58, 0.3);
}

.involve-card-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.involve-card h3 {
  margin-bottom: 0;
  color: var(--color-text);
}

.involve-card p {
  margin-bottom: 0;
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  color: var(--color-text-muted);
}

.involve-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex: 1;
}

.involve-list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-3);
  position: relative;
  line-height: var(--lh-relaxed);
}

.involve-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-orange);
  font-weight: 600;
}

.involve-badge {
  display: inline-block;
  background: var(--color-orange);
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius);
  margin-top: var(--space-2);
  align-self: flex-start;
}

.involve-form-section {
  background: var(--color-bg-card);
  border: 1px solid rgba(232, 131, 58, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  max-width: 700px;
  margin: 0 auto;
}

.involve-form-title {
  text-align: center;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.involve-form-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-base);
  margin-bottom: var(--space-6);
}

.involve-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Mobile (below 768px) */
@media (max-width: 767px) {
  /* Hero goes to single column on mobile */
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-left {
    padding: 6rem var(--space-3) var(--space-8);
  }

  .hero-left h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .hero-right {
    min-height: 280px;
  }

  .stats-bar-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stat-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(245, 240, 232, 0.1);
  }

  .youth-photo-grid {
    grid-template-columns: 1fr;
  }

  .youth-photo-featured img {
    min-height: 280px;
  }

  .youth-stats {
    grid-template-columns: 1fr;
    max-width: 300px;
  }

  .milestone-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .dignity-items {
    gap: var(--space-3);
  }

  section {
    padding: var(--space-8) var(--space-2);
  }

  .hamburger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: var(--shadow-md);
  }

  nav.active {
    max-height: 600px;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  nav li {
    width: 100%;
  }

  nav a {
    display: block;
    padding: var(--space-3);
    border-bottom: 1px solid var(--color-border);
    font-size: var(--text-sm);
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .course-teaser,
  .course-hero-grid,
  .course-overview-grid {
    grid-template-columns: 1fr;
  }

  .course-teaser,
  .course-panel,
  .mvp-card,
  .outcome-card {
    padding: var(--space-3);
  }

  .course-teaser-panel,
  .course-hero-visual {
    min-height: 280px;
  }

  .course-facts-grid,
  .mvp-grid,
  .outcomes-grid {
    grid-template-columns: 1fr;
  }

  .course-hero {
    padding-top: calc(var(--space-12) + 72px);
  }

  .course-actions {
    flex-direction: column;
  }

  .impact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .cta-buttons {
    gap: var(--space-2);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .involve-cards {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .involve-form-section {
    padding: var(--space-4);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
}

/* ============================================
   TRIPADVISOR INTEGRATION
   ============================================ */

/* Stats bar — make the TripAdvisor stat look like a link */
.stat-item--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: var(--transition);
}

.stat-item--link:hover .stat-number {
  color: #00aa6c;
}

.stat-item--link:hover .stat-label {
  color: var(--color-text);
}

/* Tour card Book button */
.btn-ta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #00aa6c;
  color: #ffffff;
  border: 2px solid #00aa6c;
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-family);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  margin-top: var(--space-3);
  text-align: center;
  letter-spacing: 0.01em;
}

.btn-ta:hover {
  background: #008f5c;
  border-color: #008f5c;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-ta--outline {
  background: transparent;
  color: #00aa6c;
}

.btn-ta--outline:hover {
  background: #00aa6c;
  color: #ffffff;
}

/* TripAdvisor trust strip */
.ta-trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  background: linear-gradient(135deg, #0d1a12 0%, #0d0d0d 100%);
  border: 1px solid rgba(0, 170, 108, 0.35);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  margin: var(--space-5) 0 var(--space-8);
}

.ta-trust-left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.ta-owl {
  font-size: 2.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.ta-trust-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ta-trust-text strong {
  color: var(--color-text);
  font-size: var(--text-base);
}

.ta-trust-text span {
  color: #00aa6c;
  font-size: var(--text-sm);
}

/* Footer TripAdvisor link */
.ta-footer-link {
  color: #00aa6c;
  text-decoration: none;
  transition: var(--transition);
}

.ta-footer-link:hover {
  color: #34e0a1;
  text-decoration: underline;
}

/* TripAdvisor icon in social row */
.ta-social-icon {
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
  opacity: 0.8;
}

.ta-social-icon:hover {
  opacity: 1;
  transform: scale(1.15);
}

/* Mobile adjustments for trust strip */
@media (max-width: 640px) {
  .ta-trust-strip {
    flex-direction: column;
    text-align: center;
    padding: var(--space-4);
  }

  .ta-trust-left {
    flex-direction: column;
    gap: var(--space-2);
  }

  .btn-ta--outline {
    width: 100%;
  }
}

/* ============================================
   SCROLL-TRIGGERED FADE-UP ANIMATIONS
   ============================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: none;
}

.fade-up.visible {
  animation: fadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Don't animate if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .fade-up.visible {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .hero-location,
  .hero-left h1,
  .hero-left p,
  .hero-cta {
    animation: none;
  }
}
