/* ============================================================
   Jeddah International College (JIC) — Design System
   Institutional Marketing Website — v1.0
   ============================================================ */

/* ------------------------------------------------------------
   CSS Variables / Design Tokens
   ------------------------------------------------------------ */
:root {
  --navy-900: #050a14;
  --navy-800: #0a1628;
  --navy-700: #132240;
  --gold: #C9A227;
  --gold-light: #e8d46b;
  --gold-dark: #a88420;
  --cream: #faf9f6;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-body: #4a4a4a;
  --text-muted: #6b7280;
  --text-light: #e0e0e0;
  --accent-blue: #1e3a5f;
  --success: #059669;
  --border-light: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.1);

  --font-ar: 'Noto Sans Arabic', sans-serif;
  --font-en: 'Inter', sans-serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.16);
  --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.25);

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* ------------------------------------------------------------
   Reset & Base
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ar);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[dir="ltr"] body {
  font-family: var(--font-en);
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ------------------------------------------------------------
   Language Toggle System
   ------------------------------------------------------------ */
html[data-lang="ar"] .lang-en { display: none !important; }
html[data-lang="en"] .lang-ar { display: none !important; }

html[dir="rtl"] .rtl-flip { transform: scaleX(-1); }

/* ------------------------------------------------------------
   Page Load Animation
   ------------------------------------------------------------ */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  animation: pageFadeIn 600ms ease forwards;
}

/* ------------------------------------------------------------
   Scroll Reveal System
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }
.reveal-delay-6 { transition-delay: 600ms; }

/* Stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children > *:nth-child(2) { transition-delay: 100ms; }
.stagger-children > *:nth-child(3) { transition-delay: 200ms; }
.stagger-children > *:nth-child(4) { transition-delay: 300ms; }
.stagger-children > *:nth-child(5) { transition-delay: 400ms; }
.stagger-children > *:nth-child(6) { transition-delay: 500ms; }

/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition-base), backdrop-filter var(--transition-base), box-shadow var(--transition-base);
  padding: var(--space-md) 0;
}

.site-nav.scrolled {
  background: rgba(5, 10, 20, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nav-logo-main {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1;
}

.nav-logo-main span {
  color: var(--gold);
}

.nav-logo-sub {
  font-size: 0.75rem;
  color: var(--text-light);
  opacity: 0.7;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  padding: var(--space-xs) 0;
  transition: color var(--transition-base);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-base);
}

html[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-dark);
  border-radius: 100px;
  padding: 4px;
  gap: 4px;
  cursor: pointer;
  transition: background var(--transition-base);
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lang-toggle-btn {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  color: var(--text-light);
  transition: all var(--transition-base);
}

.lang-toggle-btn.active {
  background: var(--gold);
  color: var(--navy-900);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-base);
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: var(--navy-800);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

html[dir="rtl"] .mobile-drawer {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-link {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-dark);
}

.mobile-drawer-link.active {
  color: var(--gold);
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  font-weight: 600;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-900);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 24px rgba(201, 162, 39, 0.35);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border-dark);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 162, 39, 0.05);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--navy-900);
}

.btn-outline-dark:hover {
  background: var(--navy-900);
  color: var(--white);
}

/* ------------------------------------------------------------
   Cards
   ------------------------------------------------------------ */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 162, 39, 0.3);
}

.card-dark {
  background: var(--navy-800);
  border-color: var(--border-dark);
  color: var(--white);
}

.card-dark:hover {
  border-color: var(--gold);
}

.card-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-dark);
  color: var(--white);
}

/* ------------------------------------------------------------
   Section Utilities
   ------------------------------------------------------------ */
.section {
  padding: var(--space-3xl) 0;
}

.section-dark {
  background: var(--navy-900);
  color: var(--white);
}

.section-navy {
  background: var(--navy-800);
  color: var(--white);
}

.section-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-900);
}

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

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

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.section-dark .section-subtitle,
.section-navy .section-subtitle {
  color: var(--text-light);
  opacity: 0.7;
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-700) 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.4;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-lg);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.3);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: var(--space-xs) var(--space-md);
  border-radius: 100px;
  margin-bottom: var(--space-lg);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: var(--space-md);
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  opacity: 0.8;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ------------------------------------------------------------
   Stats Bar
   ------------------------------------------------------------ */
.stats-bar {
  background: var(--navy-900);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: var(--space-xl) 0;
}

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

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
  opacity: 0.7;
}

/* ------------------------------------------------------------
   Image hover zoom
   ------------------------------------------------------------ */
.img-zoom-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.img-zoom-wrap img {
  transition: transform var(--transition-slow);
}

.img-zoom-wrap:hover img {
  transform: scale(1.05);
}

/* ------------------------------------------------------------
   Links with animated underline
   ------------------------------------------------------------ */
.link-animated {
  position: relative;
  color: var(--gold);
  font-weight: 600;
}

.link-animated::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-base);
}

html[dir="rtl"] .link-animated::after {
  left: auto;
  right: 0;
}

.link-animated:hover::after {
  width: 100%;
}

/* ------------------------------------------------------------
   Forms
   ------------------------------------------------------------ */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9375rem;
  font-family: inherit;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text-dark);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

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

.section-dark .form-input,
.section-navy .form-input,
.section-dark .form-select,
.section-navy .form-select,
.section-dark .form-textarea,
.section-navy .form-textarea {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-dark);
  color: var(--white);
}

.section-dark .form-label,
.section-navy .form-label {
  color: var(--text-light);
}

/* ------------------------------------------------------------
   Accordion
   ------------------------------------------------------------ */
.accordion-item {
  border-bottom: 1px solid var(--border-light);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: inherit;
}

.accordion-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.accordion-item.open .accordion-body {
  max-height: 500px;
  padding-bottom: var(--space-md);
}

.accordion-body p {
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ------------------------------------------------------------
   Marquee
   ------------------------------------------------------------ */
.marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--navy-900), transparent);
}

.marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--navy-900), transparent);
}

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

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  opacity: 0.6;
}

/* ------------------------------------------------------------
   Timeline
   ------------------------------------------------------------ */
.timeline {
  position: relative;
  padding: var(--space-lg) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-dark));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: var(--space-md) var(--space-xl);
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: var(--space-xl);
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: var(--space-xl);
}

.timeline-dot {
  position: absolute;
  top: var(--space-md);
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--navy-900);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xs);
}

.timeline-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.timeline-desc {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--navy-900);
  color: var(--text-light);
  padding-top: var(--space-3xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.footer-brand-logo span {
  color: var(--gold);
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.footer-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.footer-link {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: var(--space-xs) 0;
  transition: color var(--transition-base);
}

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

.footer-socials {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.footer-social {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: var(--text-light);
  transition: all var(--transition-base);
}

.footer-social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-900);
}

.newsletter-form {
  display: flex;
  gap: var(--space-xs);
}

.newsletter-form .form-input {
  flex: 1;
  min-width: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: var(--space-md) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: var(--space-md);
}

.footer-legal a {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

/* ------------------------------------------------------------
   Page Header (internal pages)
   ------------------------------------------------------------ */
.page-header {
  position: relative;
  padding: 160px 0 var(--space-xl);
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  text-align: center;
  color: var(--white);
}

.page-header::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: var(--space-sm);
}

.page-header-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  opacity: 0.7;
}

/* ------------------------------------------------------------
   Tables
   ------------------------------------------------------------ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.data-table th,
.data-table td {
  padding: var(--space-sm) var(--space-md);
  text-align: inherit;
  border-bottom: 1px solid var(--border-light);
}

.data-table th {
  font-weight: 700;
  color: var(--navy-900);
  background: var(--cream);
}

.data-table tr:hover td {
  background: rgba(201, 162, 39, 0.03);
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .section {
    padding: var(--space-xl) 0;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  .stat-number {
    font-size: 1.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .timeline::before {
    left: 16px;
  }
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    left: 0;
    text-align: inherit;
    padding-left: 48px;
    padding-right: 0;
  }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 8px;
    right: auto;
  }
  .page-header-title {
    font-size: 1.75rem;
  }
  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   Accessibility
   ------------------------------------------------------------ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------
   Utility classes
   ------------------------------------------------------------ */
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.p-lg { padding: var(--space-lg); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}
