<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Edunet - Education Portal</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            background-color: #f8fafc;
            color: #333;
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Upper navbar styles - Hidden on mobile */
        .upper-navbar {
            background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
            color: white;
            padding: 8px 0;
            font-size: 0.9rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            z-index: 1002;
            position: relative;
        }

        .upper-navbar-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
        }

        .contact-info {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 8px;
            transition: transform 0.3s ease, color 0.3s ease;
        }

        .contact-item:hover {
            transform: translateY(-2px);
            color: #bfdbfe;
        }

        .contact-item i {
            font-size: 0.9rem;
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-link {
            color: white;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            color: #bfdbfe;
            transform: translateY(-3px) scale(1.1);
        }

        /* Main navbar styles */
        .main-navbar {
            background-color: white;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            position: sticky;
            top: 0;
            z-index: 1001;
            transition: all 0.4s ease;
        }

        .main-navbar.scrolled {
            padding: 5px 0;
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
        }

        .navbar-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            transition: all 0.4s ease;
        }

        .main-navbar.scrolled .navbar-container {
            padding: 8px 20px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: #1e40af;
        }

        .logo-icon {
            background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
            width: 40px;
            height: 40px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            transition: transform 0.5s ease;
        }

        .logo:hover .logo-icon {
            transform: rotate(15deg) scale(1.1);
        }

        .logo-text {
            font-size: 1.8rem;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .logo-text span {
            color: #3b82f6;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        .nav-item {
            position: relative;
        }

        .nav-link {
            text-decoration: none;
            color: #1e293b;
            font-weight: 500;
            font-size: 1rem;
            padding: 8px 0;
            position: relative;
            transition: color 0.3s ease;
        }

        .nav-link:hover {
            color: #3b82f6;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #1e3a8a, #3b82f6);
            transition: width 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
        }

        .nav-link:hover::after {
            width: 100%;
        }

        /* Main dropdown styles */
        .dropdown {
            position: relative;
        }

        .dropdown-content {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: white;
            min-width: 400px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(15px);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
            z-index: 10;
            overflow: visible;
        }

        .dropdown:hover .dropdown-content {
            opacity: 1;
            visibility: visible;
            transform: translateY(8px);
        }

        .dropdown-item {
            display: block;
            padding: 8px 20px;
            text-decoration: none;
            color: #475569;
            border-bottom: 1px solid #f1f5f9;
            transition: all 0.3s ease;
            position: relative;
        }

        .dropdown-item:last-child {
            border-bottom: none;
        }

        .dropdown-item:hover {
            background-color: #f0f9ff;
            color: #1e40af;
            padding-left: 25px;
        }

        .dropdown-item i {
            margin-right: 10px;
            width: 20px;
            text-align: center;
        }

        /* Sub-dropdown styles for Courses - FIXED */
        .dropdown-submenu {
            position: relative;
        }

        .dropdown-submenu > .dropdown-item::after {
            content: '\f054';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 0.8rem;
            color: #94a3b8;
            transition: transform 0.3s ease;
        }

        .dropdown-submenu:hover > .dropdown-item::after {
            transform: translateY(-50%) rotate(90deg);
            color: #3b82f6;
        }

        .dropdown-submenu-content {
            position: absolute;
            top: 0;
            left: 100%;
            background-color: white;
            min-width: 340px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            opacity: 0;
            visibility: hidden;
            transform: translateX(-10px);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
            z-index: 11;
            overflow: hidden;
        }

        .dropdown-submenu:hover .dropdown-submenu-content {
            opacity: 1;
            visibility: visible;
            transform: translateX(0);
        }

        .submenu-header {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            color: #1e40af;
            font-weight: 600;
            padding: 8px 20px;
            border-bottom: 1px solid #dbeafe;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .submenu-header i {
            color: #3b82f6;
        }

        .dropdown-sub-item {
            display: block;
            padding: 5px  35px;
            text-decoration: none;
            color: #475569;
            border-bottom: 1px solid #f1f5f9;
            transition: all 0.3s ease;
            font-size: 0.95rem;
        }

        .dropdown-sub-item:last-child {
            border-bottom: none;
        }

        .dropdown-sub-item:hover {
            background-color: #f0f9ff;
            color: #1e40af;
            padding-left: 40px;
        }

        .dropdown-sub-item i {
            margin-right: 10px;
            width: 20px;
            text-align: center;
            color: #64748b;
        }

        .dropdown-sub-item:hover i {
            color: #3b82f6;
        }

        .nav-cta {
            background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
            color: white;
            padding: 10px 24px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.4s ease;
            box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
        }

        .nav-cta:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
        }

        /* Mobile menu button */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            width: 40px;
            height: 40px;
            position: relative;
            cursor: pointer;
            z-index: 1003;
        }

        .mobile-menu-btn span {
            display: block;
            position: absolute;
            height: 3px;
            width: 100%;
            background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
            border-radius: 3px;
            left: 0;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .mobile-menu-btn span:nth-child(1) {
            top: 8px;
        }

        .mobile-menu-btn span:nth-child(2) {
            top: 18px;
        }

        .mobile-menu-btn span:nth-child(3) {
            top: 28px;
        }

        .mobile-menu-btn.active span:nth-child(1) {
            transform: rotate(45deg);
            top: 18px;
        }

        .mobile-menu-btn.active span:nth-child(2) {
            opacity: 0;
            transform: translateX(-20px);
        }

        .mobile-menu-btn.active span:nth-child(3) {
            transform: rotate(-45deg);
            top: 18px;
        }

        /* Mobile contact indicator */
        .mobile-contact-indicator {
            display: none;
            align-items: center;
            gap: 8px;
            color: #3b82f6;
            font-weight: 500;
            font-size: 0.9rem;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.7; }
            100% { opacity: 1; }
        }

        /* Mobile menu overlay */
        .mobile-menu-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .mobile-menu-overlay.active {
            opacity: 1;
        }

        /* Mobile menu panel */
        .mobile-menu-panel {
            position: fixed;
            top: 0;
            right: -100%;
            width: 85%;
            max-width: 400px;
            height: 100%;
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            z-index: 1002;
            padding: 30px 25px;
            overflow-y: auto;
            box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
            transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        }

        .mobile-menu-panel.active {
            right: 0;
            animation: slideIn 0.5s cubic-bezier(0.77, 0.2, 0.05, 1) forwards;
        }

        @keyframes slideIn {
            0% {
                right: -100%;
            }
            100% {
                right: 0;
            }
        }

        .mobile-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #e2e8f0;
        }

        .mobile-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: #1e40af;
        }

        .mobile-logo-text {
            font-size: 1.5rem;
            font-weight: 700;
        }

        .mobile-logo-text span {
            color: #3b82f6;
        }

        .mobile-menu-close {
            background: none;
            border: none;
            font-size: 1.8rem;
            color: #64748b;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .mobile-menu-close:hover {
            transform: rotate(90deg);
            color: #1e40af;
        }

        .mobile-nav-menu {
            list-style: none;
            margin-bottom: 30px;
        }

        .mobile-nav-item {
            margin-bottom: 10px;
            opacity: 0;
            transform: translateX(20px);
            transition: all 0.4s ease;
        }

        .mobile-menu-panel.active .mobile-nav-item {
            opacity: 1;
            transform: translateX(0);
        }

        .mobile-nav-item:nth-child(1) { transition-delay: 0.1s; }
        .mobile-nav-item:nth-child(2) { transition-delay: 0.15s; }
        .mobile-nav-item:nth-child(3) { transition-delay: 0.2s; }
        .mobile-nav-item:nth-child(4) { transition-delay: 0.25s; }
        .mobile-nav-item:nth-child(5) { transition-delay: 0.3s; }
        .mobile-nav-item:nth-child(6) { transition-delay: 0.35s; }
        .mobile-nav-item:nth-child(7) { transition-delay: 0.4s; }

        .mobile-nav-link {
            display: block;
            text-decoration: none;
            color: #1e293b;
            font-weight: 500;
            font-size: 1.1rem;
            padding: 15px 0;
            border-bottom: 1px solid #f1f5f9;
            transition: color 0.3s ease, padding-left 0.3s ease;
        }

        .mobile-nav-link:hover {
            color: #3b82f6;
            padding-left: 10px;
        }

        /* Mobile sub-dropdown styles */
        .mobile-dropdown-toggle {
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
        }

        .mobile-dropdown-toggle i {
            transition: transform 0.4s ease;
        }

        .mobile-dropdown-toggle.active i {
            transform: rotate(180deg);
        }

        .mobile-dropdown-content {
            max-height: 0;
            overflow: hidden;
            background-color: #f8fafc;
            border-radius: 8px;
            margin-top: 10px;
            transition: max-height 0.6s cubic-bezier(0.77, 0.2, 0.05, 1);
        }

        .mobile-dropdown-content.active {
            max-height: 500px;
        }

        /* Special styles for Courses dropdown to make it scrollable */
        .mobile-dropdown-content.scrollable {
            max-height: 300px;
            overflow-y: auto;
        }

        .mobile-dropdown-item {
            display: block;
            padding: 12px 20px;
            text-decoration: none;
            color: #475569;
            border-bottom: 1px solid #e2e8f0;
            transition: all 0.3s ease;
        }

        .mobile-dropdown-item:last-child {
            border-bottom: none;
        }

        .mobile-dropdown-item:hover {
            background-color: #e0f2fe;
            color: #1e40af;
            padding-left: 25px;
        }

        .mobile-dropdown-item i {
            margin-right: 10px;
            width: 20px;
            text-align: center;
        }

        /* Mobile sub-sub-dropdown styles */
        .mobile-sub-dropdown-toggle {
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            padding: 12px 20px;
            color: #475569;
            border-bottom: 1px solid #e2e8f0;
            transition: all 0.3s ease;
        }

        .mobile-sub-dropdown-toggle:hover {
            background-color: #e0f2fe;
            color: #1e40af;
            padding-left: 25px;
        }

        .mobile-sub-dropdown-toggle i {
            transition: transform 0.4s ease;
        }

        .mobile-sub-dropdown-toggle.active i {
            transform: rotate(180deg);
        }

        .mobile-sub-dropdown-content {
            max-height: 0;
            overflow: hidden;
            background-color: #f1f5f9;
            border-radius: 6px;
            margin: 5px 0;
            transition: max-height 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        }

        .mobile-sub-dropdown-content.active {
            max-height: 300px;
        }

        .mobile-sub-dropdown-item {
            display: block;
            padding: 10px 20px 10px 35px;
            text-decoration: none;
            color: #475569;
            border-bottom: 1px solid #e2e8f0;
            font-size: 0.95rem;
            transition: all 0.3s ease;
        }

        .mobile-sub-dropdown-item:last-child {
            border-bottom: none;
        }

        .mobile-sub-dropdown-item:hover {
            background-color: #dbeafe;
            color: #1e40af;
            padding-left: 40px;
        }

        /* Contact section in mobile menu */
        .mobile-contact-section {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 25px;
            border-left: 4px solid #3b82f6;
            animation: slideUp 0.6s ease-out 0.5s both;
            opacity: 0;
            transform: translateY(20px);
        }

        @keyframes slideUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .mobile-contact-section.active {
            animation: slideUp 0.6s ease-out 0.5s both;
        }

        .mobile-contact-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: #1e40af;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .mobile-contact-title i {
            background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }

        .mobile-contact-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 15px;
            color: #475569;
            padding: 8px 0;
            border-bottom: 1px dashed #cbd5e1;
            transition: all 0.3s ease;
        }

        .mobile-contact-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }

        .mobile-contact-item:hover {
            transform: translateX(5px);
            color: #1e40af;
        }

        .mobile-contact-item i {
            color: #3b82f6;
            margin-top: 3px;
            min-width: 20px;
        }

        .mobile-contact-text {
            flex: 1;
        }

        .mobile-social-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 20px;
            animation: slideUp 0.6s ease-out 0.7s both;
            opacity: 0;
            transform: translateY(20px);
        }

        .mobile-social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
            color: white;
            border-radius: 50%;
            font-size: 1.2rem;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .mobile-social-link:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
        }

        /* Content section */
        .content {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
        }

        .content h1 {
            color: #1e3a8a;
            margin-bottom: 20px;
            font-size: 2.5rem;
        }

        .content p {
            color: #475569;
            margin-bottom: 20px;
            font-size: 1.1rem;
        }

        .demo-notice {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            border-left: 5px solid #3b82f6;
            padding: 20px;
            border-radius: 8px;
            margin-top: 30px;
        }

        /* Responsive styles */
        @media (max-width: 992px) {
            .contact-info {
                gap: 15px;
            }

            .nav-menu {
                gap: 20px;
            }
        }

        @media (max-width: 768px) {
            /* Hide the entire upper navbar on mobile */
            .upper-navbar {
                display: none;
            }
            
            /* Show mobile contact indicator */
            .mobile-contact-indicator {
                display: flex;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .nav-menu {
                display: none;
            }
            
            .mobile-menu-overlay {
                display: block;
            }
            
            .mobile-menu-panel {
                display: block;
            }
            
            .navbar-container {
                padding: 15px 20px;
            }
        }

        @media (max-width: 576px) {
            .logo-text {
                font-size: 1.5rem;
            }

            .logo-icon {
                width: 35px;
                height: 35px;
                font-size: 1.3rem;
            }

            .content h1 {
                font-size: 2rem;
            }
            
            .mobile-menu-panel {
                width: 100%;
                max-width: 100%;
                padding: 25px 20px;
            }
            
            .mobile-contact-section {
                padding: 18px;
            }
            
            .mobile-dropdown-content.scrollable {
                max-height: 250px;
            }
        }
    </style>
</head>
<body>
    <!-- Upper Navbar with Contact Details - Visible only on desktop -->
    <div class="upper-navbar">
        <div class="upper-navbar-container">
            <div class="contact-info">
                <div class="contact-item">
                    <i class="fas fa-envelope"></i>
                    <span>prajtyagi@gmail.com</span>
                </div>
                <div class="contact-item">
                    <i class="fas fa-phone-alt"></i>
                    <span>9899944214</span>
                </div>
                <div class="contact-item">
                    <i class="fas fa-map-marker-alt"></i>
                    <span>GreenlandPpublic School Duhai Ghaziabad, Uttar Pradesh-201206</span>
                </div>
            </div>
            <div class="social-links">
                <a href="#" class="social-link"><i class="fab fa-facebook-f"></i></a>
                <a href="#" class="social-link"><i class="fab fa-twitter"></i></a>
                <a href="#" class="social-link"><i class="fab fa-instagram"></i></a>
                <a href="#" class="social-link"><i class="fab fa-linkedin-in"></i></a>
            </div>
        </div>
    </div>

    <!-- Main Navbar -->
    <nav class="main-navbar">
        <div class="navbar-container">
            <a href="index.php" class="logo">
                <div class="logo-icon">
                    <i class="fas fa-graduation-cap"></i>
                </div>
                <div class="logo-text">Edunet<span></span></div>
            </a>

            <!-- Desktop Navigation with Sub-dropdowns -->
            <ul class="nav-menu" id="navMenu">
                <li class="nav-item">
                    <a href="index.php" class="nav-link">Home</a>
                </li>
                <li class="nav-item">
                    <a href="about.php" class="nav-link">About Us</a>
                </li>
                <li class="nav-item dropdown">
                    <a href="#" class="nav-link">
                        Courses <i class="fas fa-chevron-down" style="font-size: 0.8rem; margin-left: 5px;"></i>
                    </a>
                    <div class="dropdown-content">

<!-- School of Engineering & Technology -->
<div class="dropdown-submenu">
    <a class="dropdown-item dropdown-toggle">
        <i class="fas fa-gears"></i> School of Engineering & Technology
    </a>
    <div class="dropdown-submenu-content">
        <div class="submenu-header">
            <i class="fas fa-gears"></i> Engineering Courses
        </div>
        <a href="b.tech-course.php" class="dropdown-sub-item">
            <i class="fas fa-laptop-code"></i> B.Tech Course
        </a>
        <a href="m.tech-course.php" class="dropdown-sub-item">
            <i class="fas fa-microchip"></i> M.Tech Course
        </a>
        <a href="polytechnic.php" class="dropdown-sub-item">
            <i class="fas fa-industry"></i> Polytechnic Diploma
        </a>
    </div>
</div>

<!-- School of Pharmacy -->
<div class="dropdown-submenu">
    <a class="dropdown-item dropdown-toggle">
        <i class="fas fa-pills"></i> School of Pharmacy
    </a>
    <div class="dropdown-submenu-content">
        <div class="submenu-header">
            <i class="fas fa-pills"></i> Pharmacy Courses
        </div>
        <a href="d.pharma.php" class="dropdown-sub-item">
            <i class="fas fa-capsules"></i> D.Pharma Course
        </a>
        <a href="b.pharma-course.php" class="dropdown-sub-item">
            <i class="fas fa-flask"></i> B.Pharma Course
        </a>
        <a href="m.pharma-course.php" class="dropdown-sub-item">
            <i class="fas fa-prescription-bottle-medical"></i> M.Pharma Course
        </a>
    </div>
</div>

<!-- School of Computer Application -->
<div class="dropdown-submenu">
    <a class="dropdown-item dropdown-toggle">
        <i class="fas fa-computer"></i> School of Computer Application
    </a>
    <div class="dropdown-submenu-content">
        <div class="submenu-header">
            <i class="fas fa-computer"></i> Computer Courses
        </div>
        <a href="dca.php" class="dropdown-sub-item">
            <i class="fas fa-keyboard"></i> DCA Course
        </a>
        <a href="bca.php" class="dropdown-sub-item">
            <i class="fas fa-code"></i> BCA Course
        </a>
        <a href="mca.php" class="dropdown-sub-item">
            <i class="fas fa-database"></i> MCA Course
        </a>
        <a href="b.sc-it.php" class="dropdown-sub-item">
            <i class="fas fa-network-wired"></i> B.Sc IT Course
        </a>
    </div>
</div>

<!-- School of Law -->
<div class="dropdown-submenu">
    <a class="dropdown-item dropdown-toggle">
        <i class="fas fa-scale-balanced"></i> School of Law
    </a>
    <div class="dropdown-submenu-content">
        <div class="submenu-header">
            <i class="fas fa-scale-balanced"></i> Law Courses
        </div>
        <a href="ba-llb.php" class="dropdown-sub-item">
            <i class="fas fa-gavel"></i> BA LLB Course
        </a>
        <a href="bba-llb.php" class="dropdown-sub-item">
            <i class="fas fa-briefcase"></i> BBA LLB Course
        </a>
        <a href="llb-course.php" class="dropdown-sub-item">
            <i class="fas fa-landmark"></i> LLB Course
        </a>
        <a href="llm-course.php" class="dropdown-sub-item">
            <i class="fas fa-book-law"></i> LLM Course
        </a>
    </div>
</div>

<!-- School of Education -->
<div class="dropdown-submenu">
    <a class="dropdown-item dropdown-toggle">
        <i class="fas fa-chalkboard-user"></i> School of Education
    </a>
    <div class="dropdown-submenu-content">
        <div class="submenu-header">
            <i class="fas fa-chalkboard-user"></i> Education Courses
        </div>
        <a href="b.ed-course.php" class="dropdown-sub-item">
            <i class="fas fa-user-graduate"></i> B.Ed
        </a>
        <a href="ma-education.php" class="dropdown-sub-item">
            <i class="fas fa-school"></i> MA Education
        </a>
        <a href="ma-specialized.php" class="dropdown-sub-item">
            <i class="fas fa-book-open-reader"></i> MA in Specialization Education
        </a>
    </div>
</div>

<!-- Commerce & Management -->
<div class="dropdown-submenu">
    <a class="dropdown-item dropdown-toggle">
        <i class="fas fa-chart-pie"></i> School of Commerce & Management
    </a>
    <div class="dropdown-submenu-content">
        <div class="submenu-header">
            <i class="fas fa-chart-pie"></i> Management Courses
        </div>
        <a href="b.com.php" class="dropdown-sub-item">
            <i class="fas fa-coins"></i> B.Com
        </a>
        <a href="m.com.php" class="dropdown-sub-item">
            <i class="fas fa-file-invoice-dollar"></i> M.Com
        </a>
        <a href="bba.php" class="dropdown-sub-item">
            <i class="fas fa-user-tie"></i> BBA
        </a>
        <a href="mba.php" class="dropdown-sub-item">
            <i class="fas fa-briefcase"></i> MBA
        </a>
    </div>
</div>

<!-- Social Science & Humanities -->
<div class="dropdown-submenu">
    <a class="dropdown-item dropdown-toggle">
        <i class="fas fa-people-group"></i> School of Social Science & Humanities
    </a>
    <div class="dropdown-submenu-content">
        <div class="submenu-header">
            <i class="fas fa-people-group"></i> Humanities Courses
        </div>
        <a href="ba.php" class="dropdown-sub-item">
            <i class="fas fa-book"></i> BA
        </a>
        <a href="ma.php" class="dropdown-sub-item">
            <i class="fas fa-book-open"></i> MA
        </a>
        <a href="b.lib.php" class="dropdown-sub-item">
            <i class="fas fa-book-atlas"></i> B.Lib
        </a>
        <a href="m.lib.php" class="dropdown-sub-item">
            <i class="fas fa-book-reader"></i> M.Lib
        </a>
    </div>
</div>

<!-- Allied Health Science -->
<div class="dropdown-submenu">
    <a class="dropdown-item dropdown-toggle">
        <i class="fas fa-heart-pulse"></i> School of Allied Health Science
    </a>
    <div class="dropdown-submenu-content">
        <div class="submenu-header">
            <i class="fas fa-heart-pulse"></i> Health Science Courses
        </div>
        <a href="bpt.php" class="dropdown-sub-item">
            <i class="fas fa-person-walking"></i> BPT
        </a>
        <a href="b.sc-mlt.php" class="dropdown-sub-item">
            <i class="fas fa-vials"></i> B.Sc MLT
        </a>
        <a href="b.sc-ott.php" class="dropdown-sub-item">
            <i class="fas fa-procedures"></i> B.Sc OTT
        </a>
        <a href="m.sc-mlt.php" class="dropdown-sub-item">
            <i class="fas fa-microscope"></i> M.Sc MLT
        </a>
    </div>
</div>

<!-- Nursing -->
<div class="dropdown-submenu">
    <a class="dropdown-item dropdown-toggle">
        <i class="fas fa-user-nurse"></i> School of Nursing
    </a>
    <div class="dropdown-submenu-content">
        <div class="submenu-header">
            <i class="fas fa-user-nurse"></i> Nursing Courses
        </div>
        <a href="b.sc-nursing.php" class="dropdown-sub-item">
            <i class="fas fa-hospital-user"></i> B.Sc Nursing
        </a>
        <a href="anm.php" class="dropdown-sub-item">
            <i class="fas fa-syringe"></i> ANM
        </a>
        <a href="gnm.php" class="dropdown-subdropdown-item">
            <i class="fas fa-notes-medical"></i> GNM
        </a>
    </div>
</div>

<!-- Agriculture -->
<div class="dropdown-submenu">
    <a class="dropdown-item dropdown-toggle">
        <i class="fas fa-tractor"></i> School of Agriculture Science
    </a>
    <div class="dropdown-submenu-content">
        <div class="submenu-header">
            <i class="fas fa-tractor"></i> Agriculture Courses
        </div>
        <a href="b.sc-agriculture.php" class="dropdown-sub-item">
            <i class="fas fa-seedling"></i> B.Sc Agriculture
        </a>
        <a href="m.sc-agriculture.php" class="dropdown-sub-item">
            <i class="fas fa-leaf"></i> M.Sc Agriculture
        </a>
        <a href="agriculture-diploma.php" class="dropdown-sub-item">
            <i class="fas fa-wheat-awn"></i> Diploma Agriculture
        </a>
    </div>
</div>

<!-- Hotel Management -->
<div class="dropdown-submenu">
    <a class="dropdown-item dropdown-toggle">
        <i class="fas fa-hotel"></i> School of Hotel Management
    </a>
    <div class="dropdown-submenu-content">
        <div class="submenu-header">
            <i class="fas fa-hotel"></i> Hotel Management Courses
        </div>
        <a href="diploma-hotel-management.php" class="dropdown-sub-item">
            <i class="fas fa-concierge-bell"></i> Diploma in Hotel Management
        </a>
        <a href="bba-hotel-management.php" class="dropdown-sub-item">
            <i class="fas fa-user-tie"></i> BBA Hotel Management
        </a>
        <a href="bhmct.php" class="dropdown-sub-item">
            <i class="fas fa-utensils"></i> BHMCT
        </a>
    </div>
</div>

</div>

                </li>
                <li class="nav-item dropdown">
                    <a href="#" class="nav-link">
                        Universities <i class="fas fa-chevron-down" style="font-size: 0.8rem; margin-left: 5px;"></i>
                    </a>
                    <div class="dropdown-content">
                        <a href="subharti-university.php" class="dropdown-item"><i class="fas fa-graduation-cap"></i> Subharti University</a>
                        <a href="hrit-university.php" class="dropdown-item"><i class="fas fa-user-md"></i> Hrit University</a>
                        <a href="mind-power-university.php" class="dropdown-item"><i class="fas fa-flask"></i> Mind Power University</a>
                        <a href="mahaveer-university.php" class="dropdown-item"><i class="fas fa-globe-americas"></i> Mahaveer University</a>
                    </div>
                </li>
                <li class="nav-item">
                    <a href="nios-admissions.php" class="nav-link">NIOS Admissions</a>
                </li>
                
                <li class="nav-item">
                    <a href="contact.php" class="nav-link">Contact</a>
                </li>
                <li class="nav-item">
                    <a href="/edupanel/index.php" class="nav-cta">Login</a>
                </li>
            </ul>

            <!-- Mobile Menu Button -->
            <button class="mobile-menu-btn" id="mobileMenuBtn">
                <span></span>
                <span></span>
                <span></span>
            </button>
        </div>
    </nav>

    <!-- Mobile Menu Overlay -->
    <div class="mobile-menu-overlay" id="mobileMenuOverlay"></div>

    <!-- Mobile Menu Panel -->
    <div class="mobile-menu-panel" id="mobileMenuPanel">
        <div class="mobile-menu-header">
            <a href="index.php" class="mobile-logo">
                <div class="logo-icon">
                    <i class="fas fa-graduation-cap"></i>
                </div>
                <div class="mobile-logo-text">Edunet<span></span></div>
            </a>
            <button class="mobile-menu-close" id="mobileMenuClose">
                <i class="fas fa-times"></i>
            </button>
        </div>

        <ul class="mobile-nav-menu">
            <li class="mobile-nav-item">
                <a href="index.php" class="mobile-nav-link">Home</a>
            </li>
            <li class="mobile-nav-item">
                <a href="about.php" class="mobile-nav-link">About Us</a>
            </li>
            <li class="mobile-nav-item">
                <div class="mobile-dropdown-toggle" id="mobileCoursesToggle">
                    Courses <i class="fas fa-chevron-down"></i>
                </div>
                <!-- Updated Courses Dropdown with scrollable class -->
                <div class="mobile-dropdown-content scrollable" id="mobileCoursesDropdown">
                    <!-- Engineering Sub-dropdown in Mobile -->
<div class="mobile-sub-dropdown-toggle" id="mobileEngineeringToggle">
    <span><i class="fas fa-gears"></i> School of Engineering & Technology</span>
    <i class="fas fa-chevron-down"></i>
</div>
<div class="mobile-sub-dropdown-content" id="mobileEngineeringDropdown">
    <a href="b.tech-course.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-laptop-code"></i> B.Tech Course
    </a>
    <a href="m.tech-course.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-microchip"></i> M.Tech Course
    </a>
    <a href="polytechnic.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-industry"></i> Polytechnic Diploma
    </a>
</div>

<!-- Pharmacy Sub-dropdown in Mobile -->
<div class="mobile-sub-dropdown-toggle" id="mobilePharmacyToggle">
    <span><i class="fas fa-pills"></i> School of Pharmacy</span>
    <i class="fas fa-chevron-down"></i>
</div>
<div class="mobile-sub-dropdown-content" id="mobilePharmacyDropdown">
    <a href="d.pharma.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-capsules"></i> D.Pharma Course
    </a>
    <a href="b.pharma-course.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-flask"></i> B.Pharma Course
    </a>
    <a href="m.pharma-course.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-prescription-bottle-medical"></i> M.Pharma Course
    </a>
</div>

<!-- Computer Application Sub-dropdown in Mobile -->
<div class="mobile-sub-dropdown-toggle" id="mobileComputerToggle">
    <span><i class="fas fa-computer"></i> School of Computer Application</span>
    <i class="fas fa-chevron-down"></i>
</div>
<div class="mobile-sub-dropdown-content" id="mobileComputerDropdown">
    <a href="dca.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-keyboard"></i> DCA Course
    </a>
    <a href="bca.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-code"></i> BCA Course
    </a>
    <a href="mca.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-database"></i> MCA Course
    </a>
    <a href="b.sc-it.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-network-wired"></i> B.Sc IT Course
    </a>
</div>

<!-- Law Sub-dropdown in Mobile -->
<div class="mobile-sub-dropdown-toggle" id="mobileLawToggle">
    <span><i class="fas fa-scale-balanced"></i> School of Law</span>
    <i class="fas fa-chevron-down"></i>
</div>
<div class="mobile-sub-dropdown-content" id="mobileLawDropdown">
    <a href="ba-llb.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-gavel"></i> BA LLB Course
    </a>
    <a href="bba-llb.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-briefcase"></i> BBA LLB Course
    </a>
    <a href="llb-course.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-landmark"></i> LLB Course
    </a>
    <a href="llm-course.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-book-law"></i> LLM Course
    </a>
</div>

<!-- Education Sub-dropdown in Mobile -->
<div class="mobile-sub-dropdown-toggle" id="mobileEducationToggle">
    <span><i class="fas fa-chalkboard-user"></i> School of Education</span>
    <i class="fas fa-chevron-down"></i>
</div>
<div class="mobile-sub-dropdown-content" id="mobileEducationDropdown">
    <a href="b.ed-course.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-user-graduate"></i> B.Ed
    </a>
    <a href="ma-education.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-school"></i> MA Education
    </a>
    <a href="ma-specialized.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-book-open-reader"></i> MA in Specialization Education
    </a>
</div>

<!-- Commerce & Management Sub-dropdown in Mobile -->
<div class="mobile-sub-dropdown-toggle" id="mobileCommerceToggle">
    <span><i class="fas fa-chart-pie"></i> School of Commerce & Management</span>
    <i class="fas fa-chevron-down"></i>
</div>
<div class="mobile-sub-dropdown-content" id="mobileCommerceDropdown">
    <a href="b.com.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-coins"></i> B.Com
    </a>
    <a href="m.com.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-file-invoice-dollar"></i> M.Com
    </a>
    <a href="bba.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-user-tie"></i> BBA
    </a>
    <a href="mba.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-briefcase"></i> MBA
    </a>
</div>

<!-- Social Science & Humanities -->
<div class="mobile-sub-dropdown-toggle" id="mobileHumanitiesToggle">
    <span><i class="fas fa-people-group"></i> School of Social Science & Humanities</span>
    <i class="fas fa-chevron-down"></i>
</div>
<div class="mobile-sub-dropdown-content" id="mobileHumanitiesDropdown">
    <a href="ba.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-book"></i> BA
    </a>
    <a href="ma.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-book-open"></i> MA
    </a>
    <a href="b.lib.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-book-atlas"></i> B.Lib
    </a>
    <a href="m.lib.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-book-reader"></i> M.Lib
    </a>
</div>

<!-- Allied Health Science -->
<div class="mobile-sub-dropdown-toggle" id="mobileHealthToggle">
    <span><i class="fas fa-heart-pulse"></i> School of Allied Health Science</span>
    <i class="fas fa-chevron-down"></i>
</div>
<div class="mobile-sub-dropdown-content" id="mobileHealthDropdown">
    <a href="bpt.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-person-walking"></i> BPT
    </a>
    <a href="b.sc-mlt.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-vials"></i> B.Sc MLT
    </a>
    <a href="b.sc-ott.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-procedures"></i> B.Sc OTT
    </a>
    <a href="m.sc-mlt.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-microscope"></i> M.Sc MLT
    </a>
</div>

<!-- Nursing -->
<div class="mobile-sub-dropdown-toggle" id="mobileNursingToggle">
    <span><i class="fas fa-user-nurse"></i> School of Nursing</span>
    <i class="fas fa-chevron-down"></i>
</div>
<div class="mobile-sub-dropdown-content" id="mobileNursingDropdown">
    <a href="b.sc-nursing.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-hospital-user"></i> B.Sc Nursing
    </a>
    <a href="anm.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-syringe"></i> ANM
    </a>
    <a href="gnm.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-notes-medical"></i> GNM
    </a>
</div>

<!-- Agriculture -->
<div class="mobile-sub-dropdown-toggle" id="mobileAgricultureToggle">
    <span><i class="fas fa-tractor"></i> School of Agriculture Science</span>
    <i class="fas fa-chevron-down"></i>
</div>
<div class="mobile-sub-dropdown-content" id="mobileAgricultureDropdown">
    <a href="b.sc-agriculture.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-seedling"></i> B.Sc Agriculture
    </a>
    <a href="m.sc-agriculture.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-leaf"></i> M.Sc Agriculture
    </a>
    <a href="agriculture-diploma.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-wheat-awn"></i> Diploma Agriculture
    </a>
</div>

<!-- Hotel Management -->
<div class="mobile-sub-dropdown-toggle" id="mobileHotelToggle">
    <span><i class="fas fa-hotel"></i> School of Hotel Management</span>
    <i class="fas fa-chevron-down"></i>
</div>
<div class="mobile-sub-dropdown-content" id="mobileHotelDropdown">
    <a href="diploma-hotel-management.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-concierge-bell"></i> Diploma in Hotel Management
    </a>
    <a href="bba-hotel-management.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-user-tie"></i> BBA Hotel Management
    </a>
    <a href="bhmct.php" class="mobile-sub-dropdown-item">
        <i class="fas fa-utensils"></i> BHMCT
    </a>
</div>

                </div>
            </li>
            <li class="mobile-nav-item">
                <div class="mobile-dropdown-toggle" id="mobileUniversitiesToggle">
                    Universities <i class="fas fa-chevron-down"></i>
                </div>
                <div class="mobile-dropdown-content" id="mobileUniversitiesDropdown">
                    <a href="subharti-university.php" class="mobile-dropdown-item"><i class="fas fa-graduation-cap"></i> Subharti University</a>
                    <a href="hrit-university.php" class="mobile-dropdown-item"><i class="fas fa-user-md"></i> Hrit University</a>
                    <a href="mind-power-university.php" class="mobile-dropdown-item"><i class="fas fa-flask"></i> Mind Power University</a>
                    <a href="mahaveer-university.php" class="mobile-dropdown-item"><i class="fas fa-globe-americas"></i> Mahaveer University</a>
                </div>
            </li>
            <li class="mobile-nav-item">
                <a href="nios-admissions.php" class="mobile-nav-link">NIOS Admissions</a>
            </li>
            <li class="mobile-nav-item">
                <a href="contact.php" class="mobile-nav-link">Contact</a>
            </li>
            <li class="mobile-nav-item">
                <a href="/edupanel/index.php" class="mobile-nav-link nav-cta" style="display: inline-block; width: 100%; text-align: center;">Login </a>
            </li>
        </ul>

        <!-- Enhanced Contact Section in Mobile Menu -->
        <div class="mobile-contact-section">
            <h3 class="mobile-contact-title">
                <i class="fas fa-address-card"></i> Contact Information
            </h3>
            <div class="mobile-contact-item">
                <i class="fas fa-envelope"></i>
                <div class="mobile-contact-text">
                    <strong>Email:</strong><br>
                    prajtyagi@gmail.com
                </div>
            </div>
            <div class="mobile-contact-item">
                <i class="fas fa-phone-alt"></i>
                <div class="mobile-contact-text">
                    <strong>Phone:</strong><br>
                    9899944214
                </div>
            </div>
            <div class="mobile-contact-item">
                <i class="fas fa-map-marker-alt"></i>
                <div class="mobile-contact-text">
                    <strong>Address:</strong><br>
                    266, Noor Nagar Ghaziabad,<br>
                    Uttar Pradesh-201001
                </div>
            </div>
        </div>

        <div class="mobile-social-links">
            <a href="#" class="mobile-social-link"><i class="fab fa-facebook-f"></i></a>
            <a href="#" class="mobile-social-link"><i class="fab fa-twitter"></i></a>
            <a href="#" class="mobile-social-link"><i class="fab fa-instagram"></i></a>
            <a href="#" class="mobile-social-link"><i class="fab fa-linkedin-in"></i></a>
        </div>
    </div>

   

    <script>
        // Mobile menu functionality
        const mobileMenuBtn = document.getElementById('mobileMenuBtn');
        const mobileMenuOverlay = document.getElementById('mobileMenuOverlay');
        const mobileMenuPanel = document.getElementById('mobileMenuPanel');
        const mobileMenuClose = document.getElementById('mobileMenuClose');
        
        // Open mobile menu
        mobileMenuBtn.addEventListener('click', () => {
            mobileMenuBtn.classList.add('active');
            mobileMenuOverlay.classList.add('active');
            mobileMenuPanel.classList.add('active');
            document.body.style.overflow = 'hidden';
        });
        
        // Close mobile menu
        function closeMobileMenu() {
            mobileMenuBtn.classList.remove('active');
            mobileMenuOverlay.classList.remove('active');
            mobileMenuPanel.classList.remove('active');
            document.body.style.overflow = 'auto';
            
            // Close all dropdowns
            closeAllMobileDropdowns();
        }
        
        mobileMenuClose.addEventListener('click', closeMobileMenu);
        mobileMenuOverlay.addEventListener('click', closeMobileMenu);
        
        // Function to close all mobile dropdowns
        function closeAllMobileDropdowns() {
            const dropdowns = document.querySelectorAll('.mobile-dropdown-content, .mobile-sub-dropdown-content');
            const toggles = document.querySelectorAll('.mobile-dropdown-toggle, .mobile-sub-dropdown-toggle');
            
            dropdowns.forEach(dropdown => {
                dropdown.classList.remove('active');
            });
            
            toggles.forEach(toggle => {
                toggle.classList.remove('active');
            });
        }
        
        // Mobile dropdown functionality
        const mobileCoursesToggle = document.getElementById('mobileCoursesToggle');
        const mobileCoursesDropdown = document.getElementById('mobileCoursesDropdown');
        const mobileUniversitiesToggle = document.getElementById('mobileUniversitiesToggle');
        const mobileUniversitiesDropdown = document.getElementById('mobileUniversitiesDropdown');
        
        // Main dropdown toggles
        mobileCoursesToggle.addEventListener('click', (e) => {
            e.stopPropagation();
            mobileCoursesToggle.classList.toggle('active');
            mobileCoursesDropdown.classList.toggle('active');
            
            // Close other main dropdown if open
            if (mobileUniversitiesDropdown.classList.contains('active')) {
                mobileUniversitiesDropdown.classList.remove('active');
                mobileUniversitiesToggle.classList.remove('active');
            }
        });
        
        mobileUniversitiesToggle.addEventListener('click', (e) => {
            e.stopPropagation();
            mobileUniversitiesToggle.classList.toggle('active');
            mobileUniversitiesDropdown.classList.toggle('active');
            
            // Close other main dropdown if open
            if (mobileCoursesDropdown.classList.contains('active')) {
                mobileCoursesDropdown.classList.remove('active');
                mobileCoursesToggle.classList.remove('active');
            }
        });
        
        // Get all sub-dropdown toggles and their dropdowns
        const mobileEngineeringToggle = document.getElementById('mobileEngineeringToggle');
        const mobileEngineeringDropdown = document.getElementById('mobileEngineeringDropdown');
        const mobilePharmacyToggle = document.getElementById('mobilePharmacyToggle');
        const mobilePharmacyDropdown = document.getElementById('mobilePharmacyDropdown');
        const mobileComputerToggle = document.getElementById('mobileComputerToggle');
        const mobileComputerDropdown = document.getElementById('mobileComputerDropdown');
        const mobileLawToggle = document.getElementById('mobileLawToggle');
        const mobileLawDropdown = document.getElementById('mobileLawDropdown');
        const mobileEducationToggle = document.getElementById('mobileEducationToggle');
        const mobileEducationDropdown = document.getElementById('mobileEducationDropdown');
        const mobileCommerceToggle = document.getElementById('mobileCommerceToggle');
        const mobileCommerceDropdown = document.getElementById('mobileCommerceDropdown');
        const mobileHumanitiesToggle = document.getElementById('mobileHumanitiesToggle');
        const mobileHumanitiesDropdown = document.getElementById('mobileHumanitiesDropdown');
        const mobileHealthToggle = document.getElementById('mobileHealthToggle');
        const mobileHealthDropdown = document.getElementById('mobileHealthDropdown');
        const mobileNursingToggle = document.getElementById('mobileNursingToggle');
        const mobileNursingDropdown = document.getElementById('mobileNursingDropdown');
        const mobileAgricultureToggle = document.getElementById('mobileAgricultureToggle');
        const mobileAgricultureDropdown = document.getElementById('mobileAgricultureDropdown');
        const mobileHotelToggle = document.getElementById('mobileHotelToggle');
        const mobileHotelDropdown = document.getElementById('mobileHotelDropdown');
        
        // Function to close all sub-dropdowns
        function closeAllSubDropdowns() {
            const subDropdowns = [
                mobileEngineeringDropdown, mobilePharmacyDropdown, mobileComputerDropdown,
                mobileLawDropdown, mobileEducationDropdown, mobileCommerceDropdown,
                mobileHumanitiesDropdown, mobileHealthDropdown, mobileNursingDropdown,
                mobileAgricultureDropdown, mobileHotelDropdown
            ];
            
            const subToggles = [
                mobileEngineeringToggle, mobilePharmacyToggle, mobileComputerToggle,
                mobileLawToggle, mobileEducationToggle, mobileCommerceToggle,
                mobileHumanitiesToggle, mobileHealthToggle, mobileNursingToggle,
                mobileAgricultureToggle, mobileHotelToggle
            ];
            
            subDropdowns.forEach(dropdown => {
                if (dropdown) dropdown.classList.remove('active');
            });
            
            subToggles.forEach(toggle => {
                if (toggle) toggle.classList.remove('active');
            });
        }
        
        // Add event listeners for all sub-dropdowns
        const subDropdownPairs = [
            { toggle: mobileEngineeringToggle, dropdown: mobileEngineeringDropdown },
            { toggle: mobilePharmacyToggle, dropdown: mobilePharmacyDropdown },
            { toggle: mobileComputerToggle, dropdown: mobileComputerDropdown },
            { toggle: mobileLawToggle, dropdown: mobileLawDropdown },
            { toggle: mobileEducationToggle, dropdown: mobileEducationDropdown },
            { toggle: mobileCommerceToggle, dropdown: mobileCommerceDropdown },
            { toggle: mobileHumanitiesToggle, dropdown: mobileHumanitiesDropdown },
            { toggle: mobileHealthToggle, dropdown: mobileHealthDropdown },
            { toggle: mobileNursingToggle, dropdown: mobileNursingDropdown },
            { toggle: mobileAgricultureToggle, dropdown: mobileAgricultureDropdown },
            { toggle: mobileHotelToggle, dropdown: mobileHotelDropdown }
        ];
        
        subDropdownPairs.forEach(pair => {
            if (pair.toggle && pair.dropdown) {
                pair.toggle.addEventListener('click', (e) => {
                    e.stopPropagation();
                    // Close other sub-dropdowns
                    subDropdownPairs.forEach(otherPair => {
                        if (otherPair.toggle !== pair.toggle && otherPair.dropdown) {
                            otherPair.dropdown.classList.remove('active');
                            otherPair.toggle.classList.remove('active');
                        }
                    });
                    // Toggle current sub-dropdown
                    pair.toggle.classList.toggle('active');
                    pair.dropdown.classList.toggle('active');
                });
            }
        });
        
        // Close menu when clicking on a link (except dropdown toggles)
        document.querySelectorAll('.mobile-nav-link, .mobile-dropdown-item, .mobile-sub-dropdown-item').forEach(link => {
            link.addEventListener('click', () => {
                closeMobileMenu();
            });
        });
        
        // Navbar scroll effect
        const mainNavbar = document.querySelector('.main-navbar');
        
        window.addEventListener('scroll', () => {
            if (window.scrollY > 50) {
                mainNavbar.classList.add('scrolled');
            } else {
                mainNavbar.classList.remove('scrolled');
            }
        });
        
        // Handle window resize
        window.addEventListener('resize', () => {
            if (window.innerWidth > 768) {
                // Close mobile menu if open when resizing to desktop
                if (mobileMenuPanel.classList.contains('active')) {
                    closeMobileMenu();
                }
            }
        });
        
        // Add hover effect for sub-dropdowns on desktop
        document.addEventListener('DOMContentLoaded', function() {
            // Add event listeners for sub-dropdown hover on desktop
            const dropdownSubmenus = document.querySelectorAll('.dropdown-submenu');
            
            dropdownSubmenus.forEach(submenu => {
                const dropdownItem = submenu.querySelector('.dropdown-item');
                const submenuContent = submenu.querySelector('.dropdown-submenu-content');
                
                // Mouse enter event
                submenu.addEventListener('mouseenter', function() {
                    // Close other sub-dropdowns
                    dropdownSubmenus.forEach(otherSubmenu => {
                        if (otherSubmenu !== submenu) {
                            otherSubmenu.querySelector('.dropdown-submenu-content').style.opacity = '0';
                            otherSubmenu.querySelector('.dropdown-submenu-content').style.visibility = 'hidden';
                        }
                    });
                    
                    // Show current sub-dropdown
                    if (submenuContent) {
                        submenuContent.style.opacity = '1';
                        submenuContent.style.visibility = 'visible';
                        submenuContent.style.transform = 'translateX(0)';
                    }
                });
                
                // Mouse leave event
                submenu.addEventListener('mouseleave', function(e) {
                    // Check if mouse is moving to submenu content
                    if (!submenuContent.contains(e.relatedTarget)) {
                        submenuContent.style.opacity = '0';
                        submenuContent.style.visibility = 'hidden';
                        submenuContent.style.transform = 'translateX(-10px)';
                    }
                });
                
                // Mouse enter event for submenu content
                if (submenuContent) {
                    submenuContent.addEventListener('mouseenter', function() {
                        this.style.opacity = '1';
                        this.style.visibility = 'visible';
                        this.style.transform = 'translateX(0)';
                    });
                    
                    // Mouse leave event for submenu content
                    submenuContent.addEventListener('mouseleave', function() {
                        this.style.opacity = '0';
                        this.style.visibility = 'hidden';
                        this.style.transform = 'translateX(-10px)';
                    });
                }
            });
        });
    </script>
</body>
</html>