/* ================================
   UPDATED NAVBAR + FOOTER FIXES
================================ */

/* NAVBAR MENU SPACING */

.navbar {
    padding: 18px 6%;
    gap: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 28px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links {
    gap: 18px;
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    font-size: 16px;
    white-space: nowrap;
}

.apply-btn {
    padding: 12px 22px;
    border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-toggle,
.menu-icon,
#menu-toggle {
    display: none !important;
}

/* RESPONSIVE NAV */
@media (max-width: 1200px) {
    .navbar {
        flex-wrap: wrap;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 12px;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .navbar {
        align-items: flex-start;
    }

    .menu-icon {
        display: block !important;
        font-size: 30px;
        color: var(--blue);
        cursor: pointer;
        margin-left: auto;
    }

    #menu-toggle {
        display: none !important;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin-top: 15px;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 12px 0;
    }

    #menu-toggle:checked ~ .nav-links {
        display: flex;
    }

    .apply-btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}

/* FOOTER DESIGN */

.footer {
    background: var(--blue);
    color: var(--white);
    padding: 60px 8% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-col h3,
.footer-col h4 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-col p {
    color: rgba(255,255,255,0.88);
    line-height: 1.6;
    font-size: 15px;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.92);
    margin-bottom: 8px;
    font-size: 15px;
}

.footer-col a:hover {
    color: var(--green);
}

.footer-btn {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    padding: 12px 22px;
    border-radius: 30px;
    font-weight: 900;
    margin-top: 10px;
}

.footer-btn:hover {
    background: var(--white);
    color: var(--blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.25);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

/* FOOTER RESPONSIVE */

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}