/* ================================
   SOSYAD WEBSITE - PREMIUM DESIGN SYSTEM
   International Humanitarian Aid Organization
   Refined: Premium Visual System v2.0
   ================================ */

/* ================================
   1. CSS VARIABLES & COLOR SYSTEM
   ================================ */

:root {
  /* Premium Primary Color System */
  --color-primary: #0652dd;
  --color-primary-dark: #0542b2;
  --color-primary-light: #1b9cfc;
  --color-navy: #0c2461;
  --color-navy-dark: #091c4a;
  
  /* Warm Neutral System */
  --color-dark: #1a1a2e;
  --color-dark-secondary: #16213e;
  --color-gray: #4a5568;
  --color-gray-light: #64748b;
  --color-gray-muted: #94a3b8;
  
  /* Premium Backgrounds */
  --color-bg-cream: #faf9f6;
  --color-bg-warm: #f5f3ef;
  --color-bg-light: #f8fafc;
  --color-bg-lighter: #f0f5fa;
  --color-bg-white: #ffffff;
  
  /* Accent Colors */
  --color-accent-warm: #e17055;
  --color-accent-gold: #fdcb6e;
  --color-success: #00b894;
  --color-border: #e2e8f0;
  
  /* Typography - Enhanced */
  --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Barlow Semi Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Premium Sizing Scale */
  --container-max: 1200px;
  --container-narrow: 800px;
  --container-padding: 2rem;
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1.25rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 5rem;
  --spacing-3xl: 7rem;
  
  /* Premium Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Premium Box Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 40px rgba(6, 82, 221, 0.15);
  
  /* Premium Transitions */
  --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-standard: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================
   2. RESET & BASE STYLES
   ================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-gray);
  background-color: var(--color-bg-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

/* ================================
   3. TYPOGRAPHY
   ================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

h4 {
  font-size: 1.35rem;
  font-weight: 600;
}

h5 {
  font-size: 1.15rem;
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Premium Section Labels */
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  margin-right: 0.75rem;
  vertical-align: middle;
}

p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

p.lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--color-gray-light);
  max-width: 65ch;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover,
a:focus {
  color: var(--color-primary-dark);
  outline: none;
}

strong {
  font-weight: 700;
  color: var(--color-dark);
}


/* ================================
   4. LAYOUT & CONTAINERS
   ================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ================================
   5. HEADER STYLES
   ================================ */

header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--container-padding);
  max-width: var(--container-max);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.logo:hover {
  opacity: 0.85;
}

.logo img {
  height: 48px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text-main {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.02em;
}

.logo-text-sub {
  font-size: 0.7rem;
  color: var(--color-primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  color: var(--color-dark-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-fast);
}

nav a:hover,
nav a.active {
  color: var(--color-primary);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.nav-cta {
  background-color: var(--color-primary);
  color: white !important;
  padding: 0.75rem 1.75rem !important;
  border-radius: var(--radius-md);
  border-bottom: none !important;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(6, 82, 221, 0.25);
  transition: all var(--transition-fast);
}

.nav-cta:hover {
  background-color: var(--color-primary-dark);
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(6, 82, 221, 0.35);
}

.nav-cta::after {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-dark);
  font-size: 1.5rem;
}

/* ================================
   6. FOOTER STYLES
   ================================ */

footer {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-dark) 100%);
  color: #94a3b8;
  padding: var(--spacing-3xl) var(--container-padding) var(--spacing-xl);
  margin-top: var(--spacing-3xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-2xl);
  max-width: var(--container-max);
  margin: 0 auto var(--spacing-2xl);
}

.footer-section:first-child {
  max-width: 320px;
}

.footer-section:first-child p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: #94a3b8;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  display: inline-block;
}

.footer-section a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-xl);
  text-align: center;
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: #64748b;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--spacing-lg);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  font-size: 0.9rem;
}

.social-links a:hover {
  background-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

/* Sponsor Spotlight Section */
.sponsor-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.sponsor-content h2 {
  margin-bottom: 1.5rem;
}

.sponsor-content .lead {
  font-size: 1.15rem;
  color: var(--color-gray);
  margin-bottom: 1.5rem;
}

.sponsor-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.sponsor-card {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-primary-dark) 100%);
  color: white;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.sponsor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent-gold) 0%, var(--color-accent-warm) 100%);
}

.sponsor-card h3 {
  font-size: 4rem;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.sponsor-card p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

.sponsor-price {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.sponsor-price .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent-gold);
}

.sponsor-price .period {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* Story Section */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--color-bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-image {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-primary) 100%);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.story-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 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='%23ffffff' 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");
}

.story-content {
  padding: var(--spacing-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-quote {
  font-size: 1.35rem;
  font-style: italic;
  color: var(--color-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--color-primary);
}

.story-attribution {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.story-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.story-meta h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.story-meta p {
  font-size: 0.85rem;
  color: var(--color-gray-light);
  margin: 0;
}

/* ================================
   7. BUTTON STYLES
   ================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--transition-standard);
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(6, 82, 221, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 82, 221, 0.4);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.btn-light {
  background-color: var(--color-bg-white);
  color: var(--color-dark);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  background-color: var(--color-bg-cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-white {
  background-color: white;
  color: var(--color-primary);
}

.btn-white:hover {
  background-color: var(--color-bg-cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ================================
   11b. COMPACT HERO CAROUSEL
   ================================ */

/* Hero Carousel - Premium Image-Led Layout */
.hero-carousel {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-primary) 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.hero-carousel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.carousel-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  position: relative;
  z-index: 2;
}

.carousel-slide {
  display: none;
  grid-template-columns: 40% 60%;
  gap: 2.5rem;
  align-items: center;
  min-height: 500px;
  padding: 3rem 0;
}

.carousel-slide.active {
  display: grid;
  animation: slideIn 0.6s ease-out;
}

.carousel-content {
  color: white;
  max-width: 520px;
  padding-right: 1rem;
}

.carousel-label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-accent-gold);
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-md);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.carousel-content h2 {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.carousel-content p {
  font-size: 1.075rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.25rem;
  max-width: 480px;
}

.carousel-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.carousel-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--transition-standard);
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1;
}

.carousel-button-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(6, 82, 221, 0.3);
}

.carousel-button-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 82, 221, 0.4);
  color: white;
}

.carousel-button-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.carousel-button-secondary:hover {
  background-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.carousel-button-light {
  background-color: var(--color-bg-white);
  color: var(--color-dark);
  box-shadow: var(--shadow-sm);
}

.carousel-button-light:hover {
  background-color: var(--color-bg-cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.carousel-button-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.carousel-button-white {
  background-color: white;
  color: var(--color-primary);
}

.carousel-button-white:hover {
  background-color: var(--color-bg-cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Right Visual */
.carousel-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.carousel-image-box {
  position: relative;
  width: 100%;
  max-width: 550px;
  aspect-ratio: 16/10;
  border-radius: var(--radius-xl);
  overflow: visible;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35), 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateX(0);
  transition: transform 0.6s ease-out;
}

.carousel-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-xl);
}

.carousel-image-box svg {
  width: 80px;
  height: 80px;
  stroke: white;
  stroke-width: 1;
  opacity: 0.25;
}

.carousel-image-box.accent-blue {
  background: linear-gradient(135deg, rgba(6, 82, 221, 0.3) 0%, rgba(12, 36, 97, 0.2) 100%);
}

.carousel-image-box.accent-green {
  background: linear-gradient(135deg, rgba(0, 184, 148, 0.25) 0%, rgba(12, 36, 97, 0.2) 100%);
}

.carousel-image-box.accent-warm {
  background: linear-gradient(135deg, rgba(225, 112, 85, 0.25) 0%, rgba(12, 36, 97, 0.2) 100%);
}

.carousel-badge {
  position: absolute;
  background: white;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 100px;
}

.carousel-badge.top {
  top: -0.75rem;
  right: -0.75rem;
}

.carousel-badge.bottom {
  bottom: -0.75rem;
  left: -0.75rem;
}

.carousel-badge .number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  display: block;
}

.carousel-badge .label {
  font-size: 0.65rem;
  color: var(--color-gray-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
  display: block;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.carousel-dot.active {
  background: var(--color-accent-gold);
  transform: scale(1.1);
}

.carousel-arrows {
  display: flex;
  gap: 0.5rem;
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1rem;
  padding: 0;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Mobile Responsive Carousel - Intentional Mobile Design */
@media (max-width: 900px) {
  .hero-carousel {
    min-height: auto;
  }
  
  .carousel-slide {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding: 2.5rem 0;
  }
  
  .carousel-slide.active {
    display: flex;
    flex-direction: column-reverse;
  }
  
  .carousel-content {
    text-align: center;
    max-width: 100%;
    padding-right: 0;
  }
  
  .carousel-content h2 {
    font-size: 1.85rem;
    line-height: 1.2;
    margin-bottom: 1.125rem;
  }
  
  .carousel-content p {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
  }
  
  .carousel-buttons {
    justify-content: center;
    gap: 0.75rem;
  }
  
  .carousel-visual {
    width: 100%;
    justify-content: center;
  }
  
  .carousel-image-box {
    max-width: 100%;
    aspect-ratio: 4/3;
  }
  
  .carousel-image-box svg {
    width: 50px;
    height: 50px;
  }
  
  .carousel-badge {
    display: none;
  }
  
  .carousel-controls {
    margin-top: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-carousel {
    padding: 1.75rem 0 2rem;
  }
  
  .carousel-content h2 {
    font-size: 1.35rem;
  }
  
  .carousel-content p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }
  
  .carousel-label {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
  }
  
  .carousel-visual {
    max-width: 240px;
  }
}

/* Trust Strip */
.trust-strip {
  background: var(--color-bg-white);
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-item {
  padding: 0.5rem;
}

.trust-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.trust-label {
  font-size: 0.9rem;
  color: var(--color-gray-light);
  font-weight: 500;
}

/* ================================
   8b. GALLERY STRIP - COMPACT
   ================================ */

.gallery-strip {
  background: var(--color-bg-warm);
  padding: var(--spacing-2xl) 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-standard);
  box-shadow: var(--shadow-sm);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  opacity: 0.6;
  color: white;
}

.gallery-item-icon svg {
  width: 100%;
  height: 100%;
}

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-standard);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-title {
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Responsive Gallery */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.875rem;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .gallery-item-icon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .gallery-item {
    aspect-ratio: 16/10;
    border-radius: var(--radius-md);
  }
  
  .gallery-item-icon {
    width: 32px;
    height: 32px;
  }
  
  .gallery-item-title {
    font-size: 0.75rem;
  }
}

/* ================================
   8c. PAGE BANNERS
   ================================ */

.page-banner {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.page-banner-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent-gold);
  margin-bottom: 1rem;
  padding: 0.4rem 0.875rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-sm);
}

.page-banner h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 550px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-banner {
    padding: 3rem 0;
  }
  
  .page-banner h1 {
    font-size: 2rem;
  }
  
  .page-banner p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .page-banner {
    padding: 2.5rem 0;
  }
  
  .page-banner h1 {
    font-size: 1.65rem;
  }
}

/* ================================
   9. SECTION STYLES
   ================================ */

/* Section Rhythm - Editorial Spacing */
section {
  padding: var(--spacing-3xl) var(--container-padding);
}

/* Tighter sections for visual flow */
section.section-tight {
  padding: var(--spacing-2xl) var(--container-padding);
}

/* Spacious sections for emphasis */
section.section-spacious {
  padding: calc(var(--spacing-3xl) * 1.5) var(--container-padding);
}

section.light {
  background-color: var(--color-bg-warm);
}

section.dark {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-secondary) 100%);
  color: white;
}

section.dark h2,
section.dark h3,
section.dark h4 {
  color: white;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-2xl);
}

.section-header h2 {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  line-height: 1.2;
}

.section-header p {
  color: var(--color-gray-light);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Section label refinement */
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 1rem;
  padding: 0.4rem 0.875rem;
  background: rgba(6, 82, 221, 0.08);
  border-radius: var(--radius-sm);
}

/* Premium Quote Block */
.quote-block {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 3rem;
  border-radius: var(--radius-xl);
  color: white;
  position: relative;
  margin: 3rem 0;
}

.quote-block::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 6rem;
  color: rgba(255,255,255,0.2);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  line-height: 1;
}

.quote-block blockquote {
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
  padding-left: 2rem;
  position: relative;
  z-index: 1;
}

.quote-block .quote-author {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  opacity: 0.9;
  padding-left: 2rem;
}

/* ================================
   10. GRID & CARD LAYOUTS
   ================================ */

.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Premium Cards */
.card {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-standard);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  transform: scaleX(0);
  transition: transform var(--transition-standard);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}

.card:hover::before {
  transform: scaleX(1);
}

.card-featured {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-primary-dark) 100%);
  color: white;
  border: none;
}

.card-featured::before {
  background: linear-gradient(90deg, var(--color-accent-gold) 0%, var(--color-accent-warm) 100%);
}

.card-featured h3,
.card-featured h4 {
  color: white;
}

.card-featured p {
  color: rgba(255,255,255,0.85);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--color-gray-light);
  margin-bottom: 1.25rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-primary);
}

.card-link:hover {
  gap: 0.75rem;
}

/* Activity Cards - Featured Layout */
.activity-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--color-bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-xl);
}

.activity-featured-image {
  min-height: 350px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
}

.activity-featured-content {
  padding: var(--spacing-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

/* ================================
   11. FORM STYLES
   ================================ */

form {
  max-width: 600px;
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-dark);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(4, 107, 210, 0.1);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

/* ================================
   12. UTILITY CLASSES
   ================================ */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--color-primary);
}

.text-navy {
  color: var(--color-navy);
}

.text-dark {
  color: var(--color-dark);
}

.text-muted {
  color: var(--color-gray-light);
}

.text-white {
  color: white;
}

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mt-2xl { margin-top: var(--spacing-2xl); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mb-2xl { margin-bottom: var(--spacing-2xl); }

.pt-sm { padding-top: var(--spacing-sm); }
.pt-md { padding-top: var(--spacing-md); }
.pt-lg { padding-top: var(--spacing-lg); }
.pt-xl { padding-top: var(--spacing-xl); }
.pt-2xl { padding-top: var(--spacing-2xl); }

.pb-sm { padding-bottom: var(--spacing-sm); }
.pb-md { padding-bottom: var(--spacing-md); }
.pb-lg { padding-bottom: var(--spacing-lg); }
.pb-xl { padding-bottom: var(--spacing-xl); }
.pb-2xl { padding-bottom: var(--spacing-2xl); }

/* ================================
   13. RESPONSIVE STYLES
   ================================ */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero h1 {
    font-size: 2.75rem;
  }
  
  .hero-visual {
    display: none;
  }
  
  .sponsor-spotlight {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .sponsor-visual {
    order: -1;
  }
  
  .story-section {
    grid-template-columns: 1fr;
  }
  
  .story-image {
    min-height: 250px;
  }
  
  .activity-featured {
    grid-template-columns: 1fr;
  }
  
  .activity-featured-image {
    min-height: 200px;
    order: -1;
  }
  
  .activity-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.65rem;
  }
  
  h3 {
    font-size: 1.35rem;
  }
  
  .header-container {
    padding: 0.875rem 1rem;
  }
  
  nav ul {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  nav.mobile-open ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    padding: 1rem;
    gap: 0;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--color-border);
  }
  
  nav.mobile-open a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
  }
  
  nav.mobile-open a:last-child {
    border-bottom: none;
  }
  
  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }
  
  .hero {
    min-height: auto;
    padding: 4rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn {
    width: 100%;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    text-align: center;
  }
  
  .footer-section:first-child {
    max-width: 100%;
  }
  
  .social-links {
    justify-content: center;
  }
  
  section {
    padding: var(--spacing-2xl) 1rem;
  }
  
  .container,
  .container-narrow,
  .container-wide {
    padding: 0 1rem;
  }
  
  .quote-block {
    padding: 2rem 1.5rem;
  }
  
  .quote-block::before {
    font-size: 4rem;
  }
  
  .quote-block blockquote {
    font-size: 1.15rem;
    padding-left: 1rem;
  }
  
  .trust-strip-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .trust-number {
    font-size: 1.75rem;
  }
  
  .sponsor-card h3 {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.25rem;
    line-height: 1.3;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  /* Improve touch targets */
  .btn {
    min-height: 48px;
    padding: 0.875rem 1.5rem;
  }
  
  /* Better spacing for small screens */
  .container {
    padding: 0 0.75rem;
  }
  
  section {
    padding: var(--spacing-xl) 0.75rem;
  }
  
  /* Gallery improvements */
  .gallery-item-overlay {
    padding: 1rem;
  }
  
  .gallery-item-title {
    font-size: 0.9rem;
  }
  
  /* Card improvements */
  .card {
    padding: 1.25rem;
  }
  
  /* Form improvements */
  input,
  textarea,
  select {
    min-height: 48px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  textarea {
    min-height: 120px;
  }
  
  .logo {
    gap: 0.5rem;
  }
  
  .logo img {
    height: 40px;
  }
  
  .logo-text-main {
    font-size: 0.9rem;
  }
  
  .logo-text-sub {
    font-size: 0.6rem;
  }
  
  .trust-strip-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-item {
    padding: 0.75rem;
  }
  
  .sponsor-card {
    padding: 1.75rem;
  }
  
  .sponsor-card h3 {
    font-size: 2.5rem;
  }
  
  .sponsor-price .price {
    font-size: 2rem;
  }
}

/* Page Hero (for inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-primary-dark) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.page-hero h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Mission/Vision/Values Cards */
.mission-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.mission-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-standard);
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.mission-card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  color: white;
}

.mission-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.mission-card p {
  color: var(--color-gray-light);
  margin: 0;
}

.mission-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mission-card li {
  padding: 0.5rem 0;
  color: var(--color-gray-light);
  border-bottom: 1px solid var(--color-border);
}

.mission-card li:last-child {
  border-bottom: none;
}

.mission-card li strong {
  color: var(--color-dark);
  font-weight: 600;
}

/* Country Cards */
.country-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.country-card {
  background: var(--color-bg-white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.country-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.country-card h4 {
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.country-card p {
  font-size: 0.85rem;
  color: var(--color-gray-light);
  margin: 0;
}

@media (max-width: 1024px) {
  .mission-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .country-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .mission-cards {
    grid-template-columns: 1fr;
  }
  
  .country-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .page-hero {
    padding: 3rem 0;
  }
  
  .page-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .country-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   14. CTA POPUP MODAL
   ================================ */

.cta-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
}

.cta-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cta-popup-container {
  background: white;
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: popupSlideUp 0.4s ease-out;
}

@keyframes popupSlideUp {
  from {
    transform: translateY(30px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.cta-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-popup-close:hover {
  background: var(--color-primary);
  color: white;
  transform: rotate(90deg);
}

.cta-popup-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.cta-popup-video {
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  max-height: 500px;
  overflow: hidden;
}

.cta-popup-video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cta-popup-text {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.cta-popup-text h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
  margin: 0;
}

.cta-popup-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-gray);
  margin: 0;
}

.cta-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  border: none;
  cursor: pointer;
}

.cta-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
}

.cta-whatsapp-btn svg {
  flex-shrink: 0;
}

.cta-popup-dismiss {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-gray);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.cta-popup-dismiss:hover {
  background: var(--color-bg-light);
  border-color: var(--color-gray-light);
  color: var(--color-dark);
}

/* Mobile Responsive - Tablet */
@media (max-width: 768px) {
  .cta-popup-overlay {
    padding: 0.5rem;
  }
  
  .cta-popup-container {
    max-height: 95vh;
    border-radius: 16px;
  }
  
  .cta-popup-content {
    grid-template-columns: 1fr;
    max-height: 95vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .cta-popup-video {
    min-height: 250px;
    max-height: 300px;
  }
  
  .cta-popup-video video {
    object-fit: contain;
  }
  
  .cta-popup-text {
    padding: 2rem 1.5rem;
  }
  
  .cta-popup-text h3 {
    font-size: 1.5rem;
  }
  
  .cta-popup-text p {
    font-size: 0.95rem;
  }
  
  .cta-whatsapp-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
  }
  
  .cta-popup-dismiss {
    width: 100%;
  }
  
  .cta-popup-close {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
}

/* Mobile Responsive - Small Phones */
@media (max-width: 480px) {
  .cta-popup-overlay {
    padding: 0;
  }
  
  .cta-popup-container {
    max-height: 100vh;
    border-radius: 0;
    max-width: 100%;
  }
  
  .cta-popup-video {
    min-height: 200px;
    max-height: 250px;
  }
  
  .cta-popup-text {
    padding: 1.5rem 1rem;
    gap: 1rem;
  }
  
  .cta-popup-text h3 {
    font-size: 1.25rem;
    line-height: 1.2;
  }
  
  .cta-popup-text p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .cta-whatsapp-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    gap: 0.5rem;
  }
  
  .cta-whatsapp-btn svg {
    width: 20px;
    height: 20px;
  }
  
  .cta-popup-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    font-size: 1.125rem;
  }
}

/* Landscape Mobile Optimization */
@media (max-width: 900px) and (max-height: 500px) {
  .cta-popup-content {
    grid-template-columns: 1fr 1fr;
    max-height: 100vh;
  }
  
  .cta-popup-video {
    min-height: 100%;
  }
  
  .cta-popup-text {
    padding: 1.5rem 1rem;
    overflow-y: auto;
  }
  
  .cta-popup-text h3 {
    font-size: 1.25rem;
  }
  
  .cta-popup-text p {
    font-size: 0.85rem;
  }
}

/* ================================
   15. ACCESSIBILITY
   ================================ */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: white;
  padding: 8px;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* ================================
   15. PRINT STYLES
   ================================ */

@media print {
  header,
  footer,
  nav {
    display: none;
  }
  
  body {
    background-color: white;
    color: black;
  }
}
