        /* --- 1. VARIABLES --- */
        :root {
            --bg-color: #0f0f12;
            --text-color: #e0e0e0;
            --card-bg: #1e1e24;

            /* Glass Recipe */
            --glass-bg: rgba(255, 255, 255, 0.05);
            --glass-border: 1px solid rgba(255, 255, 255, 0.1);
            --glass-blur: blur(15px);
            --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);

            --accent-gradient: linear-gradient(135deg, #00c6ff, #f7de00);
            --input-bg: rgba(0, 0, 0, 0.3);
            --orb-color-1: #f7de00;
            --orb-color-2: #00c6ff;
        }

        [data-theme="light"] {
            --bg-color: #f4f4f9;
            --text-color: #1a1a1a;
            --card-bg: #ffffff;

            /* Light Mode Glass */
            --glass-bg: rgba(255, 255, 255, 0.6);
            --glass-border: 1px solid rgba(0, 0, 0, 0.1);
            --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Softer shadow */
            --input-bg: rgba(0, 0, 0, 0.05);

            --orb-color-1: #68deff;
            --orb-color-2: #faee7f;
        }

        /* Logo Inversion for Light Mode */
        [data-theme="light"] .logo img {
            filter: invert(1);
        }

        /* Light Mode Specifics */
        [data-theme="light"] .btn {
            background: rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(0, 0, 0, 0.2);
            color: var(--text-color);
        }

        [data-theme="light"] .btn:hover {
            background: var(--text-color);
            color: var(--bg-color);
        }

        [data-theme="light"] .skill-tag {
            background: rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(0, 0, 0, 0.1);
        }

        [data-theme="light"] .dropdown-menu {background: rgba(255, 255, 255, 0.9);
            color: rgba(0, 0, 0, 1);
        }
        /* --- 2. GLOBAL RESET --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Ubuntu', sans-serif;
        }

                /* --- GLOBAL RESET --- */
        html {
            /* Don't lock height here. Let the document flow naturally. */
            width: 100%;
            background-color: var(--bg-color);
        }

        body {
           background-color: transparent;
            color: var(--text-color);
            line-height: 1.6;
            
            width: 100%;
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
            margin: 0;
            padding: 0;
        }
        a {
            text-decoration: none;
            color: inherit;
            transition: 0.3s;
        }

        ul {
            list-style: none;
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* --- 3. BACKGROUND ORBS --- */
        .background-orbs {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            z-index: -1;
            pointer-events: none;
        }

        .orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.4;
            will-change: transform;
            animation: moveOrb 5s infinite alternate ease-in-out;
        }

        .orb-1 {
            width: 400px;
            height: 400px;
            background: var(--orb-color-1);
            top: -100px;
            left: -100px;
        }

        .orb-2 {
            width: 300px;
            height: 300px;
            background: var(--orb-color-2);
            bottom: 20%;
            right: 500px;
            animation-delay: -3s;
        }

        @keyframes moveOrb {
            0% {
                transform: translate(0, 0);
            }

            100% {
                transform: translate(800px, 800px);
            }
        }

        /* --- 4. HEADER & NAV --- */
        header {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 90%;
            max-width: 1200px;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            border-radius: 50px;
            background: var(--glass-bg);
            -webkit-backdrop-filter: var(--glass-blur);
            backdrop-filter: var(--glass-blur);
            border: var(--glass-border);
            box-shadow: var(--glass-shadow);
        }

        .logo {
            font-weight: 900;
            letter-spacing: 1px;
            font-size: 1.1rem;
            text-transform: uppercase;
            z-index: 998;
        }

        .logo img {
            width: 100%;
            height: 40px;
            object-fit: contain;
            left: 0px;
        }
        
        /* CENTERED DESKTOP MENU */
        .nav-links {
            display: flex;
            gap: 2rem;
            align-items: center;
            position: relative;
            left: 48%;
            transform: translateX(-50%);
        }

        .nav-links a {
            font-weight: 600;
            font-size: 0.9rem;
            opacity: 0.8;
        }

        .nav-links a:hover {
            color: #00c6ff;
            opacity: 1;
            font-size: 1.2rem;
        }
        section h2 {font-family: 'Playwrite IN', cursive;}
        /* Utility Classes */
        .mt-08 { margin-top: 0.8rem; }
        .mt-05 { margin-top: 0.5rem; }
        .mb-15 { margin-bottom: 1.5rem; }
        .op-07 { opacity: 0.7; }
        .op-04 { opacity: 0.4; }
        .ta-c { text-align: center; }
        .wide { width: 100%; }
        .fs-1 { font-size: 1rem; }
        .fs-08 { font-size: 0.8rem; }
        .mw-m { max-width: 600px; margin: 0 auto; } 
        .Playwrite { font-family: 'Playwrite IN', cursive; }
        
        /* Theme Toggle */
        .theme-switch {
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 600;
            opacity: 0.8;
            z-index: 1002;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .theme-switch:hover {
            opacity: 1;
            color: #00c6ff;
        }

        .hamburger {
            display: none;
            cursor: pointer;
            z-index: 1002;
        }

        .bar {
            display: block;
            width: 25px;
            height: 2px;
            margin: 6px 0;
            background-color: var(--text-color);
            transition: 0.3s;
        }

        /* --- 5. HERO SECTION --- */
        .hero {
            /* CHANGE THIS LINE */
            min-height: 100vh; /* Allows the box to GROW if text is too big */
            /* Remove 'height: 100vh' if it exists */
            
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            width: 100%; 
            padding: 6rem 1rem 0; /* Added top padding so nav doesn't cover text on small screens */
            position: relative;
        }

        .hero h1 {
            font-size: clamp(3rem, 8vw, 5rem);
            font-weight: 900;
            line-height: 1.1;
            margin-bottom: 1rem;
        }

        .hero h1 span {
            display: block;
            font-size: 1.2rem;
            font-weight: 50;
            letter-spacing: 4px;
            margin-bottom: 0.5rem;
            opacity: 0.8;
        }

        .hero-slogan {
            font-size: 2rem;
            font-weight: 800;
            background: var(--accent-gradient);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 2rem;
            min-height: 60px;
            /* Prevents layout jump during typing */
        }

        .btn {
            padding: 1rem 2.5rem;
            border-radius: 50px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: var(--text-color);
            font-weight: 600;
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            transition: 0.3s;
            cursor: pointer;
            display: inline-block;
            position: relative;
            overflow: hidden;
        }

        .btn:hover {
            background: rgba(255, 255, 255, 0.2);
            color: #fff;
        }


        /* --- 6. SECTIONS & CARDS --- */

        .btn-card {
            padding: 1rem 2.5rem;
            border-radius: 50px;
            background: #00c6ff;
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #000000;
            font-weight: 600;
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            transition: 0.3s;
            cursor: pointer;
            display: inline-block;
            position: relative;
            overflow: hidden;
        }

        .btn-card:hover {
            transform: scale(1.1) translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 198, 255, 0.4);
            }

        section {
            padding: 5rem 5%;
            max-width: 1200px;
            margin: 0 auto;
            /* THE FIX: This acts as the curtain */
            overflow-x: hidden; 
            width: 100%;
        }

        .section-title {
            font-size: 2rem;
            margin-bottom: 3rem;
            text-align: center;
            font-weight: 800;
        }
        
        .glass-card {
            position: relative;
            overflow: hidden;
            padding: 1.5rem;
            border-radius: 20px;
            background: var(--glass-bg);
            -webkit-backdrop-filter: var(--glass-blur);
            backdrop-filter: var(--glass-blur);
            border: var(--glass-border);
            box-shadow: var(--glass-shadow);
            transition: transform 0.3s, border-color 0.3s;
            cursor: default;
                    /* THE PERFORMANCE FIXES */
            will-change: transform; /* Tells browser to prep for movement */
            backface-visibility: hidden; /* Prevents flickering */
            transform: translateZ(0); /* Forces GPU acceleration */

        }

        .glass-card:hover {
            transform: translateY(-7px);
            border-color: #00c6ff;
        }

        /* Shine Effect */
        .glass-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%; /* Start off-screen left */
            width: 50%;  /* Made it thinner for a sharper shine */
            height: 100%;
            background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
            transform: skewX(-25deg); /* Angles the shine for a pro look */
            transition: 0.5s;
            pointer-events: none; /* Allows you to click through the shine */
            z-index: 1;
        }
        
        .glass-card:hover::before {
            left: 150%; /* Fly across to the right */
            transition: 0.7s;
        }
    
         /* Shine Effect */
         .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%; /* Start off-screen left */
            width: 50%;  /* Made it thinner for a sharper shine */
            height: 100%;
            background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
            transform: skewX(-25deg); /* Angles the shine for a pro look */
            transition: 0.5s;
            pointer-events: none; /* Allows you to click through the shine */
            z-index: 1;
        }
        
        .btn:hover::before {
            left: 150%; /* Fly across to the right */
            transition: 0.7s;
        }
    

        /* --- 7. ABOUT SECTION --- */
        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }

        .about-image {
            width: 100%;
            height: 100%;
        }
        .about-image img {
            border-radius: 20px;
        }
        .skills-container {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            margin-top: 1.5rem;
        }

        .skill-tag {
            padding: 0.5rem 1rem;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 600;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* --- 8. PORTFOLIO --- */
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .project-img img {
            height: 250px;
            border-radius: 10px;
            transition: transform 0.5s;
        }

        .glass-card:hover .project-img img {
            transform: scale(1.03);
        }

        .project-info {
            padding: 1.5rem 0.5rem 0.5rem;
            text-align: left;
        }

        .project-info h3 {
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: #00c6ff;
        }

        .project-info p {
            font-size: 0.9rem;
            opacity: 0.8;
            line-height: 1.5;
        }

        .resume-area {
            margin-top: 4rem;
            text-align: center;
            padding: 3rem 1rem;
            border: 1px dashed var(--text-color);
            border-radius: 20px;
            opacity: 0.9;
        }

        /* --- 9. CONTACT FORM --- */
        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 1rem;
            margin-bottom: 1rem;
            background: var(--input-bg);
            border: var(--glass-border);
            color: var(--text-color);
            border-radius: 8px;
            outline: none;
            resize: none;
        }

        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: #00c6ff;
        }

        /* Mobile Toggle (Independent Floating Button) */
        .light-btn {
            display: none; /* Hidden on Desktop by default */
        }

        /* --- SOCIALS: DESKTOP DROPDOWN --- */
        .desktop-socials {
            position: relative; /* Anchor for the dropdown */
            display: block;
        }

        .dropdown-menu {
            position: absolute;
            top: 150%; /* Pushes it down slightly */
            left: 50%;
            transform: translateX(-50%) translateY(10px); /* Start slightly lower */
            width: 200px;
            padding: 1rem;
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
            
            /* Hide by default */
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            
            /* Ensure Glass Style applies (inherits from your glass-card class) */
            background: rgba(0, 0, 0, 0.8);
            color: rgb(255, 255, 255);
            -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px); /* Stronger blur for readability */
            border-radius: 15px;
            text-align: center;
        }

        /* The Hover Effect */
        .desktop-socials:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0); /* Float up */
        }

        /* Link Styling inside Dropdown */
        .dropdown-menu li a {
            font-size: 0.9rem;
            display: block;
            padding: 0.5rem;
            border-radius: 8px;
            transition: 0.2s;
        }

        .dropdown-menu li a:hover {
            font-size: 1.2rem;
            color: #00c6ff;
        }

        /* --- SOCIALS: MOBILE ICONS --- */
        .mobile-socials {
            display: none; /* Hidden on desktop */
        }
        /* --- PROJECT MODAL --- */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            inset: 0;
            width: 100vw;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.8); /* Dark dimming background */
            z-index: 10000; /* Highest priority */
            display: flex;
            justify-content: center;
            align-items: center;
            
            /* Hidden state */
            opacity: 0;
            visibility: hidden;
            transition: 0.3s ease;
        }

        /* The active class makes it appear */
        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
            
        }

        .modal-glass {
            width: 90%;
            max-width: 900px;
            color: #fff;
            background-color: rgba(255, 255, 255, 0.1);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 2rem;
            position: relative;
            transform: translateY(50px); /* Start slightly lower */
            transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy pop effect */
            transform: rotate(-3deg);
            /* Existing styles... */
            max-height: 85vh; /* Never be taller than 85% of the screen */
            overflow-y: auto; /* Scroll vertically if content overflows */
            
            /* Hide the ugly scrollbar but keep functionality */
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none;  /* IE 10+ */
            
            /* Glass effect if supported */
            -webkit-backdrop-filter: blur(25px);
            backdrop-filter: blur(25px);
        }
        .modal-glass::-webkit-scrollbar { 
            display: none; /* Chrome/Safari */
        }

        .modal-overlay.active .modal-glass {
            transform: translateY(0); /* Slide up to center */
        }

        /* Close Button (X) */
        .close-modal {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 2.5rem;
            cursor: pointer;
            color: #fff;
            transition: 0.3s;
            z-index: 10;
        }
        .close-modal:hover { color: #00c6ff; transform: rotate(90deg); }

        /* Modal Layout */
        .modal-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            align-items: center;
        }

        .modal-img-container img {
            border-radius: 15px;
            height: 300px;
            object-fit: cover;
            border: 1px solid rgba(255,255,255,0.1);
        }

        .modal-text h2 { margin-bottom: 1rem; color: #00c6ff; }
        .modal-text p { opacity: 0.9; line-height: 1.6; }

        /* --- MODAL SLIDER CONTROLS --- */
        .modal-img-container {
            position: relative; /* Allows arrows to sit on top */
        }

        .slider-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 1.2rem;
            cursor: pointer;
            z-index: 10;
            transition: 0.3s;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .slider-btn:hover {
            background: #00c6ff; /* Your Brand Blue */
            color: white;
        }

        .prev-btn { left: 15px; }
        .next-btn { right: 15px; }

        /* Image Counter Pill */
        #slide-counter {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.6);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        /* Make the button feel powerful on hover */
        .view-project-btn {
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
        }

        .view-project-btn:hover {
            transform: scale(1.1) translateY(-3px); /* Grow larger */
            box-shadow: 0 10px 20px rgba(0, 198, 255, 0.4); /* Blue Glow */
            letter-spacing: 1px; /* Text expands */
        }

        /* --- FOOTER STYLING --- */
        footer {
            border-top: 2px solid rgba(255, 255, 255, 0.2);
            background: rgba(0, 0, 0, 0.2); /* Subtle dark background */
            padding: 4rem 5% 2rem;
            margin-top: 5rem;
            border-radius: 100px 100px 0px 0px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-brand h4, .footer-links h4, .footer-socials h4 {
            margin-bottom: 1.5rem;
            color: #007a9b;
            text-transform: uppercase;
            font-size: 0.9rem;
            letter-spacing: 1px;
        }

        /* Quick Links Styling */
        .footer-links ul li { margin-bottom: 0.8rem; }
        .footer-links a { opacity: 0.7; transition: 0.3s; }
        .footer-links a:hover { opacity: 1; color: #00c6ff; padding-left: 5px; }

        /* Social Icons Row */
        .social-row {
            display: flex;
            gap: 1.5rem;
            margin-bottom: 2rem;
        }
        .social-row a { font-size: 1.2rem; opacity: 0.8; transition: 0.3s; }
        .social-row a:hover { color: #00c6ff; transform: translateY(-3px); }

        /* The "Available" Status Badge */
        .status-badge {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 0.5rem 1rem;
            background: rgba(0, 255, 0, 0.15);
            border: 1px solid rgba(0, 255, 0, 0.2);
            border-radius: 50px;
            font-size: 0.85rem;
            color: #228446; /* Nice bright green */
        }

        /* The Pulsing Green Dot Animation */
        .pulse-dot {
            width: 8px;
            height: 8px;
            background-color: #228446;
            border-radius: 50%;
            box-shadow: 0 0 0 0 rgba(54, 169, 96, 0.9);
            animation: pulse-green 2s infinite;
        }

        @keyframes pulse-green {
            0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 181, 102, 0.7); }
            70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
            100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
        }

        /* Footer Bottom Copyright */
        .footer-bottom {
            text-align: center;
            margin: 5rem 0;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            font-size: 0.8rem;
            opacity: 0.5;
        }
        /* 1. Desktop Styles (Default) */
        .footer-brand .logo img {
            width: 150px;       /* Stop it from stretching 100% */
            height: auto;       /* Maintain aspect ratio */
            display: block;     /* behave like a box */
            margin: 0;          /* Force alignment to the left */
            margin-bottom: 1rem; /* Space below the logo */
        }

        /* --- 10. RESPONSIVE MOBILE --- */
        @media (max-width: 768px) {
    
            header {
                /* 1. KILL THE TRANSFORM TRAP */
                transform: none !important; 
                left: 0 !important; 
                
                /* 2. Re-position using margins instead */
                margin: 0 5%; /* 5% gap on sides */
                width: 90%;   /* 100% - 10% margin */
                
                /* 3. Keep it at the bottom */
                top: auto;
                bottom: 20px;
                border-radius: 50px;
                padding: 1.5rem;
                position: fixed;
            }
            .theme-switch { display: none; }
            .mobile-only-toggle { display: block; }
            .hamburger { display: block; }
            .project-img img { height: 300px; }

            /* RESET NAV LINKS FOR MOBILE */
            .nav-links {
                position: fixed !important; /* Force it to ignore parent relative positioning */
                inset: 0 !important;        /* Force it to hit all screen edges */
                width: 100vw !important;
                height: 100vh !important;
                
                /* ... rest of your styling ... */
                background: var(--bg-color);
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 2rem;
                z-index: 999;
                opacity: 0;
                visibility: hidden;
                transform: scale(0.95);
                transition: all 0.3s ease-in-out;
            }

            .nav-links.active {
                opacity: 0.98;
                visibility: visible;
                transform: scale(1); /* Zoom into place */
            }

            /* Ensure links are big */
            .nav-links li { margin: 0; }
            .nav-links a { font-size: 2rem; font-weight: 800; }
            /* .nav-links a:hover {
                font-size: 1.6rem;
            } */

            /* FLOATING TOGGLE BUTTON */
            .light-btn {
                display: block;        
                position: fixed;       
                /* top: 25px; */
                /* NEW: Use the larger of 25px OR the Safe Area + 10px */
                top: max(25px, env(safe-area-inset-top) + 10px);            
                right: 25px;          
                z-index: 9999;        
                
                background: rgba(255, 255, 255, 0.1);
                -webkit-backdrop-filter: blur(10px);
                backdrop-filter: blur(10px);
                border: 1px solid rgba(255, 255, 255, 0.2);
                padding: 0.6rem 1.2rem;
                border-radius: 30px;
                font-weight: 700;
                font-size: 0.9rem;
                color: var(--text-color);
                cursor: pointer;
            }

            /* HAMBURGER ANIMATION */
            .hamburger.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
            .hamburger.active .bar:nth-child(2) { opacity: 0; }
            .hamburger.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

            /* SINGLE COLUMN LAYOUTS */
            .about-grid { grid-template-columns: 1fr; gap: 2rem; }
            .about-image { height: 300px; order: -1; }
            .hero h1 { font-size: 3rem; }

            /* --- SOCIAL MEDIA LOGIC (INSIDE MOBILE QUERY) --- */
            
            /* 1. Hide the Desktop Dropdown on Mobile */
            .desktop-socials {
                display: none;
            }

            /* 2. Show the Mobile Icons Row */
            .mobile-socials {
                display: flex;
                gap: 2rem;
                margin-top: 1rem;
                justify-content: center;
                align-items: center;
            }

            .mobile-socials a {
                font-size: 1.5rem; 
                color: var(--text-color);
                transition: transform 0.3s, color 0.3s;
            }

            .mobile-socials a:hover {
                color: #00c6ff;
                transform: translateY(-3px);
            }

            /* Mobile Modal Fix */
            @media (max-width: 768px) {
                .modal-content { grid-template-columns: 1fr; text-align: center; }
                .modal-img-container img { height: 200px; margin-bottom: 1rem; }
            }

            /*---- footer --- */
            .footer-content { text-align: center; gap: 2.5rem; }
            .social-row { justify-content: center; }

            .footer-brand .logo img {
                margin: 0 auto;       /* This centers a block element */
                margin-bottom: 1rem;  /* Keep the spacing */
            }
        } /* <--- CLOSING BRACKET FOR MOBILE QUERY */
        

        /* --- DESKTOP ONLY UTILITIES --- */
        @media (min-width: 769px) {
            .mobile-only-toggle { display: none; }
            
            /* Ensure Mobile Icons are hidden on Desktop */
            .mobile-socials { display: none; }
            
            /* Ensure Desktop Dropdown is visible on Desktop */
            .desktop-socials { display: block; }
        }


        /* --- NEW MOBILE OVERLAY (Restored "Gift Tush" Style) --- */
        .mobile-menu-overlay {
            position: fixed;
            inset: 0;
            width: 100%;
            height: 100vh;
            background: var(--bg-color); 
            opacity: 0;
            visibility: hidden;
            z-index: 990; /* Sits just under the X button */
            
            padding-top: env(safe-area-inset-top); /* Pushes content down below the notch */
            padding-bottom: env(safe-area-inset-bottom); /* Pushes content up above home indicator */

            /* Flexbox Centering */
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            
            /* Animation */
            transition: all 0.3s ease-in-out;
            transform: translateY(-20px); /* Slight slide effect like you had */
        }

        /* Active State */
        .mobile-menu-overlay.active {
            opacity: 0.98; /* Your preferred opacity */
            visibility: visible;
            transform: translateY(0);
        }

        /* LINK STYLING (Matching your original look) */
        .mobile-links {
            list-style: none;
            padding: 0;
            text-align: center;
        }

        .mobile-links li {
            margin: 2.5rem 0; 
        }

        .mobile-links a {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text-color);
            text-decoration: none;
            transition: 0.3s;
        }

        .mobile-links a:hover {
            color: #00c6ff;
            font-size: 1.8rem;
        }

        /* SOCIAL ICONS ROW (Restored horizontal layout) */
        .mobile-socials-row {
            display: flex;
            gap: 2rem;
            margin-top: 2rem;
            justify-content: center;
            align-items: center;
        }

        .mobile-socials-row a {
            font-size: 1.5rem;
            color: var(--text-color);
            transition: transform 0.3s, color 0.3s;
        }

        .mobile-socials-row a:hover {
            color: #00c6ff;
            transform: translateY(-3px);
        }

        /* HIDE ON DESKTOP */
        @media (min-width: 769px) {
            .mobile-menu-overlay { display: none !important; }
        }

        /* --- 11. INTERACTIVE 3D CARD --- */
        .container {
        position: relative;
        width: 100%;
        height: 400px;
        transition: 200ms;
        }

        .container:active {
        width: 100%;
        height: 400px;
        }

        #card {
        position: absolute;
        inset: 0;
        z-index: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 20px;
        transition: 700ms;
        }

        .tracker:hover ~ #card .title {
        opacity: 1;
        }

        .tracker {
        position: absolute;
        z-index: 200;
        width: 100%;
        height: 100%;
        }

        .tracker:hover {
        cursor: pointer;
        }

        .tracker:hover ~ #card #prompt {
        opacity: 0;
        }

        .tracker:hover ~ #card {
        transition: 300ms;
        filter: brightness(1.1);
        }

        .container:hover #card::before {
        transition: 200ms;
        content: '';
        opacity: 80%;
        }

        .canvas {
        perspective: 800px;
        inset: 0;
        z-index: 200;
        position: absolute;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
        gap: 0px 0px;
        grid-template-areas: "tr-1 tr-2 tr-3 tr-4 tr-5"
            "tr-6 tr-7 tr-8 tr-9 tr-10"
            "tr-11 tr-12 tr-13 tr-14 tr-15"
            "tr-16 tr-17 tr-18 tr-19 tr-20"
            "tr-21 tr-22 tr-23 tr-24 tr-25";
        }

        #card::before {
        content: '';
        background: #00c6ff;
        filter: blur(2rem);
        opacity: 30%;
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: -1;
        transition: 200ms;
        }

        .tr-1 {
        grid-area: tr-1;
        }

        .tr-2 {
        grid-area: tr-2;
        }

        .tr-3 {
        grid-area: tr-3;
        }

        .tr-4 {
        grid-area: tr-4;
        }

        .tr-5 {
        grid-area: tr-5;
        }

        .tr-6 {
        grid-area: tr-6;
        }

        .tr-7 {
        grid-area: tr-7;
        }

        .tr-8 {
        grid-area: tr-8;
        }

        .tr-9 {
        grid-area: tr-9;
        }

        .tr-10 {
        grid-area: tr-10;
        }

        .tr-11 {
        grid-area: tr-11;
        }

        .tr-12 {
        grid-area: tr-12;
        }

        .tr-13 {
        grid-area: tr-13;
        }

        .tr-14 {
        grid-area: tr-14;
        }

        .tr-15 {
        grid-area: tr-15;
        }

        .tr-16 {
        grid-area: tr-16;
        }

        .tr-17 {
        grid-area: tr-17;
        }

        .tr-18 {
        grid-area: tr-18;
        }

        .tr-19 {
        grid-area: tr-19;
        }

        .tr-20 {
        grid-area: tr-20;
        }

        .tr-21 {
        grid-area: tr-21;
        }

        .tr-22 {
        grid-area: tr-22;
        }

        .tr-23 {
        grid-area: tr-23;
        }

        .tr-24 {
        grid-area: tr-24;
        }

        .tr-25 {
        grid-area: tr-25;
        }

        .tr-1:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(20deg) rotateY(-10deg) rotateZ(0deg);
        }

        .tr-2:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(20deg) rotateY(-5deg) rotateZ(0deg);
        }

        .tr-3:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(20deg) rotateY(0deg) rotateZ(0deg);
        }

        .tr-4:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(20deg) rotateY(5deg) rotateZ(0deg);
        }

        .tr-5:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(20deg) rotateY(10deg) rotateZ(0deg);
        }

        .tr-6:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(10deg) rotateY(-10deg) rotateZ(0deg);
        }

        .tr-7:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(10deg) rotateY(-5deg) rotateZ(0deg);
        }

        .tr-8:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(10deg) rotateY(0deg) rotateZ(0deg);
        }

        .tr-9:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(10deg) rotateY(5deg) rotateZ(0deg);
        }

        .tr-10:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(10deg) rotateY(10deg) rotateZ(0deg);
        }

        .tr-11:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(0deg) rotateY(-10deg) rotateZ(0deg);
        }

        .tr-12:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(0deg) rotateY(-5deg) rotateZ(0deg);
        }

        .tr-13:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
        }

        .tr-14:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(0deg) rotateY(5deg) rotateZ(0deg);
        }

        .tr-15:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(0deg) rotateY(10deg) rotateZ(0deg);
        }

        .tr-16:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(-10deg) rotateY(-10deg) rotateZ(0deg);
        }

        .tr-17:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(-10deg) rotateY(-5deg) rotateZ(0deg);
        }

        .tr-18:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(-10deg) rotateY(0deg) rotateZ(0deg);
        }

        .tr-19:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(-10deg) rotateY(5deg) rotateZ(0deg);
        }

        .tr-20:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(-10deg) rotateY(10deg) rotateZ(0deg);
        }

        .tr-21:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(-20deg) rotateY(-10deg) rotateZ(0deg);
        }

        .tr-22:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(-20deg) rotateY(-5deg) rotateZ(0deg);
        }

        .tr-23:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(-20deg) rotateY(0deg) rotateZ(0deg);
        }

        .tr-24:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(-20deg) rotateY(5deg) rotateZ(0deg);
        }

        .tr-25:hover ~ #card {
        transition: 125ms ease-in-out;
        transform: rotateX(-20deg) rotateY(10deg) rotateZ(0deg);
        }

        .noselect {
        -webkit-touch-callout: none;
        /* iOS Safari */
        -webkit-user-select: none;
        /* Safari */
        /* Konqueror HTML */
        -moz-user-select: none;
        /* Old versions of Firefox */
        -ms-user-select: none;
        /* Internet Explorer/Edge */
        user-select: none;
        /* Non-prefixed version, currently
                                            supported by Chrome, Edge, Opera and Firefox */
        }