 
/* ==========================================
   🚫 100% UNIVERSAL SCROLLBAR HIDE
   ========================================== */

/* 1. Firefox aur Edge ke liye */
html, body {
    -ms-overflow-style: none !important; /* IE and Edge */
    scrollbar-width: none !important;    /* Firefox */
}

/* 2. Chrome, Safari, aur saare Webkit browsers ke liye (Master Fix) */
/* Isme '*' ka matlab hai page ka har ek element cover ho jayega */
*::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important; /* Background transparent hona zaroori hai */
}

/* 3. Mobile Nav aur specific containers ke liye extra layer */
#mobileNav, 
.mobile-links, 
.mobile-submenu {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

#mobileNav::-webkit-scrollbar {
    display: none !important;
}

#mobileNav {
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch; 
}

:root {
    --mx-blue: #00B0FF;
    --mx-deep: #001a33;
    --mx-black: #000000;
    --bg-color: #ffffff;
    --text-color: #0f172a;
    --sub-text: #64748b;
    --nav-height: 75px;
}

body.night-mode {
    --bg-color: #030712;
    --text-color: #ffffff;
    --sub-text: #94a3b8;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    background-color: var(--bg-color);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    color: var(--text-color);
    transition: background-color 0.4s ease, color 0.4s ease;
}

body.scroll-lock { overflow: hidden !important; height: 100vh !important; }

/* ✅ NEW: BACKGROUND BLUR OVERLAY FIX */
#navOverlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9997; /* Navbar se niche, content se upar */
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
}
#navOverlay.show { opacity: 1; visibility: visible; }

/* ==========================================
   🛰️ NAVBAR & NAVIGATION (Standard Master Sync)
   ========================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6%;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 9999;
    background: #030712 !important; 
    border-bottom: 1px solid rgba(0, 176, 255, 0.2);
}

.logo-container { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-box { background-color: #ffffff; border: 2px solid var(--mx-blue); color: var(--mx-blue); padding: 6px 10px; font-weight: 900; border-radius: 12px; box-shadow: 0 0 15px rgba(0, 176, 255, 0.3); }
.logo-text { font-weight: 900; color: #ffffff; letter-spacing: 1px; }

.nav-links { display: flex; list-style: none; align-items: center; gap: 25px; height: var(--nav-height); }
.nav-links > li { position: relative; display: flex; align-items: center; height: 100%; }
.nav-links > li > a { text-decoration: none; color: #ffffff; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 5px; transition: 0.2s ease; height: 100%; }
.nav-links > li > a:hover { color: var(--mx-blue); }
.desktop-drop-icon { font-size: 0.7rem; color: var(--mx-blue); transition: 0.3s ease; }

.desktop-submenu { position: absolute; top: var(--nav-height); left: 0; background: #030712; border: 1px solid rgba(0, 176, 255, 0.2); list-style: none; width: 210px; padding: 10px 0; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transform: translateY(5px); transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94); z-index: 10000; }
.nav-links li:hover .desktop-submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-links li:hover .desktop-drop-icon { transform: rotate(180deg); }
.desktop-submenu li a { display: block; padding: 12px 20px; color: #94a3b8; text-decoration: none; font-size: 0.85rem; font-weight: 600; transition: 0.2s ease-in-out; }
.desktop-submenu li a:hover { color: var(--mx-blue) !important; background: rgba(0, 210, 255, 0.08); padding-left: 25px; }

.right-nav-pack { display: flex; align-items: center; gap: 20px; }

.desktop-glass-home {
    display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 10px 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1.5px solid rgba(0, 176, 255, 0.4); color: #ffffff; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0, 176, 255, 0.2);
}
.desktop-glass-home .material-symbols-outlined { font-size: 18px !important; color: var(--mx-blue); }
.desktop-glass-home:hover { transform: translateY(-3px); background: var(--mx-blue); color: #030712; }

.theme-toggle-btn { background: none; border: none; color: #ffffff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 24px !important; transition: 0.3s; }
.theme-toggle-btn:hover { color: var(--mx-blue); transform: scale(1.1); }

.menu-btn { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 10001; }
.menu-btn span { width: 26px; height: 3px; background: var(--mx-blue); border-radius: 4px; }

/* 📱 🚀 Mobile Navbar Drawer Fixes */
#mobileNav {
    position: fixed; 
    top: var(--nav-height); 
    right: -100%; 
    width: 75%; 
    
    /* 1. VH Fix: dvh (Dynamic Viewport Height) browser bar ke hisab se height adjust karta hai */
    height: calc(100dvh - var(--nav-height));
    
    background: #030712 !important; 
    z-index: 99999;
    transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1); 
    border-left: 1.5px solid var(--mx-blue); 
    
    /* 2. Container Logic: Isko flex hi rehne do */
    display: flex; 
    flex-direction: column; 
    overflow: hidden; /* Main container scroll nahi hoga */
}

.mobile-links { 
    list-style: none; 
    padding: 20px 15px; 
    
    /* 3. Scroll Logic: Sirf links wala area scroll hoga agar list lambi hai */
    flex: 1; 
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch; 
}

.mobile-links > li { 
    margin-bottom: 5px; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
    display: flex; 
    flex-direction: column; 
}

.mobile-links > li > a { 
    display: flex; 
    align-items: center; 
    padding: 15px 10px; 
    color: #ffffff !important; 
    text-decoration: none; 
    font-size: 0.95rem; 
    font-weight: 700; 
    gap: 12px; 
}

.nav-footer { 
    background: #000000; 
    border-top: 1px solid rgba(0, 176, 255, 0.2); 
    width: 100%; 
    
    /* 4. Footer Fix: Ye property footer ko dabne (shrink hone) se rokegi */
    flex-shrink: 0; 
    
    /* 5. Safe Area: iPhone ke bottom indicator ke liye thodi extra space */
    padding-bottom: env(safe-area-inset-bottom); 
}

#mobileNav.open { right: 0; }


.drop-icon-mobile { margin-left: auto; font-size: 0.75rem; color: var(--mx-blue) !important; transition: 0.3s; }

.mobile-submenu { display: none; list-style: none; padding: 0; background: rgba(0, 0, 0, 0.4); border-radius: 8px; margin-bottom: 10px; width: 100%; }
.mobile-submenu.active { display: flex !important; flex-direction: column; }
.mobile-submenu li a { display: block; padding: 12px 15px 12px 45px; color: #94a3b8 !important; text-decoration: none !important; font-size: 0.85rem; font-weight: 600; }

/* ✅ FIXED MOBILE DRAWER FOOTER (Bottom Lock) */
.mobile-drawer-footer {
    margin-top: auto;
    background: #000;
}

#mobileNav .mobile-links > li > a .material-symbols-outlined {
    color: #00B0FF !important; 
    font-size: 22px !important;
    text-shadow: 0 0 10px rgba(0, 176, 255, 0.4) !important;
}

.sidebar-glass-home-wrapper { padding: 15px; width: 100%; }
.sidebar-glass-home {
    display: flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; width: 100%; padding: 15px; border-radius: 16px; background: rgba(255, 255, 255, 0.04) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1.5px solid rgba(0, 176, 255, 0.4) !important; color: #ffffff !important; font-size: 0.95rem; font-weight: 800;
}

.contact-box { padding: 20px !important; display: flex; flex-direction: column; gap: 15px; }
.contact-item { display: flex; align-items: center; gap: 12px; color: #ffffff !important; text-decoration: none; font-size: 0.85rem; }
.contact-item span { color: #00B0FF !important; font-size: 20px !important; }

.social-bar { display: flex; justify-content: center; align-items: center; gap: 25px; background-color: var(--mx-blue); padding: 12px 0; }
.social-bar a { color: #000000; font-size: 1.1rem; }


@media (max-width: 900px) {
    .nav-links, .desktop-glass-home { display: none !important; }
    .menu-btn { display: flex; }
}


/* ==========================================
   🚀 SCROLL TO TOP BUTTON (Fixed & Refined)
   ========================================== */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #ffffff; /* ☀️ Light Mode Background */
    border: 2px solid #00B0FF !important; /* Proper Neon Blue Border */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index:  9998; 
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0, 176, 255, 0.15);
}

/* 🌙 Night Mode Fix: Border aur Background dono set kiye hain */
body.night-mode #scrollTopBtn {
    background: #030712 !important;
    border: 2px solid #00B0FF !important; /* Edge visible karne ke liye */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

/* ⬆️ Arrow/Icon Color Fix */
#scrollTopBtn i {
    font-size: 1.2rem;
    color: #00B0FF !important; /* Hamesha Neon Blue rahega */
    transition: color 0.3s ease;
}

/* Jab button dikhega */
#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ✨ Hover State */
#scrollTopBtn:hover {
    background: #00B0FF !important;
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 15px 30px rgba(0, 176, 255, 0.4);
    border-color: #00B0FF !important;
}

/* Hover par Arrow White ho jayega */
#scrollTopBtn:hover i {
    color: #ffffff !important;
}


/* ==========================================
   🚀 UNIVERSAL HOME-TAB: SOLID NEON SYNC
   ========================================== */

/* 1. Desktop: Home Tab - Normal State (Solid Border & Glow) */
.desktop-glass-home {
    transition: all 0.3s ease-in-out !important;
    border: 2px solid #00B0FF !important; /* VS wala Sharp Solid Line */
    box-shadow: 0 0 15px rgba(0, 176, 255, 0.4), 
                inset 0 0 8px rgba(0, 176, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    padding: 8px 18px !important;
    border-radius: 10px !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 2. Desktop: Home Tab - Hover State (Solid Inner Fill + White Icon) */
.desktop-glass-home:hover {
    background: #00B0FF !important; /* Underneath Solid Fill */
    border-color: #ffffff !important; /* Border becomes White */
    box-shadow: 0 0 25px rgba(0, 176, 255, 0.7) !important;
    transform: translateY(-2px);
}

/* Hover par Icon aur Text ko FORCE White karna (Gayab hone se rokne ke liye) */
.desktop-glass-home:hover span,
.desktop-glass-home:hover .material-symbols-outlined {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5) !important;
}

/* 3. Mobile: Home Tab - Sharp & Clean Neon Sync */
.sidebar-glass-home {
    background: rgba(0, 176, 255, 0.08) !important; /* Background ko halka kiya taaki text saaf dikhe */
    border: 1.5px solid #00B0FF !important; /* Border thoda patla aur sharp */
    color: #ffffff !important;
    font-weight: 800 !important;
    
    /* 🚀 CLEAN GLOW FIX: 
       Blur ko 20px se hata kar 8px kiya (taki chube nahi) 
       Aur spread ko negative rakha taaki light button ke pass hi rahe */
    box-shadow: 0 0 10px rgba(0, 176, 255, 0.3), 
                inset 0 0 5px rgba(0, 176, 255, 0.2) !important;
    
    /* Text shadow ko minimal rakha hai for readability */
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    
    /* Smooth transition for premium feel */
    transition: all 0.3s ease-in-out;
}

/* Optional: Active/Tap state for better UX */
.sidebar-glass-home:active {
    background: #00B0FF !important;
    color: #030712 !important;
    box-shadow: 0 0 20px rgba(0, 176, 255, 0.5) !important;
    transform: scale(0.98);
}