/* Variables for brand colors */
:root {
    --gov-green: #006a4e;
    --primary: #698C34;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-500: #64748b;
    --slate-700: #334155;
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-100);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-title {
    color: var(--gov-green);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.4px; /* converted from -0.025em for precision */
    margin: 0;
}

.logo-subtitle {
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.mobile-nav-item{
    border-bottom: 1px solid #f2ecec;
    padding: 10px 0;
    font-weight: 600;
    color: #333333;
}

.menu-btn{
    font-size: 26px !important;
    line-height: 32px !important;
    margin-right: 10px;
}
.mobile-login-btn{
    background-color: #6366f1;
    font-weight: 500;
}

/* Desktop Navigation */
.nav-menu {
    display: none;
    align-items: center;
    gap: 32px;
}

.nav-item {
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-700);
    text-decoration: none;
    transition: color 0.2s;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-wrapper {
    display: none;
    position: relative;
}

.search-input {
    background-color: #f8fafc;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    width: 176px;
    outline: none;
    transition: box-shadow 0.2s;
}

.search-input:focus {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.btn-login {
    background-color: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.primary-color {
    color: var(--primary);
}

/* Media Queries */
@media (min-width: 768px) {
    .search-wrapper {
        display: block;
    }
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

