/* Global body and header styles removed to rely on main.css */

        /* ✅ Hamburger icon */
        .mobile-menu {
            display: none;
            flex-direction: column;
            gap: 4px;
            cursor: pointer;
            z-index: 1100;
            padding: 10px;
            border-radius: 5px;
            transition: all 0.3s ease;
        }

        .mobile-menu span {
            width: 20px;
            height: 2.5px;
            background: #333;
            transition: 0.3s ease;
            border-radius: 2px;

        }

        /* Animate hamburger into cross */
        .mobile-menu.open span:nth-child(1) {
            transform: rotate(45deg) translateY(8px);
        }

        .mobile-menu.open span:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu.open span:nth-child(3) {
            transform: rotate(-45deg) translateY(-8px);
        }

        /* ✅ Mobile Menu Drawer */
        .mobile-menu-drawer {
            position: fixed;
            top: 0;
            right: -100%;
            width: 280px;
            height: 60vh;
            background: white;
            backdrop-filter: blur(20px);
            display: flex;
            flex-direction: column;
            margin-top: 120px;
            padding: 25px 30px 30px;
            transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            z-index: 999;
            box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
        }

        .mobile-menu-drawer a {
            text-decoration: none;
            color: #333;
            font-weight: 600;
            font-size: 18px;
            padding: 10px 20px;
            border-radius: 12px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .mobile-menu-drawer a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -10%;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.2);
            transition: left 0.3s ease;
            z-index: -1;
        }

        .mobile-menu-drawer a:hover::before {
            left: 0;
        }

        .mobile-menu-drawer a:hover {
            transform: translateX(10px);
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .mobile-menu-drawer.active {
            right: 0;
        }

        /* Overlay for mobile menu */
        .menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 998;
        }

        .menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }



        /* ✅ Responsive Behavior */
        @media (max-width: 834px) {
            .nav-links {
                display: none;
            }

            .mobile-menu {
                display: flex;
            }
        }


        @media (max-width: 600px) {
            .mobile-menu {
                padding: 8px;
                border-radius: 4px;
                gap: 3px;
                position: fixed;
                top: 35px;
                right: 20px;
            }

            .mobile-menu-drawer {
                width: 100%;
                right: -100%;
            }
        }

        /* Popup styles */
        .popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            animation: fadeIn 0.3s ease-in-out;
        }

        .popup {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            text-align: center;
            max-width: 400px;
            width: 90%;
            z-index: 1001;
            animation: popupSlide 0.3s ease-out;
        }

        .popup-icon {
            font-size: 60px;
            margin-bottom: 20px;
            color: #4CAF50;
        }

        .popup h3 {
            color: #333;
            margin-bottom: 15px;
            font-size: 24px;
        }

        .popup p {
            color: #666;
            margin-bottom: 25px;
            line-height: 1.5;
        }

        .popup-close {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 25px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .popup-close:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes popupSlide {
            from {
                opacity: 0;
                transform: translate(-50%, -60%);
            }

            to {
                opacity: 1;
                transform: translate(-50%, -50%);
            }
        }

        /* Loading state for button */
        .submit-btn.loading {
            opacity: 0.7;
            cursor: not-allowed;
            color: transparent !important;
            position: relative;
        }

        .submit-btn.loading::after {
            content: "";
            position: absolute;
            width: 20px;
            height: 20px;
            top: 50%;
            left: 50%;
            margin-top: -10px;
            margin-left: -10px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: #ffffff;
            animation: spin 0.8s linear infinite;
            display: block;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }
    
/* Footer styles removed to rely on main.css or local overrides in main.js if needed */