/* =============================================================================
   CAPE Technology Solutions - Professional Defense Contractor Stylesheet
   =============================================================================
   
   FILE OVERVIEW:
   This stylesheet implements a professional, defense industry-focused design system
   for CAPE Technology Solutions. The design follows industry standards similar to
   major defense contractors like Lockheed Martin, Raytheon, and General Dynamics.
   
   STRUCTURE:
   1. CSS Custom Properties (Design Tokens)
   2. Dark Theme Variables (Currently Disabled)
   3. Global Reset & Base Styles
   4. Layout Components (Header, Navigation, Footer)
   5. Page-Specific Sections (Hero, Capabilities, Gallery, etc.)
   6. Component Styles (Cards, Buttons, Forms, etc.)
   7. Utility Classes & Animations
   8. Responsive Design (Media Queries)
   9. Accessibility Features
   10. Print Styles
   
   DESIGN PRINCIPLES:
   - Professional and trustworthy appearance
   - High contrast for readability
   - Consistent spacing and typography
   - Mobile-first responsive design
   - Accessibility compliance (WCAG 2.1)
   - Performance optimization
   
   COLOR SYSTEM:
   - Primary: Navy blue (#1e3a5f) - Trust and professionalism
   - Secondary: Gray tones - Neutral and balanced
   - Accent: Red (#dc3545) - Urgency and importance
   - Success: Green (#38a169) - Positive actions
   - Warning: Orange (#dd6b20) - Caution and alerts
   
   TYPOGRAPHY:
   - Primary: Inter - Clean and readable body text
   - Headings: Rajdhani - Professional and modern
   - Display: Orbitron - Technology-focused elements
   - Monospace: JetBrains Mono - Code and technical content
   
   BREAKPOINTS:
   - Mobile: < 576px
   - Tablet: 576px - 767px
   - Desktop: 768px - 991px
   - Large: 992px - 1199px
   - XL: ≥ 1200px
   
   ============================================================================= */

/* =============================================================================
   CSS CUSTOM PROPERTIES - DEFENSE INDUSTRY COLOR PALETTE
   ============================================================================= */
/* 
   DESIGN TOKENS:
   These CSS custom properties define the complete design system including:
   - Color palette optimized for defense industry
   - Typography scale for consistent text sizing
   - Spacing scale for consistent layout
   - Border radius values for component styling
   - Transition timings for smooth animations
   - Z-index scale for proper layering
   
   USAGE:
   Use these variables throughout the stylesheet instead of hardcoded values
   to maintain consistency and enable easy theming.
*/

:root {
  /* ========================================
       PRIMARY DEFENSE COLORS
       ======================================== */
  /* Navy blue palette - primary brand colors */
  --navy-primary: #1e3a5f;    /* Main brand color - trust and professionalism */
  --navy-dark: #0f1419;       /* Dark navy for backgrounds and text */
  --navy-light: #2d4f7a;      /* Lighter navy for hover states */
  
  /* ========================================
       GRAY SCALE
       ======================================== */
  /* Gray palette - neutral colors for text and backgrounds */
  --gray-primary: #4a5568;    /* Primary gray for body text */
  --gray-light: #718096;      /* Light gray for secondary text */
  --gray-lighter: #e2e8f0;    /* Very light gray for borders and backgrounds */
  --gray-dark: #2d3748;       /* Dark gray for headings */
  
  /* ========================================
       ACCENT COLORS
       ======================================== */
  /* Accent colors for specific UI states and actions */
  --red-primary: #dc3545;     /* Primary red for errors and CTAs */
  --red-dark: #c82333;        /* Darker red for hover states */
  --blue-accent: #3182ce;     /* Blue accent for links and highlights */
  --green-success: #38a169;   /* Green for success states */
  --orange-warning: #dd6b20;  /* Orange for warnings and alerts */
  
  /* ========================================
       NEUTRAL COLORS
       ======================================== */
  /* Basic neutral colors for backgrounds and text */
  --white: #ffffff;           /* Pure white */
  --black: #000000;           /* Pure black */
  --background-light: #f8fafc; /* Light background color */
  --background-dark: #1a202c;  /* Dark background color */
  --text-primary: #2d3748;     /* Primary text color */
  --text-secondary: #4a5568;   /* Secondary text color */
  --text-light: #718096;       /* Light text color */
  --text-white: #ffffff;       /* White text color */
  
  /* ========================================
       COMPONENT COLORS
       ======================================== */
  /* Colors specifically for UI components */
  --border-color: #e2e8f0;     /* Standard border color */
  --shadow-light: rgba(0, 0, 0, 0.05);   /* Light shadow for subtle depth */
  --shadow-medium: rgba(0, 0, 0, 0.1);   /* Medium shadow for cards */
  --shadow-dark: rgba(0, 0, 0, 0.25);    /* Dark shadow for overlays */
  --overlay-dark: rgba(30, 58, 95, 0.9); /* Dark overlay for hero sections */
  
  /* ========================================
       TYPOGRAPHY SCALE
       ======================================== */
  /* Font families for different content types */
  --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-hero: 'Rajdhani', 'Orbitron', 'Exo 2', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-headings: 'Rajdhani', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-mono: 'JetBrains Mono', 'SF Mono', 'Monaco', 'Inconsolata', monospace;
  
  /* Font size scale - follows 1.25 ratio for consistent scaling */
  --font-size-xs: 0.75rem;    /* 12px - Small labels and captions */
  --font-size-sm: 0.875rem;   /* 14px - Small body text */
  --font-size-base: 1rem;     /* 16px - Base body text size */
  --font-size-lg: 1.125rem;   /* 18px - Large body text */
  --font-size-xl: 1.25rem;    /* 20px - Small headings */
  --font-size-2xl: 1.5rem;    /* 24px - Medium headings */
  --font-size-3xl: 1.875rem;  /* 30px - Large headings */
  --font-size-4xl: 2.25rem;   /* 36px - Extra large headings */
  --font-size-5xl: 3rem;      /* 48px - Hero headings */
  --font-size-6xl: 3.75rem;   /* 60px - Display headings */
  
  /* ========================================
       SPACING SCALE
       ======================================== */
  /* Consistent spacing values using 4px base unit */
  --space-1: 0.25rem;         /* 4px - Minimal spacing */
  --space-2: 0.5rem;          /* 8px - Small spacing */
  --space-3: 0.75rem;         /* 12px - Medium-small spacing */
  --space-4: 1rem;            /* 16px - Base spacing unit */
  --space-5: 1.25rem;         /* 20px - Medium spacing */
  --space-6: 1.5rem;          /* 24px - Large spacing */
  --space-8: 2rem;            /* 32px - Extra large spacing */
  --space-10: 2.5rem;         /* 40px - Section spacing */
  --space-12: 3rem;           /* 48px - Large section spacing */
  --space-16: 4rem;           /* 64px - Extra large section spacing */
  --space-20: 5rem;           /* 80px - Hero section spacing */
  --space-24: 6rem;           /* 96px - Maximum section spacing */
  
  /* ========================================
       BORDER RADIUS
       ======================================== */
  /* Border radius values for component styling */
  --radius-sm: 0.25rem;       /* 4px - Small radius for buttons */
  --radius-md: 0.375rem;      /* 6px - Medium radius for cards */
  --radius-lg: 0.5rem;        /* 8px - Large radius for containers */
  --radius-xl: 0.75rem;       /* 12px - Extra large radius */
  --radius-2xl: 1rem;         /* 16px - Maximum radius */
  
  /* ========================================
       TRANSITIONS
       ======================================== */
  /* Transition timing functions for smooth animations */
  --transition-fast: 0.15s ease;    /* Fast transitions for hover states */
  --transition-normal: 0.3s ease;   /* Normal transitions for general interactions */
  --transition-slow: 0.5s ease;     /* Slow transitions for page loads */
  
  /* Theme transition for dark/light mode switching */
  --theme-transition: 0.15s ease;
  
  /* ========================================
       Z-INDEX SCALE
       ======================================== */
  /* Z-index values to ensure proper layering */
  --z-dropdown: 1000;         /* Dropdown menus */
  --z-sticky: 1020;           /* Sticky navigation */
  --z-fixed: 1030;            /* Fixed position elements */
  --z-overlay: 1040;          /* Overlay backgrounds */
  --z-modal: 1050;            /* Modal dialogs */
  --z-tooltip: 1070;          /* Tooltips */
}

/* =============================================================================
   DARK THEME VARIABLES - DISABLED
   ============================================================================= */
/* 
   DARK THEME SYSTEM:
   Currently disabled but prepared for future implementation.
   These variables would override the light theme colors for dark mode.
   
   To enable dark theme:
   1. Uncomment this section
   2. Add theme toggle functionality in JavaScript
   3. Update HTML to include data-theme="dark" attribute
*/

[data-theme="dark"] {
  --background-light: #1a202c;
  --background-dark: #0f1419;
  --text-primary: #e2e8f0;
  --text-secondary: #a0aec0;
  --text-light: #718096;
  --border-color: #2d3748;
  --shadow-light: rgba(0, 0, 0, 0.3);
  --shadow-medium: rgba(0, 0, 0, 0.4);
  --shadow-dark: rgba(0, 0, 0, 0.6);
  --white: #1a202c;
  --text-white: #e2e8f0;
}

/* =============================================================================
   PAGE TRANSITIONS
   ============================================================================= */

.page-transitioning {
  overflow: hidden;
}

.page-transitioning.fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* =============================================================================
   THEME TRANSITIONS - DISABLED
   ============================================================================= */

/*
.theme-transitioning * {
  transition: background-color var(--theme-transition),
              border-color var(--theme-transition),
              color 0.1s ease !important;
}

.theme-transitioning .site-header {
  transition: background-color var(--theme-transition), 
              color var(--theme-transition), 
              border-color var(--theme-transition) !important;
}

  .theme-transitioning .main-section,
  .theme-transitioning .hero-section,
  .theme-transitioning .capabilities-section,
  .theme-transitioning .gallery-section,
  .theme-transitioning .trust-section,
  .theme-transitioning .leadership-section,
  .theme-transitioning .cta-section,
  .theme-transitioning .site-footer {
    transition: background-color var(--theme-transition), 
                color 0.1s ease !important;
  }

  .theme-transitioning .capability-card,
  .theme-transitioning .gallery-item,
  .theme-transitioning .cert-card,
  .theme-transitioning .leadership-card,
  .theme-transitioning .benefit-card,
  .theme-transitioning .position-card,
  .theme-transitioning .contact-card,
  .theme-transitioning .info-card,
  .theme-transitioning .solution-card,
  .theme-transitioning .method-item,
  .theme-transitioning .process-step,
  .theme-transitioning .tech-category,
  .theme-transitioning .spec-tech-card,
  .theme-transitioning .advantage-item,
  .theme-transitioning .metric-card,
  .theme-transitioning .team-item,
  .theme-transitioning .value-item {
    transition: background-color var(--theme-transition), 
                border-color var(--theme-transition), 
                color 0.1s ease !important;
  }

.theme-transitioning.theme-fade-in .site-header,
.theme-transitioning.theme-fade-in .main-section,
.theme-transitioning.theme-fade-in .hero-section,
.theme-transitioning.theme-fade-in .capabilities-section,
.theme-transitioning.theme-fade-in .gallery-section,
.theme-transitioning.theme-fade-in .trust-section,
.theme-transitioning.theme-fade-in .leadership-section,
.theme-transitioning.theme-fade-in .cta-section,
.theme-transitioning.theme-fade-in .site-footer {
  animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
*/

/* =============================================================================
   PAGE TRANSITIONS
   ============================================================================= */

.page-transitioning {
  overflow: hidden;
}

.page-transitioning.fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* =============================================================================
   DARK THEME COMPONENT STYLES - DISABLED
   ============================================================================= */

/*
[data-theme="dark"] .site-header {
  background: rgba(15, 20, 25, 0.95);
  border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .navbar-brand {
  color: var(--text-white);
}

[data-theme="dark"] .brand-name {
  color: var(--navy-primary);
}

[data-theme="dark"] .brand-tagline {
  color: var(--text-secondary);
}

[data-theme="dark"] .nav-link {
  color: var(--text-white);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  color: var(--navy-primary);
  background: rgba(74, 144, 226, 0.1);
}

[data-theme="dark"] .dropdown-menu {
  background: rgba(15, 20, 25, 0.95);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .dropdown-item {
  color: var(--text-white);
}

[data-theme="dark"] .dropdown-item:hover {
  background: rgba(74, 144, 226, 0.1);
  color: var(--navy-primary);
}

[data-theme="dark"] .dropdown-item small {
  color: var(--text-secondary);
}

[data-theme="dark"] .theme-toggle-btn {
  color: var(--text-white);
  background: rgba(74, 144, 226, 0.1);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

[data-theme="dark"] .theme-toggle-btn:hover {
  background: rgba(74, 144, 226, 0.2);
  color: var(--navy-primary);
  transform: scale(1.05);
  box-shadow: 0 4px 12px var(--shadow-medium);
}

[data-theme="dark"] .theme-toggle-btn:focus {
  outline: 2px solid var(--navy-primary);
  outline-offset: 2px;
}

[data-theme="dark"] .hero-section,
[data-theme="dark"] .careers-hero-section,
[data-theme="dark"] .capability-hero-section {
  background: var(--navy-primary);
}

[data-theme="dark"] .hero-overlay {
  background: linear-gradient(135deg, rgba(15, 20, 25, 0.8) 0%, rgba(10, 15, 20, 0.9) 100%);
}

[data-theme="dark"] .hero-title {
  color: var(--text-white);
}

[data-theme="dark"] .hero-description {
  color: var(--text-secondary);
}

[data-theme="dark"] .stat-number {
  color: var(--navy-primary);
}

[data-theme="dark"] .stat-label {
  color: var(--text-secondary);
}

[data-theme="dark"] .tech-card {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
  color: var(--text-white);
}

[data-theme="dark"] .tech-card:hover {
  background: rgba(74, 144, 226, 0.1);
  border-color: var(--navy-primary);
}

[data-theme="dark"] .btn-outline-light {
  color: var(--text-white);
  border-color: var(--text-white);
}

[data-theme="dark"] .btn-outline-light:hover {
  background: var(--text-white);
  color: var(--background-dark);
}

[data-theme="dark"] .capability-card {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .capability-card:hover {
  background: rgba(45, 55, 72, 0.8);
  border-color: var(--navy-primary);
  box-shadow: 0 8px 32px var(--shadow-medium);
}

[data-theme="dark"] .card-title {
  color: var(--text-white);
}

[data-theme="dark"] .card-description {
  color: var(--text-secondary);
}

[data-theme="dark"] .card-meta {
  color: var(--text-light);
}

[data-theme="dark"] .section-title {
  color: var(--text-white);
}

[data-theme="dark"] .section-description {
  color: var(--text-secondary);
}

[data-theme="dark"] .gallery-item {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .gallery-item:hover {
  background: rgba(45, 55, 72, 0.8);
  border-color: var(--navy-primary);
}

[data-theme="dark"] .gallery-overlay {
  background: rgba(15, 20, 25, 0.8);
}

[data-theme="dark"] .gallery-overlay h4 {
  color: var(--text-white);
}

[data-theme="dark"] .gallery-overlay p {
  color: var(--text-secondary);
}

[data-theme="dark"] .trust-stat {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .trust-stat:hover {
  background: rgba(45, 55, 72, 0.8);
  border-color: var(--navy-primary);
}

[data-theme="dark"] .trust-stat strong {
  color: var(--navy-primary);
}

[data-theme="dark"] .trust-stat span {
  color: var(--text-secondary);
}

[data-theme="dark"] .cert-card {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .cert-card:hover {
  background: rgba(45, 55, 72, 0.8);
  border-color: var(--navy-primary);
}

[data-theme="dark"] .cert-card span {
  color: var(--text-secondary);
}

[data-theme="dark"] .leadership-card {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .leadership-card:hover {
  background: rgba(45, 55, 72, 0.8);
  border-color: var(--navy-primary);
}

[data-theme="dark"] .leadership-text h3 {
  color: var(--text-white);
}

[data-theme="dark"] .leadership-text p {
  color: var(--text-secondary);
}

[data-theme="dark"] .leadership-quote {
  background: rgba(74, 144, 226, 0.1);
  border-left: 4px solid var(--navy-primary);
}

[data-theme="dark"] .value-item {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .value-item:hover {
  background: rgba(45, 55, 72, 0.8);
  border-color: var(--navy-primary);
}

[data-theme="dark"] .cta-section {
  background: linear-gradient(135deg, var(--background-dark) 0%, #1a202c 100%);
}

[data-theme="dark"] .cta-title {
  color: var(--text-white);
}

[data-theme="dark"] .cta-description {
  color: var(--text-secondary);
}

[data-theme="dark"] .site-footer {
  background: var(--background-dark);
  border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .footer-brand h4 {
  color: var(--text-white);
}

[data-theme="dark"] .footer-brand p {
  color: var(--text-secondary);
}

[data-theme="dark"] .footer-column h5 {
  color: var(--text-white);
}

[data-theme="dark"] .footer-column ul li a {
  color: var(--text-secondary);
}

[data-theme="dark"] .footer-column ul li a:hover {
  color: var(--navy-primary);
}

[data-theme="dark"] .social-links a {
  color: var(--text-secondary);
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .social-links a:hover {
  color: var(--navy-primary);
  background: rgba(74, 144, 226, 0.1);
  border-color: var(--navy-primary);
}

[data-theme="dark"] .contact-info p {
  color: var(--text-secondary);
}

[data-theme="dark"] .copyright {
  color: var(--text-secondary);
}

[data-theme="dark"] .footer-links a {
  color: var(--text-secondary);
}

[data-theme="dark"] .footer-links a:hover {
  color: var(--navy-primary);
}

/* Careers Page Dark Theme */
[data-theme="dark"] .benefit-card {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .benefit-card:hover {
  background: rgba(45, 55, 72, 0.8);
  border-color: var(--navy-primary);
}

[data-theme="dark"] .benefit-card h4 {
  color: var(--text-white);
}

[data-theme="dark"] .benefit-card p {
  color: var(--text-secondary);
}

[data-theme="dark"] .position-card {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .position-card:hover {
  background: rgba(45, 55, 72, 0.8);
  border-color: var(--navy-primary);
}

[data-theme="dark"] .position-title h3 {
  color: var(--text-white);
}

[data-theme="dark"] .position-description p {
  color: var(--text-secondary);
}

[data-theme="dark"] .position-content h5 {
  color: var(--text-white);
}

[data-theme="dark"] .requirements-list li {
  color: var(--text-secondary);
}

[data-theme="dark"] .tech-tag {
  background: rgba(74, 144, 226, 0.1);
  color: var(--navy-primary);
  border: 1px solid var(--navy-primary);
}

[data-theme="dark"] .tech-tag:hover {
  background: rgba(74, 144, 226, 0.2);
}

[data-theme="dark"] .benefit-item {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .benefit-item:hover {
  background: rgba(45, 55, 72, 0.8);
  border-color: var(--navy-primary);
}

[data-theme="dark"] .benefit-item span {
  color: var(--text-secondary);
}

/* Contact Page Dark Theme */
[data-theme="dark"] .contact-card {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .contact-card:hover {
  background: rgba(45, 55, 72, 0.8);
  border-color: var(--navy-primary);
}

[data-theme="dark"] .contact-info h4 {
  color: var(--text-white);
}

[data-theme="dark"] .contact-info p {
  color: var(--text-secondary);
}

[data-theme="dark"] .contact-link {
  color: var(--navy-primary);
}

[data-theme="dark"] .contact-link:hover {
  color: var(--navy-light);
}

[data-theme="dark"] .form-container {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .form-header {
  color: var(--text-white);
}

[data-theme="dark"] .form-label {
  color: var(--text-white);
}

[data-theme="dark"] .form-control {
  background: rgba(26, 32, 44, 0.8);
  border: 1px solid var(--border-color);
  color: var(--text-white);
}

[data-theme="dark"] .form-control:focus {
  border-color: var(--navy-primary);
  box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

[data-theme="dark"] .form-control::placeholder {
  color: var(--text-secondary);
}

[data-theme="dark"] .form-control:invalid {
  border-color: var(--red-primary);
}

[data-theme="dark"] .form-control:valid {
  border-color: var(--green-success);
}

[data-theme="dark"] .form-feedback {
  color: var(--text-secondary);
}

[data-theme="dark"] .character-count {
  color: var(--text-secondary);
}

[data-theme="dark"] .disclaimer-box {
  background: rgba(74, 144, 226, 0.1);
  border: 1px solid var(--navy-primary);
}

[data-theme="dark"] .disclaimer-box i {
  color: var(--navy-primary);
}

[data-theme="dark"] .disclaimer-box div {
  color: var(--text-secondary);
}

/* Additional dark theme styles for interactive elements */
[data-theme="dark"] .btn-primary {
  background: var(--navy-primary);
  border-color: var(--navy-primary);
  color: var(--text-white);
}

[data-theme="dark"] .btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--shadow-medium);
}

[data-theme="dark"] .btn-outline-primary {
  color: var(--navy-primary);
  border-color: var(--navy-primary);
}

[data-theme="dark"] .btn-outline-primary:hover {
  background: var(--navy-primary);
  color: var(--text-white);
}

[data-theme="dark"] .card-link {
  color: var(--navy-primary);
}

[data-theme="dark"] .card-link:hover {
  color: var(--navy-light);
}

[data-theme="dark"] .section-badge {
  background: rgba(74, 144, 226, 0.1);
  color: var(--navy-primary);
  border: 1px solid var(--navy-primary);
}

[data-theme="dark"] .classification,
[data-theme="dark"] .clearance {
  background: rgba(56, 161, 105, 0.1);
  color: var(--green-success);
  border: 1px solid var(--green-success);
}

[data-theme="dark"] .clearance-badge.secret {
  background: rgba(220, 53, 69, 0.1);
  color: var(--red-primary);
  border: 1px solid var(--red-primary);
}

[data-theme="dark"] .clearance-badge.clearable {
  background: rgba(221, 107, 32, 0.1);
  color: var(--orange-warning);
  border: 1px solid var(--orange-warning);
}

[data-theme="dark"] .type-badge {
  background: rgba(74, 144, 226, 0.1);
  color: var(--navy-primary);
  border: 1px solid var(--navy-primary);
}

[data-theme="dark"] .location-badge {
  background: rgba(113, 128, 150, 0.1);
  color: var(--gray-light);
  border: 1px solid var(--gray-light);
}

[data-theme="dark"] .salary-range {
  color: var(--green-success);
}

[data-theme="dark"] .experience {
  color: var(--text-secondary);
}

[data-theme="dark"] .highlight-item {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .highlight-item:hover {
  background: rgba(45, 55, 72, 0.8);
  border-color: var(--navy-primary);
}

[data-theme="dark"] .highlight-item span {
  color: var(--text-secondary);
}

[data-theme="dark"] .contact-card.urgent {
  background: rgba(220, 53, 69, 0.1);
  border-color: var(--red-primary);
}

[data-theme="dark"] .contact-card.urgent .contact-icon {
  color: var(--red-primary);
}

[data-theme="dark"] .contact-icon {
  color: var(--navy-primary);
}

[data-theme="dark"] .compliance-item {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .compliance-item:hover {
  background: rgba(45, 55, 72, 0.8);
  border-color: var(--navy-primary);
}

[data-theme="dark"] .compliance-item i {
  color: var(--navy-primary);
}

[data-theme="dark"] .solution-features {
  color: var(--text-secondary);
}

[data-theme="dark"] .feature-item {
  color: var(--text-secondary);
}

[data-theme="dark"] .feature-item i {
  color: var(--navy-primary);
}

[data-theme="dark"] .solution-tech h5 {
  color: var(--text-white);
}

[data-theme="dark"] .method-icon {
  color: var(--navy-primary);
}

[data-theme="dark"] .step-icon {
  color: var(--navy-primary);
}

[data-theme="dark"] .category-icon {
  color: var(--navy-primary);
}

[data-theme="dark"] .advantage-icon {
  color: var(--navy-primary);
}

[data-theme="dark"] .metric-icon {
  color: var(--blue-accent, #3182ce) !important;
}

[data-theme="dark"] .benefit-icon {
  color: var(--blue-accent, #3182ce) !important;
}

[data-theme="dark"] .contact-icon {
  color: var(--blue-accent, #3182ce) !important;
}

[data-theme="dark"] .info-icon {
  color: var(--blue-accent, #3182ce) !important;
}

[data-theme="dark"] .category-icon {
  color: var(--blue-accent, #3182ce) !important;
}

[data-theme="dark"] .step-icon {
  color: var(--blue-accent, #3182ce) !important;
}

[data-theme="dark"] .method-icon {
  color: var(--blue-accent, #3182ce) !important;
}

[data-theme="dark"] .advantage-icon {
  color: var(--blue-accent, #3182ce) !important;
}

[data-theme="dark"] .leadership-icon {
  color: var(--blue-accent, #3182ce) !important;
}

[data-theme="dark"] .metric-icon i,
[data-theme="dark"] .benefit-icon i,
[data-theme="dark"] .contact-icon i,
[data-theme="dark"] .info-icon i {
  color: var(--blue-accent, #3182ce) !important;
}

/* Dark theme focus states for better accessibility */
[data-theme="dark"] .nav-link:focus,
[data-theme="dark"] .btn:focus,
[data-theme="dark"] .card-link:focus,
[data-theme="dark"] .dropdown-item:focus {
  outline: 2px solid var(--navy-primary);
  outline-offset: 2px;
}

/* Dark theme scrollbar styling */
[data-theme="dark"] ::-webkit-scrollbar {
  width: 12px;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
  background: var(--background-dark);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 6px;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: var(--navy-primary);
}

/* Dark theme selection styling */
[data-theme="dark"] ::selection {
  background: rgba(74, 144, 226, 0.3);
  color: var(--text-white);
}

[data-theme="dark"] ::-moz-selection {
  background: rgba(74, 144, 226, 0.3);
  color: var(--text-white);
}

/* Dark theme for code blocks and technical content */
[data-theme="dark"] code {
  background: rgba(26, 32, 44, 0.8);
  color: var(--text-white);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] pre {
  background: rgba(26, 32, 44, 0.8);
  border: 1px solid var(--border-color);
  color: var(--text-white);
}

/* Dark theme for tables */
[data-theme="dark"] table {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] th {
  background: rgba(26, 32, 44, 0.8);
  color: var(--text-white);
  border-color: var(--border-color);
}

[data-theme="dark"] td {
  color: var(--text-secondary);
  border-color: var(--border-color);
}

/* Dark theme for blockquotes */
[data-theme="dark"] blockquote {
  background: rgba(74, 144, 226, 0.1);
  border-left: 4px solid var(--navy-primary);
  color: var(--text-secondary);
}

/* Dark theme for alerts and notifications */
[data-theme="dark"] .alert {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
  color: var(--text-white);
}

[data-theme="dark"] .alert-success {
  background: rgba(56, 161, 105, 0.1);
  border-color: var(--green-success);
  color: var(--green-success);
}

[data-theme="dark"] .alert-warning {
  background: rgba(221, 107, 32, 0.1);
  border-color: var(--orange-warning);
  color: var(--orange-warning);
}

[data-theme="dark"] .alert-danger {
  background: rgba(220, 53, 69, 0.1);
  border-color: var(--red-primary);
  color: var(--red-primary);
}

[data-theme="dark"] .alert-info {
  background: rgba(74, 144, 226, 0.1);
  border-color: var(--navy-primary);
  color: var(--navy-primary);
}

[data-theme="dark"] .info-card {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .info-card:hover {
  background: rgba(45, 55, 72, 0.8);
  border-color: var(--navy-primary);
}

[data-theme="dark"] .info-card h4 {
  color: var(--text-white);
}

[data-theme="dark"] .info-card p {
  color: var(--text-secondary);
}

[data-theme="dark"] .info-card ul li {
  color: var(--text-secondary);
}

/* Privacy Page Dark Theme */
[data-theme="dark"] .compliance-item {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .toc-sidebar {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .toc-sidebar h4 {
  color: var(--text-white);
}

[data-theme="dark"] .toc-list a {
  color: var(--text-secondary);
}

[data-theme="dark"] .toc-list a:hover,
[data-theme="dark"] .toc-list a.active {
  color: var(--navy-primary);
}

[data-theme="dark"] .content-section .section-header h2 {
  color: var(--text-white);
}

[data-theme="dark"] .last-updated {
  color: var(--text-secondary);
}

[data-theme="dark"] .important-notice {
  background: rgba(74, 144, 226, 0.1);
  border-left: 4px solid var(--navy-primary);
}

/* Software Development Page Dark Theme */
[data-theme="dark"] .solution-card {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .solution-card:hover {
  background: rgba(45, 55, 72, 0.8);
  border-color: var(--navy-primary);
}

[data-theme="dark"] .solution-content h3 {
  color: var(--text-white);
}

[data-theme="dark"] .method-item {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .method-content h4 {
  color: var(--text-white);
}

[data-theme="dark"] .process-step {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-4);
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px var(--shadow-light);
}

[data-theme="dark"] .process-step:hover {
  background: rgba(74, 144, 226, 0.1);
  border-color: var(--navy-primary);
}

[data-theme="dark"] .process-step h5 {
  color: var(--text-white);
}

[data-theme="dark"] .tech-category {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .tech-category:hover {
  background: rgba(45, 55, 72, 0.8);
  border-color: var(--navy-primary);
}

[data-theme="dark"] .tech-category h4 {
  color: var(--text-white);
}

[data-theme="dark"] .tech-item {
  background: rgba(74, 144, 226, 0.1);
  color: var(--navy-primary);
  border: 1px solid var(--navy-primary);
}

[data-theme="dark"] .tech-item:hover {
  background: rgba(74, 144, 226, 0.2);
}

[data-theme="dark"] .spec-tech-card {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .spec-tech-card:hover {
  background: rgba(45, 55, 72, 0.8);
  border-color: var(--navy-primary);
}

[data-theme="dark"] .spec-tech-card h5 {
  color: var(--text-white);
}

[data-theme="dark"] .advantage-item {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .advantage-content h4 {
  color: var(--text-white);
}

[data-theme="dark"] .metric-card {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .metric-card:hover {
  background: rgba(45, 55, 72, 0.8);
  border-color: var(--navy-primary);
}

[data-theme="dark"] .metric-number {
  color: var(--navy-primary);
}

[data-theme="dark"] .metric-label {
  color: var(--text-secondary);
}

[data-theme="dark"] .team-item {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .team-item:hover {
  background: rgba(45, 55, 72, 0.8);
  border-color: var(--navy-primary);
}

[data-theme="dark"] .team-overlay {
  background: rgba(15, 20, 25, 0.8);
}

[data-theme="dark"] .team-overlay h4 {
  color: var(--text-white);
}

[data-theme="dark"] .team-overlay p {
  color: var(--text-secondary);
}

[data-theme="dark"] .mission-text {
  color: var(--text-white);
}

[data-theme="dark"] .value-item {
  background: rgba(45, 55, 72, 0.5);
  border: 1px solid var(--border-color);
}

/* Dark theme styles for sections that were missing them */
[data-theme="dark"] .main-section {
  background: var(--background-light);
}

[data-theme="dark"] .capabilities-section {
  background: var(--background-light);
}

[data-theme="dark"] .gallery-section {
  background: var(--background-light);
}

[data-theme="dark"] .trust-section {
  background: var(--background-light);
}

[data-theme="dark"] .leadership-section {
  background: var(--background-light);
}

[data-theme="dark"] .careers-hero-section {
  background: var(--background-dark);
}

[data-theme="dark"] .benefits-section {
  background: var(--background-light);
}

[data-theme="dark"] .positions-section {
  background: var(--background-light);
}

[data-theme="dark"] .application-cta-section {
  background: var(--background-dark);
}

[data-theme="dark"] .contact-hero-section {
  background: var(--background-dark);
}

[data-theme="dark"] .contact-form-section {
  background: var(--background-light);
}

[data-theme="dark"] .additional-contact-section {
  background: var(--background-light);
}

[data-theme="dark"] .privacy-hero-section {
  background: var(--background-dark);
}

[data-theme="dark"] .privacy-content {
  background: var(--background-light);
}

[data-theme="dark"] .capability-hero-section {
  background: var(--background-dark);
}

[data-theme="dark"] .core-solutions-section {
  background: var(--background-light);
}

[data-theme="dark"] .technical-approach-section {
  background: var(--background-light);
}

[data-theme="dark"] .process-visualization {
  background: var(--background-light);
}

[data-theme="dark"] .technology-stack-section {
  background: var(--background-light);
}

[data-theme="dark"] .specialized-tech {
  background: var(--background-light);
}

[data-theme="dark"] .why-choose-section {
  background: var(--background-light);
}

[data-theme="dark"] .metrics-showcase {
  background: var(--background-light);
}

[data-theme="dark"] .team-gallery-section {
  background: var(--background-light);
}

[data-theme="dark"] .mission-section {
  background: var(--background-light);
}
*/

/* =============================================================================
   RESET & BASE STYLES
   ============================================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.6;
}

/* DISABLED - Hide content until theme is applied */
/*
html:not([data-theme]) {
  visibility: hidden;
}
*/

body {
  font-family: var(--font-family-primary);
  color: var(--text-primary);
  background-color: var(--background-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* DISABLED - Prevent flash by hiding until theme is applied */
  /*
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  */
}

/* DISABLED - Show body when theme is ready */
/*
body.theme-ready {
  opacity: 1;
  visibility: visible;
}
*/

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--navy-primary);
}

/* =============================================================================
   CLASSIFICATION BANNERS
   ============================================================================= */

.classification-banner {
  background: var(--green-success);
  color: var(--white);
  text-align: center;
  padding: var(--space-1) 0;
  font-family: var(--font-family-mono);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  position: relative;
  z-index: var(--z-fixed);
}

.classification-banner.bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
}

.classification-text {
  text-transform: uppercase;
}

/* =============================================================================
   HEADER & NAVIGATION
   ============================================================================= */

.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 24px; /* Account for classification banner */
  z-index: var(--z-sticky);
  transition: all var(--transition-normal);
}

.navbar {
  padding: var(--space-3) 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-primary);
}

.navbar-brand:hover {
  color: var(--text-primary);
}

.logo {
  height: 40px;
  width: auto;
  margin-right: var(--space-3);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--navy-primary);
  line-height: 1.2;
}

.brand-tagline {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: -2px;
}

.navbar-nav {
  align-items: center;
  gap: var(--space-2);
}

.nav-link {
  font-weight: 500;
  color: var(--text-primary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy-primary);
  background: rgba(30, 58, 95, 0.05);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--navy-primary);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 80%;
}

.cta-link {
  background: var(--navy-primary);
  color: var(--white) !important;
  font-weight: 600;
  border-radius: var(--radius-lg);
}

.cta-link:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--shadow-medium);
}

.dropdown-menu {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  box-shadow: 0 10px 40px var(--shadow-medium);
  backdrop-filter: blur(10px);
  margin-top: var(--space-2);
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  color: var(--text-primary);
}

.dropdown-item:hover {
  background: var(--background-light);
  color: var(--navy-primary);
}

.dropdown-item i {
  font-size: var(--font-size-lg);
  margin-right: var(--space-3);
  color: var(--text-secondary);
}

.dropdown-item div {
  display: flex;
  flex-direction: column;
}

.dropdown-item strong {
  font-weight: 600;
  margin-bottom: 2px;
}

.dropdown-item small {
  color: var(--text-light);
  font-size: var(--font-size-xs);
}

/* DISABLED - Theme toggle button
.theme-toggle-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: var(--space-2);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.theme-toggle-btn:hover {
  background: var(--background-light);
  color: var(--navy-primary);
  border-color: var(--navy-primary);
}
*/

/* =============================================================================
   HERO SECTION
   ============================================================================= */

.hero-section, .careers-hero-section, .capability-hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--navy-primary);
  color: var(--white);
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.8) 0%, rgba(15, 20, 25, 0.9) 100%);
  z-index: 2;
}

.container { z-index: 3; position: relative; }

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  color: var(--white);
  display: block;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-2xl);
  margin-bottom: var(--space-6);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.badge-icon {
  font-size: var(--font-size-lg);
}

.hero-title {
  font-family: var(--font-family-hero);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 
    0 0 10px rgba(49, 130, 206, 0.5),
    0 0 20px rgba(49, 130, 206, 0.3),
    2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
  animation: heroGlow 4s ease-in-out infinite alternate;
}

.hero-title::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(49, 130, 206, 0.2) 0%, rgba(30, 58, 95, 0.2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(2px);
}

.text-primary {
  color: var(--blue-accent);
}

.hero-description {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-xl);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: var(--space-8);
  color: var(--white);
  max-width: 650px;
  letter-spacing: 0.01em;
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--blue-accent);
  line-height: 1;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--white);
  margin-top: var(--space-1);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  z-index: 3;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.tech-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.tech-card:hover,
.tech-card.active {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.tech-card i {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-3);
  color: var(--blue-accent);
}

.tech-card span {
  display: block;
  font-weight: 600;
  font-size: var(--font-size-sm);
}

/* =============================================================================
   BUTTONS
   ============================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
}

.btn-primary {
  background: var(--red-primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy-primary);
  border-color: var(--white);
}

/* =============================================================================
   SECTIONS
   ============================================================================= */

.capabilities-section {
  padding: var(--space-24) 0;
  background: var(--background-light);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--navy-primary);
  color: var(--white);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-2xl);
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-family-headings);
  font-size: clamp(2rem, 4vw, var(--font-size-4xl));
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: var(--space-4);
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.section-description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =============================================================================
   CAPABILITY CARDS
   ============================================================================= */

.capability-card {
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.capability-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px var(--shadow-medium);
  border-color: var(--navy-primary);
}

.capability-card.featured {
  border-color: var(--red-primary);
  box-shadow: 0 10px 40px rgba(220, 53, 69, 0.1);
}

.capability-card.featured .card-icon {
  background: var(--red-primary);
}

.card-header {
  padding: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-color);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--navy-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--font-size-2xl);
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  align-items: flex-end;
}

.classification,
.clearance {
  font-family: var(--font-family-mono);
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.classification {
  background: var(--green-success);
  color: var(--white);
}

.clearance {
  background: var(--orange-warning);
  color: var(--white);
}

.card-content {
  padding: var(--space-6);
  flex: 1;
}

.card-title {
  font-family: var(--font-family-headings);
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--navy-primary);
  margin-bottom: var(--space-3);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.card-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.capability-list {
  list-style: none;
  margin-bottom: var(--space-6);
}

.capability-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.capability-list i {
  color: var(--green-success);
  font-size: var(--font-size-sm);
}

.card-metrics {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-4);
  background: var(--background-light);
  border-radius: var(--radius-lg);
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.metric-value {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--navy-primary);
  line-height: 1;
}

.metric-label {
  font-size: var(--font-size-xs);
  color: var(--text-light);
  margin-top: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-footer {
  padding: var(--space-6);
  border-top: 1px solid var(--border-color);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--navy-primary);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.card-link:hover {
  color: var(--red-primary);
  transform: translateX(4px);
}

/* =============================================================================
   GALLERY SECTION
   ============================================================================= */

.gallery-section {
  padding: var(--space-24) 0;
  background: var(--background-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/9; /* or 4/3, or whatever you prefer */
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 25px var(--shadow-light);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px var(--shadow-medium);
}

.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  padding: 0;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: var(--space-6);
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  font-family: var(--font-family-headings);
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.gallery-overlay p {
  font-size: var(--font-size-sm);
  opacity: 0.9;
  line-height: 1.4;
}

/* =============================================================================
   TRUST SECTION
   ============================================================================= */

.trust-section {
  padding: var(--space-24) 0;
  background: var(--navy-primary);
  color: var(--white);
}

.trust-section .section-title {
  color: var(--white);
}

.trust-section .section-description {
  color: var(--text-secondary);
}

.trust-stats {
  margin-top: var(--space-8);
}

.trust-stat {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.trust-stat i {
  font-size: var(--font-size-2xl);
  color: var(--blue-accent);
  margin-top: var(--space-1);
}

.trust-stat strong {
  display: block;
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.trust-stat span {
  color: var(--white);
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.cert-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-normal);
}

.cert-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.cert-card i {
  font-size: var(--font-size-2xl);
  color: var(--blue-accent);
  margin-bottom: var(--space-3);
}

.cert-card span {
  font-weight: 600;
  font-size: var(--font-size-sm);
  line-height: 1.4;
}

/* =============================================================================
   LEADERSHIP SECTION
   ============================================================================= */

.leadership-section {
  padding: var(--space-24) 0;
  background: var(--background-light);
}

.leadership-content {
  margin-top: var(--space-12);
}

.leadership-card {
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  display: flex;
  align-items: flex-start;
  gap: var(--space-8);
  box-shadow: 0 10px 40px var(--shadow-light);
}

.leadership-icon {
  width: 80px;
  height: 80px;
  background: var(--navy-primary);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--font-size-3xl);
  flex-shrink: 0;
}

.leadership-text h3 {
  font-family: var(--font-family-headings);
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--navy-primary);
  margin-bottom: var(--space-4);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.leadership-text p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.leadership-quote {
  background: var(--background-light);
  border-left: 4px solid var(--red-primary);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-6) 0;
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--navy-primary);
  font-style: italic;
}

.leadership-values {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.value-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-primary);
  font-weight: 600;
}

.value-item i {
  color: var(--red-primary);
  font-size: var(--font-size-lg);
}

/* =============================================================================
   CTA SECTION
   ============================================================================= */

.cta-section {
  padding: var(--space-16) 0;
  background: var(--gray-dark);
  color: var(--white);
}

.cta-title {
  font-family: var(--font-family-headings);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.cta-description {
  font-size: var(--font-size-lg);
  color: var(--white);
}

.cta-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* =============================================================================
   FOOTER
   ============================================================================= */

.site-footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
  margin-bottom: var(--space-12);
}

.footer-brand {
  margin-bottom: var(--space-8);
}

.footer-logo {
  height: 40px;
  margin-bottom: var(--space-4);
}

.footer-brand h4 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.footer-brand p {
  color: var(--white);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.security-notice {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--green-success);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.footer-column h5 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--white);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: var(--space-2);
}

.footer-column ul li a {
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-column ul li a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--blue-accent);
  transform: translateY(-2px);
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

.contact-info i {
  color: var(--blue-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-8);
}

.copyright {
  color: var(--white);
  font-size: var(--font-size-sm);
}

.footer-links {
  display: flex;
  gap: var(--space-6);
}

.footer-links a {
  color: var(--white);
  font-size: var(--font-size-sm);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
}

/* =============================================================================
   ANIMATIONS
   ============================================================================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroGlow {
  0% {
    text-shadow: 
      0 0 10px rgba(49, 130, 206, 0.5),
      0 0 20px rgba(49, 130, 206, 0.3),
      2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  50% {
    text-shadow: 
      0 0 15px rgba(49, 130, 206, 0.7),
      0 0 30px rgba(49, 130, 206, 0.4),
      0 0 40px rgba(49, 130, 206, 0.2),
      2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  100% {
    text-shadow: 
      0 0 20px rgba(49, 130, 206, 0.8),
      0 0 35px rgba(49, 130, 206, 0.5),
      0 0 50px rgba(49, 130, 206, 0.3),
      2px 2px 4px rgba(0, 0, 0, 0.5);
  }
}

/* =============================================================================
   CAREERS PAGE STYLES
   ============================================================================= */

.careers-hero-section {
  position: relative;
  min-height: 100vh;
  /* Remove flex centering, let Bootstrap handle it */
  background: var(--navy-primary);
  color: var(--white);
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.min-vh-75 {
  min-height: 75vh;
}

/* Benefits Section */
.benefits-section {
  padding: var(--space-20) 0;
  background: var(--background-light);
}

.benefit-card {
  background: var(--white);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-normal);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.benefit-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  z-index: 1;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px var(--shadow-medium);
  border-color: var(--navy-primary);
}

.benefit-card .benefit-icon,
.benefit-card h4,
.benefit-card p {
  position: relative;
  z-index: 2;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: var(--navy-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: var(--white);
  font-size: var(--font-size-2xl);
}

.benefit-card h4 {
  font-family: var(--font-family-headings);
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--navy-primary);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: var(--font-size-sm);
}

/* Positions Section */
.positions-section {
  padding: var(--space-24) 0;
  background: var(--white);
}

.position-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-8);
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px var(--shadow-light);
}

.position-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-medium);
  border-color: var(--navy-primary);
}

.position-card.featured {
  border-color: var(--red-primary);
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.15);
}

.position-card.featured .position-header {
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  color: var(--white);
}

.position-header {
  background: var(--navy-primary);
  color: var(--white);
  padding: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.position-title h3 {
  font-family: var(--font-family-headings);
  font-size: var(--font-size-2xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.position-badges {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-2);
}

.clearance-badge, .type-badge, .location-badge {
  font-family: var(--font-family-mono);
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.clearance-badge.secret {
  background: var(--orange-warning);
  color: var(--white);
}

.clearance-badge.clearable {
  background: var(--green-success);
  color: var(--white);
}

.type-badge {
  background: var(--blue-accent);
  color: var(--white);
}

.type-badge.part-time {
  background: var(--gray-primary);
  color: var(--white);
}

.location-badge {
  background: var(--gray-light);
  color: var(--white);
}

.position-salary {
  text-align: right;
}

.salary-range {
  font-size: var(--font-size-lg);
  font-weight: 600;
  display: block;
}

.experience {
  font-size: var(--font-size-sm);
  opacity: 0.9;
  display: block;
  margin-top: var(--space-1);
}

.position-content {
  padding: var(--space-8);
}

.position-description {
  margin-bottom: var(--space-6);
}

.position-description p {
  font-size: var(--font-size-lg);
  line-height: 1.6;
  color: var(--text-primary);
}

.position-content h5 {
  font-family: var(--font-family-headings);
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--navy-primary);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.position-content h5 i {
  color: var(--red-primary);
}

.requirements-list {
  list-style: none;
  padding: 0;
}

.requirements-list li {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  line-height: 1.5;
}

.requirements-list li:last-child {
  border-bottom: none;
}

.requirements-list li::before {
  content: "▸";
  color: var(--navy-primary);
  font-weight: bold;
  margin-right: var(--space-2);
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.tech-tag {
  background: var(--background-light);
  color: var(--navy-primary);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-xs);
  font-weight: 500;
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.tech-tag:hover {
  background: var(--navy-primary);
  color: var(--white);
  transform: translateY(-1px);
}

.position-benefits {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--background-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.benefit-item:hover {
  background: var(--navy-primary);
  color: var(--white);
  transform: translateX(4px);
}

.benefit-item i {
  font-size: var(--font-size-lg);
  color: var(--red-primary);
  flex-shrink: 0;
}

.benefit-item:hover i {
  color: var(--white);
}

.benefit-item span {
  font-weight: 500;
}

/* Application CTA Section */
.application-cta-section {
  padding: var(--space-16) 0;
  background: var(--gray-dark);
  color: var(--white);
}

.application-cta-section .cta-title {
  color: var(--white);
}

.application-cta-section .cta-description {
  color: var(--white);
}

/* =============================================================================
   CONTACT PAGE STYLES
   ============================================================================= */

.contact-hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-primary);
  color: var(--white);
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.contact-highlights {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.highlight-item i {
  font-size: var(--font-size-lg);
  color: var(--red-primary);
}

.highlight-item span {
  font-weight: 500;
  color: var(--white);
}

.contact-methods {
  display: grid;
  gap: var(--space-4);
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px var(--shadow-light);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px var(--shadow-medium);
  border-color: var(--navy-primary);
}

.contact-card.urgent {
  border-color: var(--red-primary);
  background: linear-gradient(135deg, var(--white), #fef8f8);
}

.contact-card.urgent .contact-icon {
  background: var(--red-primary);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--navy-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--font-size-xl);
  flex-shrink: 0;
}

.contact-info h4 {
  font-family: var(--font-family-headings);
  color: var(--navy-primary);
  margin-bottom: var(--space-2);
  font-size: var(--font-size-lg);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.contact-info p {
  color: var(--white);
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
}

.contact-link {
  color: var(--navy-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.contact-link:hover {
  color: var(--red-primary);
}

/* Contact Form Section */
.contact-form-section {
  padding: var(--space-24) 0;
  background: var(--background-light);
}

.form-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  box-shadow: 0 8px 25px var(--shadow-medium);
  border: 1px solid var(--border-color);
}

.form-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.professional-form .form-group {
  margin-bottom: var(--space-6);
}

.professional-form .form-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-family-headings);
  font-weight: 600;
  color: var(--navy-primary);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  font-size: var(--font-size-sm);
  letter-spacing: 0.01em;
}

.professional-form .form-label i {
  color: var(--red-primary);
  font-size: var(--font-size-base);
}

.required {
  color: var(--red-primary);
  font-weight: 700;
}

.professional-form .form-control {
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  font-size: var(--font-size-base);
  transition: all var(--transition-normal);
  color: var(--text-primary);
}

.professional-form .form-control:focus {
  border-color: var(--navy-primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
  outline: none;
}

.professional-form .form-control:invalid {
  border-color: var(--red-primary);
}

.professional-form .form-control:valid {
  border-color: var(--green-success);
}

.professional-form select.form-control {
  cursor: pointer;
}

.form-feedback {
  font-size: var(--font-size-xs);
  margin-top: var(--space-1);
  min-height: 1.2em;
}

.character-count {
  color: var(--text-light);
  font-size: var(--font-size-xs);
  margin-top: var(--space-2);
}

.form-disclaimer {
  margin: var(--space-6) 0;
}

.disclaimer-box {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.disclaimer-box i {
  color: #856404;
  font-size: var(--font-size-lg);
  flex-shrink: 0;
  margin-top: 2px;
}

.disclaimer-box div {
  color: #856404;
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.form-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

/* Additional Contact Information */
.additional-contact-section {
  padding: var(--space-20) 0;
  background: var(--white);
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-normal);
  height: 100%;
  box-shadow: 0 4px 12px var(--shadow-light);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px var(--shadow-medium);
  border-color: var(--navy-primary);
}

.info-icon {
  width: 60px;
  height: 60px;
  background: var(--navy-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: var(--white);
  font-size: var(--font-size-2xl);
}

.info-card h4 {
  font-family: var(--font-family-headings);
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--navy-primary);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.info-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-sm);
}

.info-card ul {
  list-style: none;
  padding: 0;
}

.info-card ul li {
  padding: var(--space-2) 0;
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  border-bottom: 1px solid var(--border-color);
}

.info-card ul li:last-child {
  border-bottom: none;
}

.info-card ul li::before {
  content: "▸";
  color: var(--navy-primary);
  font-weight: bold;
  margin-right: var(--space-2);
}

.info-card ul li strong {
  color: var(--blue-accent, #3182ce) !important;
}

/* =============================================================================
   PRIVACY PAGE STYLES
   ============================================================================= */

.privacy-hero-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: var(--navy-primary);
  color: var(--white);
  overflow: hidden;
}

.compliance-badges {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

.compliance-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.compliance-item i {
  font-size: var(--font-size-lg);
  color: var(--red-primary);
}

.toc-sidebar {
  position: sticky;
  top: 120px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: 0 4px 12px var(--shadow-light);
  border: 1px solid var(--border-color);
}

.toc-sidebar h4 {
  font-family: var(--font-family-headings);
  color: var(--navy-primary);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-lg);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.toc-list {
  list-style: none;
  padding: 0;
}

.toc-list li {
  margin-bottom: var(--space-2);
}

.toc-list a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-lg);
  display: block;
  transition: all var(--transition-fast);
  font-size: var(--font-size-sm);
}

.toc-list a:hover,
.toc-list a.active {
  background: var(--navy-primary);
  color: var(--white);
  transform: translateX(4px);
}

.privacy-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: 0 4px 12px var(--shadow-light);
  border: 1px solid var(--border-color);
}

.content-section {
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border-color);
}

.content-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.content-section .section-header h2 {
  color: var(--navy-primary);
  font-family: var(--font-family-headings);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.last-updated {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  font-style: italic;
}

.important-notice {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin: var(--space-6) 0;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.important-notice i {
  color: #856404;
  font-size: var(--font-size-lg);
  flex-shrink: 0;
}

.important-notice div {
  color: #856404;
  font-size: var(--font-size-sm);
}

/* =============================================================================
   CAPABILITY PAGE STYLES
   ============================================================================= */

.capability-hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 6rem;
  padding-bottom: 6rem;
  background: var(--navy-primary);
  color: var(--white);
  overflow: hidden;
}

.capability-hero-section .container {
  position: relative;
  z-index: 3;
}

.capability-stats {
  display: flex;
  gap: var(--space-8);
  justify-content: center;
  margin: var(--space-8) 0;
  flex-wrap: wrap;
}

.core-solutions-section {
  padding: var(--space-24) 0;
  background: var(--white);
}

.solution-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  height: 100%;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px var(--shadow-light);
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px var(--shadow-medium);
  border-color: var(--navy-primary);
}

.solution-card.featured {
  border-color: var(--red-primary);
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.15);
}

.solution-icon {
  width: 60px;
  height: 60px;
  background: var(--navy-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-4);
}

.solution-card.featured .solution-icon {
  background: var(--red-primary);
}

.solution-content h3 {
  font-family: var(--font-family-headings);
  color: var(--navy-primary);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-xl);
  font-weight: 600;
}

.solution-features {
  margin: var(--space-6) 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.feature-item i {
  color: var(--green-success);
  font-size: var(--font-size-base);
}

.solution-tech h5 {
  color: var(--navy-primary);
  margin-bottom: var(--space-3);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.technical-approach-section {
  padding: var(--space-24) 0;
  background: var(--background-light);
}

.method-item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.method-icon {
  width: 50px;
  height: 50px;
  background: var(--navy-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--font-size-lg);
  flex-shrink: 0;
}

.method-content h4 {
  color: var(--navy-primary);
  margin-bottom: var(--space-2);
}

.process-visualization {
  position: relative;
  padding: var(--space-6);
}

.process-step {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-4);
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px var(--shadow-light);
}

.process-step:hover {
  background: rgba(74, 144, 226, 0.1);
  border-color: var(--navy-primary);
}

.step-icon {
  width: 40px;
  height: 40px;
  background: var(--navy-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: var(--space-3);
}

.process-step h5 {
  color: var(--navy-primary);
  margin-bottom: var(--space-2);
}

.technology-stack-section {
  padding: var(--space-24) 0;
  background: var(--white);
}

.tech-categories {
  margin-top: var(--space-10);
}

.tech-category {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  height: 100%;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px var(--shadow-light);
}

.tech-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px var(--shadow-medium);
  border-color: var(--navy-primary);
}

.category-icon {
  width: 60px;
  height: 60px;
  background: var(--navy-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: var(--white);
  font-size: var(--font-size-2xl);
}

.tech-category h4 {
  color: var(--navy-primary);
  margin-bottom: var(--space-4);
  font-family: var(--font-family-headings);
}

.tech-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.tech-item {
  background: rgba(74, 144, 226, 0.1);
  color: var(--navy-primary);
  border: 1px solid var(--navy-primary);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.tech-item:hover {
  background: rgba(74, 144, 226, 0.2);
}

.specialized-tech {
  padding-top: var(--space-12);
  border-top: 1px solid var(--border-color);
}

.spec-tech-card {
  background: rgba(45, 55, 72, 0.5);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  height: 100%;
  transition: all var(--transition-normal);
}

.spec-tech-card:hover {
  background: rgba(45, 55, 72, 0.8);
  color: var(--white);
  transform: translateY(-4px);
}

.spec-tech-card i {
  font-size: var(--font-size-3xl);
  color: var(--red-primary);
  margin-bottom: var(--space-3);
  display: block;
}

.spec-tech-card:hover i {
  color: var(--white);
}

.spec-tech-card h5 {
  color: var(--navy-primary);
  margin-bottom: var(--space-3);
}

.spec-tech-card:hover h5 {
  color: var(--white);
}

.why-choose-section {
  padding: var(--space-24) 0;
  background: var(--background-light);
}

.advantage-item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.advantage-icon {
  width: 50px;
  height: 50px;
  background: var(--red-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--font-size-lg);
  flex-shrink: 0;
}

.advantage-content h4 {
  color: var(--navy-primary);
  margin-bottom: var(--space-2);
}

.metrics-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.metric-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px var(--shadow-light);
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px var(--shadow-medium);
  border-color: var(--navy-primary);
}

.metric-icon {
  width: 50px;
  height: 50px;
  background: var(--navy-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3);
  color: var(--white);
  font-size: var(--font-size-lg);
}

.metric-number {
  font-family: var(--font-family-headings);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--navy-primary);
  display: block;
  margin-bottom: var(--space-2);
}

.metric-label {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.software-cta-section {
  padding: var(--space-16) 0;
  background: var(--gray-dark);
  color: var(--white);
}

.software-cta-section .cta-title,
.software-cta-section .cta-description {
  color: var(--white);
}

/* =============================================================================
   TEAM GALLERY SECTION
   ============================================================================= */

.team-gallery-section {
  padding: var(--space-24) 0;
  background: var(--white);
}

.team-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
  align-items: start;
}

.team-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/2;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 25px var(--shadow-light);
  height: 280px;
  background: var(--background-light);
  margin: 0;
  padding: 0;
}

.team-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px var(--shadow-medium);
}



.team-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-normal);
  margin: 0;
  padding: 0;
}

.team-item:hover img {
  transform: scale(1.05);
}

.team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(30, 58, 95, 0.9));
  color: var(--white);
  padding: var(--space-6);
  transform: translateY(100%);
  transition: transform var(--transition-normal);
  backdrop-filter: blur(4px);
}

.team-item:hover .team-overlay {
  transform: translateY(0);
}

.team-overlay h4 {
  font-family: var(--font-family-headings);
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.team-overlay p {
  font-size: var(--font-size-sm);
  opacity: 0.9;
  line-height: 1.4;
}

/* =============================================================================
   MISSION & PURPOSE SECTION
   ============================================================================= */

.mission-section {
  padding: var(--space-24) 0;
  background: var(--background-light);
}

.mission-content {
  margin-top: var(--space-12);
}

.mission-text {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-6);
  max-width: 800px;
}

.mission-values {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.value-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-primary);
  font-weight: 600;
}

.value-item i {
  color: var(--red-primary);
  font-size: var(--font-size-lg);
}

/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */

@media (max-width: 768px) {
  .hero-stats {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
  }
  
  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .leadership-card {
    flex-direction: column;
    text-align: center;
  }
  
  .leadership-values {
    flex-direction: column;
    gap: var(--space-3);
  }
  
  .cta-actions {
    flex-direction: column;
  }
  
  .brand-text {
    display: none;
  }
  
  .trust-stats {
    margin-top: var(--space-6);
  }
  
  .trust-stat {
    flex-direction: column;
    text-align: center;
    gap: var(--space-2);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .gallery-item.featured {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .gallery-overlay {
    transform: translateY(0);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  }

  .team-gallery {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .team-item.featured {
    grid-column: span 1;
  }
  
  .team-overlay {
    transform: translateY(0);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  }
}

@media (max-width: 576px) {
  .certifications-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--space-2);
  }
}

/* =============================================================================
   ACCESSIBILITY & USER PREFERENCES
   ============================================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: high) {
  .capability-card,
  .leadership-card {
    border-width: 2px;
  }
  
  .btn {
    border-width: 2px;
  }
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--blue-accent);
  outline-offset: 2px;
}

.btn:focus-visible {
  outline-color: var(--white);
}

/* Print styles */
@media print {
  .classification-banner,
  .site-header,
  .cta-section,
  .site-footer {
    display: none !important;
  }
  
  .hero-section {
    background: var(--white) !important;
    color: var(--black) !important;
    min-height: auto;
  }
  
  .capability-card,
  .leadership-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid var(--black);
  }
}

/* Consistent section spacing */
.main-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Consistent header and description styling */
.section-header {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.section-description {
  font-size: 1.25rem;
  color: var(--text-secondary, #6c757d);
  text-align: center;
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .main-section,
  .section-padding {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .section-title {
    font-size: 2rem;
  }
}

.capability-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;    
}

@media (max-width: 767.98px) {
  .gallery-item img {
    max-height: 180px;
  }
}

[data-theme="dark"] .benefits-section,
[data-theme="dark"] .positions-section,
[data-theme="dark"] .core-solutions-section,
[data-theme="dark"] .team-gallery-section,
[data-theme="dark"] .mission-section,
[data-theme="dark"] .gallery-section,
[data-theme="dark"] .contact-form-section,
[data-theme="dark"] .additional-contact-section,
[data-theme="dark"] .privacy-content,
[data-theme="dark"] .capabilities-section,
[data-theme="dark"] .main-section,
[data-theme="dark"] .section-padding {
  background: var(--background-dark) !important;
  color: var(--text-white) !important;
}

[data-theme="dark"] .benefit-card,
[data-theme="dark"] .position-card,
[data-theme="dark"] .solution-card,
[data-theme="dark"] .info-card,
[data-theme="dark"] .highlight-item,
[data-theme="dark"] .capability-card,
[data-theme="dark"] .metric-card,
[data-theme="dark"] .team-item,
[data-theme="dark"] .gallery-item,
[data-theme="dark"] .form-container,
[data-theme="dark"] .privacy-content,
[data-theme="dark"] .toc-sidebar {
  background: rgba(45, 55, 72, 0.85) !important;
  color: var(--text-white) !important;
  border-color: var(--border-color) !important;
}

[data-theme="dark"] .card-title,
[data-theme="dark"] .benefit-card h4,
[data-theme="dark"] .position-title h3,
[data-theme="dark"] .solution-content h3,
[data-theme="dark"] .info-card h4,
[data-theme="dark"] .section-title {
  color: var(--text-white) !important;
}

[data-theme="dark"] .card-description,
[data-theme="dark"] .benefit-card p,
[data-theme="dark"] .position-description p,
[data-theme="dark"] .solution-content p,
[data-theme="dark"] .info-card p,
[data-theme="dark"] .section-description {
  color: var(--text-secondary) !important;
}

.site-header,
[data-theme="dark"] .site-header {
  transition: background-color var(--theme-transition), color var(--theme-transition), border-color var(--theme-transition);
}

/* =============================================================================
   PERFORMANCE OPTIMIZATIONS
   ============================================================================= */

/* Optimize animations for better performance */
.site-header,
.capability-card,
.gallery-item,
.cert-card,
.leadership-card,
.benefit-card,
.position-card,
.contact-card,
.info-card,
.solution-card,
.method-item,
.process-step,
.tech-category,
.spec-tech-card,
.advantage-item,
.metric-card,
.team-item,
.value-item {
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Smooth transitions for interactive elements */
.nav-link,
.btn,
.card-link,
.dropdown-item {
  transition: all var(--transition-fast);
}

/* Optimize scroll performance */
.site-header {
  will-change: transform, background-color;
  backface-visibility: hidden;
}

/* =============================================================================
   BASE STYLES
   ============================================================================= */

/* =============================================================================
   LOADING ANIMATIONS
   ============================================================================= */

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background-light);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.page-loader::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top: 3px solid var(--navy-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* =============================================================================
   ANIMATION CLASSES
   ============================================================================= */

.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================================================================
   PERFORMANCE OPTIMIZATIONS
   ============================================================================= */