/* ============================================
   RETRO 3D UI - CSS VARIABLES & ROOT
   ============================================ */
:root {
  /* Monochromatic Color Scheme */
  --color-primary: #0a0a12;
  --color-primary-dark: #050508;
  --color-primary-light: #1a1a28;
  --color-accent: #00bbf9;
  --color-accent-dark: #0095c7;
  --color-accent-light: #33ccfa;
  --color-accent-glow: rgba(0, 187, 249, 0.3);
  --color-secondary: #6c757d;
  --color-secondary-dark: #495057;
  --color-background: #0a0a12;
  --color-surface: #1a1a28;
  --color-surface-elevated: #2a2a38;
  --color-text: #ffffff;
  --color-text-muted: #b8b8c8;
  --color-text-dark: #e8e8f0;
  --color-border: rgba(0, 187, 249, 0.2);
  --color-success: #00f5a0;
  --color-warning: #ffd60a;
  --color-error: #ff006e;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(10, 10, 18, 0.7) 0%, rgba(10, 10, 18, 0.9) 100%);
  --gradient-surface: linear-gradient(145deg, #1a1a28 0%, #2a2a38 100%);
  
  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-size-base: 16px;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;
  --spacing-5xl: 8rem;
  
  /* Shadows - 3D UI */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.6);
  --shadow-3d: 
    0 1px 0 rgba(0, 187, 249, 0.4),
    0 2px 0 rgba(0, 187, 249, 0.3),
    0 3px 0 rgba(0, 187, 249, 0.2),
    0 4px 0 rgba(0, 187, 249, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px var(--color-accent-glow),
                 0 0 40px var(--color-accent-glow);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.4);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
  
  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0, 187, 249, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 187, 249, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

/* Particle Animation Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, rgba(0, 187, 249, 0.3), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(0, 187, 249, 0.3), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(0, 187, 249, 0.2), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(0, 187, 249, 0.2), transparent),
    radial-gradient(1px 1px at 10% 80%, rgba(0, 187, 249, 0.2), transparent);
  background-size: 200% 200%;
  animation: particleFloat 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes particleFloat {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--line-height-tight);
  color: var(--color-text);
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(var(--font-size-4xl), 5vw, var(--font-size-6xl));
  text-shadow: var(--shadow-3d);
}

h2 {
  font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-5xl));
  text-shadow: 
    0 1px 0 rgba(0, 187, 249, 0.3),
    0 2px 0 rgba(0, 187, 249, 0.2),
    0 4px 8px rgba(0, 0, 0, 0.5);
}

h3 {
  font-size: clamp(var(--font-size-2xl), 3vw, var(--font-size-4xl));
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

h4 {
  font-size: clamp(var(--font-size-xl), 2vw, var(--font-size-3xl));
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

h5 {
  font-size: clamp(var(--font-size-lg), 1.5vw, var(--font-size-2xl));
}

h6 {
  font-size: var(--font-size-lg);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--color-text-dark);
  line-height: var(--line-height-relaxed);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
}

a:hover {
  color: var(--color-accent-light);
  text-shadow: var(--shadow-glow);
}

strong {
  font-weight: 600;
  color: var(--color-text);
}

/* ============================================
   LAYOUT & CONTAINERS
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.section {
  padding: var(--spacing-4xl) 0;
  position: relative;
  z-index: 1;
}

.section.dark-section {
  background: var(--gradient-surface);
  position: relative;
  overflow: hidden;
}

.section.dark-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 187, 249, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(0, 187, 249, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow);
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-3xl);
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* ============================================
   BUTTONS - GLOBAL STYLES
   ============================================ */
.btn,
button:not(.burger-menu),
input[type='submit'],
input[type='button'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  font-family: var(--font-heading);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--color-primary);
  box-shadow: var(--shadow-3d);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 2px 0 rgba(0, 187, 249, 0.4),
    0 4px 0 rgba(0, 187, 249, 0.3),
    0 6px 0 rgba(0, 187, 249, 0.2),
    0 8px 0 rgba(0, 187, 249, 0.1),
    0 12px 20px rgba(0, 0, 0, 0.6),
    var(--shadow-glow);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 18, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
}

#main-header.scrolled {
  background: rgba(10, 10, 18, 0.98);
  box-shadow: var(--shadow-xl);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) 0;
  position: relative;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-accent);
  text-shadow: var(--shadow-glow);
  transition: all var(--transition-base);
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--color-accent-light);
  transform: scale(1.05);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.navbar-menu a {
  font-family: var(--font-heading);
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-base);
  position: relative;
  padding: var(--spacing-sm) 0;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width var(--transition-base);
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--color-accent);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 100%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
  z-index: 1001;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: 0 0 10px var(--color-accent-glow);
}

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

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

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: var(--spacing-3xl) var(--spacing-lg);
}

.hero-title {
  color: var(--color-text);
  margin-bottom: var(--spacing-lg);
  animation: heroTitleSlide 1s ease-out;
}

.hero-subtitle {
  font-size: clamp(var(--font-size-xl), 3vw, var(--font-size-3xl));
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--spacing-md);
  text-shadow: var(--shadow-glow);
  animation: heroSubtitleSlide 1s ease-out 0.2s both;
}

.hero-text {
  font-size: clamp(var(--font-size-base), 2vw, var(--font-size-xl));
  color: var(--color-text-dark);
  margin-bottom: var(--spacing-2xl);
  line-height: var(--line-height-relaxed);
  animation: heroTextSlide 1s ease-out 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
  animation: heroButtonsSlide 1s ease-out 0.6s both;
}

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

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

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

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

/* ============================================
   PAGE HERO (Subpages)
   ============================================ */
.page-hero {
  position: relative;
  padding: var(--spacing-5xl) 0 var(--spacing-4xl);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  overflow: hidden;
  margin-top: 80px;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
}

.page-hero p {
  font-size: var(--font-size-xl);
  color: var(--color-text-dark);
  max-width: 600px;
  margin: 0 auto;
}

.page-hero-simple {
  padding: var(--spacing-4xl) 0 var(--spacing-2xl);
  background: var(--gradient-surface);
  text-align: center;
  margin-top: 80px;
}

.page-hero-simple h1 {
  margin-bottom: 0;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  background: var(--gradient-surface);
  padding: var(--spacing-3xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
}

.stat-card {
  text-align: center;
  padding: var(--spacing-xl);
  background: rgba(0, 187, 249, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--color-accent);
}

.stat-card:hover::before {
  opacity: 0.1;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--font-size-5xl);
  font-weight: 700;
  color: var(--color-accent);
  text-shadow: var(--shadow-glow);
  margin-bottom: var(--spacing-sm);
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

/* ============================================
   CARDS & GRIDS
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-3xl);
}

.card {
  background: var(--gradient-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: var(--color-accent);
}

.card:hover::before {
  opacity: 0.05;
}

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

.image-container {
  width: 100%;
  height: 250px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  display: block;
  margin: 0 auto;
}

.card:hover .image-container img {
  transform: scale(1.1);
}

.card-content {
  padding: var(--spacing-xl);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 100%;
}

.card-content h3 {
  font-size: var(--font-size-2xl);
  color: var(--color-accent);
  margin-bottom: var(--spacing-md);
}

.card-content h4 {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
  font-weight: 500;
}

.card-content p {
  color: var(--color-text-muted);
  flex-grow: 1;
  line-height: var(--line-height-relaxed);
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: var(--spacing-3xl) auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-accent);
  transform: translateX(-50%);
  box-shadow: var(--shadow-glow);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-3xl);
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  border: 4px solid var(--color-primary);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow);
  z-index: 2;
}

.timeline-content {
  width: 45%;
  background: var(--gradient-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -20px;
  border-left-color: var(--color-border);
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -20px;
  border-right-color: var(--color-border);
}

.timeline-content:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: var(--color-accent);
}

.timeline-content h3 {
  font-size: var(--font-size-xl);
  color: var(--color-accent);
  margin-bottom: var(--spacing-md);
}

.timeline-content p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ============================================
   CONTENT COLUMNS
   ============================================ */
.content-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-3xl);
  align-items: center;
  margin-top: var(--spacing-2xl);
}

.column {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.column img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
}

.column img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* ============================================
   MISSION & VALUES
   ============================================ */
.mission-grid,
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-3xl);
}

.mission-card,
.value-card {
  background: rgba(0, 187, 249, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.mission-card:hover,
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--color-accent);
  background: rgba(0, 187, 249, 0.1);
}

.mission-icon {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--spacing-lg);
  display: block;
  filter: drop-shadow(0 0 20px var(--color-accent-glow));
}

.mission-card h3,
.value-card h3 {
  font-size: var(--font-size-2xl);
  color: var(--color-accent);
  margin-bottom: var(--spacing-md);
}

.mission-card p,
.value-card p {
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-3xl);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  aspect-ratio: 4/3;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 1;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.gallery-item:hover::before {
  opacity: 0.3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-3xl);
}

/* ============================================
   AWARDS & ACCOLADES
   ============================================ */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-3xl);
}

.award-card {
  background: var(--gradient-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.award-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.award-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: var(--color-accent);
}

.award-card:hover::before {
  opacity: 0.1;
}

.award-year {
  font-family: var(--font-heading);
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--color-accent);
  text-shadow: var(--shadow-glow);
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 1;
}

.award-card h3 {
  font-size: var(--font-size-xl);
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 1;
}

.award-card p {
  color: var(--color-text-muted);
  position: relative;
  z-index: 1;
}

/* ============================================
   TESTIMONIALS & CLIENTELE
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-3xl);
}

.testimonial-card {
  background: var(--gradient-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 120px;
  color: var(--color-accent);
  opacity: 0.1;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: var(--color-accent);
}

.testimonial-text {
  font-style: italic;
  color: var(--color-text-dark);
  margin-bottom: var(--spacing-lg);
  line-height: var(--line-height-relaxed);
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

/* ============================================
   RESOURCES & FEATURES
   ============================================ */
.resources-section {
  background: var(--gradient-surface);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-3xl);
}

.resource-card {
  background: rgba(0, 187, 249, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.resource-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--color-accent);
}

.resource-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-md);
}

.resource-card h3 a {
  color: var(--color-accent);
  text-decoration: none;
  transition: all var(--transition-base);
}

.resource-card h3 a:hover {
  color: var(--color-accent-light);
  text-shadow: var(--shadow-glow);
}

.resource-card p {
  color: var(--color-text-muted);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-3xl);
}

.feature-item {
  background: rgba(0, 187, 249, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.feature-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--color-accent);
}

.feature-item h3 {
  font-size: var(--font-size-xl);
  color: var(--color-accent);
  margin-bottom: var(--spacing-md);
}

.feature-item p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ============================================
   TRUST & BENEFITS
   ============================================ */
.trust-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-3xl);
}

.trust-card,
.benefit-card {
  background: var(--gradient-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.trust-card:hover,
.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: var(--color-accent);
}

.trust-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-md);
  display: block;
  filter: drop-shadow(0 0 20px var(--color-accent-glow));
}

.trust-card h3,
.benefit-card h3 {
  font-size: var(--font-size-xl);
  color: var(--color-accent);
  margin-bottom: var(--spacing-md);
}

.trust-card p,
.benefit-card p {
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* ============================================
   PROCESS & STEPS
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-3xl);
}

.process-step {
  text-align: center;
  padding: var(--spacing-xl);
  background: rgba(0, 187, 249, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--color-accent);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  box-shadow: var(--shadow-3d);
}

.process-step h3 {
  font-size: var(--font-size-xl);
  color: var(--color-accent);
  margin-bottom: var(--spacing-md);
}

.process-step p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ============================================
   CONTACT SECTION & FORMS
   ============================================ */
.contact-section {
  background: var(--gradient-surface);
}

.contact-wrapper,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-3xl);
  margin-top: var(--spacing-3xl);
}

.contact-form-section,
.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.contact-form {
  background: rgba(0, 187, 249, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--spacing-md);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-inner);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow), var(--shadow-inner);
}

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

.contact-info-card {
  background: rgba(0, 187, 249, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
  font-size: var(--font-size-xl);
  color: var(--color-accent);
  margin-bottom: var(--spacing-lg);
}

.info-item,
.faq-item {
  margin-bottom: var(--spacing-lg);
}

.info-item:last-child,
.faq-item:last-child {
  margin-bottom: 0;
}

.info-item strong,
.faq-item strong {
  display: block;
  color: var(--color-accent);
  margin-bottom: var(--spacing-xs);
  font-size: var(--font-size-base);
}

.info-item p,
.faq-item p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--gradient-accent);
  color: var(--color-primary);
  text-align: center;
  padding: var(--spacing-4xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--color-primary);
  text-shadow: none;
  margin-bottom: var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: var(--font-size-xl);
  color: var(--color-primary);
  margin-bottom: var(--spacing-xl);
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  position: relative;
  z-index: 1;
}

.cta-section .btn-primary {
  background: var(--color-primary);
  color: var(--color-accent);
}

.cta-section .btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-4px);
}

/* ============================================
   SUCCESS PAGE
   ============================================ */
.success-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-surface);
  padding: var(--spacing-4xl) var(--spacing-lg);
}

.success-content {
  text-align: center;
  max-width: 600px;
  background: rgba(0, 187, 249, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-4xl);
  box-shadow: var(--shadow-xl);
}

.success-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-accent);
  color: var(--color-primary);
  font-size: var(--font-size-6xl);
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-2xl);
  box-shadow: var(--shadow-3d);
  animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.success-content h1 {
  color: var(--color-accent);
  margin-bottom: var(--spacing-lg);
}

.success-message {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
}

.success-description {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-2xl);
  line-height: var(--line-height-relaxed);
}

.success-actions {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   LEGAL CONTENT (Privacy & Terms)
   ============================================ */
.legal-content {
  padding-top: 100px;
}

.legal-text {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(0, 187, 249, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-3xl);
  box-shadow: var(--shadow-lg);
}

.legal-text h2 {
  font-size: var(--font-size-3xl);
  color: var(--color-accent);
  margin-top: var(--spacing-3xl);
  margin-bottom: var(--spacing-lg);
}

.legal-text h2:first-child {
  margin-top: 0;
}

.legal-text h3 {
  font-size: var(--font-size-xl);
  color: var(--color-text);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

.legal-text p {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-lg);
  line-height: var(--line-height-relaxed);
}

.content-block {
  max-width: 900px;
  margin: 0 auto;
}

.content-block p {
  margin-bottom: var(--spacing-xl);
}

/* ============================================
   FOOTER
   ============================================ */
#main-footer {
  background: var(--gradient-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--spacing-4xl) 0 var(--spacing-xl);
  margin-top: var(--spacing-5xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-3xl);
}

.footer-section h3 {
  font-size: var(--font-size-2xl);
  color: var(--color-accent);
  margin-bottom: var(--spacing-lg);
  text-shadow: var(--shadow-glow);
}

.footer-section h4 {
  font-size: var(--font-size-lg);
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-section p {
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

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

.footer-section ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-section ul li a {
  color: var(--color-text-muted);
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.footer-section ul li a::before {
  content: '›';
  font-size: var(--font-size-xl);
  color: var(--color-accent);
  transition: transform var(--transition-base);
}

.footer-section ul li a:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

.footer-section ul li a:hover::before {
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--color-border);
}

.footer-bottom p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

[data-animate].animate-in {
  opacity: 1;
  transform: translateY(0);
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-base);
  margin-top: var(--spacing-md);
}

.read-more::after {
  content: '→';
  font-size: var(--font-size-xl);
  transition: transform var(--transition-base);
}

.read-more:hover {
  color: var(--color-accent-light);
  transform: translateX(4px);
}

.read-more:hover::after {
  transform: translateX(4px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1.5fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-base: 15px;
  }
  
  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 18, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px var(--spacing-xl) var(--spacing-xl);
    gap: var(--spacing-lg);
    transition: right var(--transition-base);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    border-left: 1px solid var(--color-border);
  }
  
  .navbar-menu.active {
    right: 0;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cards-grid,
  .gallery-grid,
  .team-grid,
  .awards-grid,
  .testimonials-grid,
  .resources-grid,
  .mission-grid,
  .values-grid,
  .trust-grid,
  .benefits-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .content-columns {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    justify-content: flex-end !important;
  }
  
  .timeline-marker {
    left: 20px;
    transform: translateX(0);
  }
  
  .timeline-content {
    width: calc(100% - 60px);
  }
  
  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -20px;
    right: auto;
    border-left-color: transparent;
    border-right-color: var(--color-border);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .section {
    padding: var(--spacing-3xl) 0;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .success-content {
    padding: var(--spacing-2xl);
  }
  
  .success-icon {
    width: 80px;
    height: 80px;
    font-size: var(--font-size-5xl);
  }
  
  .success-actions {
    flex-direction: column;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  body::before,
  .hero-overlay,
  .page-hero-overlay,
  .burger-menu,
  .btn::before,
  [data-animate] {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }
}
/* ===== GLOBAL HTML PAGE SUPPORT ===== */
.page-title,
.page-main-title,
.page-header,
.page-header h1,
.hero-about h1,
.page-header h2,
.page-title h1 {
    color: var(--text-primary, var(--color-dark, #1f2933));
    margin-bottom: 0.75rem;
}

.page-subtitle,
.hero-subtitle,
.section-subtitle,
.form-description,
.form-intro,
.info-intro,
.map-description,
.map-info,
.intro-text,
.section-intro,
.section-description,
.cta-text,
.cta-description,
.location-info,
.directions-info,
.info-note,
.contact-note,
.info-description {
    color: var(--text-secondary, var(--color-gray-dark, #52606d));
    max-width: 760px;
}

.hero,
.hero-section,
.hero-about,
.about-hero,
.about-hero-section,
.page-hero,
.page-header,
.page-header-section,
.contact-hero,
.contact-page-section,
.contact-page,
.about-story,
.about-story-section,
.story-section,
.history-section {
    padding: clamp(7rem, 10vw, 9rem) 0 clamp(3rem, 6vw, 5rem);
}

.about-story,
.about-story-section,
.story-section,
.history-section,
.about-mission,
.about-mission-section,
.mission-section,
.mission-values-section,
.about-team,
.about-team-section,
.team-about-section,
.about-testimonials,
.about-testimonials-section,
.testimonials-section,
.testimonials-about,
.about-achievements,
.about-achievements-section,
.achievements-section,
.about-gallery,
.about-gallery-section,
.gallery-about-section,
.gallery-section,
.contact-page-section,
.contact-page,
.contact-form-section,
.contact-cta-section,
.additional-info-section,
.map-section,
.departments-section,
.why-contact-section,
.opening-hours-section,
.working-hours-section,
.contact-info-section,
.contact-info-extra,
.contact-information,
.contact-cta,
.cta-section,
.about-cta,
.about-cta-section {
    padding: clamp(3rem, 5vw, 5rem) 0;
}

.story-content,
.story-grid,
.history-content,
.contact-grid,
.contact-layout,
.contact-page-section .container,
.contact-content,
.contact-page-grid,
.team-content,
.cta-content,
.mission-grid,
.team-grid,
.testimonials-grid,
.achievements-grid,
.gallery-grid,
.info-grid,
.info-cards-grid,
.info-blocks,
.contact-info-grid,
.why-grid,
.faq-grid,
.departments-section .container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: clamp(1rem, 2vw, 2rem);
}

.story-content > *,
.story-grid > *,
.history-content > *,
.contact-grid > *,
.contact-layout > *,
.contact-page-section .container > *,
.contact-content > *,
.contact-page-grid > *,
.team-content > *,
.cta-content > *,
.mission-grid > *,
.team-grid > *,
.testimonials-grid > *,
.achievements-grid > *,
.gallery-grid > *,
.info-grid > *,
.info-cards-grid > *,
.info-blocks > *,
.contact-info-grid > *,
.why-grid > *,
.faq-grid > *,
.departments-section .container > * {
    flex: 1 1 280px;
    min-width: 0;
}

.story-text,
.story-image,
.hero-image-container,
.team-image,
.team-info,
.team-content,
.contact-card,
.contact-form-card,
.contact-info-card,
.info-card,
.info-box,
.info-block,
.detail-card,
.department-card,
.hours-card,
.map-wrapper,
.map-container,
.form-wrapper,
.contact-form-wrapper,
.additional-info,
.contact-info-extra,
.contact-information,
.why-item,
.faq-item,
.mission-card,
.team-card,
.testimonial-card,
.testimonial-card-extended,
.achievement-card,
.achievement-item,
.achievement-box,
.gallery-item,
.footer-about,
.footer-main {
    background: var(--bg-white, var(--color-white, #ffffff));
    color: var(--text-primary, var(--color-dark, #1f2933));
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    padding: clamp(1.25rem, 2vw, 2rem);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.story-image img,
.hero-image-container img,
.team-image img,
.testimonial-image img,
.testimonial-photo img,
.card-img-top,
.gallery-item img,
.img-fluid {
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.achievement-card,
.achievement-item,
.testimonial-card,
.testimonial-card-extended,
.team-card,
.info-card,
.info-block,
.contact-info-card,
.contact-card,
.department-card,
.hours-card,
.mission-card,
.additional-info,
.contact-info-extra,
.gallery-item,
.form-wrapper,
.contact-form-section,
.footer-about,
.footer-main,
.card-content,
.testimonial-header,
.testimonial-info {
    color: #1f2933;
}

.achievement-card h1,
.achievement-card h2,
.achievement-card h3,
.achievement-card h4,
.achievement-card p,
.achievement-item h1,
.achievement-item h2,
.achievement-item h3,
.achievement-item h4,
.achievement-item p,
.testimonial-card h1,
.testimonial-card h2,
.testimonial-card h3,
.testimonial-card h4,
.testimonial-card p,
.team-card h1,
.team-card h2,
.team-card h3,
.team-card h4,
.team-card p,
.info-card h1,
.info-card h2,
.info-card h3,
.info-card h4,
.info-card p,
.info-block h1,
.info-block h2,
.info-block h3,
.info-block h4,
.info-block p,
.contact-info-card h1,
.contact-info-card h2,
.contact-info-card h3,
.contact-info-card h4,
.contact-info-card p,
.contact-card h1,
.contact-card h2,
.contact-card h3,
.contact-card h4,
.contact-card p,
.department-card h1,
.department-card h2,
.department-card h3,
.department-card h4,
.department-card p,
.hours-card h1,
.hours-card h2,
.hours-card h3,
.hours-card h4,
.hours-card p,
.mission-card h1,
.mission-card h2,
.mission-card h3,
.mission-card h4,
.mission-card p,
.gallery-item h1,
.gallery-item h2,
.gallery-item h3,
.gallery-item h4,
.gallery-item p,
.contact-form-section h1,
.contact-form-section h2,
.contact-form-section h3,
.contact-form-section h4,
.contact-form-section p,
.card-content h1,
.card-content h2,
.card-content h3,
.card-content h4,
.card-content p {
    color: #1f2933;
}

.achievement-card p,
.achievement-item p,
.testimonial-card p,
.testimonial-card-extended p,
.team-card p,
.info-card p,
.info-block p,
.contact-info-card p,
.contact-card p,
.department-card p,
.hours-card p,
.mission-card p,
.additional-info p,
.contact-info-extra p,
.gallery-item p,
.contact-form-section p,
.card-content p,
.testimonial-text,
.testimonial-location,
.testimonial-role,
.team-position,
.achievement-label,
.achievement-number,
.day,
.time,
.hours-note,
.section-intro,
.section-description,
.form-intro,
.form-title,
.info-note,
.contact-info-text,
.contact-info-title,
.footer-links,
.footer-social {
    color: #52606d;
}

.team-role,
.team-position,
.testimonial-location,
.testimonial-author,
.testimonial-role,
.achievement-number,
.achievement-icon,
.mission-icon,
.contact-icon,
.info-icon,
.day,
.time,
.hours-note,
.info-sub,
.footer-address,
.contact-info-title {
    color: var(--primary-color, var(--color-primary-solid, #2563eb));
    font-weight: 700;
}

.contact-info-section,
.contact-information,
.contact-info-extra,
.contact-form-wrapper,
.additional-info,
.departments-section,
.why-grid,
.faq-grid,
.hours-card,
.working-hours-wrapper,
.working-hours-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-list,
.contact-details,
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hours-list li,
.contact-details li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.form-row,
.cta-buttons,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-row > *,
.cta-buttons > *,
.cta-actions > * {
    flex: 1 1 220px;
}

.checkbox,
.checkbox-label,
.form-check,
label,
input,
select,
textarea,
.form-control {
    color: var(--text-primary, var(--color-dark, #1f2933));
}

input,
select,
textarea,
.form-control {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 14px;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.96);
}

input::placeholder,
textarea::placeholder {
    color: #6b7280;
}

.footer,
footer,
.site-footer,
.footer-main,
.footer-bottom,
.footer p,
.footer a,
footer p,
footer a,
.footer-links a,
.footer-social a {
    color: var(--text-primary, var(--color-white, #ffffff));
}

.map-container,
.map-wrapper,
.map-section iframe {
    min-height: 320px;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

@media (max-width: 900px) {
    .story-content > *,
    .story-grid > *,
    .history-content > *,
    .contact-grid > *,
    .contact-layout > *,
    .contact-page-section .container > *,
    .contact-content > *,
    .contact-page-grid > *,
    .team-content > *,
    .cta-content > *,
    .mission-grid > *,
    .team-grid > *,
    .testimonials-grid > *,
    .achievements-grid > *,
    .gallery-grid > *,
    .info-grid > *,
    .info-cards-grid > *,
    .info-blocks > *,
    .contact-info-grid > *,
    .why-grid > *,
    .faq-grid > *,
    .departments-section .container > *,
    .form-row > *,
    .cta-buttons > *,
    .cta-actions > * {
        flex-basis: 100%;
    }

    .hours-list li,
    .contact-details li {
        flex-direction: column;
    }
}

/* ===== ANIMATION DISABLE ===== */
html {
    scroll-behavior: auto !important;
}

*,
*::before,
*::after {
    animation: none !important;
    transition: none !important;
    transform-style: flat !important;
    scroll-behavior: auto !important;
}

[data-aos],
.aos-animate,
.aos-init,
.animate-on-scroll,
.reveal,
.wow,
.fade,
.slide,
.zoom,
.flip,
.barba-container,
#barba-wrapper {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
}

/* ===== FINAL PAGE COVERAGE ===== */
.hero-overlay,
.contact-info-block,
.navbar-nav,
.testimonial-content,
.testimonial-name,
.contact-detail,
.testimonials-about-section,
.contact-intro,
.about-intro,
.btn-glow,
.btn-lg,
.header-main,
.testimonial-stars,
.value-icon,
.btn-outline-light,
.hours-item,
.lead-text {
    color: var(--text-secondary, var(--color-gray-dark, #52606d));
}

.navbar-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.contact-info-block,
.contact-detail,
.hours-item,
.testimonial-content {
    display: block;
}

.btn-glow,
.btn-lg,
.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ===== FOOTER AND DARK CARD RESTORE ===== */
footer .footer-about,
footer .footer-main,
footer .footer-links,
footer .footer-social,
footer .footer-column,
footer .info-card,
#footer .footer-about,
#footer .footer-main,
#footer .footer-links,
#footer .footer-social {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    color: inherit !important;
}

footer h3,
footer h4,
footer h5,
footer p,
footer li,
footer a,
#footer h3,
#footer h4,
#footer h5,
#footer p,
#footer li,
#footer a,
.footer-main h3,
.footer-main h4,
.footer-main h5,
.footer-main p,
.footer-main li,
.footer-main a,
.footer-bottom p {
    color: #f8fafc !important;
    text-shadow: none !important;
}

footer .footer-links,
#footer .footer-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem !important;
}

footer .footer-links a::before,
#footer .footer-links a::before,
footer .footer-links a::after,
#footer .footer-links a::after {
    display: none !important;
}

.event-card,
.event-card .card-content,
.event-details,
.webinar-card,
.schedule-card {
    background: transparent !important;
    box-shadow: none !important;
    border-color: rgba(255,255,255,0.08) !important;
}

.event-card h1,
.event-card h2,
.event-card h3,
.event-card h4,
.event-card p,
.event-card .event-location,
.event-details h1,
.event-details h2,
.event-details h3,
.event-details h4,
.event-details p,
.event-details .event-location,
.webinar-card h1,
.webinar-card h2,
.webinar-card h3,
.webinar-card h4,
.webinar-card p {
    color: inherit !important;
}

.event-card h3,
.event-details h3,
.webinar-card h3 {
    color: var(--color-white, #ffffff) !important;
}

.event-card p,
.event-card .event-location,
.event-details p,
.event-details .event-location,
.webinar-card p {
    color: rgba(255,255,255,0.78) !important;
}

.progress-item,
.progress-label,
.progress-value {
    color: #f8fafc !important;
}
