/* --- CUSTOM FONTS --- */
@font-face {
    font-family: 'Furore';
    src: url('Furore.otf') format('opentype'); 
    font-weight: normal;
    font-style: normal;
}

/* --- CORE VARIABLES --- */
:root {
    /* Pure Black & White Palette */
    --accent: #ffffff;
    --accent-dim: #888888;
    
    --glass-bg: rgba(15, 15, 15, 0.4); 
    --glass-blur: blur(32px); 
    --glass-border: rgba(255, 255, 255, 0.08); 
    --glass-shadow: 0 40px 80px rgba(0, 0, 0, 0.9); 
    --smooth-curve: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px; /* Crucial so the sticky nav doesn't cover section titles */
}

body {
    font-family: 'Poppins', sans-serif;
    color: #e0e0e0;
    background-color: #000000;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased; 
}

h1, h2, h3, .hero-title, .section-title-huge {
    font-family: 'Furore', sans-serif;
    font-weight: normal; 
    text-transform: uppercase;
}

/* --- LIQUID OBSIDIAN BACKGROUND --- */
#gradient-canvas {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 0; 
    pointer-events: none;
    
   --gradient-color-1: #000000; 
    --gradient-color-2: #1c1c1c; /* Slightly lighter grey */
    --gradient-color-3: #0a0a0a; 
    --gradient-color-4: #333333; /* Dark slate */
}

.dynamic-text {
    color: var(--accent);
}

/* --- PREMIUM NAVIGATION --- */
.premium-nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    pointer-events: none; 
    padding: 0; 
    transition: padding 0.6s var(--smooth-curve);
}

.nav-container {
    max-width: 100%; 
    margin: 0 auto; 
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(10, 10, 10, 0.2);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid transparent; 
    border-bottom: 1px solid var(--glass-border);
    border-radius: 0px; 
    padding: 20px 5%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    pointer-events: auto; 
    transition: max-width 0.6s var(--smooth-curve), border-radius 0.6s var(--smooth-curve),
                padding 0.6s var(--smooth-curve), background 0.6s var(--smooth-curve),
                border 0.6s var(--smooth-curve), box-shadow 0.6s var(--smooth-curve),
                backdrop-filter 0.6s var(--smooth-curve);
}

.logo { 
    display: flex; align-items: center; font-family: 'Furore', sans-serif; 
    font-size: 28px; color: #fff; text-decoration: none; letter-spacing: 2px; line-height: 1;
}
.logo img { 
    height: 32px; margin-right: 15px; display: block;
    /* Force logo to be B&W if it has color */
    filter: grayscale(100%) brightness(1000%);
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { 
    font-family: 'Poppins', sans-serif; color: #888; text-decoration: none; 
    font-size: 14px; font-weight: 500; transition: color 0.3s ease; 
}
.nav-links a:hover, .nav-links a.active { color: #fff; }

/* --- MULTI-LEVEL MATTE GLASS DROPDOWN --- */
.nav-dropdown { position: relative; display: flex; align-items: center; height: 100%; }
.nav-dropbtn { display: flex; align-items: center; cursor: pointer; }

/* --- MULTI-LEVEL MATTE GLASS DROPDOWN --- */
.nav-dropdown { position: relative; display: flex; align-items: center; height: 100%; }
.nav-dropbtn { display: flex; align-items: center; cursor: pointer; }

/* Standard Dropdown Content (All Pages) */
.nav-dropdown-content {
    display: block; position: absolute; top: 200%; left: -20px; 
    background: rgba(8, 8, 8, 0.712); /* Darker glass tint for better text contrast */
    backdrop-filter: blur(80px) saturate(150%); /* Massive blur specifically for the dropdowns */
    -webkit-backdrop-filter: blur(100) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.15); /* Slightly brighter border to make it pop */
    border-radius: 16px; padding: 12px;
    min-width: 200px; box-shadow: 0 50px 100px rgba(0,0,0,0.95); 
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: all 0.4s var(--smooth-curve); z-index: 200;
}

/* Mega Menu Content (Services) */
.mega-menu-content {
    left: 50%; /* Center it relative to the nav item */
    transform: translateX(-50%) translateY(-10px); /* Center alignment + hover offset */
    min-width: 900px; /* Wide enough for 5 columns */
    display: flex; /* Flexbox for columns */
    gap: 30px;
    padding: 25px;
}

/* Invisible bridge so mouse doesn't lose hover */
.nav-dropdown::after { content: ''; position: absolute; width: 100%; height: 30px; bottom: -30px; left: 0; }
.nav-dropdown:hover .nav-dropdown-content { opacity: 1; visibility: visible; top: 150%; }
.nav-dropdown.mega-dropdown:hover .mega-menu-content { transform: translateX(-50%) translateY(0); }

/* Mega Menu Columns */
.mega-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mega-title {
    font-family: 'Furore', sans-serif;
    color: #fff;
    font-size: 13px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
}

.mega-view-all {
    margin-top: 10px;
    color: var(--accent) !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    display: flex !important;
    align-items: center;
    gap: 5px;
}
.mega-view-all i {
    font-size: 10px;
    transition: transform 0.3s ease;
}
.mega-view-all:hover i {
    transform: translateX(3px);
}

/* Level 2: Sub-menu Wrapper */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

.dropdown-submenu i {
    font-size: 10px;
    opacity: 0.5;
    transition: transform 0.3s ease;
}

/* Base link styles for dropdowns */
.nav-dropdown-content a, .submenu-content a { 
    display: block; padding: 12px 16px; border-radius: 10px; 
    color: #aaa; transition: all 0.3s ease; 
    font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 400;
}
.nav-dropdown-content a:hover, .submenu-content a:hover { 
    background: rgba(255,255,255,0.05); color: #fff; padding-left: 20px; 
}


/* Monochrome Nav Button */
.nav-btn-premium {
    padding: 10px 26px; border-radius: 50px; font-family: 'Poppins', sans-serif; font-size: 14px;
    font-weight: 600; color: #fff; text-decoration: none; background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2); transition: all 0.4s var(--smooth-curve);
}
.nav-btn-premium:hover {
    background: #ffffff; color: #000000; border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255,255,255,0.2); transform: translateY(-2px);
}

/* ❄️ FROSTED SCROLLED STATE ❄️ */
.premium-nav.scrolled { padding: 25px 0; }
.premium-nav.scrolled .nav-container {
    max-width: 1200px; width: 90%; background: rgba(5, 5, 5, 0.6); 
    backdrop-filter: blur(40px) saturate(100%); -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 100px; padding: 12px 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}


/* --- HERO & LAYOUT --- */
html, body {
    font-family: 'Poppins', sans-serif;
    color: #e0e0e0;
    background-color: #000000;
    overflow-x: clip; /* Changed from hidden to allow sticky to work */
    -webkit-font-smoothing: antialiased; 
}

/* Update #hero to have 5% padding to match the nav perfectly */
#hero { 
    height: 100vh; display: flex; flex-direction: column; justify-content: center; 
    align-items: flex-start; text-align: left; position: relative; z-index: 5; 
    padding: 0 5%; /* Changed from 3% to 5% */
}
.hero-container { width: 100%; max-width: 1400px; margin: 0 auto; position: relative; z-index: 2; }
.hero-content { max-width: 800px; }

/* style.css */

.hero-bg-system { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 0; 
    background-color: transparent !important; /* Force transparency */
}

/* Lower the opacity of your background images so they don't block the WebGL */

/* Make sure your overlay isn't a solid black wall */
.bg-overlay { 
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%) !important; 
}
.hero-bg-system img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.bg-low { filter: blur(20px) grayscale(100%); transform: scale(1.1); z-index: 1; opacity: 0.15; }
.bg-high { filter: grayscale(100%); opacity: 0; z-index: 2; transition: opacity 1.5s ease-in-out; }
.bg-high.loaded { opacity: 0.8; } /* Lowered opacity so it stays dark and moody */
.bg-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,1) 100%); z-index: 3; }
.hero-bg-system::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, transparent 100%); z-index: 4; pointer-events: none; }
.hero-bottom-shade { position: absolute; bottom: -2px; left: 0; width: 100%; height: 50vh; max-height: 500px; background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,1) 80%, #000 100%); z-index: 10; pointer-events: none; }

.badge-glass { 
    background: var(--glass-bg); border: 1px solid var(--glass-border); 
    backdrop-filter: blur(10px); padding: 8px 24px; border-radius: 50px; 
    font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 600; 
    letter-spacing: 3px; color: var(--accent); margin-bottom: 30px; display: inline-block; 
}

.hero-title { 
    font-size: clamp(50px, 8vw, 90px); line-height: 1.05; 
    margin-bottom: 25px; color: #fff; letter-spacing: 1px; 
}

.hero-desc { 
    font-family: 'Poppins', sans-serif; font-size: 18px; color: #999; 
    max-width: 650px; margin: 0 0 40px 0; line-height: 1.6; font-weight: 300; 
}

.hero-actions { display: flex; gap: 20px; justify-content: flex-start; align-items: center; }

/* Primary Button is now Pure White */
.btn-matte-primary, .btn-matte-secondary {
    padding: 14px 32px; border-radius: 50px; font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600; 
    text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
    transition: all 0.5s var(--smooth-curve); cursor: pointer;
}
.btn-matte-primary { background: #ffffff; color: #000000; box-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.btn-matte-primary:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(255,255,255,0.15); }
.btn-matte-secondary { background: var(--glass-bg); border: 1px solid var(--glass-border); color: #fff; backdrop-filter: var(--glass-blur); }
.btn-matte-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); transform: translateY(-4px); }


/* Bloom Layer */
.bloom-fade-layer { width: 100%; height: 500px; margin-top: -250px; margin-bottom: -150px; background: linear-gradient(to bottom, transparent 0%, #000 40%, #000 70%, transparent 100%); position: relative; z-index: 5; pointer-events: none; }
.content-section { padding: 100px 20px; max-width: 1200px; margin: 0 auto; position: relative; }
.section-title-huge {
    font-size: 10vw; 
    font-weight: 900;
    text-transform: uppercase; 
    letter-spacing: 5px; 
    color: rgba(255, 255, 255, 0.527); /* Subtle enough to be a background element */
    text-align: center; 
    width: 100vw; 
    margin-left: calc(50% - 50vw); 
    line-height: 1.1;
    margin-bottom: 0px; /* Remove the bottom margin so cards overlap it immediately */
}

.section-title-huge.sticky { 
    position: sticky; 
    top: 30px; /* Adjusted to sit higher up under the nav bar */
    z-index: 0; 
}
.content-layer { 
    position: relative; 
    z-index: 2; /* Higher than the sticky title's z-index: 0 */
    margin-top: -5vh; /* This pulls the cards up to start overlapping the text sooner */
}
.premium-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }

.glass-card {
    background: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border); border-radius: 24px; padding: 40px;
    box-shadow: var(--glass-shadow); transition: transform 0.6s var(--smooth-curve), border-color 0.6s ease;
    position: relative; overflow: hidden;
}
.glass-card:hover { transform: translateY(-10px); border-top: 1px solid rgba(255,255,255,0.3); }

/* Icons turn pure white */
.card-icon { width: 50px; height: 50px; border-radius: 12px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; margin-bottom: 25px; transition: color 1s ease; border: 1px solid rgba(255,255,255,0.1); }
.glass-card h3 { color: #fff; font-size: 22px; margin-bottom: 12px; letter-spacing: 1px;}
.glass-card p { font-family: 'Poppins', sans-serif; color: #888; font-size: 15px; line-height: 1.7; font-weight: 300;}

.full-width { grid-column: 1 / -1; }
.card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; }
.stat-badge { background: rgba(255, 255, 255, 0.05); color: #fff; padding: 6px 15px; border-radius: 20px; font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 600; border: 1px solid rgba(255, 255, 255, 0.2); }
.chart-wrapper { width: 100%; height: 300px; position: relative; }

/* Cinematic Reveals */
.cinematic-reveal { opacity: 0; transform: translateY(60px); transition: opacity 1.2s var(--smooth-curve), transform 1.2s var(--smooth-curve); }
.cinematic-reveal.active { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }


/* --- PURE MONOCHROME FOOTER --- */

/* --- SERVICES PAGE SPECIFICS --- */
.service-category-desc {
    font-size: 15px; color: #888; line-height: 1.8; font-weight: 300;
}
.service-category-short {
    font-size: 18px; color: #fff; font-weight: 500; margin-bottom: 15px; border-left: 3px solid #fff; padding-left: 15px;
}
.services-grid-dense {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 40px;
}
.service-mini-card {
    background: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border); padding: 30px 25px; border-radius: 16px; 
    transition: all 0.4s ease; position: relative; overflow: hidden;
    scroll-margin-top: 120px; /* Crucial: Stops the fixed nav bar from covering the card when anchor linked */
}
.service-mini-card:hover {
    background: rgba(255,255,255,0.05); border-top: 1px solid rgba(255,255,255,0.3); transform: translateY(-5px);
}
.service-mini-card i {
    font-size: 24px; color: #fff; margin-bottom: 15px; display: block;
}
.service-mini-card h4 {
    color: #fff; font-size: 15px; margin-bottom: 10px; font-family: 'Poppins', sans-serif; font-weight: 600;
}
.service-mini-card p {
    color: #888; font-size: 13px; line-height: 1.6; font-weight: 300; margin: 0;
}
.sticky-wrapper { position: relative; padding-bottom: 100px; padding-top: 50px; }
.premium-footer {
    border-top: 1px solid var(--glass-border);
    padding: 100px 5% 30px;
    background: linear-gradient(to bottom, rgba(5,5,5,0.6) 0%, rgba(0,0,0,1) 100%);
    backdrop-filter: var(--glass-blur);
    position: relative;
    z-index: 10;
}

.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1.3fr; gap: 50px; margin-bottom: 60px; }
.footer-logo { margin-bottom: 20px; display: inline-flex; filter: grayscale(100%); }
.footer-bio { font-family: 'Poppins', sans-serif; color: #888; font-size: 14px; line-height: 1.8; margin-bottom: 25px; max-width: 95%; font-weight: 300; }
.footer-bio strong { color: #ccc; font-weight: 500; }

.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
    display: flex; align-items: center; justify-content: center; width: 42px; height: 42px;
    border-radius: 50%; background: var(--glass-bg); border: 1px solid var(--glass-border);
    color: #888; font-size: 16px; text-decoration: none; transition: all 0.4s var(--smooth-curve);
}
.footer-socials a:hover {
    background: #ffffff; color: #000000; border-color: #ffffff;
    transform: translateY(-4px); box-shadow: 0 10px 20px rgba(255,255,255,0.1);
}

.footer-col h4 { font-family: 'Furore', sans-serif; font-size: 16px; color: #fff; margin-bottom: 25px; letter-spacing: 1px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { margin-bottom: 16px; }
.footer-links a, .footer-contact a { font-family: 'Poppins', sans-serif; color: #888; text-decoration: none; font-size: 14px; transition: color 0.3s ease, padding-left 0.3s ease; display: inline-block; }
.footer-links a:hover { color: #fff; padding-left: 5px; }

.footer-contact li { display: flex; align-items: center; gap: 15px; color: #aaa; font-size: 14px; }
.footer-contact i { color: #fff; font-size: 16px; width: 20px; text-align: center; opacity: 0.6; }
.footer-contact a:hover { color: #fff; padding-left: 0; }
.small-btn { padding: 10px 20px; font-size: 12px; margin-top: 15px; width: 100%; justify-content: center; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid var(--glass-border); color: #555; font-size: 13px; font-family: 'Poppins', sans-serif; }
.footer-bottom a { color: #fff; text-decoration: none; font-weight: 500; }
.legal-links { display: flex; gap: 25px; }
.legal-links a { color: #666; font-weight: 400; transition: color 0.3s ease; }
.legal-links a:hover { color: #fff; }

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .brand-col { grid-column: 1 / -1; }
    .footer-bio { max-width: 100%; }
}
@media (max-width: 768px) {
    .nav-links, .nav-btn-premium { display: none; } 
    
    /* 1. AT THE TOP (Unscrolled): Boxed, touches edges, extra top padding so it's not ugly */
    .premium-nav { padding: 0; transition: padding 0.4s ease; }
    .nav-container { 
        padding: 30px 5% 15px 5%; /* 30px pushes it down safely from the mobile status bar */
        border-radius: 0; 
        width: 100%;
        border-bottom: 1px solid var(--glass-border); 
        transition: all 0.4s var(--smooth-curve);
    }

    /* 2. SCROLLING DOWN: Adds outer padding, makes it a rounded floating pill */
    .premium-nav.scrolled { 
        padding: 15px 5%; /* Adds space around the outside so it floats */
    }
    .premium-nav.scrolled .nav-container {
        padding: 12px 25px; /* Tighter internal padding for the pill shape */
        border-radius: 50px; /* Makes it round */
        border: 1px solid rgba(255, 255, 255, 0.15); /* Full border */
        background: rgba(5, 5, 5, 0.39); /* Slightly darker glass so it pops */
    }
    .hero-title { font-size: 45px; }
    .section-title-huge { font-size: 16vw; top: 85px; margin-bottom: 50px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn-matte-primary, .btn-matte-secondary { width: 100%; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-logo, .footer-socials, .footer-contact li { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    #hero {
        padding-top: 120px; /* Pushes the hero text down away from the fixed nav */
        justify-content: flex-start; /* Optional: Aligns content toward the top rather than exact center */
    }
}

/* --- MOBILE GLASSY SIDEBAR --- */
.mobile-menu-btn {
    display: none;
    background: transparent; border: none;
    color: #fff; font-size: 24px; cursor: pointer;
    z-index: 101; pointer-events: auto;
}

.mobile-sidebar-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px);
    z-index: 999; opacity: 0; visibility: hidden;
    transition: all 0.4s var(--smooth-curve);
}
.mobile-sidebar-overlay.active { opacity: 1; visibility: visible; }

.mobile-sidebar {
    position: fixed; top: 0; right: 0;
    width: 320px; max-width: 85%; height: 100vh;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(30px) saturate(150%); -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid var(--glass-border);
    z-index: 1000;
    transform: translateX(100%); /* Hides it to the right */
    transition: transform 0.6s var(--smooth-curve);
    display: flex; flex-direction: column; padding: 40px 30px;
    box-shadow: -20px 0 50px rgba(0,0,0,0.9);
}
.mobile-sidebar.active { transform: translateX(0); /* Slides it in */ }

.close-sidebar-btn {
    position: absolute; top: 20px; right: 25px;
    background: transparent; border: none;
    color: #fff; font-size: 28px; cursor: pointer;
    transition: transform 0.4s ease;
}
.close-sidebar-btn:hover { transform: rotate(90deg); color: #ccc; }

.sidebar-content { margin-top: 50px; }
.sidebar-logo { height: 28px; filter: grayscale(100%) brightness(1000%); margin-bottom: 40px; }
.sidebar-title {
    font-family: 'Furore', sans-serif; font-size: 14px; color: #fff;
    margin-bottom: 25px; letter-spacing: 1.5px;
    border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px;
}

.sidebar-contact-list { list-style: none; padding: 0; margin-bottom: 40px; }
.sidebar-contact-list li { margin-bottom: 18px; display: flex; align-items: center; gap: 15px; font-size: 14px; font-weight: 300;}
.sidebar-contact-list i { color: #fff; width: 20px; text-align: center; opacity: 0.6; }
.sidebar-contact-list a { color: #aaa; text-decoration: none; transition: color 0.3s ease; }
.sidebar-contact-list a:hover { color: #fff; }

.sidebar-socials { display: flex; gap: 12px; flex-wrap: wrap; }
.sidebar-socials a {
    display: flex; align-items: center; justify-content: center; width: 42px; height: 42px;
    border-radius: 50%; background: var(--glass-bg); border: 1px solid var(--glass-border);
    color: #888; font-size: 16px; text-decoration: none; transition: all 0.4s var(--smooth-curve);
}
.sidebar-socials a:hover {
    background: #ffffff; color: #000000; border-color: #ffffff;
    transform: translateY(-4px); box-shadow: 0 10px 20px rgba(255,255,255,0.1);
}

/* Force the button to show only on mobile */
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
}

/* --- FIX FOR THE DARK FADE OVERLAP --- */
#hero {
    z-index: 6 !important; 
}

/* --- ULTRA-PREMIUM SCROLL INDICATOR (ARTIFACT & BUG FIXES) --- */
.hero-scroll-trigger {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    cursor: pointer;
    z-index: 9999 !important; /* Forces it above the grid overlap perfectly */
    outline: none; /* Hides any default browser click/focus rings */
    -webkit-tap-highlight-color: transparent;
}

.hero-scroll-trigger:hover {
    transform: none; 
}

.hero-scroll-trigger .scroll-label {
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #ffffff;
    opacity: 0.8; 
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-right: -5px; 
    transition: opacity 0.4s ease, text-shadow 0.4s ease;
}

.hero-scroll-trigger:hover .scroll-label {
    opacity: 1;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.scroll-line-container {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    border-radius: 2px; /* Helps browsers apply strict edge-clipping */
    transform: translateZ(0); /* Forces hardware acceleration to stop bleeding */
    transition: background 0.4s ease;
}

.hero-scroll-trigger:hover .scroll-line-container {
    background: rgba(255, 255, 255, 0.8);
}

/* The Falling Light Beam */
.scroll-line-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 25px; /* Slightly taller for a smoother tail */
    /* Removed the box-shadow to guarantee zero horizontal bleeding */
    background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.7) 60%, #ffffff 100%);
    animation: premiumScrollDrop 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes premiumScrollDrop {
    0% { transform: translateY(-100%); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(60px); opacity: 0; }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-scroll-trigger { 
        bottom: 30px; 
    }
    .scroll-line-container {
        height: 45px;
    }
}