:root {
    --primary: #FF4500;
    --primary-rgb: 255, 69, 0;
    --secondary: #FF8C00;
    --secondary-rgb: 255, 140, 0;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --accent: #E63E00;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
}

/* Explicit Bootstrap Color Overrides to prevent "blue everywhere" */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-primary-subtle { background-color: rgba(var(--primary-rgb), 0.1) !important; }
.border-primary { border-color: var(--primary) !important; }
.btn-primary { 
    background-color: var(--primary) !important; 
    border-color: var(--primary) !important;
    color: white !important;
}
.btn-primary:hover {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
}
.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}
.btn-outline-primary:hover {
    background-color: var(--primary) !important;
    color: white !important;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Navbar #13: Floating Frosted Glass Ring */
.navbar {
    margin: 20px auto;
    width: 90%;
    border-radius: 100px;
    background: var(--glass);
    backdrop-filter: blur(28px);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 30px;
    z-index: 1000;
}

.navbar.scrolled {
    width: 100%;
    margin: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px 20px;
}

.navbar-brand img {
    max-height: 50px;
}

/* Logo Treatment #5: Glassmorphism Pill Frame */
.logo-container {
    background: var(--glass);
    padding: 10px 20px;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    max-height: 90px;
    overflow: hidden;
}

.logo-container:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.2);
}

.navbar-logo-img {
    max-height: 70px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

/* Hero #19: Cinematic Opening Garage Door */
.hero {
    min-height: 120vh; /* Increased height */
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0;
    background: #000;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4)), url('../img/locksmith_hero_1768758768260.png') center/cover;
    z-index: 1;
    transform: scale(1.1);
    transition: transform 2s ease-out;
}

.hero.loaded .hero-bg {
    transform: scale(1);
}

.door-panel {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: #111;
    z-index: 20; /* Above everything */
    transition: transform 1.5s cubic-bezier(0.7, 0, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.door-left { left: 0; border-right: 1px solid rgba(var(--primary-rgb), 0.5); }
.door-right { right: 0; border-left: 1px solid rgba(var(--primary-rgb), 0.5); }

.hero.loaded .door-left { transform: translateX(-100%); }
.hero.loaded .door-right { transform: translateX(100%); }

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    max-width: 650px; /* Decreased content width */
}

.hero-hud-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 50px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.hero-hud-card::before {
    content: '';
    position: absolute;
    top: -1px; left: 50px; right: 50px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.hero-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    box-shadow: 0 0 15px var(--primary);
    animation: scannerMove 4s linear infinite;
    z-index: 15;
}

@keyframes scannerMove {
    0% { top: 0; opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.hero-coords {
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none; /* Removed old shadow for cleaner look */
}

.hero-content .lead {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7) !important;
    margin-bottom: 2.5rem;
}

/* Hero Right Side Visuals */
.hero-visual-container {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.hero-aura-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: pulseGlow 4s infinite alternate;
}

.cyber-key-wrapper {
    position: relative;
    z-index: 10;
    animation: floatKey 6s ease-in-out infinite;
}

.cyber-key-svg {
    width: 280px;
    filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.5));
}

.diag-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.diag-ring {
    position: absolute;
    border: 1px dashed rgba(var(--primary-rgb), 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-lg { width: 450px; height: 450px; animation: rotateDiag 30s linear infinite; }
.ring-md { width: 350px; height: 350px; animation: rotateDiag 20s linear infinite reverse; }
.ring-sm { width: 250px; height: 250px; border-style: dotted; animation: rotateDiag 15s linear infinite; }

.status-chip {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    z-index: 15;
    transition: all 0.3s ease;
    cursor: default;
}

.status-chip:hover {
    background: rgba(var(--primary-rgb), 0.2);
    border-color: var(--primary);
    transform: scale(1.1);
}

.chip-1 { top: 10%; right: 10%; animation: floatChip 4s infinite alternate; }
.chip-2 { bottom: 15%; left: 0%; animation: floatChip 5s infinite alternate-reverse; }
.chip-3 { top: 40%; right: -5%; animation: floatChip 3s infinite alternate; }

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: blink 1.5s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 0.8; }
}

@keyframes floatKey {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes floatChip {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

@keyframes rotateDiag {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Services #7: Layered Glass Sheet Stack */
.service-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-sheet {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    transition: all 0.3s ease;
}

.service-sheet:hover {
    transform: scale(1.02);
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.hud-badge {
    background: var(--white);
    border: 1px solid #eee;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.hud-badge:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

/* Advanced Tech Section - Hero-Style */
.tech-section {
    background: #000;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.tech-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(var(--primary-rgb), 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--primary-rgb), 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.hud-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 60px;
    position: relative;
    z-index: 5;
}

.hud-panel::after {
    content: 'SYSTEM_READY';
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--primary);
    letter-spacing: 2px;
}

.tech-visual-alt {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diagnostic-circle {
    position: absolute;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 50%;
    animation: pulseCircle 4s infinite ease-in-out;
}

@keyframes pulseCircle {
    0%, 100% { transform: scale(0.8); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.protocol-step {
    border-left: 2px solid rgba(var(--primary-rgb), 0.3);
    padding-left: 30px;
    margin-bottom: 40px;
    position: relative;
}

.protocol-step::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.tech-stats {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    flex: 1;
    text-align: center;
}

.stat-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    opacity: 0.9;
    margin-top: 5px;
    font-weight: 600;
}

/* Global Tech-HUD Theme Overrides */
section:not(.hero) {
    position: relative;
    overflow: hidden;
}

.bg-tech-dark {
    background: #000 !important;
    color: white !important;
}

.tech-grid-subtle {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(var(--primary-rgb), 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

/* Enhanced Services HUD */
.service-hud-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 40px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-hud-card:hover {
    background: rgba(var(--primary-rgb), 0.05);
    border-color: var(--primary);
    transform: translateY(-10px);
}

.service-hud-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.5));
}

/* Holographic Accordion */
.faq-dark-hud .accordion-item {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 15px !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-dark-hud .accordion-button {
    background: transparent !important;
    color: white !important;
    padding: 25px;
    font-weight: 600;
}

.faq-dark-hud .accordion-button:not(.collapsed) {
    background: rgba(var(--primary-rgb), 0.1) !important;
    color: var(--primary) !important;
    box-shadow: none;
}

.faq-dark-hud .accordion-body {
    color: rgba(255,255,255,0.7);
    padding: 0 25px 25px;
}

/* Glowing Area Pods */
.area-pod-glow {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

/* New Tech-HUD Components */
.radar-container {
    position: relative;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 50%;
}

.radar-line {
    position: absolute;
    top: 50%; left: 50%;
    width: 50%; height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    transform-origin: left center;
    animation: radarRotate 4s linear infinite;
}

@keyframes radarRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.data-bar-wrap {
    margin-bottom: 25px;
}

.data-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--white);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
}

.data-bar {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.data-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    box-shadow: 0 0 10px var(--primary);
}

.matrix-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(0deg, rgba(var(--primary-rgb), 0.05) 1px, transparent 1px);
    background-size: 100% 4px;
    animation: matrixScroll 10s linear infinite;
    pointer-events: none;
}

@keyframes matrixScroll {
    from { transform: translateY(0); }
    to { transform: translateY(100px); }
}

/* Services #7: Layered Glass Sheet Stack */
.service-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-sheet {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    transition: all 0.3s ease;
}

.service-sheet:hover {
    transform: scale(1.02);
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* Detail Section Rotations */
.detail-section { padding: 100px 0; }

/* Detail #11: Scrolling Text-Reveal Mask */
.text-mask-section {
    position: relative;
    background: var(--dark);
    color: var(--white);
    padding: 150px 0;
    overflow: hidden;
}

.mask-headline {
    font-size: 5rem;
    font-weight: 900;
    text-align: center;
    background: url('../img/locksmith_about_1768758783993.png') fixed center;
    background-size: cover;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

/* Detail #17: Parallax Overlay */
.parallax-overlay {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: var(--light);
}

.parallax-img-container {
    position: relative;
    padding: 15px;
    background: var(--white);
    border-radius: 35px;
    z-index: 1;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.parallax-img-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px dashed rgba(var(--primary-rgb), 0.3);
    border-radius: 45px;
    z-index: -1;
    animation: rotateDiag 20s linear infinite;
}

.parallax-img-wrap {
    width: 100%;
    height: 470px; /* Specific height to fit better */
    border-radius: 25px;
    overflow: hidden !important; /* Force clip */
    position: relative;
    background: #eee; /* Placeholder background */
}

.parallax-img {
    position: absolute;
    top: -15%; /* Slight top offset to allow movement */
    left: 0;
    width: 100%;
    height: 130%; /* Taller than container to prevent gaps */
    object-fit: cover;
    transition: transform 0.1s ease-out;
}

/* Detail #3: Glassmorphism HUD Center */
.glass-hud-center {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/10.jpg') center/cover;
    padding: 150px 0;
    position: relative;
}

.glass-card-center {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 60px;
    color: var(--white);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* CTA #15: Bento-Strip Layout - Enhanced */
.cta-bento {
    display: grid;
    grid-template-columns: 1fr 2fr 1.5fr;
    gap: 20px;
    padding: 60px 0;
}

.bento-cell {
    padding: 40px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bento-cell:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.cell-1 { 
    background: linear-gradient(135deg, var(--primary), var(--secondary)); 
    color: white !important; 
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.3);
}

.cell-1::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.cell-2 { 
    background: var(--white); 
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.cell-2 h2 {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cell-3 { 
    background: var(--dark); 
    color: white !important; 
    border: 1px solid rgba(var(--primary-rgb), 0.3);
}

.cell-3 p {
    letter-spacing: 3px;
    font-size: 0.8rem;
    opacity: 0.6;
}

.cell-3 a {
    color: var(--primary) !important;
    text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
    transition: all 0.3s ease;
}

.cell-3 a:hover {
    color: white !important;
    letter-spacing: 1px;
}

/* Area #15: Glassmorphism Floating Pods */
.area-pods {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.area-pod {
    background: var(--glass);
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
    padding: 12px 25px;
    border-radius: 100px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
}

.area-pod:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
}

/* FAQ #5: Holographic Pop-Up HUD */
.faq-hologram .accordion-item {
    background: transparent;
    border: none;
    margin-bottom: 15px;
}

.faq-hologram .accordion-button {
    background: var(--light);
    border-radius: 15px !important;
    padding: 20px 30px;
    font-weight: 700;
    box-shadow: none;
    border: 1px solid #eee;
}

.faq-hologram .accordion-button:not(.collapsed) {
    background: var(--primary);
    color: var(--white);
}

/* Contact #4: Isometric Command Center */
.contact-iso-wrapper {
    perspective: 1000px;
    padding: 50px 0;
}

.contact-iso {
    transform: rotateY(-5deg) rotateX(2deg);
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 30px 30px 60px rgba(0,0,0,0.05);
    transition: transform 0.5s ease;
}

.contact-iso:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

/* Footer #13: Stacked Asymmetric Modules */
footer {
    padding: 100px 0 50px;
    background: #0a0a0a;
    color: var(--white);
}

.footer-asym {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-logo-wrap {
    background: var(--white);
    padding: 15px 25px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 280px;
    max-height: 130px;
    overflow: hidden;
}

.footer-logo-img {
    max-height: 100px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.map-container {
    height: 450px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   CONSOLIDATED RESPONSIVENESS (MOBILE/TABLET OPTIMIZATION)
   ========================================================================== */

@media (max-width: 1200px) {
    .hero-content h1 { font-size: 3rem; }
    .hud-panel { padding: 40px; }
}

@media (max-width: 991px) {
    /* Navbar Mobile Fix */
    .navbar { width: 100%; margin: 0; border-radius: 0; padding: 10px 15px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .navbar.scrolled { padding: 5px 15px; }
    
    .logo-container {
        padding: 8px 15px;
        max-height: 75px;
    }
    
    .navbar-logo-img {
        max-height: 60px;
        max-width: 200px;
    }
    
    .navbar-collapse {
        background: rgba(10, 10, 10, 0.98);
        margin: 10px -20px 0;
        padding: 20px;
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(var(--primary-rgb), 0.3);
    }
    
    .nav-link {
        padding: 15px 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        color: white !important;
    }
    
    .navbar-nav .btn-primary {
        margin-top: 20px;
        width: 100%;
    }
    
    /* Hero Mobile Fix */
    .hero { min-height: 100vh; padding: 120px 0 60px; text-align: center; }
    .hero-bg { background-attachment: scroll; transform: none !important; }
    .door-panel { display: none; }
    .hero-content { max-width: 100%; margin: 0 auto; }
    .hero-hud-card { padding: 30px 20px; }
    .hero-visual-container { margin-top: 40px; height: 350px; }
    .cyber-key-svg { width: 180px; }
    .diag-rings { display: none; }
    .hero-coords { position: relative; bottom: 0; right: 0; margin-top: 20px; display: block; }
    
    /* Tech Sections Stacking */
    .hud-panel { padding: 30px 20px; border-radius: 30px; }
    .tech-visual-alt { height: 300px; margin-bottom: 30px; }
    .stat-item { padding: 10px; }
    .stat-val { font-size: 1.2rem; }
    
    /* Layout Elements */
    .cta-bento { grid-template-columns: 1fr; gap: 20px; }
    .footer-asym { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .footer-logo-wrap { margin-bottom: 20px; }
    
    .section-padding { padding: 80px 0; }
    .mask-headline { font-size: 2.8rem; }
    .parallax-img-container { height: 400px; margin-bottom: 40px; }
    .parallax-img-container::before { left: 0; top: 15px; }
    
    .contact-iso { transform: none !important; padding: 30px 20px; }
}

@media (max-width: 767px) {
    /* Typography Scaling */
    .display-1 { font-size: 2.5rem; }
    .display-3 { font-size: 2.2rem; }
    .display-5 { font-size: 1.8rem; }
    .hero-content h1 { font-size: 2rem; }
    
    /* Services & Cards */
    .service-hud-card { padding: 25px; }
    .service-hud-card i { font-size: 2.5rem; }
    
    /* HUD Protocol Steps */
    .protocol-step { padding-left: 20px; }
    
    /* Forms & Inputs */
    .btn-lg { padding: 12px 25px; font-size: 1rem; }
    
    /* Area Pods */
    .area-pod { padding: 8px 15px; font-size: 14px; }
}

@media (max-width: 576px) {
    .section-padding { padding: 60px 0; }
    .hero-content h1 { font-size: 1.8rem; }
    .mask-headline { font-size: 2rem; }
    
    .logo-container {
        padding: 6px 12px;
        max-height: 65px;
    }
    
    .navbar-logo-img {
        max-height: 50px;
        max-width: 160px;
    }
    
    .footer-logo-wrap {
        padding: 12px 18px;
        max-width: 220px;
        max-height: 100px;
    }
    
    .footer-logo-img {
        max-height: 75px;
        max-width: 180px;
    }
    
    .tech-stats { flex-direction: column; }
    .stat-item { width: 100%; }
    
    .hero-visual-container { height: 280px; }
    .cyber-key-svg { width: 140px; }
    
    .faq-dark-hud .accordion-button { padding: 15px; font-size: 14px; }
}


