        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Segoe UI', sans-serif;
        }

        /* ====== Navbar Base Styles ====== */
        nav {
            background-color: white;
            padding: 12px 25px;
            color: white;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 999;
        }

        .logo {
            position: relative;
            z-index: 10001;
            /* ensure logo always visible */
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            max-width: 1400px;
            margin: auto;
            position: relative;
            z-index: 10000;
        }

        .menu-toggle {
            display: none;
            cursor: pointer;
            color: rgb(45, 45, 45);
            position: relative;
            z-index: 10001;
        }


        ul.nav-links {
            list-style: none;
            display: flex;
            gap: 15px;
            align-items: center;
            width: 1000px;
        }

        ul.nav-links li {
            position: relative;
        }

        ul.nav-links li a {
            color: rgb(30, 30, 30);
            text-decoration: none;
            padding: 12px 14px;
            font-weight: 600;
            border-radius: 6px;
            font-size: 1rem;
            transition: background 0.3s ease;
        }

        ul.nav-links li a:hover {
            color: #2a92c9;
        }

        /* Submenu (Desktop) */
        ul.nav-links li ul.submenu {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: white;
            display: none;
            min-width: 180px;
            border-radius: 6px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            z-index: 1000;
        }

        ul.nav-links li:hover ul.submenu {
            display: block;
        }

        ul.submenu li a {
            color: #333;
            padding: 12px 16px;
            display: block;
            transition: background 0.3s ease;
        }

        ul.submenu li a:hover {
            background-color: #2a92c9;
            color: white;
        }

        .rohaan-logo {
            width: 170px;
            height: 50px;
        }

        .submenu-toggle {
            cursor: pointer;
            font-size: 1.1rem;
            color: black;
        }

        /* ====== Mobile Styles ====== */
        @media (max-width: 768px) {
            .menu-toggle {
                display: block;
            }

            nav {
                padding: 5px;
            }

            .mobile-nav-btn {
                padding: 10px;
            }

            .rohaan-logo {
                width: 135px !important;
                height: 40px !important;
            }

            /* Full-screen overlay menu */
            ul.nav-links {
                position: fixed;
                top: 0%;
                left: 10%;
                /* height: 40vh; */
                width: 90%;
                margin: auto;
                flex-direction: column;
                justify-content: flex-start;
                align-items: flex-start;
                padding: 20px;
                display: none;
                overflow-y: auto;
                box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
                background: #ffffff;
                margin-top: 80px;
                border-radius: 0 0 15px 15px;
                overflow-y: auto;
                z-index: 10000;

            }

            ul.nav-links.active {
                display: flex;
            }

            ul.nav-links li {
                width: 100%;
            }

            ul.nav-links li a {
                width: 100%;
                color: rgb(65, 65, 65);
            }

            .navbar {
                padding: 20px;
            }

            .nav-overlay {
                position: fixed;
                top: 0;
                left: 0;
                height: 100vh;
                width: 100vw;
                background: rgba(0, 0, 0, 0.4);
                z-index: 9998;
                display: none;
            }

            .nav-overlay.active {
                display: block;
            }

            .navbar a {
                font-size: 10px;
            }

            /* Submenu (Mobile with animation) */
            ul.nav-links li ul.submenu {
                display: block;
                /* override desktop hidden */
                position: static;
                /* no absolute positioning */
                width: 100%;
                background: #f7f7f7;

                /* padding-left: 15px; */

                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
            }

            ul.nav-links li.active>ul.submenu {
                max-height: 500px;
                background-color: #a1a1a1;
                color: #fff;
                /* enough space for items */
            }

            ul.submenu li a {
                padding: 10px;
                /* color: #333; */
                color: #fff;
                border-bottom: 1px solid rgb(255, 255, 255);
                font-size: 0.95rem;
                border-radius: none;

            }

            ul.submenu li a:hover {
                background-color: #2a92c9;
                color: white;
            }

            .menu-item {
                display: flex;
                justify-content: space-between;
                align-items: center;
                color: black;
            }

            .submenu-toggle {
                cursor: pointer;
                font-size: 1.1rem;
                padding: 0 10px;
                transition: transform 0.2s ease;
                /* background-color: #2a92c9; */
                color: #2a92c9;
            }

            ul.nav-links li.active .submenu-toggle {
                transform: rotate(180deg);
                /* rotate arrow when open */
            }

            .submenu li a:hover,
            .submenu li a.active {
                background-color: #404040;
                color: #fff;
            }

            .desktop-nav-btn {
                z-index: 10001;
            }

            .nav-links {
                box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
            }
        }