        :root {
            /* Dark Theme (Default) */
            --bg-body: #111827;
            /* Gray-900 */
            --bg-card: #1f2937;
            /* Gray-800 */
            --bg-light: #374151;
            /* Gray-700 */
            --text-primary: #f9fafb;
            /* Gray-50 */
            --text-secondary: #d1d5db;
            /* Gray-300 */
            --accent-primary: #f59e0b;
            /* Amber-500 - Highlight */
            --accent-secondary: #3b82f6;
            /* Blue-500 - Primary color */
            /* NAV BAR UPDATE: Slightly more opaque background for frosted effect */
            --nav-bg: rgba(17, 24, 39, 0.98);
            --nav-text: #f9fafb;
        }

        /* Light Theme Overrides */
        .is-light {
            --bg-body: #f3f4f6;
            /* Gray-100 */
            --bg-card: #ffffff;
            --bg-light: #e5e7eb;
            /* Gray-200 */
            --text-primary: #1f2937;
            /* Gray-800 */
            --text-secondary: #4b5563;
            /* Gray-600 */
            --accent-primary: #f59e0b;
            --accent-secondary: #1e3a8a;
            /* NAV BAR UPDATE: Slightly more opaque background for frosted effect */
            --nav-bg: rgba(255, 255, 255, 0.98);
            --nav-text: #1f2937;
        }

        /* Applying theme variables to Tailwind classes */
        .bg-page {
            background-color: var(--bg-body);
        }

        .text-main {
            color: var(--text-primary);
        }

        .text-sub {
            color: var(--text-secondary);
        }

        .bg-card {
            background-color: var(--bg-card);
        }

        .text-accent {
            color: var(--accent-primary);
        }

        .nav-bg-color {
            background-color: var(--nav-bg);
        }

        .nav-text-color {
            color: var(--nav-text);
        }

        .font-inter {
            font-family: 'Inter', sans-serif;
        }

        /* Hero Background */
        .hero-bg {
            background-color: var(--accent-secondary);
            background-image: linear-gradient(135deg, var(--accent-secondary) 0%, #1e40af 100%);
        }

        /* Profile Image Border */
        .profile-border {
            border: 4px solid var(--accent-primary);
            outline: 6px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.05);
        }

        /* Academic Background Images */
        .university-bg {
            /* Placeholder 1: Library/Scholarly setting */
            background-image: url('curzon.avif');
            /* opacity: 60%; */
        }

        .college-bg {
            /* Placeholder 2: Textbook/Lab setting */
            background-image: url('spsc.jpg');
        }

        .school-bg {
            /* Placeholder 2: Textbook/Lab setting */
            background-image: url('zcpsc.webp');
        }

        .academic-bg {
            background-size: cover;
            background-position: center;
        }

        /* Responsive YouTube Embed Container (16:9) */
        .video-container {
            position: relative;
            width: 100%;
            padding-top: 56.25%;
            /* 16:9 Aspect Ratio */
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 0.75rem;
            /* rounded-xl */
        }

        /* ------------------------------------------------------------------- */
        /* 2. Scroll Animation (Reveal Effect) */
        /* ------------------------------------------------------------------- */
        .reveal {
            opacity: 0;
            transition: opacity 1s ease-out, transform 1s ease-out;
        }

        .reveal[data-scroll-direction="left"] {
            transform: translateX(-100px);
        }

        .reveal[data-scroll-direction="right"] {
            transform: translateX(100px);
        }

        .reveal.active {
            opacity: 1;
            transform: translateX(0);
        }

        /* Smooth scrolling behavior */
        html {
            scroll-behavior: smooth;
        }

        /* ------------------------------------------------------------------- */
        /* 3. Creative Navbar Styling */
        /* ------------------------------------------------------------------- */
        .fixed-navbar {
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            /* Added a subtle shadow to make it pop */
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }

        /* Creative Underline Effect for Desktop Links */
        .nav-link-creative {
            position: relative;
            padding-bottom: 5px;
            /* Space for the line */
            /* Add padding around the link for a cleaner look */
            padding-top: 5px;
            padding-left: 5px;
            padding-right: 5px;
        }

        .nav-link-creative::after {
            content: '';
            position: absolute;
            width: 0%;
            height: 3px;
            bottom: 0;
            left: 50%;
            /* Start in the middle */
            transform: translateX(-50%);
            background-color: var(--accent-primary);
            /* Use primary accent color */
            transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            /* Smoother transition */
            border-radius: 2px;
        }

        .nav-link-creative:hover::after,
        .nav-link-creative:focus::after {
            width: 100%;
        }

        /* Highlighted style for the theme toggle button */
        .theme-toggle-btn {
            border: 2px solid var(--accent-primary);
            background-color: var(--bg-card);
            transition: background-color 0.3s, transform 0.2s;
        }

        .theme-toggle-btn:hover {
            background-color: var(--accent-primary);
            transform: translateY(-2px);
            /* Slight lift on hover */
            box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
            /* Shadow accent */
        }

        /* Ensure mobile button looks good */
        .mobile-menu-btn {
            border: 1px solid var(--accent-secondary);

        }
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 55; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Initial shadow */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.floating-whatsapp:hover {
    /* Scale up slightly and lift on hover */
    transform: scale(1.05) translateY(-2px);
    /* Deeper shadow on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
