/* ============================================
   NORTHMANN GROUPE — Premium Glass Design
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Deep Corporate Blue Mesh Background */
    --bg-mesh: 
        radial-gradient(circle at 15% 20%, rgba(15, 30, 75, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(10, 40, 90, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(20, 50, 100, 0.4) 0%, transparent 55%),
        #050A15; /* Very dark blue base */
    
    /* Exact Logo Color from Image */
    --logo-blue: #2723D3;

    /* Glass Optics */
    --glass-bg: rgba(15, 25, 45, 0.45);
    --glass-bg-hover: rgba(25, 40, 70, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-hover: rgba(255, 255, 255, 0.25);
    --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    
    /* Northmann Brand Colors (Gold/Yellow & Deep Blue) */
    --brand-gold: #F5A623;
    --brand-gold-glow: rgba(245, 166, 35, 0.4);
    --brand-blue: #1E3A8A;
    --accent-gradient: linear-gradient(135deg, #F5A623, #FFD166);

    /* Text */
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }


body {
    font-family: var(--font-body);
    background: var(--bg-mesh);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Global Spacing Utilities */
.mt-4 { margin-top: 24px; }
.mb-3 { margin-bottom: 16px; }
.mb-60 { margin-bottom: 60px; }
.mb-100 { margin-bottom: 100px; }
.p-40 { padding: 40px; }
.p-60 { padding: 60px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mx-auto { margin-left: auto; margin-right: auto; }
.section-padding { padding: 80px 0; }

/* Background Ambient Orbs */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(140px); }
.orb-1 { width: 55vw; height: 55vw; background: var(--brand-blue); top: -15%; left: -10%; opacity: 0.5; animation: float 20s infinite ease-in-out; }
.orb-2 { width: 45vw; height: 45vw; background: var(--brand-gold); bottom: -10%; right: -10%; opacity: 0.25; animation: float 25s infinite ease-in-out reverse; }

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5vw, 5vh); }
}

/* Glass Primitives */
.glass-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all var(--transition);
}
.glass-panel:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(255, 255, 255, 0.2);
    border-top-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Gold Tinted Glass */
.glass-panel-gold {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.12) 0%, rgba(245, 166, 35, 0.02) 100%);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-top: 1px solid rgba(245, 166, 35, 0.4);
    border-radius: 24px;
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(245, 166, 35, 0.1);
    padding: 60px;
    transition: all var(--transition);
}
.glass-panel-gold:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(245, 166, 35, 0.1);
    transform: translateY(-4px);
}

.glass-icon-wrap {
    width: 60px; height: 60px;
    background: rgba(245, 166, 35, 0.1);
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    color: var(--brand-gold);
    box-shadow: 0 4px 20px var(--brand-gold-glow);
}
.glass-icon-wrap svg { width: 28px; height: 28px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 32px; border-radius: 30px;
    font-weight: 600; font-size: 0.95rem;
    transition: all var(--transition);
    cursor: pointer; border: none;
}
.btn-accent {
    background: var(--brand-gold);
    color: #000;
    box-shadow: 0 4px 20px var(--brand-gold-glow);
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.6);
    background: #FFD166;
}

/* Typography */
.section-title { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; margin-bottom: 10px; }
.section-desc { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 24px; font-style: italic; }
.gradient-text { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-block { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 16px; }
.text-sm { font-size: 0.85rem; color: var(--text-muted); line-height: 1.8; }

/* Perfected Logo Styles */
.nav-logo, .big-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.big-logo { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; }
.logo-mark { 
    height: 1.2em;
    color: var(--logo-blue);
    filter: drop-shadow(0 0 10px rgba(39, 35, 211, 0.6));
}

/* Navbar */
.navbar { position: fixed; top: 0; width: 100%; height: 80px; z-index: 1000; transition: all 0.3s; border-bottom: 1px solid transparent; }
.navbar.scrolled { background: rgba(5, 10, 21, 0.8); backdrop-filter: blur(20px); border-bottom: 1px solid var(--glass-border); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 100%; display: flex; justify-content: space-between; align-items: center; }

/* Navbar Links */
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--text-muted); transition: color var(--transition); }
.nav-links a:hover { color: var(--text-main); }

/* Hamburger Menu Logic */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: #fff; transition: 0.3s; }

/* Home Page Hero */
.hero { height: 100vh; display: flex; align-items: center; padding-left: 10%; }
.hero-subtitle { font-size: 1.2rem; font-weight: 500; color: var(--text-muted); display: block; margin-bottom: 10px; letter-spacing: 1px; }
.hero-title { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); font-weight: 800; line-height: 1.1; }

/* Partner Banner (Unified Pro Design) */
.partner-section { padding: 80px 0; }
.partner-banner { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 60px 80px; position: relative; overflow: hidden; gap: 40px;
}
.partner-content { position: relative; z-index: 2; max-width: 500px; }
.partner-visual { 
    position: relative; z-index: 2; 
    display: flex; justify-content: center; align-items: center; 
}

/* Strategy Banner (Home) */
.strategy-banner { padding: 40px 0; }
.glass-banner { 
    background: linear-gradient(90deg, rgba(15,25,45,0.8), rgba(15,25,45,0.4));
    border: 1px solid var(--glass-border); border-radius: 20px;
    padding: 60px 40px; text-align: center; position: relative; overflow: hidden;
    backdrop-filter: blur(20px);
}
.glass-banner h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 400; position: relative; z-index: 2;}
.wave-deco { position: absolute; right: 0; top: 0; width: 200px; height: 100%; background: repeating-radial-gradient(circle at right center, transparent, transparent 10px, rgba(245,166,35,0.1) 10px, rgba(245,166,35,0.1) 12px); z-index: 1; }

/* Features (Home) */
.features-section { padding: 80px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { padding: 40px 30px; text-align: center; }
.feature-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 12px; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ====================================================
   ABOUT PAGE SPECIFIC STYLES 
   ==================================================== */
.page-header { padding: 150px 0 0; text-align: left; }
.page-header + .split-section { padding-top: 10px; }

.about-hero { min-height: 100vh; display: flex; align-items: center; padding-top: 80px; padding-bottom: 40px; }
.about-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; width: 100%; }
.about-hero-text .hero-title { margin-bottom: 24px; }
.hero-subtext { margin-top: 30px; }
.hero-subtext .section-title { font-size: 2rem; margin-bottom: 8px; line-height: 1.3; }
.hero-subtext .section-desc { margin-bottom: 0; }

.split-section { padding: 60px 0; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.reverse-grid { direction: rtl; }
.reverse-grid > * { direction: ltr; }

/* Organic Morphing Image Frames */
.blob-frame {
    width: 100%; aspect-ratio: 1; background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3), inset 0 0 30px rgba(255,255,255,0.05);
    animation: morph 8s ease-in-out infinite; position: relative;
}
.frame-alt { animation: morph 10s ease-in-out infinite reverse; border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
.blob-frame img { width: 100%; height: 100%; object-fit: cover; }
.image-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-weight: 500; font-family: var(--font-display);
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.02) 10px, rgba(255,255,255,0.02) 20px);
}

@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

/* Smart Solutions Banner */
.network-banner-section { padding: 60px 0; }
.network-banner { padding: 100px 40px; text-align: center; position: relative; overflow: hidden; border: 1px solid var(--glass-border); }
.network-banner h2 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); font-weight: 400; position: relative; z-index: 2; text-shadow: 0 4px 20px rgba(0,0,0,0.8); }
.network-bg { position: absolute; inset: 0; z-index: 1; background-image: radial-gradient(rgba(59, 130, 246, 0.4) 1px, transparent 1px); background-size: 30px 30px; opacity: 0.6; }

/* ====================================================
   SERVICES PAGE & CAREERS HERO STYLES 
   ==================================================== */
.offerings-header-grid, .careers-header-grid {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
    padding-top: 150px; padding-bottom: 60px;
}
.offerings-header-text, .careers-header-text { max-width: 600px; }
.hero-image-wrapper {
    width: 100%; height: 400px; background: var(--glass-bg); border-radius: 24px; overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); position: relative;
    margin-bottom: 60px;
}
.hero-image-wrapper .image-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-weight: 500; font-family: var(--font-display);
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.02) 10px, rgba(255,255,255,0.02) 20px);
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pillar-number {
    font-family: var(--font-display); font-size: 4.5rem; font-weight: 800; line-height: 1;
    margin-bottom: 20px; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; opacity: 0.9;
}

.impact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center; }
.bento-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bento-full { grid-column: 1 / -1; }
.bento-stat { font-family: var(--font-display); font-size: 3.5rem; font-weight: 700; color: var(--text-main); line-height: 1.1; margin-bottom: 10px; }

/* ====================================================
   CAREERS PAGE SPECIFIC STYLES 
   ==================================================== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.step-circle {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.9;
}

/* Glassmorphism Form UI */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { font-weight: 500; font-size: 0.9rem; color: var(--text-main); }
.form-hint { font-size: 0.8rem; color: var(--text-muted); font-style: italic; }

.glass-input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.glass-input::placeholder { color: rgba(255, 255, 255, 0.3); }
.glass-input:focus {
    outline: none;
    border-color: var(--brand-gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(245, 166, 35, 0.2);
}
.glass-input option { background: #0f172a; color: white; }

/* File Input Customization (Crisp frosted glass button that glows gold on hover) */
.glass-file {
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}
.glass-file:hover {
    border-color: rgba(255, 255, 255, 0.4);
}
.glass-file::-webkit-file-upload-button {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 15px;
    transition: all 0.3s ease;
}
.glass-file::-webkit-file-upload-button:hover {
    background: var(--brand-gold);
    color: #000;
    border-color: var(--brand-gold);
    box-shadow: 0 0 15px var(--brand-gold-glow);
}

/* ==================================================== */

/* CTA */
.cta-section { padding: 40px 0 100px; }
.cta-panel { display: flex; justify-content: space-between; align-items: center; padding: 50px 60px; }
.cta-text h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 8px; }
.cta-text p { color: var(--text-muted); font-size: 0.95rem; font-style: italic; }

/* Footer */
.footer { border-top: 1px solid var(--glass-border); padding: 60px 0; background: rgba(5, 10, 21, 0.6); backdrop-filter: blur(20px); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 80px; }
.footer h4 { font-family: var(--font-display); margin-bottom: 12px; color: var(--brand-gold); font-size: 1.1rem; }
.contact-link { color: var(--brand-gold); font-weight: 600; text-decoration: underline; text-decoration-color: transparent; transition: 0.3s; }
.contact-link:hover { text-decoration-color: var(--brand-gold); }
.social-links { display: flex; gap: 15px; }
.social-links a { color: var(--text-muted); font-weight: 600; font-size: 0.9rem; transition: 0.3s; text-transform: uppercase; }
.social-links a:hover { color: var(--brand-gold); }

/* Animations */
[data-anim] { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
[data-anim="fade-right"] { transform: translateX(-30px); }
[data-anim="fade-left"] { transform: translateX(30px); }
[data-anim].visible { opacity: 1; transform: translate(0); }

/* Responsive */
/* Responsive */
@media (max-width: 992px) {
    /* Menu Logic */
    .nav-links { 
        position: absolute; top: 80px; left: 0; width: 100%; 
        background: rgba(5, 10, 21, 0.95); backdrop-filter: blur(20px); 
        flex-direction: column; padding: 30px 24px; gap: 20px; 
        border-bottom: 1px solid var(--glass-border); 
        display: none; /* Hidden by default */
        text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    .nav-links.active { display: flex; } /* Shown via JS */
    
    .hamburger { display: flex; z-index: 1001; }
    .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .partner-banner { flex-direction: column; padding: 40px 30px; text-align: center; }
    .partner-visual { margin-top: 40px; }
    
    .features-grid, .split-grid, .about-hero-grid, .grid-3, .impact-grid, .bento-cards, .grid-4 { grid-template-columns: 1fr; }
    .split-grid.reverse-grid { direction: ltr; }
    /* Reorders specific grids so text/buttons appear above the image on mobile */
    .mobile-col-reverse { display: flex !important; flex-direction: column-reverse !important; gap: 40px; }
    .cta-panel { flex-direction: column; text-align: center; gap: 30px; padding: 40px 30px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    .hero { padding-left: 24px; text-align: center; justify-content: center; }
    
    .glass-panel-gold, .p-60 { padding: 40px 30px; }
    .page-header { padding: 120px 0 0; }
    .page-header + .split-section { padding-top: 20px; }
    .about-hero { min-height: auto; padding-top: 120px; text-align: center; }
    .offerings-header-grid, .careers-header-grid { grid-template-columns: 1fr; padding-top: 120px; text-align: center; }
    .hero-image-wrapper { height: 250px; }
    .form-grid { grid-template-columns: 1fr; }
}

/* Smartphone Specific Fixes (The De-Cluttering & Alignment) */
/* Smartphone Specific Fixes (The De-Cluttering & Alignment) */
/* Smartphone Specific Fixes (The De-Cluttering & Alignment) */
@media (max-width: 768px) {
    /* 1. Master Boundary Fix */
    .container { padding: 0 20px !important; }
    
    .glass-banner, 
    .partner-banner, 
    .cta-panel,
    .container.glass-panel,
    .container.glass-panel-gold { 
        width: calc(100% - 40px) !important; 
        margin-left: auto !important; 
        margin-right: auto !important; 
    }

    /* 2. Disable "Pop-in" Scroll Animations on Mobile (Fixes the Out-of-the-Blue issue) */
    [data-anim] { 
        opacity: 1 !important; 
        transform: translate(0) !important; 
        transition: none !important; 
    }

    /* Equalizing the vertical spacing for the 'Discover More' button */
    .split-text .text-block:last-of-type {
        margin-bottom: 0 !important;
    }

    .split-text .btn {
        margin-top: 30px !important; /* Matches the container's 30px bottom padding */
    }
    
    /* 3. Sleek Mobile Navbar Logo */
    .nav-logo { font-size: 1.15rem !important; } 
    .logo-mark { height: 1em !important; }

    /* 4. Global Text Gap Fix */
    .section-title { font-size: 1.8rem !important; line-height: 1.3 !important; margin-bottom: 24px !important; }
    h2, h3, .bento-stat { margin-bottom: 16px !important; }

    /* 5. The Hero Section */
    .hero { 
        height: 100svh !important; 
        padding: 0 20px !important; 
        text-align: center; 
        justify-content: center; 
        align-items: center; 
        position: relative; 
    }
    
    /* 6. Scroll Indicator (STRICTLY scoped to Home ONLY) */
    .hero::after {
        content: '';
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        background: linear-gradient(to bottom, var(--brand-gold), transparent);
        border-radius: 2px;
        animation: scrollPulse 2.5s ease-in-out infinite;
    }

    .hero-title { font-size: clamp(2.5rem, 10vw, 3.8rem) !important; line-height: 1.1 !important; margin-bottom: 24px !important; }
    .hero-subtitle { font-size: 1.1rem !important; margin-bottom: 16px !important; }

    /* 7. Fix the Trusted Partner Box (Bigger, Taller, and Imposing) */
    /* 7. Fix: Trusted Partner Box Width (Matches the width of other panels) */
    .partner-banner { 
        padding: 65px 24px !important; 
        min-height: 280px !important; 
        width: 100% !important; /* Force it to fill the container width perfectly */
        margin-left: 0 !important;
        margin-right: 0 !important;
        gap: 20px !important; 
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center !important;
    }
    .partner-visual { display: none !important; } 
    .partner-banner .btn { width: 100% !important; margin-top: 10px !important; padding: 14px 0 !important; }

    /* 8. Fix the "Strategy to Success" Box (Matched to other heavyweight panels) */
    .glass-banner { 
        padding: 40px 24px !important; 
        min-height: 280px !important; /* Forces the exact same height as your other big boxes */
        border-radius: 24px !important; 
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* 9. Hide Offerings Hero Image on Mobile ONLY */
    .no-mobile-image .header-visual { display: none !important; }
    .no-mobile-image .offerings-header-text { margin-bottom: 0 !important; } 
    
    /* 10. Center All Sub-Page Heroes */
    .offerings-header-grid, .careers-header-grid {
        min-height: 100svh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 100px 0 80px !important;
        position: relative;
    }
    
    /* 11. Fix the Broken Text & Orphans */
    h1, h2, h3, p { text-wrap: balance; }
    
    /* 12. Specific fix for the Contact Us CTA */
    .cta-text h2 { font-size: 1.5rem !important; line-height: 1.4 !important; padding: 0 10px; margin-bottom: 16px !important; }
    .cta-text p { font-size: 0.95rem !important; margin-top: 0 !important; }
    
    /* 13. General Box Clutter */
    .p-60, .glass-panel-gold, .glass-panel { padding: 30px 20px !important; }
    .cta-panel { padding: 50px 20px !important; gap: 20px !important; }
    .section-padding { padding: 50px 0 !important; }
    
    /* 14. Grid Spacing */
    .grid-4, .grid-3 { gap: 24px; } 
    .blob-frame { width: 100%; max-width: 350px; margin: 0 auto; } 
    
    /* 15. Ensure Mobile Menu sits on top */
    .nav-links { z-index: 9999 !important; padding: 20px; }
}

/* Keyframes for the Brainstormed Hero Scroll Indicator */
@keyframes scrollPulse {
    0% { height: 20px; opacity: 0.2; transform: translate(-50%, 0); }
    50% { height: 60px; opacity: 1; transform: translate(-50%, 15px); }
    100% { height: 20px; opacity: 0.2; transform: translate(-50%, 0); }
}

/* Active Link Styling */
.nav-links a.active { color: var(--brand-gold); font-weight: 600; text-shadow: 0 0 10px var(--brand-gold-glow); }

/* Custom Form Validation (From original code) */
.inline-error { display: none; color: #ff4d4d; font-size: 0.85rem; margin-top: 6px; font-weight: 500; }
.glass-input:invalid:not(:placeholder-shown):not(:focus) { border-color: #ff4d4d !important; background-color: rgba(255, 77, 77, 0.05); }
.glass-input:invalid:not(:placeholder-shown):not(:focus) ~ .inline-error { display: block; }
.form-submitted .glass-input:invalid:not(:focus), .form-submitted .glass-file:invalid { border-color: #ff4d4d !important; background-color: rgba(255, 77, 77, 0.05); }

/* Success State */
.success-message-container { text-align: center; padding: 60px 20px; animation: fadeIn 0.6s ease forwards; }
.success-icon { width: 80px; height: 80px; background: rgba(40, 167, 69, 0.1); border: 1px solid rgba(40, 167, 69, 0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px auto; color: #28a745; box-shadow: 0 4px 20px rgba(40, 167, 69, 0.2); }
.success-icon svg { width: 40px; height: 40px; }
.success-message-container h3 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 12px; color: var(--text-main); }
.success-message-container p { color: var(--text-muted); font-size: 1.1rem; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

/* Active Link Styling */
.nav-links a.active {
    color: var(--brand-gold);
    font-weight: 600;
    text-shadow: 0 0 10px var(--brand-gold-glow);
}

/* --- CUSTOM INLINE FORM VALIDATION --- */

.inline-error {
    display: none;
    color: #ff4d4d;
    font-size: 0.85rem;
    margin-top: 6px;
    font-weight: 500;
}

/* 1. If field has wrong text AND user clicks away: Show red border & text 
   (This works perfectly both before and after hitting submit) */
.glass-input:invalid:not(:placeholder-shown):not(:focus) {
    border-color: #ff4d4d !important;
    background-color: rgba(255, 77, 77, 0.05);
}
.glass-input:invalid:not(:placeholder-shown):not(:focus) ~ .inline-error {
    display: block;
}

/* 2. If user hits Submit and leaves fields EMPTY: Show red border ONLY. 
   Critically, the :not(:focus) ensures this red border disappears the 
   exact second they click inside to start typing. */
.form-submitted .glass-input:invalid:not(:focus),
.form-submitted .glass-file:invalid {
    border-color: #ff4d4d !important;
    background-color: rgba(255, 77, 77, 0.05);
}

/* --- IN-PLACE SUCCESS STATE --- */
.success-message-container {
    text-align: center;
    padding: 60px 20px;
    animation: fadeIn 0.6s ease forwards;
}
.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    color: #28a745;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.2);
}
.success-icon svg {
    width: 40px;
    height: 40px;
}
.success-message-container h3 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--text-main);
}
.success-message-container p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}