/* ============================================
   Empowerment Dynamics - Consolidated Styles
   ============================================

   Version: 1.1.0
   Created: 2025-01-18
   Updated: 2025-09-20

   This file consolidates all essential styles from:
   - unified.css (navigation and core layout)
   - navigation-elegant.css (navigation components)
   - timeline.css (timeline component)
   - components/buttons.css (button system)
   - core/base.css (design tokens and base styles)
   - components/cards.css (card components)
   - components/forms.css (form components)
   - components/layout.css (layout components)

   New modular system imports:
   - typography-system.css (standardized typography)
   - component-system.css (reusable components)
   - semantic-structure.css (semantic layout)

   ============================================ */

/* Import New Modular Systems - TEMPORARILY DISABLED FOR ROLLBACK */
/* @import './typography-system.css'; */
/* @import './component-system.css'; */
/* @import './components.css'; */

/* Button Styles for Insights */
.btn-ghost-primary {
  border: 2px solid #ff6b35;
  color: #ff6b35;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-ghost-primary:hover {
  background-color: #ff6b35;
  color: white;
}
/* @import './semantic-structure.css'; */

/* 1. BASE & RESET
   ============================================ */

/* CSS Custom Properties (Design Tokens) */
:root {
  /* Brand Colors */
  --color-primary: #1e3c72;
  --color-primary-dark: #1a3461;
  --color-primary-light: #2d4f8c;
  --color-accent: #ff6b35;
  --color-accent-dark: #e5602f;
  --color-accent-light: #ff8559;

  /* Status Colors */
  --color-success: #28a745;
  --color-warning: #ffc107;
  --color-error: #dc3545;
  --color-info: #17a2b8;

  /* Neutrals */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;

  /* Typography */
  --font-family-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;

  /* Spacing Scale */
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-5: 1.25rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-10: 2.5rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;
  --spacing-20: 5rem;
  --spacing-24: 6rem;
  --spacing-32: 8rem;

  /* Layout */
  --max-width-7xl: 80rem;
  --max-width-6xl: 72rem;
  --max-width-5xl: 64rem;
  --max-width-4xl: 56rem;
  --max-width-3xl: 48rem;

  /* Borders & Radius */
  --border-width-1: 1px;
  --border-width-2: 2px;
  --border-radius-base: 0.25rem;
  --border-radius-md: 0.375rem;
  --border-radius-lg: 0.5rem;
  --border-radius-xl: 0.75rem;
  --border-radius-2xl: 1rem;
  --border-radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-nav: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-Index Scale */
  --z-index-dropdown: 1000;
  --z-index-sticky: 1020;
  --z-index-modal-backdrop: 1040;
  --z-index-modal: 1050;

  /* Accessibility */
  --touch-target-min: 44px;
  --touch-target-mobile: 48px;
  --focus-ring-width: 3px;
  --focus-ring-offset: 2px;
  --focus-ring-color: var(--color-accent);

}

/* Modern CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--font-family-sans);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--color-gray-800);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Sticky Footer for Subpages */
body.subpage {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Remove built-in form typography styles */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* Remove list styles */
ul,
ol {
  list-style: none;
  padding: 0;
}

/* Remove button styles */
button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Remove link styles */
a {
  text-decoration: none;
  color: inherit;
}

/* 2. NAVIGATION
   ============================================ */

.navbar {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-index-sticky);
  transition: var(--transition-nav);
}

.navbar-container {
  max-width: var(--max-width-7xl);
  margin: 0 auto;
  padding: 0 var(--spacing-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .navbar-container {
    padding: 0 var(--spacing-6);
  }
}

@media (min-width: 1024px) {
  .navbar-container {
    padding: 0 var(--spacing-8);
  }
}

/* Navigation Items */
.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  color: var(--color-white);
  text-decoration: none;
  padding: var(--spacing-3) var(--spacing-4);
  transition: all var(--transition-base);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.3px;
  position: relative;
  border-radius: var(--border-radius-lg);
  min-height: var(--touch-target-min);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--color-accent);
  transform: translateY(-1px);
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-link:hover::after {
  width: 80%;
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  min-width: 280px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: var(--border-width-1) solid rgba(0,0,0,0.05);
  border-top: 3px solid var(--color-accent);
  z-index: var(--z-index-dropdown);
  margin-top: var(--spacing-2);
}

.nav-item.active .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.9rem 1.2rem;
  color: var(--color-gray-800);
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
  font-size: 0.95rem;
  border-bottom: var(--border-width-1) solid rgba(0,0,0,0.05);
  min-height: var(--touch-target-min);
  display: flex;
  align-items: center;
}

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

.dropdown-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--color-accent);
  transform: scaleY(0);
  transition: transform var(--transition-fast);
}

.dropdown-item:hover {
  background: linear-gradient(90deg, rgba(255,107,53,0.05) 0%, rgba(255,107,53,0.02) 100%);
  color: var(--color-primary);
  padding-left: 1.5rem;
}

.dropdown-item:hover::before {
  transform: scaleY(1);
}

/* Dropdown Arrow Animation */
.dropdown-arrow {
  transition: transform var(--transition-base);
  opacity: 0.7;
  width: 12px;
  height: 12px;
}

.nav-item.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -85%;
  bottom: 0;
  width: 85%;
  background: var(--color-white);
  z-index: var(--z-index-modal);
  transition: right var(--transition-base);
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  display: none;
}

@media (max-width: 850px) {
  .mobile-nav {
    display: block;
  }
}

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

.mobile-nav-header {
  background: var(--color-primary);
  padding: var(--spacing-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-white);
  font-weight: var(--font-weight-medium);
  height: 60px;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  width: var(--touch-target-min);
  height: var(--touch-target-min);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-content {
  padding: var(--spacing-4) 0;
  overflow-y: auto;
  max-height: calc(100vh - 60px);
  background: var(--color-white);
}

.mobile-nav-item {
  border-bottom: var(--border-width-1) solid var(--color-gray-200);
}

.mobile-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-4) var(--spacing-6);
  color: var(--color-gray-800);
  text-decoration: none;
  min-height: var(--touch-target-mobile);
  transition: all var(--transition-fast);
}

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

.mobile-dropdown {
  background: var(--color-white);
  border-left: 3px solid var(--color-accent);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.mobile-dropdown.hidden {
  display: none !important;
}

.mobile-dropdown.block {
  display: block !important;
}

.mobile-dropdown-item {
  display: block;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  border-bottom: var(--border-width-1) solid var(--color-gray-200);
  min-height: var(--touch-target-min);
  display: flex;
  align-items: center;
}

.mobile-dropdown-item:last-child {
  border-bottom: none;
}

.mobile-dropdown-item:hover {
  background: var(--color-gray-50);
  color: var(--color-accent);
  font-weight: var(--font-weight-semibold);
}

.mobile-cta {
  background: var(--color-accent);
  color: var(--color-white);
  text-align: center;
  padding: var(--spacing-4);
  margin: var(--spacing-4);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  display: block;
  font-weight: var(--font-weight-medium);
}

/* Navigation Label System */
.label-short {
  display: none;
}

.label-full {
  display: inline;
}

@media (max-width: 1400px) {
  .navbar .label-short,
  .nav-link .label-short {
    display: inline !important;
  }

  .navbar .label-full,
  .nav-link .label-full {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .label-short {
    display: inline !important;
  }

  .label-full {
    display: none !important;
  }

  .responsive-padding {
    padding-top: 60px !important;
  }

  .navigation-wrapper {
    margin: 0 !important;
  }

  main {
    margin-top: 0 !important;
  }
}

/* Index Hero Navigation - Alpine.js-gesteuert, keine CSS-Regeln mehr nötig */

/* 3. COMPONENTS
   ============================================ */

/* 3.1 Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  min-height: var(--touch-target-min);
  min-width: var(--touch-target-min);
  padding: var(--spacing-3) var(--spacing-6);
  font-family: var(--font-family-sans);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  border: var(--border-width-1) solid transparent;
  border-radius: var(--border-radius-lg);
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

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

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent-dark) 0%, #d4551f 100%);
  transform: translateY(-1px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a3461 100%);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #15294f 100%);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* Secondary White Button (Ghost style with blue border) */
.btn-secondary-white {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
  font-weight: var(--font-weight-semibold);
}

.btn-secondary-white:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  min-height: 56px;
  padding: var(--spacing-4) var(--spacing-8);
  font-size: var(--font-size-lg);
  border-radius: var(--border-radius-xl);
}

.btn-sm {
  min-height: 44px;
  padding: var(--spacing-2) var(--spacing-4);
  font-size: var(--font-size-sm);
}

/* Button Size Variants - Kombinierbar mit btn-primary, btn-secondary etc. */
.btn-primary-md {
  /* Base from btn-primary */
  background: linear-gradient(135deg, var(--color-accent) 0%, #e5602f 100%);
  color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);

  /* Medium size specifics */
  min-height: 48px;
  padding: 0.75rem 1.5rem;  /* py-3 px-6 */
  font-size: 1rem;  /* text-base */
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  transition: all 200ms;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary-md:hover {
  background: linear-gradient(135deg, var(--color-accent-dark) 0%, #d4551f 100%);
  transform: translateY(-1px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.btn-primary-lg {
  /* Base from btn-primary */
  background: linear-gradient(135deg, var(--color-accent) 0%, #e5602f 100%);
  color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);

  /* Large size specifics */
  min-height: 56px;
  padding: 1rem 2rem;  /* py-4 px-8 */
  font-size: 1.125rem;  /* text-lg */
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  transition: all 200ms;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary-lg:hover {
  background: linear-gradient(135deg, var(--color-accent-dark) 0%, #d4551f 100%);
  transform: translateY(-1px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

/* Orange CTA Button - Exakt wie auf index.html */
/* WICHTIG: Kein @apply verwenden - wird nicht verarbeitet! */
.btn-orange-lg {
  /* Farben */
  background: var(--color-accent);  /* #ff6b35 - Orange */
  color: white;

  /* Größe & Spacing */
  padding: 1rem 2rem;  /* py-4 px-8 */
  min-height: 44px;

  /* Typografie */
  font-size: 1.125rem;  /* text-lg */
  font-weight: 600;     /* font-semibold */

  /* Layout */
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* Styling */
  border-radius: 0.5rem;  /* rounded-lg */
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);  /* shadow-lg */

  /* Transitions */
  transition: all 200ms;
  transform: translateY(0);
  cursor: pointer;
  text-decoration: none;
}

.btn-orange-lg:hover {
  background: var(--color-accent-dark);  /* #e5602f - Orange Dark */
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);  /* shadow-xl */
  transform: translateY(-0.125rem);  /* -translate-y-0.5 */
}

/* Ghost Blue Buttons - Missing from Component Library */
.btn-ghost-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #1e3c72;
  background: transparent;
  color: #1e3c72;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  min-height: 48px;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.btn-ghost-blue:hover {
  background: rgba(30, 60, 114, 0.1);
  border-color: #1a3461;
}

.btn-ghost-blue-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #1e3c72;
  background: transparent;
  color: #1e3c72;
  font-weight: 600;
  padding: 1rem 2rem;
  min-height: 48px;
  font-size: 1.125rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.btn-ghost-blue-lg:hover {
  background: rgba(30, 60, 114, 0.1);
  border-color: #1a3461;
}

.btn-ghost-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-gray-300);
  background: transparent;
  color: var(--color-gray-700);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  min-height: 48px;
  border-radius: 0.375rem;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.btn-ghost-secondary:hover {
  background: var(--color-gray-50);
  border-color: var(--color-gray-400);
  color: var(--color-gray-900);
}

@media (max-width: 767px) {
  .btn {
    min-height: var(--touch-target-mobile);
    font-size: var(--font-size-lg);
  }

  .btn-sm {
    min-height: var(--touch-target-min);
    font-size: var(--font-size-base);
  }

  .btn-lg {
    min-height: 60px;
    font-size: var(--font-size-xl);
  }
}

/* 3.2 Cards */
.card {
  background: var(--color-white);
  border: var(--border-width-1) solid var(--color-gray-200);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-body {
  padding: var(--spacing-6);
}

.card-header {
  padding: var(--spacing-6);
  padding-bottom: 0;
}

.card-footer {
  padding: var(--spacing-6);
  padding-top: 0;
  margin-top: auto;
}

/* 3.3 Forms */
.form-control {
  display: block;
  width: 100%;
  min-height: var(--touch-target-min);
  padding: var(--spacing-3) var(--spacing-4);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--color-gray-900);
  background-color: var(--color-white);
  border: var(--border-width-1) solid var(--color-gray-300);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-fast);
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

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

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-gray-700);
  margin-bottom: var(--spacing-2);
}

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

/* 4. LAYOUT HELPERS
   ============================================ */

/* Breadcrumbs */
.breadcrumb-wrapper {
  padding-top: 5rem !important;
  padding-bottom: 0.75rem !important;
  display: block !important;
  visibility: visible !important;
}

.subpage .breadcrumb-wrapper {
  padding-top: 5rem;
  padding-bottom: 0.75rem;
}

@media (min-width: 1024px) {
  .breadcrumb-wrapper {
    padding-top: 6rem !important;
    padding-bottom: 1rem !important;
  }

  .subpage .breadcrumb-wrapper {
    padding-top: 6rem;
    padding-bottom: 1rem;
  }
}

/* Container */
.section-container {
  max-width: var(--max-width-7xl);
  margin: 0 auto;
  padding: 0 var(--spacing-4);
}

@media (min-width: 640px) {
  .section-container {
    padding: 0 var(--spacing-6);
  }
}

@media (min-width: 1024px) {
  .section-container {
    padding: 0 var(--spacing-8);
  }
}

/* Sections */
.section {
  position: relative;
  padding: var(--spacing-16) 0;
}

.section-sm {
  padding: var(--spacing-8) 0;
}

.section-lg {
  padding: var(--spacing-24) 0;
}

/* Spacing utilities */
.responsive-padding {
  padding-top: var(--normal-nav-height);
}

/* 5. PAGE-SPECIFIC
   ============================================ */

/* Timeline Component */
.timeline-desktop {
  display: none;
  position: relative;
  padding: 60px 0;
}

@media (min-width: 768px) {
  .timeline-desktop {
    display: block;
  }
  .timeline-mobile {
    display: none !important;
  }
}

.timeline-line {
  position: absolute;
  top: 60px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--color-gray-200) 20%, var(--color-gray-200) 80%, transparent);
}

.timeline-items {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.timeline-item {
  flex: 1;
  text-align: center;
  padding: 0 10px;
}

.timeline-circle {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform var(--transition-base);
}

.timeline-circle:hover {
  transform: scale(1.1);
}

.timeline-item:nth-child(1) .timeline-circle {
  background: var(--color-primary);
}

.timeline-item:nth-child(2) .timeline-circle {
  background: #2a4e8c;
  opacity: 0.9;
}

.timeline-item:nth-child(3) .timeline-circle {
  background: #3660a6;
  opacity: 0.8;
}

.timeline-item:nth-child(4) .timeline-circle {
  background: #4272c0;
  opacity: 0.7;
}

.timeline-item:nth-child(5) .timeline-circle {
  background: #5684d4;
  opacity: 0.6;
}

.timeline-content {
  background: var(--color-white);
  padding: 20px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-gray-900);
}

.timeline-content .role {
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
  margin-bottom: 8px;
}

.timeline-content .description {
  font-size: 0.8rem;
  color: var(--color-gray-600);
  line-height: 1.4;
}

/* Mobile Timeline */
.timeline-mobile {
  position: relative;
  padding-left: 20px;
}

.timeline-mobile::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-gray-200));
}

.timeline-mobile .timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 32px;
  position: relative;
}

.timeline-mobile .timeline-circle {
  width: 60px;
  height: 60px;
  min-width: 60px;
  font-size: 1rem;
  margin-right: 16px;
  margin-left: -30px;
}

.timeline-mobile .timeline-content {
  flex: 1;
  margin-top: 8px;
}

@media (max-width: 480px) {
  .timeline-mobile {
    padding-left: 16px;
  }

  .timeline-mobile::before {
    left: 16px;
  }

  .timeline-mobile .timeline-circle {
    width: 50px;
    height: 50px;
    min-width: 50px;
    font-size: 0.9rem;
    margin-left: -25px;
    margin-right: 12px;
  }
}

/* FAQ - Removed high z-index to prevent overlap with modals */
#faq {
  position: relative;
  /* z-index removed - FAQ should not be above modals */
}

#faq .bg-white {
  position: relative;
  /* z-index removed - FAQ items should not be above modals */
}

#faq [x-show] {
  position: relative;
  /* z-index removed - FAQ content should not be above modals */
}

#faq .space-y-4 > div {
  position: relative;
  /* z-index removed - FAQ containers should not be above modals */
}

/* ============================================
   SVG ICONS & GRAPHICS
   ============================================ */

/* SVG Icon Color System - Fix for currentColor inheritance */
svg {
  fill: currentColor;
  stroke: currentColor;
}

/* Ensure stroke-only icons work properly */
svg[fill="none"] {
  fill: none !important;
}

/* Text color classes for Tailwind compatibility - IMPORTANT for currentColor */
.text-primary {
  color: var(--color-primary) !important;
}

.text-orange,
.text-accent {
  color: var(--color-accent) !important;
}

.text-success {
  color: var(--color-success) !important;
}

/* SVG currentColor support */
svg.text-primary {
  color: var(--color-primary) !important;
}

svg.text-orange,
svg.text-accent {
  color: var(--color-accent) !important;
}

svg.text-success {
  color: var(--color-success) !important;
}

.text-white svg,
svg.text-white {
  color: var(--color-white);
  stroke: var(--color-white);
}

.text-gray-400 svg,
svg.text-gray-400 {
  color: var(--color-gray-400);
  stroke: var(--color-gray-400);
}

.text-gray-500 svg,
svg.text-gray-500 {
  color: var(--color-gray-500);
  stroke: var(--color-gray-500);
}

.text-gray-600 svg,
svg.text-gray-600 {
  color: var(--color-gray-600);
  stroke: var(--color-gray-600);
}

.text-gray-700 svg,
svg.text-gray-700 {
  color: var(--color-gray-700);
  stroke: var(--color-gray-700);
}

/* Icon container backgrounds with proper color inheritance */
.bg-primary\/10 svg,
.bg-primary-10 svg,
.bg-primary.bg-opacity-10 svg {
  color: var(--color-primary);
  stroke: var(--color-primary);
}

.bg-success\/10 svg,
.bg-success-10 svg,
.bg-success.bg-opacity-10 svg {
  color: var(--color-success);
  stroke: var(--color-success);
}

.bg-orange\/10 svg,
.bg-accent-10 svg,
.bg-orange.bg-opacity-10 svg,
.bg-accent.bg-opacity-10 svg {
  color: var(--color-accent);
  stroke: var(--color-accent);
}

/* Navigation dropdown arrows */
.nav-link svg,
.dropdown-arrow {
  color: inherit;
  stroke: inherit;
  transition: transform var(--transition-base);
}

/* Mobile navigation icons */
.mobile-nav-link svg {
  color: var(--color-gray-600);
  stroke: var(--color-gray-600);
}

.mobile-nav-link:hover svg {
  color: var(--color-primary);
  stroke: var(--color-primary);
}

/* FAQ accordion arrows with rotation */
[x-data] svg.transition-transform {
  transform-origin: center;
  transition: transform var(--transition-base);
}

[x-data] .rotate-180 {
  transform: rotate(180deg);
}

/* Hero section scroll indicator */
.animate-bounce svg {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Ensure icon sizes are respected */
svg.w-4 { width: 1rem; }
svg.h-4 { height: 1rem; }
svg.w-5 { width: 1.25rem; }
svg.h-5 { height: 1.25rem; }
svg.w-6 { width: 1.5rem; }
svg.h-6 { height: 1.5rem; }
svg.w-8 { width: 2rem; }
svg.h-8 { height: 2rem; }
svg.w-10 { width: 2.5rem; }
svg.h-10 { height: 2.5rem; }
svg.w-12 { width: 3rem; }
svg.h-12 { height: 3rem; }

/* Ensure stroke width is consistent */
svg[stroke-width="2"] {
  stroke-width: 2;
}

svg[stroke-linecap="round"] {
  stroke-linecap: round;
}

svg[stroke-linejoin="round"] {
  stroke-linejoin: round;
}

/* ============================================
   ACCESSIBILITY & UTILITIES
   ============================================ */

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

.sr-only:focus {
  position: absolute;
  width: auto;
  height: auto;
  padding: .5rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--border-radius-base);
  z-index: 9999;
}

/* Alpine.js utilities */
[x-cloak] {
  display: none !important;
}

/* Tailwind color overrides - using opacity-aware rgba values */
.bg-primary {
  background-color: rgba(30, 60, 114, var(--tw-bg-opacity, 1));
}

.bg-primary-dark {
  background-color: rgba(25, 50, 95, var(--tw-bg-opacity, 1));
}

.text-orange {
  color: var(--color-accent) !important; /* Keep !important for text colors */
}

.bg-orange,
.bg-accent {
  background-color: rgba(255, 107, 53, var(--tw-bg-opacity, 1));
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
  border-radius: var(--border-radius-base);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print styles */
@media print {
  .navbar,
  .mobile-nav,
  .mobile-nav-header,
  .mobile-cta {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .btn {
    background: transparent !important;
    color: black !important;
    border: var(--border-width-1) solid black !important;
    box-shadow: none !important;
    transform: none !important;
  }
}

/* 6. UTILITY CLASSES FROM INLINE STYLES */
/* Background patterns */
.bg-dot-pattern {
  background-image: radial-gradient(circle at 2px 2px, currentColor 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Icon backgrounds with transparency */
.bg-primary-10 {
  background-color: rgba(30, 60, 114, 0.1);
}

.bg-success-10 {
  background-color: rgba(40, 167, 69, 0.1);
}

.bg-accent-10 {
  background-color: rgba(255, 107, 53, 0.1);
}

/* Object positioning for hero images */
.object-position-hero {
  object-position: center 20%;
}

/* Connection lines */
.connection-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #d1d5db, #1e3c72);
  border-radius: 2px;
}

/* Navigation Label Consistency
   ============================================ */
/* Using Tailwind's text-base class instead of custom .nav-label to prevent FOUC */

/* Mobile navigation labels - REMOVED to prevent FOUC
   The nav-label class should not override text-base from Tailwind
   This was causing font size changes after CSS load */

/* Dropdown menu items */
.dropdown-item {
    font-size: 0.875rem; /* 14px */
}

/* Fix font loading flash */
.navbar {
    min-height: 5rem; /* 80px - prevent layout shift */
}

.navbar-container {
    min-height: 5rem;
}

/* Prevent font-size changes on load */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
