/* Mobile Responsive Styles - V14 UNWRAPPED & SPECIFIC */
/* Note: Loaded via media attribute in HTML */

/* 1. NUCLEAR RESET & SCROLL LOCK */
* {
    box-sizing: border-box !important;
}

html,
body {
    overflow-x: hidden !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    touch-action: pan-y !important;
    /* Disables horizontal scroll gestures */
}

/* 2. HEADER - OVERRIDE WITH EXTREME PREJUDICE */
body .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 70px !important;

    /* Force Flat Bar */
    border-radius: 0 !important;
    margin: 0 !important;
    transform: none !important;
    background: rgba(3, 7, 18, 0.98) !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;

    /* Layout */
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 20px !important;
    z-index: 9999 !important;
}

/* Logo Center */
body .header .logo {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
}

body .header .logo img {
    height: 28px !important;
    width: auto !important;
}

/* Hamburger LEFT */
.mobile-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 24px !important;
    height: 18px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    z-index: 10000 !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    /* Pushes to LEFT */
    position: relative !important;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background: white;
    display: block;
}

/* Hide Desktop Nav */
body .header nav {
    position: static !important;
}

body .header nav ul.nav-links {
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100vh - 70px) !important;
    background: #030712 !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding-top: 40px !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease !important;
    visibility: hidden;
    display: flex !important;
    z-index: 9998 !important;
}

body .header nav ul.nav-links.active {
    transform: translateX(0) !important;
    visibility: visible !important;
}

/* 3. LAYOUT & SPACING FIXES */
.container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* Hero */
#home {
    padding-top: 110px !important;
    /* Safe zone below fixed header */
    padding-bottom: 2rem !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.hero-title {
    font-size: 10vw !important;
    /* Fluid size prevents breaking */
    line-height: 1.1 !important;
    width: 100% !important;
    text-align: center !important;
    margin: 1rem 0 !important;
    word-break: keep-all !important;
    /* Prevent ANY breaking */
    white-space: normal !important;
    hyphens: none !important;
}

/* Spacing */
.section-padding {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Strategic Intelligence Title Match */
#about h2 {
    font-size: 2.2rem !important;
    /* Smaller to fit without breaking */
    line-height: 1.2 !important;
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
    word-break: normal !important;
    /* Prevent mid-word breaking */
    hyphens: none !important;
}

/* Grids */
.grid-3,
.grid-2 {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    width: 100% !important;
}

/* 4. MARQUEE & SCROLL KILLER */
.marquee-wrapper {
    width: 100% !important;
    max-width: 100vw !important;
    margin: 2rem 0 !important;
    padding: 0 !important;
    background: #030712 !important;
    overflow: hidden !important;
}

.marquee-content {
    width: max-content !important;
}

.marquee-item {
    font-size: 2rem !important;
    /* Smaller font to prevent overflow */
    padding: 0 1rem !important;
}

/* 5. TYPOGRAPHY PROTECTION */
h1,
h2,
h3,
h4,
p,
a,
span {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
}

/* 6. DISABLE EFFECTS */
.liquid-orb,
.glow-card::before,
.cursor-dot,
.cursor-outline {
    display: none !important;
}

/* Footer */
footer {
    padding: 3rem 0 !important;
    /* Symmetric - no side padding */
    margin-top: 3rem !important;
    text-align: center !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    width: 100% !important;
}

footer p {
    text-align: center !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.contact-big-link {
    font-size: 1.2rem !important;
    /* Smaller to fit */
    display: block !important;
    text-align: center !important;
    white-space: normal !important;
    /* Allow wrapping if needed */
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100% !important;
    padding: 0 10px !important;
}

/* Contact Section Centering */
#contact {
    text-align: center !important;
    padding-left: 0 !important;
    /* Remove container offset */
    padding-right: 0 !important;
}

#contact h2 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#contact .reveal {
    text-align: center !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#contact .reveal a {
    margin-left: auto !important;
    margin-right: auto !important;
}