       /* Professional Navigation Bar with Optimized Layout */

        :root {
            --primary-dark: #2c3e50;
            --primary-light: #3498db;
            --accent-teal: #1abc9c;
            --accent-green: #27ae60;
            --accent-orange: #e67e22;
            --accent-purple: #9b59b6;
            --accent-red: #e74c3c;
            --gradient-primary: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
            --gradient-success: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
            --gradient-warning: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
            --nav-shadow: 0 4px 20px rgba(44, 62, 80, 0.1);
            --card-shadow: 0 5px 20px rgba(44, 62, 80, 0.1);
        }

        /* Main Navbar */
        .main-navbar {
            background: var(--gradient-primary) !important;
            box-shadow: var(--nav-shadow);
            padding: 0;
            border: none;
            position: sticky;
            top: 0;
            z-index: 1000;
            min-height: 70px;
            width: 100%;
        }

        .navbar > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    height: 70px;
    max-width: 100%;
}


        /* Brand Logo - Smaller on desktop */
        .navbar-brand {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: white !important;
            font-weight: 700;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            padding: 0.5rem 0;
            flex-shrink: 0;
            min-width: 200px;
        }

        .navbar-brand:hover {
            transform: translateY(-2px);
            color: white !important;
        }

        .logo-icon {
            font-size: 1.5rem;
            margin-right: 0.5rem;
            color: white;
            transition: transform 0.3s ease;
        }

        .navbar-brand:hover .logo-icon {
            transform: scale(1.1);
        }

        .brand-text {
            font-weight: 700;
            letter-spacing: -0.3px;
            font-family: 'Poppins', sans-serif;
            font-size: 1.1rem;
        }

        /* Desktop Navigation - Compact Design */
        .desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin: 0 auto;
    height: 100%;
    flex-wrap: nowrap;
    flex: 1;
    justify-content: center;
}


        .desktop-nav::-webkit-scrollbar {
            display: none;
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            color: rgba(255, 255, 255, 0.9) !important;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.85rem;
            padding: 0.5rem 0.75rem !important;
            border-radius: 6px;
            transition: all 0.3s ease;
            height: 40px;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            border: none;
            background: transparent;
            font-family: 'Inter', sans-serif;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .nav-link::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: white;
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-link:hover {
            color: white !important;
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-1px);
        }

        .nav-link:hover::before {
            width: 70%;
        }

        .nav-link.active {
            color: white !important;
            background: rgba(255, 255, 255, 0.15);
            font-weight: 700;
        }

        .nav-link.active::before {
            width: 70%;
            background: white;
        }

        .nav-icon {
            font-size: 1rem;
            transition: transform 0.3s ease;
        }

        .nav-link:hover .nav-icon {
            transform: scale(1.1);
        }

        .nav-text {
            white-space: nowrap;
        }

        /* Already Paid Button - Compact */
        .nav-payment-btn {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            color: white !important;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.85rem;
            padding: 0.5rem 1rem !important;
            border-radius: 6px;
            transition: all 0.3s ease;
            height: 40px;
            background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
            border: none;
            cursor: pointer;
            margin-left: 0.5rem;
            box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
            white-space: nowrap;
            flex-shrink: 0;
        }

        .nav-payment-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
            color: white;
            background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
        }

        .payment-icon {
            font-size: 1rem;
        }

        /* User Section - More Compact */
        .navbar-user {
            display: flex;
            align-items: center;
            margin-left: 0.5rem;
            flex-shrink: 0;
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: white;
            padding: 0.4rem 0.75rem;
            border-radius: 6px;
            background: rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;
            text-decoration: none;
            height: 40px;
        }

        .user-info:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-1px);
        }

        .user-icon {
            font-size: 1.3rem;
            color: rgba(255, 255, 255, 0.9);
        }

        .user-details {
            display: flex;
            flex-direction: column;
            gap: 0.1rem;
        }

        .user-greeting {
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 500;
        }

        .user-name {
            font-size: 0.8rem;
            font-weight: 600;
            color: white;
        }

        /* Mobile Bottom Navigation Bar */
        .mobile-bottom-nav {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--gradient-primary);
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
            z-index: 1000;
            padding: 0.5rem 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .mobile-nav-container {
            display: flex;
            justify-content: space-around;
            align-items: center;
            max-width: 100%;
            margin: 0 auto;
        }

        .mobile-nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: rgba(255, 255, 255, 0.8);
            padding: 0.4rem 0.5rem;
            border-radius: 6px;
            transition: all 0.3s ease;
            flex: 1;
            max-width: 70px;
            border: none;
            background: transparent;
            cursor: pointer;
        }

        .mobile-nav-item.active {
            color: white;
            background: rgba(255, 255, 255, 0.15);
        }

        .mobile-nav-item:hover {
            color: white;
            transform: translateY(-2px);
        }

        .mobile-nav-icon {
            font-size: 1.2rem;
            margin-bottom: 0.2rem;
        }

        .mobile-nav-text {
            font-size: 0.65rem;
            font-weight: 600;
            text-align: center;
            white-space: nowrap;
        }

        /* Mobile Already Paid Button */
        .mobile-payment-btn {
            position: fixed;
            top: 80px;
            right: 15px;
            z-index: 999;
            background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
            color: white;
            border: none;
            border-radius: 50px;
            padding: 8px 12px;
            font-weight: 600;
            font-size: 0.75rem;
            display: flex;
            align-items: center;
            gap: 4px;
            box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
            text-decoration: none;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .mobile-payment-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(39, 174, 96, 0.5);
            color: white;
        }

        /* Hide navbar toggler and collapse */
        .navbar-toggler, .navbar-collapse {
            display: none !important;
        }

        /* Degree Modal Styles */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 2000;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .modal-content {
            background: white;
            padding: 25px;
            border-radius: 12px;
            max-width: 450px;
            width: 100%;
            text-align: center;
            position: relative;
            animation: modalSlideUp 0.3s ease;
        }

        @keyframes modalSlideUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .modal-icon {
            font-size: 2.5rem;
            color: #e74c3c;
            margin-bottom: 15px;
        }

        .modal-title {
            color: var(--primary-dark);
            font-size: 1.3rem;
            margin-bottom: 12px;
            font-family: 'Poppins', sans-serif;
        }

        .modal-message {
            color: #666;
            line-height: 1.5;
            margin-bottom: 20px;
            font-size: 0.95rem;
            font-family: 'Inter', sans-serif;
        }

        .modal-buttons {
            display: flex;
            gap: 12px;
            justify-content: center;
        }

        .modal-btn {
            padding: 10px 20px;
            border-radius: 6px;
            border: none;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: all 0.3s ease;
            font-family: 'Inter', sans-serif;
            font-size: 0.9rem;
        }

        .modal-btn-primary {
            background: var(--gradient-primary);
            color: white;
        }

        .modal-btn-secondary {
            background: #f8f9fa;
            color: #666;
            border: 1px solid #dee2e6;
        }

        /* Responsive Design */
        @media (max-width: 1400px) {
            .navbar-brand {
                min-width: 180px;
                font-size: 1.1rem;
            }
            
            .brand-text {
                font-size: 1rem;
            }
            
            .desktop-nav {
                max-width: calc(100% - 400px);
            }
        }

        @media (max-width: 1200px) {
            .navbar-brand {
                min-width: 160px;
                font-size: 1rem;
            }
            
            .brand-text {
                font-size: 0.95rem;
            }
            
            .desktop-nav {
                max-width: calc(100% - 350px);
                gap: 0.05rem;
            }
            
            .nav-link {
                font-size: 0.8rem;
                padding: 0.45rem 0.6rem !important;
            }
            
            .nav-payment-btn {
                font-size: 0.8rem;
                padding: 0.45rem 0.8rem !important;
            }
            
            .user-info {
                padding: 0.35rem 0.6rem;
            }
        }

        @media (max-width: 992px) {
            .main-navbar {
                min-height: 60px;
            }
            
            .navbar > .container {
                height: 60px;
                padding: 0 10px;
            }
            
            .navbar-brand {
                min-width: 150px;
                font-size: 0.95rem;
            }
            
            .logo-icon {
                font-size: 1.3rem;
            }
            
            .brand-text {
                font-size: 0.9rem;
            }
            
            /* Hide user details on smaller screens */
            .user-details {
                display: none;
            }
            
            .user-info {
                padding: 0.4rem;
            }
            
            .user-icon {
                font-size: 1.2rem;
            }
            
            /* Hide some nav items on tablet */
            .desktop-nav .nav-link:nth-child(6) {
                display: none;
            }
            
            .desktop-nav {
                max-width: calc(100% - 300px);
            }
        }

        @media (max-width: 850px) {
            .navbar-brand {
                min-width: 140px;
                font-size: 0.9rem;
            }
            
            .desktop-nav {
                max-width: calc(100% - 280px);
            }
            
            .nav-link {
                font-size: 0.75rem;
                padding: 0.4rem 0.5rem !important;
            }
            
            .nav-payment-btn {
                font-size: 0.75rem;
                padding: 0.4rem 0.7rem !important;
            }
            
            /* Hide more items */
            .desktop-nav .nav-link:nth-child(5),
            .desktop-nav .nav-link:nth-child(6) {
                display: none;
            }
        }

        @media (max-width: 768px) {
            /* Hide desktop navigation on mobile */
            .desktop-nav, .nav-payment-btn, .navbar-user {
                display: none;
            }
            
            /* Show mobile bottom navigation */
            .mobile-bottom-nav {
                display: block;
            }
            
            /* Show mobile payment button */
            .mobile-payment-btn {
                display: flex;
            }
            
            /* Adjust main navbar for mobile */
            .navbar > .container {
                padding: 0 10px;
                height: 55px;
                justify-content: center;
            }
            
            .navbar-brand {
                min-width: auto;
                font-size: 1rem;
                margin: 0 auto;
            }
            
            .logo-icon {
                font-size: 1.3rem;
                margin-right: 0.4rem;
            }
            
            .brand-text {
                font-size: 0.95rem;
            }
        }

        @media (max-width: 576px) {
            .navbar > .container {
                padding: 0 5px;
                height: 50px;
            }
            
            .navbar-brand {
                font-size: 0.85rem;
            }
            
            .logo-icon {
                font-size: 1.1rem;
                margin-right: 0.3rem;
            }
            
            .brand-text {
                font-size: 0.85rem;
            }
            
            .mobile-nav-item {
                padding: 0.35rem 0.4rem;
            }
            
            .mobile-nav-icon {
                font-size: 1.1rem;
            }
            
            .mobile-nav-text {
                font-size: 0.6rem;
            }
            
            .mobile-payment-btn {
                top: 65px;
                right: 10px;
                padding: 6px 10px;
                font-size: 0.7rem;
            }
            
            .modal-content {
                padding: 20px;
                max-width: 90%;
            }
            
            .modal-title {
                font-size: 1.1rem;
            }
            
            .modal-message {
                font-size: 0.85rem;
            }
            
            .modal-btn {
                padding: 8px 15px;
                font-size: 0.85rem;
            }
        }

        @media (max-width: 400px) {
            .navbar-brand {
                font-size: 0.8rem;
            }
            
            .logo-icon {
                font-size: 1rem;
            }
            
            .brand-text {
                font-size: 0.8rem;
            }
            
            .mobile-nav-text {
                font-size: 0.55rem;
            }
        }

        /* Animation for page load */
        @keyframes slideDown {
            from {
                transform: translateY(-100%);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .main-navbar {
            animation: slideDown 0.5s ease-out;
        }

        /* Mobile bottom nav animation */
        @keyframes slideUp {
            from {
                transform: translateY(100%);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .mobile-bottom-nav {
            animation: slideUp 0.5s ease-out;
        }

        /* Add padding to body to account for fixed bottom nav */
        body {
            padding-bottom: 65px;
        }

        @media (max-width: 768px) {
            body {
                padding-bottom: 65px;
            }
        }

        /* Active indicator dot */
        .nav-link.active::after {
            content: '';
            position: absolute;
            top: 8px;
            right: 6px;
            width: 5px;
            height: 5px;
            background: white;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

        .mobile-nav-item.active::after {
            content: '';
            position: absolute;
            top: 4px;
            right: 50%;
            transform: translateX(50%);
            width: 4px;
            height: 4px;
            background: white;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% {
                opacity: 1;
                transform: scale(1);
            }
            50% {
                opacity: 0.7;
                transform: scale(1.2);
            }
        }