/* Header Styles */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
        }

        header.sticky {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: #fff;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            z-index: 1000;
            transition: background 0.3s, box-shadow 0.3s;
        }
        header.sticky .navbar {
            padding: 0.5rem 0;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
        }

        .logo {
            display: flex;
            align-items: center;
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--primary-dark);
        }

        .logo-icon {
            margin-right: 0.5rem;
            color: var(--primary);
            font-size: 2rem;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            transition: max-height 0.3s ease;
        }

        .nav-link {
            font-weight: 600;
            transition: var(--transition);
            position: relative;
        }

        .nav-link:hover {
            color: var(--primary);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: var(--transition);
        }

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

        .navbar-auth {
            display: flex;
            gap: 1rem;
        }

        /* Login Button Styles */
        .navbar-auth .btn,
        .navbar-auth .btn-outline {
            padding: 0.5rem 1.2rem;
            font-size: 1rem;
            border-radius: var(--border-radius);
            transition: var(--transition);
            min-width: 90px;
            text-align: center;
        }

        @media (max-width: 768px) {
            .navbar-auth {
                flex-direction: column;
                gap: 0.7rem;
                width: 100%;
                align-items: stretch;
                margin-top: 0.5rem;
            }
            .navbar-auth .btn,
            .navbar-auth .btn-outline {
                width: 100%;
                min-width: 120px;
                max-width: 100%;
                box-sizing: border-box;
                display: inline-block;
                padding: 0.7rem 0;
            }
        }
        @media (max-width: 480px) {
            .navbar-auth .btn,
            .navbar-auth .btn-outline {
                font-size: 0.95rem;
                padding: 0.6rem 0;
            }
        }

        /* Hamburger Menu Styles */
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 2rem;
            color: var(--primary-dark);
            cursor: pointer;
            position: relative;
            z-index: 1001;
            width: 44px;
            height: 44px;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }
        .mobile-toggle:focus {
            outline: none;
            background: var(--light-gray);
            border-radius: 50%;
        }

        .hamburger {
            width: 28px;
            height: 22px;
            display: inline-block;
            position: relative;
        }
        .hamburger span {
            display: block;
            height: 4px;
            width: 100%;
            background: var(--primary-dark);
            border-radius: 2px;
            margin-bottom: 5px;
            transition: 0.4s;
        }
        .hamburger span:last-child {
            margin-bottom: 0;
        }
        .mobile-toggle.active .hamburger span:nth-child(1) {
            transform: translateY(9px) rotate(45deg);
        }
        .mobile-toggle.active .hamburger span:nth-child(2) {
            opacity: 0;
        }
        .mobile-toggle.active .hamburger span:nth-child(3) {
            transform: translateY(-9px) rotate(-45deg);
        }

        /* ===================== Responsive Media Queries ===================== */

        /* Mobile Devices – 320px — 480px */
        @media (max-width: 480px) {
            .logo {
                font-size: 1.1rem;
            }
            .logo-icon {
                font-size: 1.3rem;
            }
            .navbar {
                padding: 0.5rem 0;
            }
            .nav-links {
                gap: 0.5rem;
            }
            .nav-link {
                font-size: 0.9rem;
            }
            .navbar-auth {
                gap: 0.5rem;
            }
        }

        /* iPads and Tablets – 481px — 768px */
        @media (min-width: 481px) and (max-width: 768px) {
            .navbar {
                flex-wrap: wrap;
                padding: 0.7rem 0;
            }
            .logo {
                font-size: 1.2rem;
            }
            .logo-icon {
                font-size: 1.5rem;
            }
            .nav-links {
                gap: 1rem;
            }
            .nav-link {
                font-size: 1rem;
            }
            .navbar-auth {
                gap: 0.7rem;
            }
        }

        /* Laptops and small screen – 769px — 1024px */
        @media (min-width: 769px) and (max-width: 1024px) {
            .navbar {
                flex-wrap: wrap;
                padding: 0.9rem 0;
            }
            .logo {
                font-size: 1.3rem;
            }
            .logo-icon {
                font-size: 1.7rem;
            }
            .nav-links {
                gap: 1.5rem;
            }
            .nav-link {
                font-size: 1.1rem;
            }
            .navbar-auth {
                gap: 0.9rem;
            }
        }

        /* Large screens and Desktops – 1025px — 1200px */
        @media (min-width: 1025px) and (max-width: 1200px) {
            .navbar {
                padding: 1rem 0;
            }
            .logo {
                font-size: 1.4rem;
            }
            .logo-icon {
                font-size: 1.8rem;
            }
            .nav-links {
                gap: 1.8rem;
            }
            .nav-link {
                font-size: 1.2rem;
            }
            .navbar-auth {
                gap: 1rem;
            }
        }

        /* TV and Extra Large Screens – 1201px and more */
        @media (min-width: 1201px) {
            .navbar {
                padding: 1.2rem 0;
            }
            .logo {
                font-size: 1.7rem;
            }
            .logo-icon {
                font-size: 2.2rem;
            }
            .nav-links {
                gap: 2.2rem;
            }
            .nav-link {
                font-size: 1.3rem;
            }
            .navbar-auth {
                gap: 1.2rem;
            }
        }

        /* Responsive Header Menu for Mobile */
        @media (max-width: 768px) {
            .nav-links,
            .navbar-auth {
                display: none;
                flex-direction: column;
                background: white;
                position: absolute;
                top: 100%;
                right: 0;
                left: auto;
                min-width: 160px;
                width: auto;
                max-width: 90vw;
                box-shadow: 0 2px 10px rgba(0,0,0,0.08);
                padding: 0.5rem 0.7rem;
                z-index: 999;
                align-items: flex-end;
            }
            .nav-links.mobile-menu {
                display: flex;
                border-radius: 0 0 0 16px;
                border-top: none;
                box-shadow: 0 8px 24px rgba(0,0,0,0.10);
            }
            .nav-link {
                font-size: 0.97rem;
                padding: 0.4rem 0.7rem;
                width: 100%;
                text-align: right;
            }
            .nav-auth-mobile {
                display: flex;
                flex-direction: column;
                gap: 0.7rem;
                margin-top: 1.2rem;
                align-items: flex-end;
            }
            .navbar-auth .btn,
            .navbar-auth .btn-outline {
                width: 100%;
                min-width: 120px;
                max-width: 100%;
                box-sizing: border-box;
                display: inline-block;
            }
            .nav-auth-mobile .btn,
            .nav-auth-mobile .btn-outline {
                width: 100%;
                min-width: 120px;
                max-width: 100%;
                box-sizing: border-box;
                display: inline-block;
            }
            .mobile-toggle {
                display: flex;
                align-items: center;
                justify-content: center;
            }
        }

        @media (min-width: 769px) {
            .nav-auth-mobile {
                display: none !important;
            }
            .navbar-auth {
                display: flex !important;
            }
        }

        @media (max-width: 768px) {
            .navbar-auth .btn,
            .navbar-auth .btn-outline,
            .nav-auth-mobile .btn,
            .nav-auth-mobile .btn-outline {
                text-align: left;
            }
            .nav-link {
                text-align: left;
            }
            .nav-links,
            .navbar-auth {
                align-items: flex-start;
            }
            .nav-auth-mobile {
                align-items: flex-start;
            }
        }

        /* Add this utility class for hero section offset */
        .hero-section {
            padding-top: 80px; /* Adjust based on header height */
        }