/* White Nav Section */
.main-header {
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2%;
    background: #ffffff;
    height: 80px;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.menu-desktop {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.menu-desktop li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    white-space: nowrap;
}

.menu-desktop li a:hover {
    color: #1b5e20;
}

/* Dark Green Bar Section */
.query-bar {
    background: #064018;
    padding: 10px 2%;
    color: #ffffff;
}

.query-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
}

.query-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.query-form label {
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}

.input-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.query-form input {
    padding: 7px 14px;
    border-radius: 4px;
    border: 1px solid #ffffff;
    width: 210px;
    outline: none;
    font-size: 14px;
    background: #ffffff;
    color: #333;
}

.query-form input::placeholder {
    color: #999;
}

.query-form button {
    background: #2e7d32;
    color: white;
    border: 1px solid #ffffff;
    padding: 7px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
}

.query-form button:hover {
    background: #1b5e20;
}

/* Mobile hamburger — hidden on desktop */
.mobile-menu-icon {
    display: none !important;
    cursor: pointer;
    font-size: 32px;
    color: #064018;
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 1000;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.mobile-overlay ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-overlay li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.mobile-overlay a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
}

.close-btn-container {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.mobile-menu-title {
    font-size: 18px;
    font-weight: 700;
    color: #064018;
}

.close-icon {
    background: #064018;
    color: white;
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
}

/* Responsive Logic */
@media (max-width: 1024px) {
    .menu-desktop {
        display: none;
    }

    .mobile-menu-icon {
        display: block !important;
    }

    .query-container {
        justify-content: center;
    }

    .query-form {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .input-group {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .query-form input {
        width: 180px;
    }
}