/* ============================================================
   NESIBIC -- Design Tokens & Custom Styles
   New Stars International Bible College
   ============================================================ */

:root {
  /* -- Brand Colors -- */
  --color-primary: #0f1f3d;
  --color-primary-mid: #162b54;
  --color-primary-light: #1e3a6e;
  --color-gold: #c9952a;
  --color-gold-light: #e8b84b;
  --color-gold-pale: #f5e9d0;
  --color-red: #c0202a;
  --color-red-light: #e03040;
  --color-red-pale: #fde8ea;

  /* -- Neutrals -- */
  --color-bg: #fafaf8;
  --color-bg-alt: #f3f1ec;
  --color-bg-dark: #0a1628;
  --color-text: #1a1a2e;
  --color-text-muted: #64748b;
  --color-border: #e2ddd6;

  /* -- Typography -- */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* -- Layout -- */
  --max-width: 1200px;
  --nav-height: 104px;

  /* -- Standard Tokens (auto-injected) -- */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --radius-default: 4px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* -- Base -- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* -- Custom Color Utilities -- */
.text-gold { color: var(--color-gold); }
.text-red-brand { color: var(--color-red); }
.text-primary { color: var(--color-primary); }
.bg-primary { background-color: var(--color-primary); }
.bg-primary-mid { background-color: var(--color-primary-mid); }
.bg-gold { background-color: var(--color-gold); }
.bg-gold-pale { background-color: var(--color-gold-pale); }
.bg-red-brand { background-color: var(--color-red); }
.bg-red-pale { background-color: var(--color-red-pale); }
.bg-site-alt { background-color: var(--color-bg-alt); }
.border-gold { border-color: var(--color-gold); }
.border-red-brand { border-color: var(--color-red); }
.font-display { font-family: var(--font-display); }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.3s ease;
}

.header-top {
  background-color: var(--color-primary);
  border-bottom: 1px solid rgba(201, 149, 42, 0.3);
}

.main-nav {
  background-color: rgba(15, 31, 61, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--color-red);
}

.site-header.is-scrolled .main-nav {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold);
  background-color: rgba(201, 149, 42, 0.08);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  background-color: var(--color-red);
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background-color: var(--color-red-light);
  transform: translateY(-1px);
}

/* Dropdown */
.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background-color: var(--color-primary);
  border: 1px solid rgba(201, 149, 42, 0.3);
  border-top: 2px solid var(--color-red);
  border-radius: 0 0 6px 6px;
  padding: 0.5rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 60;
}

.nav-dropdown-wrapper:hover .nav-dropdown,
.nav-dropdown-wrapper:focus-within .nav-dropdown,
.nav-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-link:hover {
  color: var(--color-gold);
  background-color: rgba(201, 149, 42, 0.08);
  padding-left: 1.5rem;
}

/* Mobile Menu */
.nav-mobile-toggle {
  color: white;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: var(--color-primary);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(201, 149, 42, 0.2);
}

.mobile-menu-nav {
  padding: 1.5rem;
  flex: 1;
}

.mobile-nav-link {
  display: block;
  padding: 0.875rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-gold);
}

.mobile-nav-link.mobile-nav-cta {
  color: var(--color-red-light);
  font-weight: 600;
  border-bottom: none;
  margin-top: 0.5rem;
}

.mobile-nav-section {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-nav-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  padding: 0.75rem 0 0.25rem;
}

.mobile-nav-sublink {
  display: block;
  padding: 0.5rem 0 0.5rem 1rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
  border-left: 2px solid transparent;
}

.mobile-nav-sublink:hover {
  color: var(--color-gold);
  border-left-color: var(--color-gold);
}

.mobile-menu-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(201, 149, 42, 0.2);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 80ms; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 160ms; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 240ms; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 320ms; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 400ms; }
[data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero-section {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
  padding: 0.375rem 1rem;
  background-color: rgba(201, 149, 42, 0.12);
  border: 1px solid rgba(201, 149, 42, 0.3);
  border-radius: 100px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-title .accent {
  color: var(--color-gold);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* ============================================================
   SECTION STYLES
   ============================================================ */

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-title.light {
  color: white;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 600px;
  line-height: 1.75;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--color-red), var(--color-gold));
  margin: 1.25rem 0 2rem;
  border-radius: 2px;
}

.section-divider.center {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background-color: var(--color-red);
  color: white;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid var(--color-red);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--color-red-light);
  border-color: var(--color-red-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 32, 42, 0.35);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background-color: var(--color-gold);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid var(--color-gold);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.btn-gold:hover {
  background-color: var(--color-gold-light);
  border-color: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 149, 42, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background-color: transparent;
  color: white;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background-color: transparent;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid var(--color-primary);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.btn-outline-dark:hover {
  background-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

/* ============================================================
   CARDS
   ============================================================ */

.programme-card {
  background-color: white;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-gold);
  border-radius: 8px;
  padding: 2rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-top-color 0.3s ease;
  text-decoration: none;
  display: block;
}

.programme-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 31, 61, 0.12);
  border-top-color: var(--color-red);
}

.programme-card .card-icon {
  width: 52px;
  height: 52px;
  background-color: var(--color-gold-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-gold);
}

.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 149, 42, 0.25);
  border-top: 2px solid var(--color-red);
  border-radius: 8px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   TENET / FAITH CARD
   ============================================================ */

.tenet-card {
  padding: 1.5rem;
  background-color: white;
  border-left: 3px solid var(--color-red);
  border-radius: 0 6px 6px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.tenet-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-red);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ============================================================
   COURSE TABLE
   ============================================================ */

.course-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.course-table thead tr {
  background-color: var(--color-primary);
  color: white;
}

.course-table th {
  padding: 0.875rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.course-table td {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.course-table tbody tr:hover {
  background-color: var(--color-bg-alt);
}

.course-table tbody tr:last-child td {
  border-bottom: none;
}

.course-table .total-row {
  background-color: var(--color-gold-pale);
  font-weight: 600;
}

.course-code {
  font-family: 'Courier New', monospace;
  font-size: 0.8125rem;
  color: var(--color-red);
  font-weight: 600;
}

/* ============================================================
   TRIMESTER TABS
   ============================================================ */

.trimester-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  background-color: var(--color-bg-alt);
  padding: 0.25rem;
  border-radius: 8px;
  flex-wrap: wrap;
}

.trimester-tab {
  flex: 1;
  min-width: 100px;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background-color: transparent;
  color: var(--color-text-muted);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.trimester-tab.active,
.trimester-tab:hover {
  background-color: var(--color-primary);
  color: white;
}

.trimester-tab.active {
  box-shadow: 0 2px 8px rgba(15, 31, 61, 0.2);
}

.trimester-panel {
  display: none;
}

.trimester-panel.active {
  display: block;
}

/* ============================================================
   DEPARTMENT BADGE
   ============================================================ */

.dept-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dept-bts { background-color: #dbeafe; color: #1e40af; }
.dept-cel { background-color: #dcfce7; color: #166534; }
.dept-mml { background-color: #fef3c7; color: #92400e; }

/* ============================================================
   PROGRAMME PAGE LAYOUT -- 2/3 + 1/3
   ============================================================ */

.prog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .prog-grid {
    grid-template-columns: 1fr 360px;
    align-items: start;
  }

  .prog-sidebar {
    position: sticky;
    top: 120px;
  }
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--color-red);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background-color: var(--color-red);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding-bottom: 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ============================================================
   FEES TABLE
   ============================================================ */

.fees-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.fees-table thead tr {
  background-color: var(--color-primary);
  color: white;
}

.fees-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
}

.fees-table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  background-color: white;
  font-size: 0.9375rem;
}

.fees-table tbody tr:last-child td {
  border-bottom: none;
}

.fees-table .amount {
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

/* ============================================================
   PROFILE / TEAM CARD
   ============================================================ */

.profile-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.profile-card-image {
  width: 100%;
  height: 280px;
  background-color: var(--color-primary-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--color-gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--color-gold);
}

.profile-card-body {
  padding: 1.75rem;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--color-gold);
}

.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb .current {
  color: var(--color-gold);
  font-weight: 600;
}

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

.site-footer {
  background-color: var(--color-bg-dark);
}

.footer-main {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  line-height: 1.5;
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
}

.footer-contact-list a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  background-color: #060f1e;
  border-top: 2px solid var(--color-red);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */

.page-hero {
  padding: 5rem 0 4rem;
  background-color: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at 70% 50%, rgba(192, 32, 42, 0.12) 0%, transparent 60%),
                    radial-gradient(ellipse at 20% 80%, rgba(201, 149, 42, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

/* ============================================================
   LEVEL BADGE
   ============================================================ */

.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: var(--color-red);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* ============================================================
   SIDEBAR CARDS
   ============================================================ */

.sidebar-card {
  background-color: white;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.sidebar-card-header {
  padding: 1rem 1.25rem;
  background-color: var(--color-primary);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-card-body {
  padding: 1.25rem;
}

.sidebar-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
}

.sidebar-detail-row:last-child {
  border-bottom: none;
}

.sidebar-detail-label {
  color: var(--color-text-muted);
  font-weight: 500;
}

.sidebar-detail-value {
  color: var(--color-primary);
  font-weight: 600;
  text-align: right;
}

.sidebar-card-dark {
  background-color: var(--color-primary);
  border-radius: 8px;
  border: 1px solid rgba(201, 149, 42, 0.3);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.entry-req-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.entry-req-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.5;
}

.entry-req-list li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  background-color: var(--color-red);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* ============================================================
   STATS STRIP
   ============================================================ */

.stats-strip {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stats-strip-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stats-strip-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
}

.stats-strip-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ============================================================
   PROGRESS FURTHER CARD
   ============================================================ */

.progress-card {
  background: linear-gradient(135deg, var(--color-primary-mid), var(--color-bg-dark));
  border: 1px solid rgba(201, 149, 42, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.progress-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s ease;
}

.progress-card-link:last-child {
  border-bottom: none;
}

.progress-card-link:hover {
  color: var(--color-gold);
}

/* ============================================================
   TIMELINE
   ============================================================ */

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-red), var(--color-gold), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.625rem;
  top: 0.375rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-gold);
  border: 2px solid var(--color-bg);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(192, 32, 42, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

.float-anim {
  animation: float 4s ease-in-out infinite;
}

.animate-fade-in-up {
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.anim-delay-1 { animation-delay: 0.15s; }
.anim-delay-2 { animation-delay: 0.3s; }
.anim-delay-3 { animation-delay: 0.45s; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   UTILITIES
   ============================================================ */

.text-balance {
  text-wrap: balance;
}

.icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.15em;
  flex-shrink: 0;
}

.icon-sm { width: 1em; height: 1em; }
.icon-lg { width: 1.5em; height: 1.5em; }
.icon-xl { width: 2em; height: 2em; }

body { margin: 0; }