:root {
            --primary-green: #4CAF50; 
            --white: #FFFFFF;
            --black: #333333;
            --gray-light: #F5F5F5;
            --gray-medium: #CCCCCC;
            --text-color: #555555;
            
            /* Fonts */
            --font-main: 'Poppins', sans-serif;
            
            /* Spacing & Layout */
            --container-width: 1200px;
            --section-padding: 80px 0;
            --border-radius: 8px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box; /* Fixed: was 'border-radius' typo */
        }

        body {
            font-family: var(--font-main);
            color: var(--text-color);
            background-color: var(--white);
            line-height: 1.6;
            overflow-x: hidden; /* Prevent horizontal scroll */
            padding-top: 80px; /* Offset for fixed header */
        }

        .container {
            max-width: var(--container-width);
            padding: 0 20px;
            margin: auto;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: color 0.3s ease;
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        h1, h2, h3, h4 {
            color: var(--black);
            font-weight: 700;
            margin-bottom: 15px;
        }

        p {
            margin-bottom: 20px;
        }

        /* --- Buttons --- */
        .btn {
            display: inline-block;
            padding: 12px 30px;
            border-radius: var(--border-radius);
            font-weight: 600;
            text-transform: uppercase;
            font-size: 14px;
            cursor: pointer;
            transition: background-color 0.3s ease, border-color 0.3s ease;
            border: 2px solid transparent;
            font-family: var(--font-main);
        }

        .btn-sm {
            padding: 8px 20px;
            font-size: 12px;
        }

        .btn-primary {
            background-color: var(--primary-green);
            color: var(--white);
        }

        .btn-primary:hover {
            background-color: #FFB300; 
            color: #4CAF58;
        }


        /* --- Utility Classes --- */
        .highlight {
            color: var(--primary-green);
        }

        .red-bg {
            background-color: var(--primary-green) !important;
        }

        .icon-circle {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            color: var(--white);
            font-size: 20px;
            margin-right: 15px;
        }

        /* --- Header / Navbar --- */
        .header {
            background-color: var(--white);
            padding: 0px 0;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            padding: 20px;
        }

        /* Logo as image */
        .logo-img {
            display: block;
            height: 100px;
            width: auto;
            object-fit: contain;
        }

        /* Navigation wrapper */
        .nav {
            flex: 1;
            display: flex;
            justify-content: center;
        }

        .nav-links {
            display: flex;
            gap: 30px;
            margin: 0;
            padding: 0;
        }

        .nav-links a {
            font-weight: 500;
            font-size: 16px;
        }

        .nav-links a:hover {
            color: var(--primary-green);
        }

        /* Auth buttons container */
        .auth-buttons {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        /* Mobile menu toggle (hamburger) */
        .menu-toggle {
            display: none;
            cursor: pointer;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 32px;
            height: 32px;
            background: transparent;
            border: none;
            padding: 0;
        }

        .menu-toggle .bar {
            display: block;
            width: 25px;
            height: 3px;
            margin: 3px 0;
            background-color: var(--black);
            border-radius: 3px;
            transition: all 0.3s ease;
        }

        /* Mobile menu active animation */
        .menu-toggle.active .bar:nth-child(1) {
            transform: translateY(9px) rotate(45deg);
        }
        .menu-toggle.active .bar:nth-child(2) {
            opacity: 0;
        }
        .menu-toggle.active .bar:nth-child(3) {
            transform: translateY(-9px) rotate(-45deg);
        }

        /* Demo content just for spacing and visual */
        .hero-section {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 80px 0;
            text-align: center;
        }
        .hero-section h1 {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }
        .hero-section p {
            font-size: 1.2rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        /* --- Responsive Media Queries --- */

        /* Tablet (Large) and Below */
        @media (max-width: 1024px) {
            .nav-links { gap: 20px; }
            .nav-links a { font-size: 14px; }
            .btn { padding: 10px 22px; font-size: 13px; }
        }

        /* Tablet (Small) / Mobile (Large) */
        @media (max-width: 768px) {
            body {
                padding-top: 70px;
            }
            .logo-img {
                height: 80px;
            }
            
            /* Hide normal navigation links and auth buttons on mobile initially */
            .nav .nav-links {
                display: none;
            }
            .auth-buttons {
                display: none;
            }

            /* Show hamburger button */
            .menu-toggle {
                display: flex;
            }

            /* Mobile menu active state - both nav links and auth buttons appear in a vertical column */
            .nav.active {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background-color: var(--white);
                padding: 20px 20px 30px;
                box-shadow: 0 10px 20px rgba(0,0,0,0.1);
                border-top: 1px solid var(--gray-medium);
                z-index: 999;
                display: flex;
                flex-direction: column;
                gap: 25px;
            }
            
            /* When .nav is active, show nav-links and also bring auth-buttons inside the mobile panel */
            .nav.active .nav-links {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 20px;
                width: 100%;
            }
            
            .nav.active .nav-links li {
                width: 100%;
                text-align: center;
            }
            
            .nav.active .nav-links a {
                display: block;
                font-size: 18px;
                padding: 8px 0;
                font-weight: 500;
            }
            
        }
        .nav-wrapper {
            display: flex;
            align-items: center;
            gap: 40px;
        }
        
        .nav {
            display: flex;
        }
        
        @media (min-width: 769px) {
            .nav-wrapper {
                flex: 1;
                justify-content: flex-end;
            }
            .nav {
                margin-right: auto;
                margin-left: auto;
            }
            /* Desktop: logo far left, nav centered, auth-buttons right */
            .header-container {
                justify-content: space-between;
            }
            .logo-img {
                margin-right: 20px;
            }
            .nav-wrapper {
                flex: 1;
                justify-content: space-between;
            }
            .nav {
                flex: 1;
                justify-content: center;
            }
            .auth-buttons {
                margin-left: auto;
            }
        }
        
        @media (max-width: 768px) {
            .nav-wrapper {
                position: static;
                display: none;
                width: 100%;
                flex-direction: column;
                background: var(--white);
                padding: 0px;
                gap: 20px;
            }
            .nav-wrapper.active {
                display: flex;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: var(--white);
                box-shadow: 0 10px 20px rgba(0,0,0,0.1);
                z-index: 1000;
                border-top: 1px solid #eee;
                padding-bottom: 40px;
            }
            .nav {
                width: 100%;
                justify-content: center;
            }
            .nav .nav-links {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 0px;
                width: 100%;
            }
            .nav .nav-links li {
                width: 100%;
                text-align: center;
            }
            .nav .nav-links a {
                font-size: 18px;
                padding: 8px;
                display: inline-block;
            }
            .auth-buttons {
                display: flex;
                flex-direction: column;
                gap: 12px;
                width: 100%;
                align-items: center;
            }
            .auth-buttons .btn {
                width: 80%;
                text-align: center;
            }
        }

         /* Ensure logo on far left with proper spacing */
    @media (min-width: 769px) {
        .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
        .logo-link {
            flex-shrink: 0;
            margin-right: 40px;
        }
        .nav-wrapper {
            display: flex;
            flex: 1;
            justify-content: space-between;
            align-items: center;
        }
        .nav {
            flex: 1;
            display: flex;
            justify-content: center;
        }
        .nav-links {
            display: flex;
            gap: 32px;
            justify-content: center;
        }
        .auth-buttons {
            flex-shrink: 0;
            margin-left: auto;
            display: flex;
            gap: 16px;
        }
        /* Remove any extra margin/padding issues */
        .header-container .nav-wrapper .auth-buttons {
            margin-left: 0;
        }
    }
    
    /* For tablet landscape, ensure nav links not overlapping */
    @media (min-width: 769px) and (max-width: 1024px) {
        .nav-links {
            gap: 20px;
        }
        .btn {
            padding: 8px 18px;
        }
    }
    
    /* Fix body padding on mobile when header is fixed */
    @media (max-width: 768px) {
        body {
            padding-top: 70px;
        }
        .hero-section h1 {
            font-size: 1.8rem;
        }
        .hero-section p {
            font-size: 1rem;
        }
        .btn {
            padding: 10px 20px;
        }
        .auth-buttons .btn {
            width: 100%;
            max-width: 220px;
        }
        .nav-wrapper.active {
            padding: 25px 20px;
        }
        .logo-img {
            height: 80px;
        }
    }
    
    /* For very small screens, fine-tune */
    @media (max-width: 480px) {
        .auth-buttons .btn {
            width: 90%;
            font-size: 14px;
        }
        .nav-wrapper.active {
            padding: 20px 15px;
        }
        .nav .nav-links a {
            font-size: 16px;
        }
        .logo-img {
            height: 60px;
        }
        .hero-section {
            padding: 50px 0;
        }
    }
    
    /* Ensure menu-toggle button looks nice and clickable */
    .menu-toggle {
        background: transparent;
        border: none;
        outline: none;
        z-index: 1001;
    }
    .menu-toggle:focus {
        outline: none;
    }
    
    /* Smooth transition for mobile panel */
    .nav-wrapper {
        transition: all 0.3s ease;
    }
    
    /* Override initial box-sizing fix */
    * {
        box-sizing: border-box;
    }
    
    /* Fix any potential conflict with original .nav style */
    .nav {
        background: transparent;
    }
    
    /* For demo, make buttons consistent */
    .btn {
        letter-spacing: 0.5px;
    }