:root {
  /* ============================================
     GLOBAL: COLOR PALETTE
     ============================================ */
  --primary-blue: #0061ff;
  --primary-dark: #0052d9;
  --secondary-gray: #6b7280;
  --accent-green: #10b981;
  --accent-orange: #f59e0b;
  --error-red: #ef4444;
  --warning-yellow: #eab308;
  
  /* ============================================
     GLOBAL: TEXT COLORS
     ============================================ */
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --text-light: #e5e7eb;
  --text-white: #ffffff;
  
  /* ============================================
     GLOBAL: BACKGROUND COLORS
     ============================================ */
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-gray: #f1f5f9;
  --bg-dark: #1e293b;
  --bg-body: #ffffff;
  --bg-error-light: rgba(239, 68, 68, 0.1);
  
  /* ============================================
     GLOBAL: BORDER COLORS
     ============================================ */
  --border-light: #e2e8f0;
  --border-default: #cbd5e1;
  --border-dark: #64748b;
  
  /* ============================================
     GLOBAL: TYPOGRAPHY SYSTEM
     ============================================ */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Inter', sans-serif;
  
  /* Fluid Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 1.875rem);
  --text-3xl: clamp(1.875rem, 1.6rem + 1.375vw, 2.25rem);
  --text-4xl: clamp(2.25rem, 1.9rem + 1.75vw, 3rem);
  --text-5xl: clamp(3rem, 2.5rem + 2.5vw, 4rem);
  
  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  
  /* Line Heights */
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* ============================================
     GLOBAL: SPACING SCALE
     ============================================ */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-2-5: 0.625rem; 
  --space-3: 0.75rem;
  --space-3-5: 0.875rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* ============================================
     GLOBAL: BORDER RADIUS
     ============================================ */
  --radius-none: 0;
  --radius-sm: 0.125rem;
  --radius-base: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-4xl: 2rem;
  --radius-full: 9999px;
  
  /* ============================================
     GLOBAL: SHADOWS
     ============================================ */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* ============================================
     GLOBAL: TRANSITIONS
     ============================================ */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  
  /* ============================================
     GLOBAL: Z-INDEX LAYERS
     ============================================ */
  --z-base: 0;
  --z-dropdown: 10;
  --z-content-ui: 15;
  --z-sticky: 20;
  --z-overlay: 30;
  --z-modal: 40;
  --z-popover: 50;
  --z-tooltip: 60;
  
  /* ============================================
     COMPONENT: DROPDOWN MOBILE SYSTEM
     Variables for mobile dropdown behavior
     ============================================ */
  
  /* Dropdown scrollable area */
  --dropdown-mobile-max-height: calc(100vh - var(--navbar-height) - 100px);
  
  /* Scrollbar styling */
  --dropdown-scrollbar-width: 6px;
  --dropdown-scrollbar-track-bg: rgba(255, 255, 255, 0.1);
  --dropdown-scrollbar-thumb-bg: rgba(255, 255, 255, 0.3);
  --dropdown-scrollbar-thumb-hover-bg: rgba(255, 255, 255, 0.5);
  
  /* Dropdown mobile colors - consistent with navbar mobile design */
  --dropdown-mobile-text-color: rgba(255, 255, 255, 0.9);
  --dropdown-mobile-text-hover: var(--text-white);
  --dropdown-mobile-bg-hover: rgba(255, 255, 255, 0.1);
  --dropdown-mobile-border-hover: var(--text-white);
  
  /* Touch target minimum (following Apple/Google guidelines) */
  --mobile-touch-target-min: calc(var(--space-4) * 2 + var(--text-base) * var(--leading-normal));  
  
  /* ============================================
     GLOBAL: ICON SIZING SYSTEM
     Reusable across all pages
     ============================================ */
  --icon-xs: 35px;
  --icon-sm: 40px;
  --icon-md: 50px;
  --icon-lg: 60px;
  --icon-xl: 70px;
  --icon-2xl: 80px;
  
  /* ============================================
     GLOBAL: POSITIONING HELPERS
     ============================================ */
  --timeline-offset: 30px;
  --timeline-offset-md: 50px;
  
  /* ============================================
     COMPONENT: NAVBAR
     ============================================ */
  --navbar-hover-bg: rgba(255, 255, 255, 0.15);
  --navbar-focus-bg: rgba(255, 255, 255, 0.15);
  --navbar-default-bg: transparent;
  --navbar-active-bg: var(--primary-dark);
  --navbar-transition: background-color var(--transition-base), color var(--transition-base);
  --navbar-height: 71px;
  --navbar-toggle-bg: rgba(255, 255, 255, 0.1);
  --navbar-toggle-bg-hover: rgba(255, 255, 255, 0.2);
  --navbar-toggle-bg-active: var(--bg-dark);
  --navbar-toggle-bg-focus: rgba(255, 255, 255, 0.15);
  --navbar-touch-transition: background-color var(--transition-base);
  --navbar-touch-reset-delay: 50ms;
  
  /* ============================================
     LAYOUT: CONTAINER SYSTEM
     ============================================ */
  --container-max: min(100vw - 2rem, 1400px);
  --container-padding: clamp(1rem, 2.5vw, 3rem);
  
  /* ============================================
     LAYOUT: VIEWPORT & HEIGHTS
     ============================================ */
  --viewport-height-mobile: 100dvh;
  --viewport-height-fallback: 100vh;
  --minimum-slider-height: 600px;
  
  /* ============================================
     LAYOUT: GRID SYSTEMS
     Reusable across multiple pages
     ============================================ */
  --grid-columns-service: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  --grid-columns-tool: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  --grid-columns-feature: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  --grid-columns-stat: repeat(2, 1fr);
  --grid-columns-update: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  --grid-columns-tech: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  
  --grid-gap-sm: var(--space-6);
  --grid-gap-md: var(--space-8);
  --grid-gap-lg: var(--space-10);
  
  /* ============================================
     LAYOUT: SECTION SPACING
     ============================================ */
  --section-margin-vertical: var(--space-20);
  --section-padding-vertical: var(--space-12);
  --media-max-height: min(50vw, 600px);
  
  /* ============================================
     HOMEPAGE: SLIDER NAVIGATION
     ============================================ */
  --slider-nav-justify: space-between;
  --slider-nav-align: center;
  --slider-nav-gap: var(--space-0);
  
  /* ============================================
     HOMEPAGE: CONTACT BAR
     ============================================ */
  --contact-bar-justify: flex-start;
  --contact-bar-gap: var(--space-5);
  --contact-bar-wrap: wrap;
  --nav-dots-display: flex;
  --contact-items-display: flex;
  --contact-item-3-display: flex;
  --contact-item-4-display: flex;
  
  /* ============================================
     HOMEPAGE: FEATURE CONTAINERS
     ============================================ */
  --feature-container-layout: row;
  --feature-container-gap: var(--space-6);
  --feature-container-max-width: 100%;
  --feature-container-margin: 0 auto var(--space-8) auto;
  --feature-container-columns: var(--grid-columns-feature);
  
  --feature-item-direction: row;
  --feature-item-align: center;
  --feature-item-gap: var(--space-3);
  --feature-item-padding: var(--space-3) var(--space-5);
  --feature-item-background: rgba(255, 255, 255, 0.1);
  --feature-item-radius: var(--radius-lg);
  --feature-item-font-size: var(--text-base);
  
  /* ============================================
     HOMEPAGE: SERVICE CONTAINERS
     ============================================ */
  --service-container-layout: grid;
  --service-container-columns: var(--grid-columns-service);
  --service-container-gap: var(--grid-gap-md);
  --service-container-max-width: 100%;
  --service-container-margin: 0 auto var(--space-8) auto;
  
  --service-item-direction: column;
  --service-item-align: center;
  --service-item-text-align: center;
  --service-item-padding: var(--space-6);
  --service-item-background: rgba(255, 255, 255, 0.1);
  --service-item-radius: var(--radius-xl);
  
  /* ============================================
     HOMEPAGE: TECH FEATURES
     ============================================ */
  --tech-container-layout: row;
  --tech-container-gap: var(--space-8);
  --tech-container-max-width: 100%;
  --tech-container-margin: 0 auto var(--space-8) auto;
  --tech-container-columns: var(--grid-columns-tech);
  
  --tech-item-direction: column;
  --tech-item-align: center;
  --tech-item-gap: var(--space-3);
  --tech-item-padding: var(--space-6);
  --tech-item-min-width: 180px;
  --tech-item-background: rgba(255, 255, 255, 0.1);
  --tech-item-radius: var(--radius-xl);
  
  /* ============================================
     HOMEPAGE: TOOLS GRID
     ============================================ */
  --tool-container-columns: var(--grid-columns-tool);
  --tool-container-gap: var(--grid-gap-md);
  --tool-container-max-width: 100%;
  
  /* ============================================
     HOMEPAGE: STATS CONTAINER
     ============================================ */
  --stat-container-columns: repeat(2, 1fr);
  --stat-container-gap: var(--grid-gap-md);
  --stat-container-max-width: 500px;
  --stat-container-margin: 0 auto;
  
  /* ============================================
     HOMEPAGE: UPDATES/BLOG GRID
     ============================================ */
  --update-container-columns: var(--grid-columns-update);
  --update-container-gap: var(--grid-gap-md);
  
  /* ============================================
     HOMEPAGE: BUTTON CONTAINERS
     ============================================ */
  --button-container-direction: row;
  --button-container-gap: var(--space-4);
  --button-container-justify: center;
  --button-container-wrap: wrap;
  
  --button-padding: var(--space-4) var(--space-8);
  --button-font-size: var(--text-base);
  --button-font-weight: var(--font-semibold);
  --button-radius: var(--radius-lg);
  
  /* ============================================
     HOMEPAGE: SPACING OVERRIDES
     ============================================ */
  --hero-bottom-spacing: var(--space-20);
  --homepage-hero-bottom-spacing: var(--space-0);
  --homepage-video-section-margin: var(--space-0);
  
  /* ============================================
     RESPONSIVE: BREAKPOINT SYSTEM
     ============================================ */
  --layout-breakpoint: 992px;
  
  /* ============================================
     COMPONENT: VERTICAL SIDEBAR SERVICES DROPDOWN
     Add these to :root section in style.css
     ============================================ */

  /* Vertical Sidebar Dimensions */
  --sidebar-width: 280px;
  --sidebar-min-width: 260px;
  --sidebar-max-width: 300px;

  /* Dropdown Container Sizes */
  --services-dropdown-width: min(1050px, calc(100vw - 60px));
  --services-dropdown-min-width: 950px;
  --services-dropdown-min-height: 400px;
  --services-dropdown-max-height: 500px;

  /* Sidebar Colors */
  --sidebar-bg-start: #f8fafc;
  --sidebar-bg-end: #f1f5f9;
  --sidebar-border: var(--border-light);
  --sidebar-tab-active-bg: var(--bg-white);
  --sidebar-tab-hover-bg: rgba(255, 255, 255, 0.6);

  /* Sidebar Spacing */
  --sidebar-padding-vertical: var(--space-5);
  --sidebar-padding-horizontal: var(--space-5);
  --sidebar-gap: var(--space-1);
  --sidebar-content-padding: var(--space-6);

  /* Tab Dimensions */
  --sidebar-tab-padding: var(--space-3-5) var(--space-5);
  --sidebar-tab-border-width: 3px;
  --sidebar-tab-icon-size: 16px;
  --sidebar-tab-chevron-size: 12px;

  /* Service Card Styling */
  --service-card-padding: var(--space-3) var(--space-3-5);
  --service-card-gap: var(--space-2-5);
  --service-card-border-radius: var(--radius-lg);
  --service-card-hover-translate: 4px;

  /* Panel Styling */
  --panel-header-gap: var(--space-2-5);
  --panel-title-font-size: 16px;
  --panel-grid-gap: var(--space-2-5);
  --panel-grid-min-width: 240px;

  /* Footer Styling */
  --services-footer-padding: var(--space-4) var(--space-6);
  --services-footer-gap: var(--space-4);
  --services-footer-border-width: 2px;

  /* Transitions */
  --sidebar-transition: all var(--transition-base);
  --sidebar-tab-transition: all var(--transition-base);
  --service-card-transition: all var(--transition-base);  
  
  /* ============================================
     COMPONENT: DROPDOWN SYSTEM
     ============================================ */

  /* Dropdown dimensions - responsive and content-aware */
  --dropdown-max-width: clamp(16rem, 20vw, 25rem);  
}

@media (max-width: 480px) {
  :root {
    --navbar-container-padding: 10px;
    --navbar-header-padding: 4px;
    --navbar-brand-margin: 6px;
    --navbar-button-size: 44px;
    --navbar-button-spacing: 6px;
    --navbar-brand-max-width: calc(100vw - 120px);
  }
}

@media (max-width: 390px) {
  :root {
    --navbar-container-padding: 8px;
    --navbar-header-padding: 4px;
    --navbar-brand-margin: 6px;
    --navbar-button-size: 40px;
    --navbar-button-spacing: 4px;
    --navbar-brand-max-width: calc(100vw - 100px);
    --text-xs: 0.75rem;
    --contact-bar-gap: var(--space-2);
    --contact-item-padding: var(--space-1) var(--space-3);
    --contact-item-font-size: var(--text-xs);
    --contact-icon-spacing: var(--space-2);
    --container-padding: var(--space-2);
    --stat-container-columns: 1fr;
    --stat-container-gap: var(--space-3);
    --stat-container-max-width: 100%;
    --stat-container-margin: 0;
  }
}

@media (max-width: 360px) {
  :root {
    --navbar-container-padding: 6px;
    --navbar-header-padding: 2px;
    --navbar-brand-margin: 4px;
    --navbar-button-size: 36px;
    --navbar-button-spacing: 3px;
    --navbar-brand-max-width: calc(100vw - 90px);
  }
}

@media (min-width: 391px) and (max-width: 575px) {
  :root {
    --stat-container-columns: repeat(2, 1fr);
    --stat-container-gap: var(--space-4);
    --stat-container-max-width: 100%;
    --stat-container-margin: 0 auto;
  }
}

@media (min-width: 576px) and (max-width: 1199px) {
  :root {
    --stat-container-columns: repeat(2, 1fr);
    --stat-container-gap: var(--space-4);
    --stat-container-max-width: 500px;
    --stat-container-margin: 0 auto;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  :root {
    --stat-container-columns: repeat(2, 1fr);
    --stat-container-gap: var(--space-4);
    --stat-container-max-width: 500px;
    --stat-container-margin: 0 auto;
  }
}

@media (min-width: 1600px) and (max-width: 1799px) {
  :root {
    --stat-container-columns: repeat(2, 1fr);
    --stat-container-gap: var(--space-6);
    --stat-container-max-width: 520px;
    --stat-container-margin: 0 auto;
  }
}

@media (min-width: 1800px) {
  :root {
    --stat-container-columns: repeat(4, 1fr);
    --stat-container-gap: var(--space-6);
    --stat-container-max-width: 760px;
    --stat-container-margin: 0 auto;
  }
}

@media (max-width: 576px) {
  :root {
    --container-max: min(100vw - 1rem, 100%);
    --container-padding: var(--space-2);
    --grid-gap-sm: var(--space-2);
    --grid-gap-md: var(--space-3);
    --grid-gap-lg: var(--space-4);
    --feature-container-layout: column;
    --feature-container-gap: var(--space-3);
    --feature-container-max-width: 100%;
    --feature-container-margin: 0 auto var(--space-6) auto;
    --feature-item-direction: row;
    --feature-item-align: center;
    --feature-item-gap: var(--space-3);
    --feature-item-padding: var(--space-3) var(--space-4);
    --feature-item-font-size: var(--text-sm);
    --service-container-layout: column;
    --service-container-columns: 1fr;
    --service-container-gap: var(--space-3);
    --service-container-max-width: 100%;
    --service-item-direction: row;
    --service-item-align: center;
    --service-item-text-align: left;
    --service-item-padding: var(--space-3) var(--space-4);
    --tech-container-layout: column;
    --tech-container-gap: var(--space-3);
    --tech-container-max-width: 100%;
    --tech-item-direction: row;
    --tech-item-align: center;
    --tech-item-gap: var(--space-3);
    --tech-item-padding: var(--space-3) var(--space-4);
    --tech-item-min-width: auto;
    --button-container-direction: column;
    --button-container-gap: var(--space-3);
    --button-container-justify: center;
    --button-container-wrap: nowrap;
    --button-padding: var(--space-4) var(--space-4);
    --button-container-max-width: 100%;
    --button-font-size: var(--text-sm);
    --slider-top-offset: calc(var(--navbar-height) + var(--space-6));
    --section-margin-vertical: 0;
    --section-padding-vertical: var(--space-6);
    --hero-bottom-spacing: 0;
    --icon-2xl: 60px;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  :root {
    --container-max: min(100vw - 2rem, 100%);
    --container-padding: var(--space-4);
    --section-margin-vertical: 0;
    --section-padding-vertical: var(--space-8);
    --hero-bottom-spacing: 0;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  :root {
    --container-max: min(100vw - 3rem, 1200px);
    --container-padding: var(--space-6);
  }
}

@media (min-width: 1025px) and (max-width: 1600px) {
  :root {
    --container-max: min(100vw - 4rem, 1400px);
    --container-padding: var(--space-8);
  }
}

@media (min-width: 1601px) {
  :root {
    --container-max: min(100vw - 6rem, 1600px);
    --container-padding: var(--space-12);
  }
}

@media (min-width: 2200px) {
  :root {
    --container-max: min(100vw - 8rem, 1800px);
    --container-padding: var(--space-16);
  }
}

@media (max-width: 991px) {
  :root {
    --slider-nav-justify: center;
    --slider-nav-gap: var(--space-4);
    --contact-bar-justify: center;
    --contact-bar-gap: var(--space-3);
    --nav-dots-display: none;
    --contact-item-3-display: none;
    --contact-item-4-display: none;
  }
}

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

*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
}

/* ================================================
   CONTAINER SYSTEM
   ================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

.container-fluid {
  width: 100%;
  padding: 0 var(--container-padding);
}

.container-fluid-responsive {
  max-width: min(100vw - 2rem, 1600px);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3vw, 4rem);
}

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

[class*="col-"] {
  position: relative;
  padding: 0 var(--space-3);
  flex: 1 0 auto;
  min-height: 1px;
}

.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col { flex: 1 0 0%; }

@media (min-width: 576px) {
  .col-sm-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-sm-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
  .col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-sm-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
  .col-sm-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-sm-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-sm-9 { flex: 0 0 75%; max-width: 75%; }
  .col-sm-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-sm-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
  .col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-9 { flex: 0 0 75%; max-width: 75%; }
  .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
  .col-lg-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
  .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 1200px) {
  .col-xl-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-xl-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
  .col-xl-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-xl-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
  .col-xl-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-xl-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-xl-9 { flex: 0 0 75%; max-width: 75%; }
  .col-xl-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-xl-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-xl-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (max-width: 991px) {
  .col-md-1, .col-md-2, .col-md-3, .col-md-4, 
  .col-md-5, .col-md-6, .col-md-7, .col-md-8, 
  .col-md-9, .col-md-10, .col-md-11, .col-md-12,
  .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4,
  .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8,
  .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ================================================
   TYPOGRAPHY SYSTEM
   ================================================ */
h1, .h1 {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  letter-spacing: -0.025em;
}

h2, .h2 {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--text-primary);
  margin-bottom: var(--space-5);
  letter-spacing: -0.02em;
}

h3, .h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  line-height: var(--leading-snug);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

h4, .h4 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  line-height: var(--leading-snug);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

h5, .h5 {
  font-size: var(--text-lg);
  font-weight: var(--font-medium);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

h6, .h6 {
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  font-weight: var(--font-normal);
  margin-bottom: var(--space-6);
}

/* ================================================
   PAGE TITLE COMPONENT - Professional Design
   ================================================ */
.page-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  text-align: center;
  margin: 0 auto var(--space-6);
  padding: 0 var(--space-4) var(--space-4);
  position: relative;
  letter-spacing: -0.02em;
  line-height: var(--leading-tight);
  max-width: 800px;
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  border-radius: var(--radius-full);
  display: block;
  box-shadow: 0 2px 8px rgba(0, 97, 255, 0.3);
}

/* Page content spacing after navbar */
.page-content,
.article-content {
  padding-top: var(--space-4);
}

/* Responsive adjustments for page title */
@media (max-width: 991px) {
  .page-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-5);
  }
  
  .page-title::after {
    width: 60px;
    height: 3px;
  }
}

@media (max-width: 575px) {
  .page-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: var(--space-5);
    padding: 0 var(--space-3) var(--space-5);
  }
  
  .page-title::after {
    width: 50px;
  }
  
  .page-content,
  .article-content {
    padding-top: var(--space-6);
  }
}

@media (max-width: 390px) {
  .page-title {
    font-size: clamp(1.25rem, 7vw, 1.75rem);
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .page-title::after {
    background: var(--text-primary);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .page-title::after {
    transition: none;
  }
}

/* ================================================
   TEXT UTILITIES
   ================================================ */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }

/* ================================================
   LAYOUT COMPONENTS
   ================================================ */
.main-content {
  padding-top: calc(var(--navbar-height) + 14px);
  min-height: calc(100vh - var(--navbar-height) - 14px);
}

.section {
  padding: var(--space-16) 0;
}

.section-sm {
  padding: var(--space-12) 0;
}

.section-lg {
  padding: var(--space-20) 0;
}

/* ================================================
   BUTTON COMPONENTS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--button-padding);
  font-family: var(--font-primary);
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--button-radius);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  background: none;
  appearance: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

.btn:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  color: var(--text-white);
  border-color: var(--primary-blue);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #003d7a);
  color: var(--text-white);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--text-white);
}

.btn-default {
  background: var(--bg-white);
  color: var(--text-primary);
  border-color: var(--border-default);
}

.btn-default:hover {
  background: var(--bg-light);
  color: var(--text-primary);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

/* ================================================
   CARD COMPONENTS
   ================================================ */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid var(--border-light);
}

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

.card-header {
  padding: var(--space-6);
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  color: var(--text-white);
  border-bottom: 1px solid var(--border-light);
}

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

.card-footer {
  padding: var(--space-4) var(--space-6);
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
}

/* ================================================
   FORM COMPONENTS
   ================================================ */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: var(--font-medium);
  color: var(--text-primary);
  font-size: var(--text-base);
}

.form-control {
  display: block;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--bg-white);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

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

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

.input-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}

.input-group-btn {
  position: relative;
  font-size: 0;
  white-space: nowrap;
}

.input-group-btn > .btn {
  position: relative;
  border-radius: 0;
}

.input-group .form-control:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group .form-control:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.input-group-btn:last-child > .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: 0;
}

/* ================================================
   DROPDOWN COMPONENTS
   ================================================ */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.dropdown-toggle:focus {
  outline: none;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: var(--z-dropdown);
  display: none;
  float: left;
  min-width: 160px;
  padding: var(--space-2) 0;
  margin: 2px 0 0;
  font-size: var(--text-base);
  text-align: left;
  list-style: none;
  background-color: var(--bg-white);
  background-clip: padding-box;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu > li {
  list-style: none;
}

.dropdown-menu > li > a {
  display: block;
  padding: var(--space-2) var(--space-4);
  clear: both;
  font-weight: var(--font-normal);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: var(--primary-blue);
  text-decoration: none;
  background-color: var(--bg-light);
}

.dropdown-divider {
  height: 0;
  margin: var(--space-2) 0;
  overflow: hidden;
  border-top: 1px solid var(--border-light);
}

/* ================================================
   NAVIGATION COMPONENTS
   ================================================ */
.nav {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  display: flex;
}

.nav > li {
  position: relative;
  display: block;
}

.nav > li > a {
  position: relative;
  display: block;
  padding: var(--space-2) var(--space-4);
  text-decoration: none;
  transition: all var(--transition-base);
}

.nav > li > a:hover,
.nav > li > a:focus {
  text-decoration: none;
  background-color: var(--bg-light);
}

.nav-pills > li > a {
  border-radius: var(--radius-lg);
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
  color: var(--text-white);
  background-color: var(--primary-blue);
}

/* ================================================
   DISPLAY UTILITIES
   ================================================ */
.d-none { display: none; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }
.d-grid { display: grid; }

.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.flex-row-reverse { flex-direction: row-reverse; }
.flex-column-reverse { flex-direction: column-reverse; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-wrap-reverse { flex-wrap: wrap-reverse; }
.justify-content-start { justify-content: flex-start; }
.justify-content-end { justify-content: flex-end; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-around { justify-content: space-around; }
.align-items-start { align-items: flex-start; }
.align-items-end { align-items: flex-end; }
.align-items-center { align-items: center; }
.align-items-baseline { align-items: baseline; }
.align-items-stretch { align-items: stretch; }

.gap-0 { gap: 0; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }

/* ================================================
   TEXT UTILITIES
   ================================================ */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.text-primary { color: var(--primary-blue); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--text-white); }
.text-success { color: var(--accent-green); }
.text-danger { color: var(--error-red); }
.text-warning { color: var(--warning-yellow); }

.fw-light { font-weight: var(--font-light); }
.fw-normal { font-weight: var(--font-normal); }
.fw-medium { font-weight: var(--font-medium); }
.fw-semibold { font-weight: var(--font-semibold); }
.fw-bold { font-weight: var(--font-bold); }

/* ================================================
   SPACING UTILITIES
   ================================================ */
.m-0 { margin: 0; }
.m-1 { margin: var(--space-1); }
.m-2 { margin: var(--space-2); }
.m-3 { margin: var(--space-3); }
.m-4 { margin: var(--space-4); }
.m-5 { margin: var(--space-5); }
.m-auto { margin: auto; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-auto { margin-top: auto; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-auto { margin-bottom: auto; }

.ms-0 { margin-left: 0; }
.ms-1 { margin-left: var(--space-1); }
.ms-2 { margin-left: var(--space-2); }
.ms-3 { margin-left: var(--space-3); }
.ms-4 { margin-left: var(--space-4); }
.ms-5 { margin-left: var(--space-5); }
.ms-auto { margin-left: auto; }

.me-0 { margin-right: 0; }
.me-1 { margin-right: var(--space-1); }
.me-2 { margin-right: var(--space-2); }
.me-3 { margin-right: var(--space-3); }
.me-4 { margin-right: var(--space-4); }
.me-5 { margin-right: var(--space-5); }
.me-auto { margin-right: auto; }

.p-0 { padding: 0; }
.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: var(--space-1); }
.pt-2 { padding-top: var(--space-2); }
.pt-3 { padding-top: var(--space-3); }
.pt-4 { padding-top: var(--space-4); }
.pt-5 { padding-top: var(--space-5); }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: var(--space-1); }
.pb-2 { padding-bottom: var(--space-2); }
.pb-3 { padding-bottom: var(--space-3); }
.pb-4 { padding-bottom: var(--space-4); }
.pb-5 { padding-bottom: var(--space-5); }

.ps-0 { padding-left: 0; }
.ps-1 { padding-left: var(--space-1); }
.ps-2 { padding-left: var(--space-2); }
.ps-3 { padding-left: var(--space-3); }
.ps-4 { padding-left: var(--space-4); }
.ps-5 { padding-left: var(--space-5); }

.pe-0 { padding-right: 0; }
.pe-1 { padding-right: var(--space-1); }
.pe-2 { padding-right: var(--space-2); }
.pe-3 { padding-right: var(--space-3); }
.pe-4 { padding-right: var(--space-4); }
.pe-5 { padding-right: var(--space-5); }

.px-0 { padding-left: 0; padding-right: 0; }
.px-1 { padding-left: var(--space-1); padding-right: var(--space-1); }
.px-2 { padding-left: var(--space-2); padding-right: var(--space-2); }
.px-3 { padding-left: var(--space-3); padding-right: var(--space-3); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-5 { padding-left: var(--space-5); padding-right: var(--space-5); }

.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: var(--space-1); padding-bottom: var(--space-1); }
.py-2 { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.py-3 { padding-top: var(--space-3); padding-bottom: var(--space-3); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-5 { padding-top: var(--space-5); padding-bottom: var(--space-5); }

/* ================================================
   SIZE UTILITIES
   ================================================ */
.w-25 { width: 25%; }
.w-50 { width: 50%; }
.w-75 { width: 75%; }
.w-100 { width: 100%; }
.w-auto { width: auto; }

.h-25 { height: 25%; }
.h-50 { height: 50%; }
.h-75 { height: 75%; }
.h-100 { height: 100%; }
.h-auto { height: auto; }

/* ================================================
   FLOAT UTILITIES
   ================================================ */
.pull-left { float: left; }
.pull-right { float: right; }
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.text-md-end {
  text-align: left;
}

@media (min-width: 992px) {
  .text-md-end {
    text-align: right;
  }
}

/* ================================================
   HELPER COMPONENTS
   ================================================ */
.table {
  width: 100%;
  margin-bottom: var(--space-4);
  background-color: transparent;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: var(--space-2) var(--space-3);
  vertical-align: top;
  border-top: 1px solid var(--border-light);
}

.table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid var(--border-default);
  font-weight: var(--font-semibold);
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

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

.alert {
  position: relative;
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeaa7;
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: var(--font-semibold);
  line-height: 1;
  color: var(--text-white);
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: var(--radius-base);
  background-color: var(--text-muted);
}

.badge-primary { background-color: var(--primary-blue); }
.badge-secondary { background-color: var(--secondary-gray); }
.badge-success { background-color: var(--accent-green); }
.badge-danger { background-color: var(--error-red); }
.badge-warning { background-color: var(--warning-yellow); color: var(--text-primary); }
.badge-info { background-color: #17a2b8; }

.collapse {
  display: none;
}

.collapse.show {
  display: block;
}

.collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

* {
  transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
  transition-duration: var(--transition-base);
  transition-timing-function: ease;
}

/* ================================================
   RESPONSIVE UTILITIES
   ================================================ */
@media (max-width: 991px) {
  .d-md-none { display: none; }
  .d-md-inline { display: inline; }
  .d-md-block { display: block; }
  .d-md-flex { display: flex; }
  
  .main-content {
    padding-top: calc(var(--navbar-height) + 10px);
  }
  
  .btn {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
  }
  
  .btn-lg {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-base);
  }
  
  .card-header,
  .card-body {
    padding: var(--space-5);
  }
  
  .row {
    margin-left: 0;
    margin-right: 0;
  }
  
  [class*="col-"] {
    padding-left: var(--space-2);
    padding-right: var(--space-2);
  }
  
  .container,
  .container-fluid {
    max-width: 100vw;
    overflow-x: hidden;
  }
}

@media (min-width: 992px) {
  .d-md-none { display: none; }
  .d-md-inline { display: inline; }
  .d-md-block { display: block; }
  .d-md-flex { display: flex; }
}

@media (max-width: 1200px) {
  :root {
    --container-padding: var(--space-6);
  }
}

@media (max-width: 576px) {
  :root {
    --container-padding: var(--space-2);
  }
  
  .section {
    padding: var(--space-12) 0;
  }
  
  .section-lg {
    padding: var(--space-16) 0;
  }
}

/* ================================================
   ACCESSIBILITY
   ================================================ */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-blue);
    color: var(--text-white);
    padding: var(--space-2) var(--space-4);
    text-decoration: none;
    z-index: var(--z-tooltip);
    border-radius: 0 0 var(--radius-lg) 0;
    font-weight: var(--font-semibold);
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
  
  html {
    scroll-behavior: auto;
  }
}

@media (prefers-contrast: high) {
  :root {
    --border-light: #000000;
    --border-default: #000000;
  }
  
  .btn {
    border-width: 2px;
  }
}

.btn:focus-visible,
.form-control:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

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

/* ================================================
   FOOTER SECTION - WITH RESPONSIVE FIXES APPLIED
   ================================================ */
.footer {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #e2e8f0;
  padding: 60px 0 0;
  margin-top: 80px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #64748b, transparent);
}

.footer .container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.footer .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(var(--space-3) * -1) var(--space-16) calc(var(--space-3) * -1);
}

.footer .col-md-4 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 15px;
  margin-bottom: 40px;
}

.footer-heading {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #0061ff, #10b981);
  border-radius: 2px;
}

.company-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: #0061ff;
  border-color: #0061ff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 97, 255, 0.3);
  text-decoration: none;
}

.content-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.content-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.content-list li:hover::before {
  background: #0061ff;
  transform: scale(1.3);
}

.content-list a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
  transition: all 0.2s ease;
  display: block;
}

.content-list a:hover {
  color: #0061ff;
  text-decoration: none;
  transform: translateX(5px);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.5;
  color: #cbd5e1;
}

.contact-list li.address {
  align-items: flex-start;
}

.contact-list i {
  color: #10b981;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-list a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-list a:hover {
  color: #0061ff;
  text-decoration: none;
}

.copyright-bar {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.copyright-bar .container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.copyright-bar .row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: var(--space-10);
  margin: 0;
}

.copyright-bar .col-md-6 {
  flex: 0 0 auto;
  white-space: nowrap;
}

.copyright-bar p {
  margin: 0;
  font-size: 14px;
  color: #94a3b8;
}

.copyright-bar a {
  color: #0061ff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.copyright-bar a:hover {
  color: #10b981;
  text-decoration: none;
}

.footer .mt-4 {
  margin-top: 16px;
}

.footer h5 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Desktop Layout */
@media (min-width: 992px) {
  .footer .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    margin-bottom: 0;
  }
  
  .copyright-bar .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .copyright-bar .text-md-end {
    text-align: right;
  }
}

/* Mobile Adjustments */
@media (max-width: 991px) {
  .footer {
    padding: 40px 0 0;
  }
  
  .footer .container {
    padding: 0 var(--container-padding);
  }
  
  .footer .row {
    margin: 0 0 var(--space-12) 0;
  }
  
  .footer .col-md-4 {
    padding: 0;
    margin-bottom: 32px;
  }
  
  .footer-heading {
    font-size: 18px;
  }
  
  .company-desc {
    font-size: 15px;
  }
  
  .copyright-bar .row {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer .row {
    margin: 0;
  }
  
  .footer [class*="col-"] {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }
}

@media (prefers-contrast: high) {
  .footer {
    border-top: 2px solid var(--text-white);
  }
}

/* ================================================
   END OF STYLE.CSS
   ================================================ */