/* Kratos-Inspired Design System */
:root {
    /* Kratos Color Palette */
    --kratos-navy: #1a1a2e;
    --kratos-dark-blue: #16213e;
    --kratos-blue: #0f3460;
    --kratos-accent: #e94560;
    --kratos-light: #f5f5f5;
    --kratos-white: #ffffff;
    --kratos-gray: #6b7280;
    --kratos-dark-gray: #374151;
    
    /* Typography */
    --font-primary: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Borders */
    --border-radius: 8px;
    --border-radius-lg: 9.6px;
}

/* Map Container Styling */
.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: var(--space-md);
    border: 1px solid var(--kratos-gray);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Responsive map */
@media (max-width: 768px) {
    .map-container {
        height: 300px;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .map-container {
        height: 250px;
    }
}

/* Map Fallback Styling */
.map-fallback {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    border: 2px solid #cbd5e1;
    color: #334155;
}

.map-fallback p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.map-fallback a {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: #dbeafe;
    border-radius: 4px;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.map-fallback a:visited {
    color: #1e40af;
    text-decoration: none;
}

.map-fallback a:hover {
    background: #bfdbfe;
}
/* Gallery Section */
.gallery-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    padding: 100px 0;
    position: relative;
    margin-top: -60px;
    z-index: 0;
}

/* Add subtle pattern overlay to gallery section */
.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(15, 23, 42, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(15, 23, 42, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.gallery-section .container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--navy-border) 50%, transparent 100%);
}

.gallery-subtitle {
    text-align: center;
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(15, 52, 96, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #000;
    border: 2px solid var(--kratos-gray);
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18), 0 4px 10px rgba(0, 0, 0, 0.12), 0 6px 18px rgba(15, 52, 96, 0.25);
    border-color: var(--kratos-accent);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
    flex: 1;
}

/* Video elements in gallery */
.gallery-item video.gallery-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    /* Ensure video always fills width completely - scale up if needed */
    min-width: 100%;
    min-height: 100%;
}

.gallery-item:hover video.gallery-image {
    transform: translate(-50%, -50%);
}

.gallery-item:hover img.gallery-image {
    transform: none;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 26, 46, 0.9));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.gallery-cta {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--navy-subtle) 0%, var(--kratos-light) 100%);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--navy-border);
    max-width: 500px;
    margin: 0 auto;
}

.gallery-cta p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-item {
        aspect-ratio: 16/9;
    }
    
    .gallery-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .gallery-overlay h3 {
        font-size: 1.1rem;
    }
    
    .gallery-overlay p {
        font-size: 0.9rem;
    }
    
    .gallery-cta {
        padding: 1.5rem;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html {
    scroll-behavior: smooth;
}

/* Remove default visited link styling - visited links should look the same as unvisited */
a {
    color: inherit;
    text-decoration: none;
}

a:visited {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
    text-decoration: none;
}

a:active {
    color: inherit;
    text-decoration: none;
}

/* Global Styles - Kratos Inspired */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--kratos-dark-gray);
    background-color: var(--kratos-white);
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Legacy Color Variables - Keeping for compatibility */
:root {
    --navy-primary: var(--kratos-blue);
    --navy-light: var(--kratos-accent);
    --navy-accent: var(--kratos-dark-blue);
    --navy-subtle: var(--kratos-light);
    --navy-border: var(--kratos-gray);
    --text-dark: var(--kratos-dark-gray);
    --text-medium: var(--kratos-gray);
    --text-light: #64748b;
    --success: #059669;
    --warning: #d97706;
    --error: #dc2626;
    --shadow-sm: var(--shadow-sm);
    --shadow-md: var(--shadow-md);
    --shadow-lg: var(--shadow-lg);
    --shadow-xl: var(--shadow-xl);
    --radius-sm: 6px;
    --radius-md: var(--border-radius);
    --radius-lg: var(--border-radius-lg);
    --radius-xl: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

strong, b, .bold {
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2 {
    color: var(--navy-primary);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-weight: 400;
    color: var(--text-medium);
    line-height: 1.7;
}

/* Lists */
ul {
    padding-left: 2rem;
}

/* Kratos-Inspired Navigation */
.navbar {
    background-color: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    box-shadow: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    visibility: visible;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(26, 26, 46, 0.15);
    border-bottom-color: var(--kratos-accent);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 84px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(26, 26, 46, 0.1));
}

/* Logo switching based on scroll state */
.logo-default {
    display: block;
}

.logo-scrolled {
    display: none;
}

.navbar.scrolled .logo-default {
    display: none;
}

.navbar.scrolled .logo-scrolled {
    display: block;
}

.nav-logo:hover .logo-img {
    /* Transform removed */
}

.logo-text h2 {
    color: var(--navy-primary);
    font-size: 1.75rem;
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar:not(.scrolled) .logo-text h2 {
    color: var(--kratos-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.logo-text span {
    font-size: 0.85rem;
    color: var(--text-medium);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.01em;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar:not(.scrolled) .logo-text span {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--kratos-dark-gray);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 16px 0;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.navbar:not(.scrolled) .nav-link {
    color: var(--kratos-white);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.nav-link:hover {
    color: var(--kratos-accent);
}

.navbar:not(.scrolled) .nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.nav-link.active {
    color: var(--kratos-accent);
    font-weight: 600;
}

.navbar:not(.scrolled) .nav-link.active {
    color: var(--kratos-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--navy-primary) 0%, var(--navy-light) 100%);
    border-radius: 1px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.navbar:not(.scrolled) .bar {
    background-color: var(--kratos-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-button {
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-accent) 100%);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--navy-accent) 0%, var(--navy-light) 100%);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Kratos-Inspired Hero Section - Home Page Only */
.index-page .hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('assets/steel-edited.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--kratos-accent);
}

.index-page .hero::before {
    display: none;
}

.index-page .hero::after {
    display: none;
}

.index-page .hero-container {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    width: 100%;
}

.index-page .hero-content h1 {
    color: var(--kratos-white);
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 0 4px rgba(0, 0, 0, 0.2);
    font-size: 4rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    line-height: 1.1;
}

.index-page .hero-subtitle {
    color: rgba(255, 255, 255, 1);
    text-shadow: 
        0 0 14px rgba(0, 0, 0, 1),
        0 0 22px rgba(0, 0, 0, 1),
        0 0 28px rgba(0, 0, 0, 0.95),
        0 2px 8px rgba(0, 0, 0, 1),
        0 4px 26px rgba(0, 0, 0, 1),
        0 6px 38px rgba(0, 0, 0, 0.95);
    font-size: 1.4rem;
    margin-bottom: 3.5rem;
    font-weight: 500;
    line-height: 1.6;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes subtleFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        opacity: 1;
    }
    50% { 
        transform: translateY(-8px) scale(1.02); 
        opacity: 0.8;
    }
}

@keyframes shimmer {
    0%, 100% { 
        transform: translateX(-100%) rotate(45deg); 
        opacity: 0;
    }
    50% { 
        transform: translateX(100%) rotate(45deg); 
        opacity: 1;
    }
}

/* Hero Section - Force Consistent Height */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important;
    padding: 120px 0 80px !important;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    /* Use viewport height with safe units for mobile browsers */
    min-height: 100vh;
}

/* Contact Page Hero - More Compact and Modern */
.contact-hero {
    background: url('assets/Metal_Stock_Photo.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 60vh !important;
    padding: 140px 0 100px !important;
    border-bottom: 3px solid var(--kratos-accent);
}

.contact-hero::before {
    display: none !important;
}

.contact-hero::after {
    display: none !important;
}

.contact-hero .hero-content h1 {
    color: var(--kratos-white) !important;
    text-shadow: 
        0 0 14px rgba(0, 0, 0, 0.75),
        0 0 22px rgba(0, 0, 0, 0.75),
        0 0 28px rgba(0, 0, 0, 0.71),
        0 2px 8px rgba(0, 0, 0, 0.75),
        0 4px 26px rgba(0, 0, 0, 0.75),
        0 6px 38px rgba(0, 0, 0, 0.71) !important;
    font-size: 3.5rem !important;
    margin-bottom: 1.5rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
    text-transform: none !important;
}

.contact-hero .hero-content {
    position: relative;
    z-index: 2;
}

.contact-hero .hero-subtitle {
    color: rgba(255, 255, 255, 1) !important;
    text-shadow: 
        0 0 14px rgba(0, 0, 0, 1),
        0 0 22px rgba(0, 0, 0, 1),
        0 0 28px rgba(0, 0, 0, 0.95),
        0 2px 8px rgba(0, 0, 0, 1),
        0 4px 26px rgba(0, 0, 0, 1),
        0 6px 38px rgba(0, 0, 0, 0.95) !important;
    font-size: 1.3rem !important;
    margin-bottom: 2.5rem !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    max-width: 700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.contact-hero .hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-hero .hero-actions .btn-secondary {
    background: var(--kratos-white) !important;
    color: var(--kratos-navy) !important;
    border-color: var(--kratos-white) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.contact-hero .hero-actions .btn-secondary:hover {
    background: var(--kratos-white) !important;
    color: var(--kratos-navy) !important;
    border-color: var(--kratos-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 50vh !important;
        padding: 120px 0 80px !important;
    }
    
    .contact-hero .hero-content h1 {
        font-size: 2.5rem !important;
    }
    
    .contact-hero .hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    .contact-hero .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-hero .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@supports (height: 100svh) {
    .hero {
        min-height: 100svh;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
    animation: subtleFloat 25s ease-in-out infinite;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.015) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.008) 50%, transparent 70%);
    animation: shimmer 12s ease-in-out infinite;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Two-column hero layout for capabilities page */
.hero-content-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
    max-width: 100%;
}

/* Hero section for capabilities page with background image */
.capabilities-page .hero {
    background: url('assets/Mattie-grinding-1920.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid var(--kratos-accent);
    min-height: 80vh;
    padding: 120px 0 100px;
}

.capabilities-page .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/Mattie-grinding-1920.webp');
    background-size: cover;
    background-position: center center;
    filter: brightness(1.15) contrast(1.2) saturate(1.4);
    z-index: 0;
    animation: none !important;
}

/* Hero section for services page with background image */
.services-page .hero {
    background: url('assets/Todd_Welding_Best.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid var(--kratos-accent);
    min-height: 80vh;
    padding: 120px 0 100px;
}

.services-page .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/Todd_Welding_Best.webp');
    background-size: cover;
    background-position: center center;
    filter: brightness(1.15) contrast(1.2) saturate(1.4);
    z-index: 0;
    animation: none !important;
}

.services-page .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.125));
    z-index: 0;
    animation: none !important;
}

.capabilities-page .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.125));
    z-index: 0;
    animation: none !important;
}


/* Elevate text above overlays */
.capabilities-page .hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Hero content styling */
.capabilities-page .hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.capabilities-page .hero-content h1 {
    color: var(--kratos-white) !important;
    text-shadow: 
        0 0 14px rgba(0, 0, 0, 0.75),
        0 0 22px rgba(0, 0, 0, 0.75),
        0 0 28px rgba(0, 0, 0, 0.71),
        0 2px 8px rgba(0, 0, 0, 0.75),
        0 4px 26px rgba(0, 0, 0, 0.75),
        0 6px 38px rgba(0, 0, 0, 0.71) !important;
    font-size: 4.5rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.1 !important;
    margin-bottom: 2rem !important;
    text-transform: uppercase;
}

.capabilities-page .hero-subtitle {
    color: rgba(255, 255, 255, 1) !important;
    text-shadow: 
        0 0 14px rgba(0, 0, 0, 1),
        0 0 22px rgba(0, 0, 0, 1),
        0 0 28px rgba(0, 0, 0, 0.95),
        0 2px 8px rgba(0, 0, 0, 1),
        0 4px 26px rgba(0, 0, 0, 1),
        0 6px 38px rgba(0, 0, 0, 0.95) !important;
    font-size: 1.4rem !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
    max-width: 800px;
    margin: 0 auto;
}

/* Services page hero content styling */
.services-page .hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.services-page .hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.services-page .hero-content h1 {
    color: var(--kratos-white) !important;
    text-shadow: 
        0 0 14px rgba(0, 0, 0, 0.75),
        0 0 22px rgba(0, 0, 0, 0.75),
        0 0 28px rgba(0, 0, 0, 0.71),
        0 2px 8px rgba(0, 0, 0, 0.75),
        0 4px 26px rgba(0, 0, 0, 0.75),
        0 6px 38px rgba(0, 0, 0, 0.71) !important;
    font-size: 4.5rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.1 !important;
    margin-bottom: 2rem !important;
    text-transform: uppercase;
}

.services-page .hero-subtitle {
    color: rgba(255, 255, 255, 1) !important;
    text-shadow: 
        0 0 14px rgba(0, 0, 0, 1),
        0 0 22px rgba(0, 0, 0, 1),
        0 0 28px rgba(0, 0, 0, 0.95),
        0 2px 8px rgba(0, 0, 0, 1),
        0 4px 26px rgba(0, 0, 0, 1),
        0 6px 38px rgba(0, 0, 0, 0.95) !important;
    font-size: 1.4rem !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .capabilities-page .hero {
        min-height: 60vh;
        padding: 100px 0 80px;
        background-attachment: scroll !important;
    }
    
    .capabilities-page .hero-content h1 {
        font-size: 2.8rem !important;
    }
    
    .capabilities-page .hero-subtitle {
        font-size: 1.15rem !important;
    }
    
    .services-page .hero {
        min-height: 60vh;
        padding: 100px 0 80px;
        background-attachment: scroll !important;
    }
    
    .services-page .hero-content h1 {
        font-size: 2.8rem !important;
    }
    
    .services-page .hero-subtitle {
        font-size: 1.15rem !important;
    }
    
    .industries-page .hero {
        min-height: 45vh;
        padding: 80px 0 60px;
        background-attachment: scroll !important;
    }
    
    .industries-page .hero-content h1 {
        font-size: 2.2rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    .industries-page .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .industries-page .hero-container {
        padding: 0 1rem;
    }
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-align: left;
}

.hero-text .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
}

.hero-text .hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 0;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    /* Transform removed - keeping overlay effects only */
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-carousel-track {
    position: relative;
    width: 100%;
    min-height: 400px;
    max-height: 500px;
}

.hero-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel-slide.active {
    opacity: 1;
}

.hero-carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--border-radius-lg);
    transition: transform 0.3s ease;
}

.hero-carousel-slide:hover img {
    /* Transform removed - keeping overlay effects only */
}

.hero-carousel-controls {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.5rem;
}

.hero-carousel-btn {
    background: var(--kratos-navy);
    border: 2px solid var(--kratos-navy);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.hero-carousel-btn:hover {
    background: var(--kratos-accent);
    border-color: var(--kratos-accent);
    box-shadow: var(--shadow-lg);
}

.hero-carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.hero-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--kratos-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-carousel-dot.active {
    background: var(--kratos-navy);
    border-color: var(--kratos-accent);
    transform: scale(1.1);
}

.hero-carousel-dot:hover {
    background: var(--kratos-accent);
}

/* Responsive Hero Carousel */
@media (max-width: 768px) {
    .hero-carousel {
        max-width: 100%;
    }
    
    .hero-carousel-track {
        min-height: 300px;
        max-height: 350px;
    }
    
    .hero-carousel-controls {
        margin-top: 0.8rem;
        gap: 0.8rem;
    }
    
    .hero-carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .hero-carousel-dot {
        width: 10px;
        height: 10px;
    }
}

/* Full-Width Hero Carousel Styles */
.hero-carousel-full {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
}

/* Industries Carousel */
.industries-section {
    position: relative;
    overflow: visible;
}

.industries-carousel-container {
    margin: 3rem 0;
    padding: 0;
    width: 100%;
    position: relative;
    overflow: visible;
}

.industries-carousel {
    position: relative;
    width: 100%;
    margin: 0;
    border-radius: 0;
    overflow: visible;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(15, 52, 96, 0.15);
}

.industries-carousel-track {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: visible;
}

.industries-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}

.industries-carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.industries-carousel-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center center;
    display: block;
    opacity: 1;
    flex-shrink: 0;
}

.industries-carousel-content {
    background: var(--kratos-light);
    padding: 2rem;
    text-align: center;
    width: 100%;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    box-sizing: border-box;
}

.industries-carousel-content h3 {
    color: var(--kratos-navy);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.industries-carousel-content p {
    color: var(--kratos-dark-gray);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.industries-carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 10;
    pointer-events: none;
}

.industries-carousel-btn {
    background: rgba(26, 26, 46, 0.8);
    border: 2px solid var(--kratos-navy);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    pointer-events: all;
}

.industries-carousel-btn:hover {
    background: var(--kratos-accent);
    border-color: var(--kratos-accent);
    box-shadow: var(--shadow-xl);
}

.industries-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--kratos-white);
}

.industries-carousel-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--kratos-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.industries-carousel-dots .dot.active {
    background: var(--kratos-navy);
    border-color: var(--kratos-accent);
    transform: scale(1.2);
}

.industries-carousel-dots .dot:hover {
    background: var(--kratos-accent);
}

/* Responsive Industries Carousel */
@media (max-width: 768px) {
    .industries-carousel-track {
        min-height: 400px;
    }
    
    .industries-carousel-slide img {
        height: 400px;
    }
    
    .industries-carousel-track {
        min-height: 500px;
    }
    
    .industries-carousel-content {
        padding: 1.5rem;
    }
    
    .industries-carousel-content h3 {
        font-size: 1.5rem;
    }
    
    .industries-carousel-content p {
        font-size: 1rem;
    }
    
    .industries-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .industries-carousel-dots .dot {
        width: 12px;
        height: 12px;
    }
}

/* Override hero section for industries page with background image */
.industries-page .hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), url('assets/Industrial_Hero_Section.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    padding: 120px 0 100px !important;
    min-height: 80vh !important;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid var(--kratos-accent);
}

.industries-page .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/Industrial_Hero_Section.webp');
    background-size: cover;
    background-position: center center;
    filter: brightness(1.15) contrast(1.2) saturate(1.4);
    z-index: 0;
    animation: none !important;
}

.industries-page .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.125));
    z-index: 0;
    animation: none !important;
}

.industries-page .hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.industries-page .hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.industries-page .hero-content h1 {
    color: var(--kratos-white) !important;
    text-shadow: 
        0 0 14px rgba(0, 0, 0, 0.75),
        0 0 22px rgba(0, 0, 0, 0.75),
        0 0 28px rgba(0, 0, 0, 0.71),
        0 2px 8px rgba(0, 0, 0, 0.75),
        0 4px 26px rgba(0, 0, 0, 0.75),
        0 6px 38px rgba(0, 0, 0, 0.71) !important;
    font-size: 4.5rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.1 !important;
    margin-bottom: 2rem !important;
    text-transform: uppercase;
}

.industries-page .hero-subtitle {
    color: rgba(255, 255, 255, 1) !important;
    text-shadow: 
        0 0 14px rgba(0, 0, 0, 1),
        0 0 22px rgba(0, 0, 0, 1),
        0 0 28px rgba(0, 0, 0, 0.95),
        0 2px 8px rgba(0, 0, 0, 1),
        0 4px 26px rgba(0, 0, 0, 1),
        0 6px 38px rgba(0, 0, 0, 0.95) !important;
    font-size: 1.4rem !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
    max-width: 800px;
    margin: 0 auto;
}

.hero-carousel-track-full {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-carousel-slide-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-carousel-slide-full.active {
    opacity: 1;
}

.hero-carousel-slide-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-content-full {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-content-full h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-subtitle-full {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 0;
    color: white;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
    opacity: 0.95;
}

.hero-carousel-controls-full {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 3;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-carousel-btn-full {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--kratos-navy);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-carousel-btn-full:hover {
    background: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-carousel-dots-full {
    display: flex;
    gap: 0.8rem;
}

.hero-carousel-dot-full {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-carousel-dot-full.active {
    background: white;
    border-color: var(--kratos-accent);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-carousel-dot-full:hover {
    background: rgba(255, 255, 255, 0.8);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-carousel-full {
        height: 60vh;
        min-height: 400px;
        max-height: 600px;
    }
    
    .hero-content-full {
        padding: 1.5rem;
    }
    
    .hero-content-full h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle-full {
        font-size: 1.2rem;
    }
    
    .hero-carousel-controls-full {
        bottom: 1.5rem;
        gap: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .hero-carousel-btn-full {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .hero-carousel-dot-full {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .hero-carousel-full {
        height: 50vh;
        min-height: 350px;
    }
    
    .hero-content-full h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-full {
        font-size: 1.1rem;
    }
    
    .hero-carousel-controls-full {
        bottom: 1rem;
        gap: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
    
    .hero-carousel-btn-full {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

.hero-content h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    margin-top: 1.5rem;
}

/* Index page hero button styling - make secondary button more visible */
.index-page .hero-buttons .btn-secondary {
    background: var(--kratos-white) !important;
    color: var(--kratos-navy) !important;
    border: 2px solid var(--kratos-white) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.index-page .hero-buttons .btn-secondary:hover {
    background: var(--kratos-white) !important;
    color: var(--kratos-navy) !important;
    border-color: var(--kratos-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
}

/* Hero buttons now use unified button component */

.hero-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Hero actions now use unified button component */

/* Kratos-Inspired Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: var(--kratos-white);
    color: var(--kratos-navy);
    box-shadow: var(--shadow-lg);
    letter-spacing: 0.02em;
    min-height: 52px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(233, 69, 96, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: var(--kratos-accent);
    color: var(--kratos-white);
    box-shadow: var(--shadow-xl);
}

.btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: linear-gradient(135deg, var(--kratos-navy) 0%, var(--kratos-blue) 100%);
    color: #ffffff !important;
    border-color: var(--kratos-navy);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--kratos-accent) 0%, var(--kratos-blue) 100%);
    border-color: var(--kratos-accent);
    color: #ffffff !important;
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: var(--kratos-white);
    color: #000000 !important;
    border-color: var(--kratos-white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--kratos-white);
    border-color: var(--kratos-white);
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--navy-primary);
    border-color: var(--navy-primary);
}

.btn-outline:hover {
    background: var(--navy-primary);
    color: white;
}

/* Highlights Section */
.highlights {
    padding: 80px 0;
    background-color: var(--navy-subtle);
    position: relative;
}

.highlights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--navy-border) 50%, transparent 100%);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.highlight-item {
    text-align: center;
    padding: var(--space-2xl) var(--space-xl);
    background-color: var(--kratos-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--kratos-gray);
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--kratos-accent) 0%, var(--kratos-blue) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.highlight-item:hover::before {
    transform: scaleX(1);
}

.highlight-item:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--kratos-accent);
}

.highlight-icon {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--kratos-accent);
    margin-bottom: var(--space-lg);
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--kratos-light) 0%, var(--kratos-white) 100%);
    border-radius: var(--border-radius);
    border: 2px solid var(--kratos-accent);
    display: inline-block;
    min-width: 90px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.2);
}

.highlight-item h3 {
    color: var(--kratos-navy);
    margin-bottom: var(--space-md);
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Kratos-Inspired Section Titles */
.section-title {
    text-align: center;
    color: var(--kratos-navy);
    margin-bottom: var(--space-3xl);
    position: relative;
    font-weight: 800;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--kratos-accent) 0%, var(--kratos-blue) 100%);
    margin: var(--space-lg) auto;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(233, 69, 96, 0.3);
}

/* Capabilities Section */
.capabilities {
    padding: 80px 0;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.capability-item {
    padding: 2rem;
    background-color: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #1e3a8a;
}

.capability-item h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.capability-item ul {
    list-style: none;
    margin-top: 1rem;
}

.capability-item li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.capability-item li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #1e3a8a;
    font-weight: 700;
}

/* Industries Section */
.industries {
    padding: 80px 0;
    background-color: #f8fafc;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.industry-item {
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.industry-item:hover {
    /* Transform removed */
}

.industry-item h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

/* Certifications Section */
.certifications {
    padding: 80px 0;
}

.certifications-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.cert-item {
    padding: 2rem;
    background-color: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #1e3a8a;
}

.cert-item h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.cert-item ul {
    list-style: none;
}

.cert-item li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.cert-item li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #1e3a8a;
    font-weight: 700;
}

.download-section {
    padding: 2rem;
    background-color: #1e3a8a;
    color: white;
    border-radius: 10px;
    text-align: center;
}

.download-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.download-section .btn {
    margin-top: 1rem;
}

/* Case Studies Section */
.case-studies {
    padding: 80px 0;
    background-color: #f8fafc;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.case-study {
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.case-study:hover {
    /* Transform removed */
}

.case-study h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.case-details {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.industry, .timeline {
    background-color: #1e3a8a;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Facilities Section */
.facilities {
    padding: 80px 0;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.equipment-category {
    padding: 2rem;
    background-color: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #1e3a8a;
}

.equipment-category h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.equipment-category ul {
    list-style: none;
}

.equipment-category li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.equipment-category li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #1e3a8a;
    font-weight: 700;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info h3 {
    color: white;
    margin-bottom: 2rem;
}

.contact-details {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    color: #1e3a8a;
}

.rfq-form {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.rfq-form h3 {
    color: #1e3a8a;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--navy-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #ffffff;
    color: var(--text-dark);
    font-family: inherit;
    line-height: 1.5;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--navy-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    background-color: #ffffff;
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: var(--navy-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.8;
}

/* Form validation states */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group.success input,
.form-group.success textarea,
.form-group.success select {
    border-color: var(--success);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* Kratos-Inspired Footer */
.footer {
    background: linear-gradient(135deg, var(--kratos-navy) 0%, var(--kratos-dark-blue) 50%, var(--kratos-blue) 100%);
    color: var(--kratos-white);
    padding: var(--space-3xl) 0 var(--space-xl);
    position: relative;
    border-top: 3px solid var(--kratos-accent);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(233, 69, 96, 0.3) 50%, transparent 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-section:first-child {
    max-width: 400px;
}

.footer-section h4 {
    color: var(--kratos-white);
    margin-bottom: var(--space-lg);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid rgba(233, 69, 96, 0.3);
    padding-bottom: var(--space-sm);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-section a:visited {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Left-align contact header and info in footer sections */
.footer-section.contact-section h4 {
    text-align: left;
}

.footer-section.contact-section p {
    text-align: left;
}

.footer-section .btn {
    margin-top: 1rem;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.95) !important;
    color: var(--navy-primary) !important;
    border: 2px solid rgba(255, 255, 255, 0.95) !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
}

.footer-section .btn:hover {
    background-color: white !important;
    color: var(--navy-primary) !important;
    border-color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

.footer-logo-text h3 {
    color: white;
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
}

.footer-logo-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
    font-weight: 400;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-bottom p {
    color: #ffffff;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-bottom p:first-child {
    font-weight: 500;
}

.footer-bottom p:last-child {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Trust Signals Section */
.trust-signals {
    background: #f8fafc;
    padding: 60px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.trust-item {
    padding: 1rem;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.trust-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation CTA Styling */
.nav-cta {
    background: linear-gradient(135deg, var(--kratos-navy) 0%, var(--kratos-blue) 100%) !important;
    color: var(--kratos-white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--kratos-navy);
    box-shadow: var(--shadow-lg);
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.navbar:not(.scrolled) .nav-cta {
    background: linear-gradient(135deg, var(--kratos-navy) 0%, var(--kratos-blue) 100%) !important;
    border: 2px solid var(--kratos-navy) !important;
    color: var(--kratos-white) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--kratos-accent) 0%, var(--kratos-blue) 100%) !important;
    border-color: var(--kratos-accent);
    color: var(--kratos-white) !important;
    box-shadow: var(--shadow-xl);
}

.navbar:not(.scrolled) .nav-cta:hover {
    background: linear-gradient(135deg, var(--kratos-accent) 0%, var(--kratos-blue) 100%) !important;
    border-color: var(--kratos-accent) !important;
    color: var(--kratos-white) !important;
}

/* Services CTA Section */
.services-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--kratos-navy) 0%, var(--kratos-blue) 100%);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--kratos-accent);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.services-cta h3,
.services-cta p {
    color: var(--kratos-white);
    position: relative;
    z-index: 1;
}

.services-cta .btn {
    position: relative;
    z-index: 1;
}

.services-cta .btn-primary {
    background: var(--kratos-white) !important;
    color: var(--kratos-navy) !important;
    border-color: var(--kratos-white) !important;
}

.services-cta .btn-primary:hover {
    background: var(--kratos-accent) !important;
    color: var(--kratos-white) !important;
    border-color: var(--kratos-accent) !important;
}

.services-cta .btn-secondary {
    background: transparent !important;
    color: var(--kratos-white) !important;
    border-color: var(--kratos-white) !important;
}

.services-cta .btn-secondary:hover {
    background: var(--kratos-white) !important;
    color: var(--kratos-navy) !important;
    border-color: var(--kratos-white) !important;
}


.services-cta p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.services-cta .btn {
    font-size: 1.1rem;
    padding: 12px 24px;
}

/* Service Type Selector Styling */
#service-type {
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    color: #374151;
    transition: all 0.3s ease;
    cursor: pointer;
}

#service-type:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

#service-type option {
    padding: 8px;
    background-color: #ffffff;
    color: #374151;
}

/* Pre-selected service type styling */
#service-type[style*="background-color: #f0f9ff"] {
    background-color: #f0f9ff !important;
    border-color: #1e40af !important;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Clickable phone and email links */
a[href^="tel:"] {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a[href^="tel:"]:visited {
    color: inherit;
    text-decoration: none;
}

a[href^="tel:"]:hover {
    color: inherit;
    text-decoration: none;
}

a[href^="mailto:"] {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a[href^="mailto:"]:visited {
    color: inherit;
    text-decoration: none;
}

a[href^="mailto:"]:hover {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .trust-number {
        font-size: 2rem;
    }
    
    .nav-cta {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .nav-container {
        height: 90px;
    }
    
    .logo-img {
        height: 56px;
    }
    
    .logo-text h2 {
        font-size: 1.5rem;
    }
    
    .logo-text span {
        font-size: 0.8rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        color: var(--kratos-blue) !important;
        text-shadow: none !important;
    }
    
    .nav-menu .nav-link:hover {
        color: var(--kratos-accent) !important;
    }
    
    .nav-menu .nav-link.active {
        color: var(--kratos-blue) !important;
        font-weight: 700;
    }
    
    .nav-menu .nav-cta {
        color: var(--kratos-white) !important;
        background: linear-gradient(135deg, var(--kratos-navy) 0%, var(--kratos-blue) 100%) !important;
        border-color: var(--kratos-navy) !important;
    }
    
    .nav-menu .nav-cta:hover {
        color: var(--kratos-white) !important;
        background: linear-gradient(135deg, var(--kratos-accent) 0%, var(--kratos-blue) 100%) !important;
        border-color: var(--kratos-accent) !important;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .cta-button {
        display: none;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: 100vh !important;
        height: auto !important;
        max-height: none !important;
    }

    @supports (height: 100svh) {
        .hero {
            min-height: 100svh !important;
        }
    }

    .hero-content h1 {
        font-size: 2.3rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1.25rem !important;
    }

    .index-page .hero-content h1 {
        font-size: 2.6rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1.75rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.75rem !important;
        max-width: 100% !important;
    }

    .index-page .hero-subtitle {
        font-size: 1.15rem !important;
        line-height: 1.5 !important;
        margin-bottom: 2.25rem !important;
        max-width: 100% !important;
    }

    .hero-content-two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        text-align: center;
        font-size: 2rem !important;
    }
    
    .hero-text .hero-subtitle {
        text-align: center;
        font-size: 1rem !important;
    }
    
    .hero-text .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-image img {
        max-width: 400px;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .certifications-content {
        grid-template-columns: 1fr;
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section:first-child {
        max-width: none;
    }
    
    .footer-logo {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .footer-logo-img {
        height: 40px;
    }
    
    .footer-logo-text h3 {
        font-size: 1.4rem;
    }
    
    .footer-logo-text p {
        font-size: 0.9rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }
    
    .nav-container {
        height: 85px;
    }
    
    .nav-logo {
        gap: 0.25rem;
    }
    
    .logo-img {
        height: 49px;
    }
    
    .logo-text h2 {
        font-size: 1.3rem;
    }
    
    .logo-text span {
        font-size: 0.7rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 90px 0 50px;
        min-height: 100vh !important;
        height: auto !important;
        max-height: none !important;
    }

    @supports (height: 100svh) {
        .hero {
            min-height: 100svh !important;
        }
    }

    .hero-content h1 {
        font-size: 1.9rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }

    .index-page .hero-content h1 {
        font-size: 2.1rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1.25rem !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.5rem !important;
        max-width: 100% !important;
    }

    .index-page .hero-subtitle {
        font-size: 1.05rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.75rem !important;
        max-width: 100% !important;
    }

    .hero-content-two-column {
        gap: 1.5rem;
    }
    
    .hero-text h1 {
        font-size: 1.8rem !important;
    }
    
    .hero-text .hero-subtitle {
        font-size: 0.95rem !important;
    }
    
    .hero-image img {
        max-width: 350px;
    }
    
    .industries-page .hero {
        min-height: 40vh;
        padding: 70px 0 50px;
    }
    
    .industries-page .hero-content h1 {
        font-size: 1.9rem !important;
        margin-bottom: 1rem !important;
    }
    
    .industries-page .hero-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    .industries-page .hero-container {
        padding: 0 1rem;
    }
    
    .what-we-do-video-container {
        min-height: 400px;
    }
    
    .what-we-do-video {
        min-height: 400px;
        max-height: 550px;
    }

    .highlight-item,
    .capability-item,
    .industry-item,
    .cert-item,
    .case-study,
    .equipment-category,
    .contact-details,
    .rfq-form {
        padding: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus {
    outline: 2px solid #1e3a8a;
    outline-offset: 2px;
}

/* Enhanced Capability Section */
.capability-section {
    padding: 100px 0;
    position: relative;
}

/* Smaller padding for product development and government contracting sections */
#product-development,
#government-contracting {
    padding: 60px 0;
}

/* Ensure government contracting section stays side-by-side */
#government-contracting .capability-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.capability-section.alt {
    background-color: var(--navy-subtle);
}

.capability-section.alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--navy-border) 50%, transparent 100%);
}

.capability-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

/* Center CTA sections */
#contact-cta .capability-content {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.capability-text h3 {
    color: var(--navy-primary);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.capability-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.capability-list {
    list-style: none;
    margin-top: 1.5rem;
}

.capability-list li {
    padding: 0.75rem 0;
    position: relative;
    padding-left: 2rem;
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.capability-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
    top: 0.75rem;
}

.capability-image {
    position: relative;
    overflow: visible;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.capability-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.capability-image:hover img {
    /* Transform removed - keeping overlay effects only */
}

/* Equipment Software Banner */
.equipment-software-banner {
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(15, 52, 96, 0.15);
    position: relative;
}

.equipment-software-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.software-banner-btn {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--kratos-accent) 0%, var(--kratos-blue) 100%) !important;
    color: #ffffff !important;
    border-color: var(--kratos-accent) !important;
    padding: clamp(0.4rem, 1.5vw, 1rem) clamp(0.8rem, 3vw, 2rem);
    font-size: clamp(0.65rem, 1.2vw, 0.9rem);
    min-height: auto;
}

.software-banner-btn:hover {
    box-shadow: 0 6px 16px rgba(233, 69, 96, 0.5);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #d63952 0%, var(--kratos-blue) 100%) !important;
    border-color: #d63952 !important;
}

/* Why Choose IDFS Section */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
    contain: layout style paint;
}

/* Industries page specific optimizations */
.industries-page .service-card {
    contain: layout style paint;
    isolation: isolate;
}

.industries-page .why-choose-grid {
    contain: layout style;
}

.why-choose-feature-image {
    grid-row: span 2;
    height: 100%;
    min-height: calc(100% - 2rem);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(15, 52, 96, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-choose-feature-image:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18), 0 4px 10px rgba(0, 0, 0, 0.12), 0 6px 18px rgba(15, 52, 96, 0.25);
    transform: translateY(-4px);
}

.why-choose-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.why-choose-card {
    background: var(--kratos-white);
    padding: 0;
    border-radius: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(15, 52, 96, 0.15);
    border: 1px solid rgba(26, 26, 46, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    /* height: 100% removed - JavaScript will set explicit heights for cross-grid equalization */
}

.why-choose-accent {
    width: 5px;
    background: rgba(26, 26, 46, 0.15);
    flex-shrink: 0;
    transition: width 0.4s ease;
}

.why-choose-card:hover .why-choose-accent {
    width: 6px;
    background: rgba(26, 26, 46, 0.25);
}

.why-choose-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18), 0 4px 10px rgba(0, 0, 0, 0.12), 0 6px 18px rgba(15, 52, 96, 0.25);
    border-color: rgba(26, 26, 46, 0.2);
}

.why-choose-content {
    padding: 2.5rem 2rem;
    flex: 1;
}

.why-choose-card h4,
.why-choose-card h3 {
    color: var(--kratos-navy);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
    position: relative;
}

.why-choose-card h4::after,
.why-choose-card h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 2px;
    background: rgba(26, 26, 46, 0.2);
    border-radius: 2px;
}

.why-choose-card p {
    color: var(--kratos-dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.why-choose-header h2 {
    color: var(--navy-primary);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.materials-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.material-category {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.material-category h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.material-category ul {
    list-style: none;
}

.material-category li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.material-category li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #1e3a8a;
    font-weight: 700;
}

/* Enhanced Industry Section */
.industry-section {
    padding: 100px 0;
    position: relative;
}

.industry-section.alt {
    background-color: var(--navy-subtle);
}

.industry-section.alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--navy-border) 50%, transparent 100%);
}

.industry-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.industry-text h3 {
    color: var(--navy-primary);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.industry-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.industry-features {
    list-style: none;
    margin-top: 1.5rem;
}

.industry-features li {
    padding: 0.75rem 0;
    position: relative;
    padding-left: 2rem;
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.industry-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
    top: 0.75rem;
}

.industry-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.industry-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
}

.industry-image:hover img {
    /* Transform removed - keeping overlay effects only */
}

.certifications-section {
    padding: 80px 0;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cert-item {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid #1e3a8a;
}

.cert-item h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.cert-item ul {
    list-style: none;
}

.cert-item li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.cert-item li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #1e3a8a;
    font-weight: 700;
}

.cta-section {
    padding: 80px 0;
    background-color: #1e3a8a;
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    margin: 0;
}

.about {
    padding: 80px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    color: #1e3a8a;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    padding: 2rem;
    background-color: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #1e3a8a;
}

.feature h4 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

/* Badge Bar */
.badge-bar {
    width: 100%;
    background: linear-gradient(135deg, var(--kratos-navy) 0%, var(--kratos-dark-blue) 50%, var(--kratos-blue) 100%);
    padding: 2.5rem 0;
    border-top: 3px solid var(--kratos-accent);
    border-bottom: 3px solid var(--kratos-accent);
    position: relative;
    overflow: hidden;
}

.badge-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(233, 69, 96, 0.3) 50%, transparent 100%);
}

.badge-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.badge-item:hover {
    transform: translateY(-3px);
}

.badge-nav-item {
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}

.badge-nav-item:hover {
    text-decoration: none;
}

.badge-bar-divider {
    padding: 0;
    border-top: 2px solid rgba(15, 52, 96, 0.1);
    border-bottom: 2px solid rgba(15, 52, 96, 0.1);
    height: auto;
    min-height: 0;
}

.badge-bar-divider::before {
    display: none;
}

.services-badge-bar-bg {
    background: url('assets/service-badge-bar-bg.png');
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 4rem 0;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-badge-bar-bg::after {
    content: '';
    display: block;
    padding-bottom: 20%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}

.badge-item-white .badge-icon {
    color: white;
    stroke: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.badge-item-white .badge-label {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.badge-item-white:hover .badge-icon {
    color: white;
    stroke: white;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7));
}

.badge-icon {
    width: 40px;
    height: 40px;
    color: var(--kratos-white);
    stroke: var(--kratos-white);
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.badge-item:hover .badge-icon {
    transform: scale(1.15);
    color: var(--kratos-accent);
    stroke: var(--kratos-accent);
    filter: drop-shadow(0 4px 8px rgba(233, 69, 96, 0.4));
}

.badge-label {
    color: var(--kratos-white);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    white-space: nowrap;
}

.services-overview {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    position: relative;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--navy-border) 50%, transparent 100%);
}

.services-overview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--navy-border) 50%, transparent 100%);
}

.capabilities-overview {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    position: relative;
}

/* Services Video Container */
.services-video-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 3rem auto;
    overflow: hidden;
    background: var(--kratos-navy);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.services-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: var(--kratos-navy);
}

.services-video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 26, 46, 0.85));
    padding: 2rem;
    text-align: center;
}

.services-video-caption {
    color: var(--kratos-white);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Add visual interest to service cards on home page */
.index-page .service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(15, 52, 96, 0.15);
}

.index-page .service-card:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    border-color: var(--kratos-accent);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18), 0 4px 10px rgba(0, 0, 0, 0.12), 0 6px 18px rgba(15, 52, 96, 0.25);
    transform: translateY(-4px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.service-item h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

/* Capabilities Layout - 2 columns */
.capabilities-layout {
    display: grid;
    grid-template-columns: 1fr 432px;
    gap: 2rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

/* Right content column */
.capabilities-right-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.capabilities-feature-image {
    width: 100%;
    height: calc((280px * 2 + 1.5rem) * 1.225);
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(15, 52, 96, 0.15);
}

.capabilities-feature-text {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.capabilities-feature-text h3 {
    color: var(--kratos-navy);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.capabilities-feature-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--kratos-accent) 0%, var(--kratos-blue) 100%);
    border-radius: 2px;
}

.capabilities-feature-text p {
    color: var(--kratos-dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* New two-row services layout */
.services-grid-two-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0;
    padding-bottom: 0;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* What We Do Section */
.what-we-do-with-video {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}

.what-we-do-with-video .what-we-do-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.what-we-do-with-video .what-we-do-card:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

.what-we-do-video-container {
    grid-column: 2;
    grid-row: 1 / 3;
    position: sticky;
    top: 120px;
    height: 100%;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
}

.what-we-do-with-video .what-we-do-card:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}

.what-we-do-with-video .what-we-do-card:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
}

.what-we-do-video {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    display: block;
    object-fit: cover;
    background: var(--kratos-navy);
}

.what-we-do-card {
    background: var(--kratos-white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(15, 52, 96, 0.15);
    padding: 0;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(26, 26, 46, 0.1);
    overflow: hidden;
    display: flex;
}

.what-we-do-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18), 0 4px 10px rgba(0, 0, 0, 0.12), 0 6px 18px rgba(15, 52, 96, 0.25);
    border-color: rgba(26, 26, 46, 0.2);
}

.what-we-do-accent {
    width: 5px;
    background: rgba(26, 26, 46, 0.15);
    flex-shrink: 0;
    transition: width 0.4s ease;
}

.what-we-do-card:hover .what-we-do-accent {
    width: 6px;
    background: rgba(26, 26, 46, 0.25);
}

.what-we-do-content {
    padding: 2.5rem 2rem;
    flex: 1;
}

.what-we-do-icon {
    width: 56px;
    height: 56px;
    color: var(--kratos-navy);
    stroke: var(--kratos-navy);
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(26, 26, 46, 0.1));
}

.what-we-do-card:hover .what-we-do-icon {
    transform: scale(1.1);
    color: var(--kratos-accent);
    stroke: var(--kratos-accent);
    filter: drop-shadow(0 4px 8px rgba(233, 69, 96, 0.3));
}

.what-we-do-content h3 {
    color: var(--kratos-navy);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
    position: relative;
}

.what-we-do-content h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 2px;
    background: rgba(26, 26, 46, 0.2);
    border-radius: 2px;
}

.what-we-do-lead {
    color: var(--kratos-navy);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 1.5rem 0 1rem 0;
}

.what-we-do-detail {
    color: var(--kratos-dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.what-we-do-link {
    display: inline-block;
    color: var(--kratos-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    position: relative;
}

.what-we-do-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--kratos-blue);
    transition: width 0.3s ease;
}

.what-we-do-link:hover {
    opacity: 1;
    color: var(--kratos-navy);
}

.what-we-do-link:hover::after {
    width: 100%;
}

.what-we-do-card:hover .what-we-do-link {
    opacity: 1;
}

.service-card:hover .what-we-do-link {
    opacity: 1;
}

/* Responsive Badge Bar */
@media (max-width: 768px) {
    .badge-bar {
        padding: 2rem 0;
    }
    
    .badge-bar-container {
        gap: 2rem;
        padding: 0 var(--space-md);
    }
    
    .badge-icon {
        width: 36px;
        height: 36px;
    }
    
    .badge-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .badge-bar {
        padding: 1.5rem 0;
    }
    
    .badge-bar-container {
        gap: 1.5rem;
        padding: 0 var(--space-sm);
    }
    
    .badge-icon {
        width: 32px;
        height: 32px;
    }
    
    .badge-label {
        font-size: 0.8rem;
    }
}

/* Responsive Services Video */
@media (max-width: 768px) {
    .services-video-container {
        margin: 2rem auto;
    }
    
    .services-video-overlay {
        padding: 1.5rem;
    }
    
    .services-video-caption {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .services-video-container {
        margin: 1.5rem auto;
    }
    
    .services-video-overlay {
        padding: 1rem;
    }
    
    .services-video-caption {
        font-size: 0.85rem;
    }
}

/* Responsive What We Do */
@media (max-width: 768px) {
    .what-we-do-with-video {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
    }
    
    .what-we-do-with-video .what-we-do-card:nth-child(1),
    .what-we-do-with-video .what-we-do-card:nth-child(2),
    .what-we-do-with-video .what-we-do-card:nth-child(3),
    .what-we-do-with-video .what-we-do-card:nth-child(4) {
        grid-column: 1;
        grid-row: auto;
    }
    
    .what-we-do-video-container {
        grid-column: 1;
        grid-row: auto;
        position: relative;
        top: auto;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        height: auto;
        min-height: 450px;
    }
    
    .what-we-do-video {
        width: 100%;
        height: auto;
        min-height: 450px;
        max-height: 600px;
        object-fit: cover;
    }
    
    .what-we-do-content {
        padding: 2rem 1.5rem;
    }
    
    .what-we-do-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1.25rem;
    }
    
    .what-we-do-content h3 {
        font-size: 1.3rem;
    }
    
    .what-we-do-lead {
        font-size: 1rem;
    }
}

.service-card {
    background: linear-gradient(135deg, var(--kratos-white) 0%, var(--kratos-light) 100%);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(15, 52, 96, 0.15);
    text-align: left;
    border: 2px solid var(--kratos-gray);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    contain: layout style paint;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.service-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    margin-bottom: 1.5rem;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.service-card ul.service-deliverables {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1rem 0;
}

.service-card ul.service-deliverables li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card ul.service-deliverables li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--kratos-dark-gray);
}

/* Google reCAPTCHA Styling */
.g-recaptcha {
    margin: 1rem 0;
}

.form-group .g-recaptcha {
    margin-top: 0.5rem;
}

.service-card-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 120px;
    height: 120px;
    color: var(--kratos-navy);
    opacity: 0.06;
    z-index: 0;
    pointer-events: none;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--kratos-accent) 0%, var(--kratos-blue) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18), 0 4px 10px rgba(0, 0, 0, 0.12), 0 6px 18px rgba(15, 52, 96, 0.25);
    border-color: var(--kratos-accent);
    background: linear-gradient(135deg, var(--kratos-white) 0%, rgba(233, 69, 96, 0.05) 100%);
    contain: layout style paint;
}

.service-card:hover .service-card-icon {
    opacity: 0.08;
}

.service-card h3,
.why-choose-card.service-card h3 {
    color: var(--kratos-navy);
    margin: 0 0 1rem 0;
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.service-materials {
    color: var(--kratos-navy);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0 0.75rem 0;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

.service-deliverables {
    color: var(--kratos-dark-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    position: relative;
    z-index: 1;
}

.service-credibility {
    color: var(--kratos-accent);
    font-weight: 600;
    font-size: 0.85rem;
    margin: 0 0 1.25rem 0;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(233, 69, 96, 0.2);
}

.service-card p:not(.service-materials):not(.service-deliverables):not(.service-credibility) {
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--kratos-navy);
}

.service-card .what-we-do-link,
.why-choose-card.service-card .what-we-do-link {
    position: relative;
    z-index: 1;
    margin-top: auto;
    display: inline-block;
}

/* Ensure service-card styles take precedence when both classes are present */
.why-choose-card.service-card {
    min-height: 280px;
    text-align: left;
}

.why-choose-card.service-card p {
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--kratos-navy);
}

.location-contact {
    padding: 80px 0;
}

.location-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.location-info h2 {
    color: #1e3a8a;
    margin-bottom: 2rem;
}

.contact-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-item {
    padding: 2rem;
    background-color: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #1e3a8a;
}

.contact-item strong {
    color: #1e3a8a;
}

/* Enhanced Contact Info Section */
.contact-info-section {
    padding: 100px 0;
    background-color: var(--navy-subtle);
    position: relative;
}

.contact-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--navy-border) 50%, transparent 100%);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-details h2 {
    color: var(--navy-primary);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.contact-item {
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: white;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--navy-primary);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.contact-item:hover {
    box-shadow: var(--shadow-lg);
    border-left-color: var(--navy-light);
}

.contact-item h3 {
    color: var(--navy-primary);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.location-map h3 {
    color: var(--navy-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.location-map p {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Enhanced RFQ Section */
.rfq-section {
    padding: 100px 0;
    background-color: white;
    position: relative;
    scroll-margin-top: 200px;
}

.rfq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--navy-border) 50%, transparent 100%);
}

.rfq-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.rfq-form {
    background-color: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--navy-border);
}

#rfqForm {
    scroll-margin-top: 200px;
}

.rfq-form h3 {
    color: var(--navy-primary);
    margin-bottom: 2rem;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.rfq-info {
    background-color: var(--navy-subtle);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--navy-border);
}

.rfq-info h3 {
    color: var(--navy-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.rfq-info ul {
    list-style: none;
    margin-bottom: 2rem;
}

.rfq-info li {
    padding: 0.75rem 0;
    position: relative;
    padding-left: 2rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.rfq-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
    top: 0.75rem;
}

.quote-process h4 {
    color: var(--navy-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.quote-process ol {
    padding-left: 0;
    list-style: none;
}

.quote-process li {
    margin-bottom: 0.75rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
    color: var(--text-medium);
}

.quote-process li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    color: var(--navy-primary);
    font-weight: 700;
    font-size: 0.9rem;
    background: var(--navy-subtle);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0.1rem;
}

.quote-process {
    counter-reset: step-counter;
}

.certifications-summary {
    padding: 80px 0;
}

.cert-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.cert-item {
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #1e3a8a;
    text-align: center;
}

.cert-item h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.cert-note {
    text-align: center;
    font-style: italic;
    color: #64748b;
}

/* Active navigation link */
.nav-link.active {
    color: #1e3a8a;
    font-weight: 600;
}

/* Certifications page specific styles */
.certifications-section.alt {
    background-color: #f8fafc;
}

.government-registration {
    padding: 2rem 0;
}

.registration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.registration-item {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid #1e3a8a;
}

.registration-item h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.registration-item ul {
    list-style: none;
    margin-top: 1rem;
}

.registration-item li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.registration-item li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #1e3a8a;
    font-weight: 700;
}

.industry-certs {
    padding: 2rem 0;
}

.industry-cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.industry-cert-item {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid #1e3a8a;
}

.industry-cert-item h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.industry-cert-item ul {
    list-style: none;
}

.industry-cert-item li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.industry-cert-item li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #1e3a8a;
    font-weight: 700;
}

.compliance-docs {
    padding: 80px 0;
    background-color: #f8fafc;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.doc-item {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.doc-item h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.doc-item .btn {
    margin-top: 1rem;
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .capabilities-layout {
        grid-template-columns: 1fr 370px;
        gap: 1.5rem;
    }
    
    .capabilities-feature-image {
        height: calc((260px * 2 + 1.5rem) * 1.225);
    }
    
    .capabilities-feature-text {
        min-height: 260px;
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .capabilities-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .capabilities-feature-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
    }
    
    .capabilities-feature-text {
        min-height: auto;
    }
    
    .capability-content,
    .industry-content,
    .contact-info-grid,
    .rfq-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Keep government contracting side-by-side on tablets */
    #government-contracting .capability-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .capability-section,
    .industry-section,
    .contact-info-section,
    .rfq-section {
        padding: 60px 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-features,
    .services-grid,
    .materials-grid,
    .certifications-grid,
    .cert-summary,
    .registration-grid,
    .industry-cert-grid,
    .docs-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-feature-image {
        grid-row: span 1;
        min-height: 300px;
    }
    
    .why-choose-header h2 {
        font-size: 1.75rem;
    }
    
    .why-choose-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .why-choose-card {
        padding: 2rem 1.5rem;
    }
    
    .software-banner-btn {
        bottom: 0.75rem;
        right: 0.75rem;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        min-height: auto;
    }
    
    .service-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        min-height: 260px;
    }
    
    .service-card-icon {
        width: 100px;
        height: 100px;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .gallery-section {
        margin-top: -40px;
    }
    
    .capability-text h3,
    .industry-text h3,
    .rfq-form h3 {
        font-size: 1.5rem;
    }
    
    .contact-details h2 {
        font-size: 1.75rem;
    }
    
    .rfq-form,
    .rfq-info {
        padding: 2rem;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .capability-section,
    .industry-section,
    .contact-info-section,
    .rfq-section {
        padding: 40px 0;
    }
    
    .capability-content,
    .industry-content,
    .contact-info-grid,
    .rfq-content {
        gap: 1.5rem;
    }
    
    /* Keep government contracting side-by-side on mobile if possible */
    #government-contracting .capability-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .rfq-form,
    .rfq-info {
        padding: 1.5rem;
    }
    
    .contact-item {
        padding: 1.25rem;
    }
    
    .capability-text h3,
    .industry-text h3,
    .rfq-form h3 {
        font-size: 1.25rem;
    }
    
    .contact-details h2 {
        font-size: 1.5rem;
    }
    
    .software-banner-btn {
        bottom: 0.5rem;
        right: 0.5rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.65rem;
        min-height: auto;
    }
}

/* Privacy Policy Section */
.privacy-policy-section {
    padding: 100px 0;
    background-color: var(--kratos-white);
    position: relative;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--navy-border);
}

.privacy-content h1 {
    color: var(--navy-primary);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 3px solid var(--kratos-accent);
    padding-bottom: 1rem;
}

.last-updated {
    text-align: center;
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.privacy-intro {
    background-color: var(--navy-subtle);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--navy-primary);
    margin-bottom: 2.5rem;
}

.privacy-intro p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.privacy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--navy-border);
}

.privacy-section:last-of-type {
    border-bottom: none;
}

.privacy-section h2 {
    color: var(--navy-primary);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.privacy-section p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.privacy-section ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
    list-style: none;
}

.privacy-section li {
    padding: 0.75rem 0;
    position: relative;
    padding-left: 2rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.privacy-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--navy-primary);
    font-weight: 700;
    font-size: 1.5rem;
    top: 0.5rem;
}

.privacy-section strong {
    color: var(--text-dark);
    font-weight: 600;
}

.contact-info-box {
    background-color: var(--navy-subtle);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--navy-primary);
    margin-top: 1.5rem;
}

.contact-info-box p {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.contact-info-box a {
    color: var(--navy-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-box a:visited {
    color: var(--navy-primary);
    text-decoration: none;
}

.contact-info-box a:hover {
    color: inherit;
    text-decoration: none;
}

.privacy-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--navy-border);
    text-align: center;
    background-color: var(--navy-subtle);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.privacy-footer p {
    margin: 0;
    color: var(--text-medium);
    font-style: italic;
    font-size: 0.95rem;
}

/* Responsive Privacy Policy */
@media (max-width: 768px) {
    .privacy-policy-section {
        padding: 80px 0 60px;
    }
    
    .privacy-content {
        padding: 2rem 1.5rem;
    }
    
    .privacy-content h1 {
        font-size: 2rem;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .privacy-intro {
        padding: 1.5rem;
    }
    
    .contact-info-box {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .privacy-policy-section {
        padding: 70px 0 50px;
    }
    
    .privacy-content {
        padding: 1.5rem 1rem;
    }
    
    .privacy-content h1 {
        font-size: 1.75rem;
    }
    
    .privacy-section h2 {
        font-size: 1.25rem;
    }
    
    .privacy-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .privacy-intro,
    .contact-info-box {
        padding: 1.25rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .cta-button,
    .btn,
    .rfq-form {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}
