﻿/* ==========================================
   SAIS - Dark/Light Theme Design
   Inspired by exportgate.tr
   Slovak Academy of Inclusive Society
   ========================================== */

/* ==========================================
   CSS VARIABLES - LIGHT THEME (DEFAULT)
   ========================================== */

:root {
  /* Light Theme Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  
  /* Blue Accent Colors */
  --primary: #0052A5;
  --primary-light: #3379c1;
  --primary-dark: #003d7a;
  --primary-glow: rgba(0, 82, 165, 0.3);
  --accent: #00b4d8;
  --accent-light: #48cae4;
  
  /* Text Colors */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;
  
  /* Border Colors */
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  
  /* Status Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;
  
  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 30px var(--primary-glow);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   DARK THEME
   ========================================== */

[data-theme="dark"] {
  /* Dark Theme Colors */
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-tertiary: #1e293b;
  --bg-card: #1e293b;
  --bg-card-hover: #334155;
  
  /* Blue Accent Colors - Brighter for dark */
  --primary: #3b82f6;
  --primary-light: #60a5fa;
  --primary-dark: #2563eb;
  --primary-glow: rgba(59, 130, 246, 0.4);
  --accent: #00b4d8;
  --accent-light: #48cae4;
  
  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --text-inverse: #0f172a;
  
  /* Border Colors */
  --border-color: #334155;
  --border-light: #1e293b;
  
  /* Shadows - Glow effect for dark */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

/* ==========================================
   BASE STYLES
   ========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.7;
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-secondary);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-light);
  text-decoration: none;
}

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

::selection {
  background: var(--primary);
  color: var(--text-inverse);
}

/* ==========================================
   LAYOUT
   ========================================== */

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xxl) 0;
  position: relative;
}

.section-alt {
  background: var(--bg-secondary);
}

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

.topbar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: var(--spacing-xs) 0;
  font-size: 0.875rem;
}

[data-theme="dark"] .topbar {
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.topbar-info {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.topbar-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .topbar-info-item {
  color: var(--text-muted);
}

.topbar-info-item i {
  color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .topbar-info-item i {
  color: var(--accent);
}

.topbar-social {
  display: flex;
  gap: 0.5rem;
}

.topbar-social a {
  color: rgba(255, 255, 255, 0.9);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.topbar-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

[data-theme="dark"] .topbar-social a {
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .topbar-social a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

[data-theme="dark"] .header {
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(20px);
}

.navbar {
  padding: var(--spacing-xs) 0;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
}

.navbar-brand img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
  transition: var(--transition);
  background: transparent;
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-xs);
  align-items: center;
  flex-wrap: nowrap;
}

.navbar-menu a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: var(--spacing-xs) 0.75rem;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}

.navbar-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

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

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

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* Theme Toggle */
.theme-toggle {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-secondary);
}

.theme-toggle:hover {
  background: var(--bg-tertiary);
  color: var(--primary);
}

.theme-toggle .sun-icon {
  display: none;
}

.theme-toggle .moon-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 0.25rem;
  margin-left: var(--spacing-sm);
}

.lang-switcher a {
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8rem;
  transition: var(--transition);
}

.lang-switcher a:hover,
.lang-switcher a.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ==========================================
   HERO SLIDER
   ========================================== */

.hero-slider {
  position: relative;
  height: 85vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.slider-container {
  position: relative;
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 82, 165, 0.85) 0%, rgba(0, 61, 122, 0.75) 50%, rgba(0, 180, 216, 0.6) 100%);
}

[data-theme="dark"] .slide-overlay {
  background: linear-gradient(135deg, rgba(10, 14, 23, 0.9) 0%, rgba(10, 14, 23, 0.7) 50%, rgba(0, 180, 216, 0.3) 100%);
}

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

.slide-kicker {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-md);
  backdrop-filter: blur(10px);
}

.slide-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.slide-title span {
  color: var(--accent-light);
}

.slide-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.slide-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active,
.slider-dot:hover {
  background: white;
  transform: scale(1.2);
}

.slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 var(--spacing-md);
  z-index: 10;
  pointer-events: none;
}

.slider-arrow {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  pointer-events: auto;
  backdrop-filter: blur(10px);
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* ==========================================
   STATS SECTION
   ========================================== */

.stats-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: var(--spacing-xl) 0;
  position: relative;
}

[data-theme="dark"] .stats-section {
  background: var(--bg-tertiary);
}

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

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

.stat-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
  opacity: 0.9;
}

[data-theme="dark"] .stat-icon {
  text-shadow: 0 0 20px var(--primary-glow);
}

.stat-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-color);
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--spacing-xs);
}

[data-theme="dark"] .stat-number {
  text-shadow: 0 0 30px var(--primary-glow);
}

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

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

.card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

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

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

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.card:hover .card-image {
  transform: scale(1.05);
}

.card-image-wrapper {
  overflow: hidden;
  position: relative;
}

.card-image-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 3rem;
}

.card-body {
  padding: var(--spacing-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
  color: var(--text-primary);
  transition: var(--transition);
}

.card:hover .card-title {
  color: var(--primary);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: var(--spacing-xs);
}

.card-meta i {
  color: var(--primary);
}

.card-text {
  color: var(--text-secondary);
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================
   GRID
   ========================================== */

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(var(--spacing-sm) * -1);
}

.col {
  flex: 1;
  padding: 0 var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }

.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================
   SECTION HEADERS
   ========================================== */

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

.section-kicker {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--spacing-sm);
  padding: 0.5rem 1rem;
  background: rgba(0, 82, 165, 0.1);
  border-radius: var(--radius-full);
}

[data-theme="dark"] .section-kicker {
  background: rgba(59, 130, 246, 0.2);
}

.section-title {
  font-size: 2.75rem;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
}

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

/* ==========================================
   CTA SECTION
   ========================================== */

.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .cta-section {
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L30 30L0 30' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: var(--spacing-xl) 0;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  color: white;
}

[data-theme="dark"] .cta-content h2 {
  color: var(--text-primary);
}

.cta-content p {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-lg);
  color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .cta-content p {
  color: var(--text-muted);
}

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

.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  padding: var(--spacing-xxl) 0 var(--spacing-md);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer a {
  color: #94a3b8;
  transition: var(--transition-fast);
}

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

.footer-title {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-md);
  color: white;
  position: relative;
  padding-bottom: var(--spacing-xs);
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a::before {
  content: "";
  margin-right: 0.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.footer-links a:hover::before {
  margin-right: 0.75rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer-link:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-md);
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
}

/* ==========================================
   PAGE HEADER
   ========================================== */

.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: var(--spacing-xxl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .page-header {
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L30 30L0 30' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.5;
}

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

.page-header h1 {
  color: white;
  margin-bottom: var(--spacing-sm);
}

[data-theme="dark"] .page-header h1 {
  color: var(--text-primary);
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

[data-theme="dark"] .page-header p {
  color: var(--text-muted);
}

/* ==========================================
   FORM STYLES
   ========================================== */

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

.form-label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-control::placeholder {
  color: var(--text-muted);
}

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

/* ==========================================
   TABLE STYLES
   ========================================== */

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

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

[data-theme="dark"] .table thead {
  background: var(--bg-tertiary);
}

.table th,
.table td {
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.table tbody tr:hover {
  background: var(--bg-secondary);
}

/* ==========================================
   BADGES
   ========================================== */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(0, 82, 165, 0.1);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.badge-primary { background: var(--primary); color: white; border-color: transparent; }
.badge-success { background: rgba(16, 185, 129, 0.1); color: var(--success); border-color: var(--success); }
.badge-warning { background: rgba(245, 158, 11, 0.1); color: var(--warning); border-color: var(--warning); }
.badge-danger { background: rgba(239, 68, 68, 0.1); color: var(--danger); border-color: var(--danger); }

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-item:nth-child(2)::after {
    display: none;
  }
  
  .slide-title {
    font-size: 2.5rem;
  }
  
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 70px 20px 30px;
    z-index: 9999;
    gap: 0;
    overflow-y: auto;
    align-items: stretch;
  }
  
  .navbar-menu.active {
    display: flex;
  }
  
  .navbar-menu li {
    list-style: none;
    width: 100%;
  }
  
  .navbar-menu a {
    padding: 14px 16px;
    display: block;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
    color: var(--text-primary);
  }
  
  .navbar-menu a:hover,
  .navbar-menu a.active {
    background: var(--bg-secondary);
    color: var(--primary);
  }
  
  .navbar-menu .theme-toggle {
    margin: 15px auto;
    width: fit-content;
  }
  
  .navbar-menu .lang-switcher {
    margin: 10px auto;
    justify-content: center;
    display: flex;
    gap: 10px;
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  .navbar-toggle {
    display: block;
    z-index: 10001;
    position: relative;
  }
  
  .navbar-toggle.active {
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 10001;
  }
  
  .navbar-toggle {
    display: block;
  }
  
  .topbar-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-slider {
    height: 70vh;
    min-height: 500px;
  }
  
  .slide-title {
    font-size: 2rem;
  }
  
  .slide-subtitle {
    font-size: 1rem;
  }
  
  .slider-arrows {
    display: none;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-item::after {
    display: none;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .section-title {
    font-size: 2rem;
  }
  
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  
  .col-md-6, .col-md-4, .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

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

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.gap-1 { gap: var(--spacing-xs); }
.gap-2 { gap: var(--spacing-sm); }
.gap-3 { gap: var(--spacing-md); }

.bg-light { background-color: var(--bg-secondary); }
.bg-dark { background-color: var(--bg-tertiary); }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }

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

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

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

.slide-in {
  animation: slideIn 0.6s ease-out;
}

/* ==========================================
   SCROLLBAR
   ========================================== */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-full);
}

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

/* ==========================================
   MOBILE MENU OVERRIDE - Full Screen
   ========================================== */

@media (max-width: 992px) {
  .navbar-menu {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: var(--bg-primary) !important;
    flex-direction: column !important;
    padding: 80px 0 30px 0 !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
    gap: 0 !important;
    align-items: stretch !important;
  }
  
  .navbar-menu.active {
    display: flex !important;
  }
  
  .navbar-menu li {
    list-style: none !important;
    width: 100% !important;
    display: block !important;
  }
  
  .navbar-menu > li > a,
  .navbar-menu a {
    padding: 16px 24px !important;
    display: block !important;
    border-bottom: 1px solid var(--border-color) !important;
    font-size: 1.1rem !important;
    color: var(--text-primary) !important;
    text-decoration: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .navbar-menu a::after {
    display: none !important;
  }
  
  .navbar-menu a:hover,
  .navbar-menu a.active {
    background: var(--bg-secondary) !important;
    color: var(--primary) !important;
  }
  
  .navbar-menu .theme-toggle {
    margin: 20px auto !important;
    display: flex !important;
  }
  
  .navbar-menu .lang-switcher {
    margin: 15px auto !important;
    display: flex !important;
    justify-content: center !important;
    gap: 15px !important;
  }
  
  .navbar-toggle {
    display: block !important;
    z-index: 10001 !important;
    background: transparent !important;
    border: none !important;
    font-size: 1.5rem !important;
    color: var(--text-primary) !important;
    cursor: pointer !important;
  }
  
  .navbar-toggle.active {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 10001 !important;
  }
  
  .navbar-toggle.active .fa-bars::before {
    content: "\f00d" !important;
  }
  
  /* Language switcher in mobile menu - dark mode fix */
  .navbar-menu .lang-switcher {
    margin: 15px auto !important;
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 10px !important;
  }
  
  .navbar-menu .lang-switcher a {
    padding: 8px 16px !important;
    border-radius: 6px !important;
    border: 2px solid var(--primary) !important;
    color: var(--text-primary) !important;
    background: transparent !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    width: auto !important;
  }
  
  .navbar-menu .lang-switcher a.active {
    background: var(--primary) !important;
    color: white !important;
  }
  
  body.menu-open {
    overflow: hidden !important;
  }
}
