/* ============================================================
   ACSS — Abandoned Child South Sudan
   Main Stylesheet  |  Version 4.0 (Fully Fixed & Enhanced)
   
   Brand Colors:
   - Trust Blue:    #0A4D8C (Authority, Stability)
   - Hope Green:    #2E8B57 (Growth, Healing)
   - Action Gold:   #F4B400 (Urgency, Donations)
   - Modern Neutrals: #F8F9FA, #F1F3F5, #6C757D, #343A40
   ============================================================ */

/* ── 1. CSS CUSTOM PROPERTIES ───────────────────────────────── */
:root {
  /* Primary brand colors */
  --blue: #0A4D8C;
  --blue-dark: #073a6b;
  --blue-light: #1a6dbf;
  --blue-soft: #e8f0fe;
  --green: #2E8B57;
  --green-dark: #1f6340;
  --green-light: #3aad6c;
  --gold: #F4B400;
  --gold-dark: #c99200;
  --gold-light: #f7c948;
  --accent: #e67e22;
  --white: #ffffff;
  
  /* Neutral scale - softer grays */
  --gray-50: #F8F9FA;
  --gray-100: #F0F2F5;
  --gray-200: #E4E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  
  /* Text colors - improved contrast */
  --text-primary: #111827;
  --text-secondary: #374151;
  --text-tertiary: #6B7280;
  --text-inverse: #FFFFFF;
  
  /* Shadow system - softer shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(10, 77, 140, 0.06);
  --shadow-md: 0 4px 12px rgba(10, 77, 140, 0.08);
  --shadow-lg: 0 8px 30px rgba(10, 77, 140, 0.10);
  --shadow-xl: 0 16px 48px rgba(10, 77, 140, 0.12);
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
  
  /* Layout */
  --max-width: 1200px;
  --container-padding: 1.5rem;
  
  /* Typography - REDUCED FONT SIZES */
  --font-head: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Open Sans', system-ui, sans-serif;
}

/* ── 2. RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.5;
  font-size: 14px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: 0.875rem;
}

/* ── 3. TYPOGRAPHY ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  margin-bottom: 0.4rem;
}

h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}

.lead {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 1.2rem;
}

/* Text utilities */
.text-sm { font-size: 0.75rem; line-height: 1.4; }
.text-xs { font-size: 0.65rem; line-height: 1.3; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-blue { color: var(--blue); }
.text-green { color: var(--green); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-tertiary); }

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 4. UTILITY CLASSES ────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: 56px 0;
}

.section-sm { padding: 32px 0; }
.section-lg { padding: 72px 0; }

.bg-blue { background: var(--blue); }
.bg-green { background: var(--green); }
.bg-light { background: var(--gray-50); }
.bg-white { background: var(--white); }
.bg-dark { background: var(--text-primary); }
.bg-soft-blue { background: var(--blue-soft); }
.bg-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230A4D8C' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Spacing utilities */
.mb-1 { margin-bottom: 0.3rem; }
.mb-2 { margin-bottom: 0.6rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.2rem; }
.mb-6 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.3rem; }
.mt-2 { margin-top: 0.6rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.2rem; }

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

/* ── 5. SECTION HEADERS ────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(46, 139, 87, 0.08);
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 0.6rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.section-tag.gold {
  color: var(--gold-dark);
  background: rgba(244, 180, 0, 0.08);
}

.section-tag.blue {
  color: var(--blue);
  background: rgba(10, 77, 140, 0.06);
}

.section-tag.white {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.section-header {
  max-width: 560px;
  margin-bottom: 2rem;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header p {
  margin-top: 0.5rem;
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

/* ── 6. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.5rem 1.1rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  min-height: 44px;
  min-width: 44px;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translate(-50%, -50%);
}

.btn:active::after {
  width: 300%;
  height: 300%;
}

.btn-lg {
  padding: 0.65rem 1.5rem;
  font-size: 0.875rem;
}

.btn-sm {
  padding: 0.35rem 0.8rem;
  font-size: 0.7rem;
}

.btn-primary {
  background: var(--gold);
  color: var(--text-primary);
  box-shadow: 0 2px 4px rgba(244, 180, 0, 0.15);
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(244, 180, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--white);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-xs);
}

.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(10, 77, 140, 0.3);
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(46, 139, 87, 0.3);
}

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(10, 77, 140, 0.15);
}

.btn-outline-green {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-outline-green:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(46, 139, 87, 0.15);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

/* ── 7. TOP BAR ────────────────────────────────────────────── */
.top-bar {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  padding: 0.4rem 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-fast);
}

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

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar-right .lang-switch {
  display: flex;
  gap: 0.3rem;
}

.lang-switch a {
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.7rem;
}

.lang-switch a.active {
  background: var(--gold);
  color: var(--text-primary);
}

/* ── 8. NAVIGATION ──────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition-base);
  padding: 0.25rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text strong {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue);
}

.nav-logo-text span {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  position: relative;
}

/* GREEN UNDERLINE REMOVED - Using background hover instead */
.nav-links a::after {
  display: none;
}

.nav-links a:hover {
  color: var(--blue);
  background: rgba(10, 77, 140, 0.04);
}

.nav-links a.active {
  color: var(--blue);
  background: rgba(10, 77, 140, 0.06);
}

.nav-cta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

.nav-cta .btn {
  padding: 0.6rem 1.3rem;
  font-size: 0.85rem;
}

/* ── NAV TOGGLE (Hamburger) ────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  background: transparent;
  border: none;
  z-index: 1101;
  position: relative;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
  min-width: 44px;
}

.nav-toggle:hover {
  background: var(--gray-50);
}

.nav-toggle:active {
  transform: scale(0.95);
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ── MOBILE NAV OVERLAY ────────────────────────────────────── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
  pointer-events: none;
}

.nav-overlay.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* ── MOBILE NAV DRAWER ──────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--white);
  z-index: 1100;
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.12);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  flex-direction: column;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 2;
}

.mobile-nav-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  min-height: 44px;
  min-width: 44px;
}

.mobile-nav-close:hover {
  background: var(--gray-200);
}

.mobile-nav-links {
  padding: 0.5rem 0;
  flex: 1;
  overflow-y: auto;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-link {
  display: block;
  padding: 0.9rem 1.25rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  text-decoration: none;
  min-height: 48px;
}

.mobile-nav-link:hover {
  color: var(--blue);
  background: var(--gray-50);
}

.mobile-nav-link.active {
  color: var(--blue);
  background: rgba(10, 77, 140, 0.04);
}

.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.9rem 1.25rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  min-height: 48px;
}

.mobile-dropdown-toggle:hover {
  color: var(--blue);
  background: var(--gray-50);
}

.mobile-dropdown-toggle .arrow {
  transition: transform var(--transition-fast);
  font-size: 0.6rem;
  color: var(--text-tertiary);
}

.mobile-dropdown-toggle.open .arrow {
  transform: rotate(180deg);
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--gray-50);
}

.mobile-submenu.open {
  max-height: 500px;
}

.mobile-submenu a {
  display: block;
  padding: 0.6rem 1.25rem 0.6rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition-fast);
  text-decoration: none;
  min-height: 44px;
}

.mobile-submenu a:last-child {
  border-bottom: none;
}

.mobile-submenu a:hover {
  color: var(--blue);
  background: var(--white);
}

.mobile-submenu a.active {
  color: var(--blue);
  background: var(--white);
}

.mobile-nav-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--gray-200);
  flex-shrink: 0;
  background: var(--white);
  position: sticky;
  bottom: 0;
}

.mobile-nav-footer .btn {
  width: 100%;
  justify-content: center;
  padding: 0.8rem;
  font-size: 1rem;
}

/* ── 9. HERO SECTION ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-dark);
}

.hero-slide-bg {
  transition: transform 0.1s ease-out;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7, 58, 107, 0.92) 0%,
    rgba(10, 77, 140, 0.7) 45%,
    rgba(46, 139, 87, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 2.5rem 0;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.hero-eyebrow span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.8rem;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 460px;
}

.hero-stats {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-item .number {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.hero-stat-item .label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-scroll {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* ── 10. CARDS ──────────────────────────────────────────────── */
.card,
.program-card,
.team-card,
.news-card,
.stat-card,
.value-card,
.story-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
  position: relative;
}

.card::before,
.program-card::before,
.team-card::before,
.news-card::before,
.stat-card::before,
.value-card::before,
.story-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 77, 140, 0.03), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.card:hover::before,
.program-card:hover::before,
.team-card:hover::before,
.news-card:hover::before,
.stat-card:hover::before,
.value-card:hover::before,
.story-card:hover::before {
  opacity: 1;
}

.card *,
.program-card *,
.team-card *,
.news-card *,
.stat-card *,
.value-card *,
.story-card * {
  position: relative;
  z-index: 1;
}

.card:hover,
.program-card:hover,
.team-card:hover,
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 77, 140, 0.08);
}

.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-img {
  transform: scale(1.06);
}

.card-body,
.program-card-body,
.news-card-body,
.team-card-body {
  padding: 1.25rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(46, 139, 87, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  margin-bottom: 0.4rem;
}

.card-title {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.card-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Program Cards */
.program-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.program-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-card:hover .program-card-img img {
  transform: scale(1.06);
}

.program-icon-badge {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  width: 38px;
  height: 38px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
}

.program-card-body h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.program-card-body p {
  font-size: 0.85rem;
  flex: 1;
  color: var(--text-secondary);
}

.program-card-footer {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.program-stat {
  font-family: var(--font-head);
  font-size: 0.75rem;
}

.program-stat strong {
  color: var(--blue);
  font-size: 1rem;
  display: block;
}

/* ── 11. GRID LAYOUTS ───────────────────────────────────────── */
.grid {
  display: grid;
  gap: 1rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ── 12. IMPACT / STAT NUMBERS ─────────────────────────────── */
.impact-number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  display: inline-block;
}

.impact-number.gold { color: var(--gold-dark); }
.impact-number.green { color: var(--green); }
.impact-number.white { color: var(--white); }

.stat-card {
  text-align: center;
  padding: 1.25rem;
}

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

.stat-icon {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
  display: inline-block;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue);
  display: block;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── 13. QUOTE / TESTIMONIAL ───────────────────────────────── */
.quote-block {
  position: relative;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold);
  transition: all 0.3s ease;
}

.quote-block:hover {
  border-left-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.quote-block::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 0.8rem;
  font-size: 2.5rem;
  font-family: Georgia, serif;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
}

.quote-block blockquote {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 0.6rem;
  padding-top: 0.5rem;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.6rem;
}

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

.quote-author-info strong {
  display: block;
  font-size: 0.8rem;
  font-family: var(--font-head);
  color: var(--text-primary);
}

.quote-author-info span {
  font-size: 0.7rem;
  color: var(--text-tertiary);
}

/* ── 14. BADGE / TAG CHIPS ──────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.badge-green {
  background: rgba(46, 139, 87, 0.1);
  color: var(--green-dark);
}

.badge-blue {
  background: rgba(10, 77, 140, 0.08);
  color: var(--blue);
}

.badge-gold {
  background: rgba(244, 180, 0, 0.1);
  color: var(--gold-dark);
}

/* ── 15. PAGE HERO ──────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--green) 100%);
  padding: 4rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero.beige-after::after {
  background: var(--gray-50);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.6rem;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.breadcrumb {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

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

.breadcrumb-sep {
  opacity: 0.4;
}

/* ── 16. FORMS ──────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.form-control {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 4px 15px rgba(10, 77, 140, 0.1);
  transform: translateY(-1px);
}

.form-control::placeholder {
  color: var(--gray-400);
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236B7280' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2rem;
}

/* ── 17. FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.65);
  padding-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand img {
  height: 38px;
  margin-bottom: 0.8rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.8rem;
  line-height: 1.5;
  max-width: 260px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col ul li a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-newsletter p {
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-newsletter-form {
  display: flex;
  gap: 0.3rem;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-size: 0.8rem;
}

.footer-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.footer-newsletter-form input:focus {
  outline: none;
  border-color: var(--gold);
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--text-primary);
  transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 1rem 0;
}

.footer-bottom p {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-links {
  display: flex;
  gap: 0.8rem;
}

.footer-bottom-links a {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ── 18. BACK TO TOP ────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--green);
  transform: translateY(-3px) scale(1.1);
}

/* ── 19. MODAL ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 40, 0.5);
  backdrop-filter: blur(3px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 1.8rem;
  position: relative;
  transform: scale(0.95) translateY(12px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--gray-200);
  color: var(--text-primary);
}

/* ── 20. COOKIE BANNER ──────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.75);
  padding: 0.8rem 1.2rem;
  z-index: 1500;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-inner p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

.cookie-inner a {
  color: var(--gold);
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* ── 21. ACCESSIBILITY ──────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 4px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue-dark);
}

/* Selection styling */
::selection {
  background: var(--gold);
  color: var(--text-primary);
}

@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;
  }
}

/* ── 22. SKIP TO CONTENT ────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0.8rem;
  background: var(--blue);
  color: var(--white);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.8rem;
  transition: top 0.2s;
  z-index: 9999;
}

.skip-link:focus {
  top: 0.8rem;
}

/* ── 23. IMAGE PLACEHOLDER ──────────────────────────────────── */
.img-placeholder {
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
  color: var(--text-tertiary);
  font-size: 0.75rem;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-md);
  min-height: 150px;
}

.img-placeholder .placeholder-icon {
  font-size: 1.8rem;
  opacity: 0.3;
}

.img-placeholder .placeholder-text {
  text-align: center;
  padding: 0 0.6rem;
}

/* ── 24. TOAST NOTIFICATIONS ────────────────────────────────── */
.toast-container {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--text-primary);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 200px;
  animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.8rem;
}

.toast.success {
  border-left: 3px solid var(--green);
}

.toast.error {
  border-left: 3px solid #e74c3c;
}

.toast.info {
  border-left: 3px solid var(--blue);
}

.toast-exit {
  animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(40px);
  }
}

/* ── 25. DROPDOWN NAVIGATION ────────────────────────────────── */
.nav-item-dropdown {
  position: relative;
}

.nav-link-dropdown {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  background: none;
  border: none;
}

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

.nav-link-dropdown::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.2rem;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 3px solid var(--text-tertiary);
  transition: transform var(--transition-fast);
}

.nav-item-dropdown:hover .nav-link-dropdown::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  padding: 0.3rem 0;
  z-index: 1000;
  border: 1px solid var(--gray-200);
  list-style: none;
}

.nav-item-dropdown:hover .dropdown-menu {
  display: block;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.4rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  border-bottom: 1px solid var(--gray-100);
  text-decoration: none;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--gray-50);
  color: var(--blue);
}

.dropdown-menu a.active {
  color: var(--blue);
  background: rgba(10, 77, 140, 0.04);
}

/* ── 26. RESPONSIVE BREAKPOINTS ────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .nav-links,
  .nav-cta {
    display: none !important;
  }
  
  .nav-toggle {
    display: flex !important;
    cursor: pointer !important;
    pointer-events: auto !important;
  }
  
  .mobile-nav {
    display: flex !important;
  }
  
  .nav-overlay {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 40px 0;
  }
  .section-lg {
    padding: 48px 0;
  }
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 85vh;
  }
  .hero-stats {
    gap: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .page-hero {
    padding: 2.5rem 0 2rem;
  }
  .top-bar .container {
    flex-direction: column;
    gap: 0.15rem;
  }
}

@media (max-width: 576px) {
  .program-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  
  .program-card-footer .btn {
    width: 100%;
    justify-content: center;
  }
  
  .program-stat {
    text-align: center;
  }
  
  .program-stat strong {
    display: inline-block;
  }
  
  .value-card {
    padding: 1.25rem;
  }
  
  .value-card h3 {
    font-size: 0.95rem;
  }
  
  .value-card p {
    font-size: 0.85rem;
  }
  
  .timeline-item {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .timeline-marker {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
  }
  
  .timeline::before {
    left: 15px;
  }
  
  .timeline-content {
    padding: 1rem;
  }
  
  .team-card-body h4 {
    font-size: 0.9rem;
  }
  
  .team-card-body .role {
    font-size: 0.75rem;
  }
  
  .team-card-body p {
    font-size: 0.82rem;
  }
  
  .founder-photo-wrap .years-badge {
    width: 70px;
    height: 70px;
  }
  
  .founder-photo-wrap .years-badge .num {
    font-size: 1.2rem;
  }
  
  .founder-photo-wrap .years-badge span {
    font-size: 0.65rem;
  }
  
  .quote-block {
    padding: 1.25rem;
  }
  
  .quote-block blockquote {
    font-size: 0.9rem;
  }
  
  .founder-quote-large {
    padding: 1.5rem;
  }
  
  .founder-quote-large blockquote {
    font-size: 1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .form-group {
    margin-bottom: 0.75rem;
  }
  
  .form-control {
    font-size: 1rem;
    padding: 0.7rem 0.8rem;
  }
  
  select.form-control {
    padding: 0.7rem 2rem 0.7rem 0.8rem;
  }
  
  .modal {
    padding: 1.25rem;
    margin: 0.5rem;
    max-height: 95vh;
  }
  
  .modal-close {
    top: 0.5rem;
    right: 0.5rem;
  }
  
  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  
  .cookie-actions {
    justify-content: center;
  }
  
  .cookie-actions .btn {
    flex: 1;
    justify-content: center;
  }
  
  .back-to-top {
    width: 44px;
    height: 44px;
    bottom: 1rem;
    right: 1rem;
    font-size: 1rem;
  }
  
  .partner-logos {
    gap: 1rem;
  }
  
  .partner-logos .logo-placeholder {
    height: 40px;
    min-width: 80px;
    font-size: 0.6rem;
  }
  
  .story-card-body h3 {
    font-size: 0.95rem;
  }
  
  .story-card-body p {
    font-size: 0.85rem;
  }
  
  .news-card-body h4 {
    font-size: 0.95rem;
  }
  
  .news-card-body p {
    font-size: 0.85rem;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .nav-logo-text span {
    display: none;
  }
  
  .nav-logo img {
    height: 36px;
  }
  
  .nav-inner {
    height: 60px;
  }
  
  .hero h1 {
    font-size: 1.6rem;
  }
  
  .hero .lead {
    font-size: 0.9rem;
  }
  
  .hero-stats {
    gap: 0.5rem;
  }
  
  .hero-stat-item .number {
    font-size: 1.2rem;
  }
  
  .hero-stat-item .label {
    font-size: 0.55rem;
  }
  
  .section {
    padding: 24px 0;
  }
  
  .btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.9rem;
  }
  
  .btn-lg {
    font-size: 0.8rem;
    padding: 0.5rem 1.2rem;
  }
  
  .top-bar {
    font-size: 0.65rem;
    padding: 0.3rem 0;
  }
  
  .top-bar-left span,
  .top-bar-left a {
    display: none;
  }
  
  .top-bar-right {
    width: 100%;
    justify-content: center;
  }
  
  .page-hero {
    padding: 2rem 0 1.5rem;
  }
  
  .page-hero h1 {
    font-size: 1.4rem;
  }
  
  .page-hero .lead {
    font-size: 0.85rem;
  }
  
  .footer-grid {
    gap: 1rem;
  }
  
  .footer-brand p {
    font-size: 0.75rem;
  }
  
  .footer-newsletter-form {
    flex-direction: column;
  }
  
  .footer-newsletter-form button {
    width: 100%;
    justify-content: center;
  }
  
  .lang-switch a {
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
  }
}

/* ── 27. PRINT STYLES ───────────────────────────────────────── */
@media print {
  .site-nav,
  .top-bar,
  .footer,
  .back-to-top,
  .cookie-banner {
    display: none !important;
  }
  
  body {
    font-size: 12px;
    color: #000;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .hero h1 {
    font-size: 24px;
  }
}
/* ── LANGUAGE SWITCHER ── */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  transition: all var(--transition-fast);
  text-transform: uppercase;
}

.lang-btn:hover {
  color: rgba(255, 255, 255, 0.8);
}

.lang-btn.active {
  color: var(--white);
  background: var(--gold);
  padding: 0.15rem 0.6rem;
}

.lang-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
}

/* ── RESPONSIVE TOP BAR ── */
@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.3rem 0.75rem;
  }
  
  .top-bar-left,
  .top-bar-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .top-bar-left span {
    display: none;
  }
  
  .lang-btn {
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .top-bar {
    font-size: 0.6rem;
    padding: 0.2rem 0;
  }
  
  .top-bar-left a {
    display: none;
  }
  
  .top-bar-right {
    width: 100%;
    justify-content: center;
  }
}