:root {
    --primary-green: #2ecc71;
    --dark-green: #27ae60;
    --light-green: #58e68a;
    --progress-green: #1abc9c;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    /* Ensure no default spacing */
    margin: 0;
    padding: 0;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 1px;
    background:transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.progress-bar {
    height: 100%;
    background:#FBAE00;
    width: 0%;
    transition: width 0.3s ease;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    background-color: transparent; /* Changed to transparent */
    box-shadow: none; /* Removed initial shadow */
    position: fixed; /* Changed from sticky to fixed */
    top: 5px; /* Starts below progress bar */
    left: 0;
    right: 0;
    z-index: 999;
    height: 61px;
    transition: all 0.3s ease;
}

/* Scrolled state */
.navbar.scrolled {
    background-color: #05A243;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    top: 0; /* Covers progress bar when scrolled */
}

/* Push content down to account for fixed navbar */
body {
    padding-top: -70px; /* navbar height + progress bar */
}

/* Rest of your existing navbar styles remain exactly the same */
.navbar-left {
    display: flex;
    align-items: center;
}

.navbar-right {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.navbar-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-top: -1px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 580;
    color: white;
    margin: 0;
    line-height: 1;
    margin-top: -10px;
}

.navbar-subtitle {
    font-size: 0.85rem;
    color: white;
    margin: 0;
    margin-top: -10px;
}

.navbar-tagline {
    font-size: 0.9rem;
    color: #ffffff;
}

.navbar-links {
    display: flex;
    gap: 1.5rem;
    margin-right: 2rem;
    margin-top: -24px;
}

.nav-link {
    text-decoration: none;
    color:white;
    font-weight: 900;
    font-size: 1.0rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 10px;
}

.nav-link:hover {
    color:#FBAE00;
}

.nav-link.help-button {
    background-color: #FBAE00;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.nav-link.help-button:hover {
    background-color: white;
    color: #FBAE00;
}

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

/* Dropdown */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown .nav-link i {
    transition: transform 0.4s ease;
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 1;
    top: 100%;
    left: 0;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 0.8rem 1rem;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
    color:#FBAE00;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 999;
}

/* Responsive Styles - Modified for transparent navbar */
@media (max-width: 992px) {
    .navbar-logo {
        height: 35px;
    }
    
    .navbar-brand {
        font-size: 1.6rem;
    }
    
    .navbar-subtitle {
        font-size: 0.8rem;
    }
    
    .navbar-tagline {
        display: none;
    }
    
    .navbar-links {
        margin-right: 1rem;
        color: #2c3e50;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        height: 60px;
        padding: 15px;
        background-color: #05A243 !important; /* Force color on mobile */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        top: 0 !important; /* Override for mobile */
    }
    
    body {
        padding-top: 60px; /* Adjust for mobile navbar height */
    }
    
    .navbar-logo {
        height: 30px;
        margin-top: 0px;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
        margin-top: 0px;
    }
    
    .navbar-subtitle {
        font-size: 0.7rem;
        max-width: 180px;
        white-space: normal;
        line-height: 1.2;
    }
    
    .logo-container {
        align-items: center;
    }
    
    .navbar-logo {
        max-width: 45px;
        height: auto;
    }
    
    .navbar-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #05A243;
        flex-direction: column;
        align-items: center;
        padding: 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        gap: 0;
        margin-right: 0;
        max-height: 0;
        display: none;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        z-index: 998;
    }
    
    .navbar-links.active {
        max-height: 1000px;
        padding: 1rem 0;
        display: flex;
    }
    
    .nav-link {
        padding: 1rem;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.1);
        margin-top: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transition: none;
    }
    
    .dropdown-content a {
        color: white;
        padding: 0.8rem 1rem;
        text-align: center;
    }
    
    /* Enable hover behavior on mobile */
    .dropdown:hover .dropdown-content {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    
    /* Keep active state for click functionality */
    .dropdown.active .dropdown-content {
        display: block !important;
        opacity: 1;
        visibility: visible;
    }
    
    .navbar-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        color: white; /* Ensure visibility */
    }
    
    .navbar-right {
        gap: 1rem;
    }
    
    /* Make dropdown arrows more touchable */
    .dropdown .nav-link i {
        font-size: 1.2rem; /* Larger icon */
        padding: 10px 5px; /* Larger touch area */
        margin-left: 5px;
        color: rgba(255, 255, 255, 0.9);
    }
    
    .dropdown:hover .nav-link i {
        color: #FBAE00;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 10px;
    }
    
    .navbar-subtitle {
        font-size: 0.65rem;
        max-width: 215px;
        margin-top: 2px;
    }
    
    .navbar-logo {
        max-width: 40px;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
        margin-top: -15px;
    }
}

@media (max-width: 480px) {
    .logo-container {
        gap: 0.5rem;
    }
    
    .navbar-logo {
        height: 28px;
        display: block;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
        margin-top: 0px;
    }
    
    .navbar-subtitle {
        display: block;
        font-size: 0.7rem;
        margin-top: -5px;
        line-height: 1.2;
    }
    
    .navbar {
        padding: 0 1rem;
    }
}