@media (max-width: 1200px) {
    .nav-time {
        padding: 0 30px;
    }
    .nav-right {
        width: auto;
        padding: 4px 10px;
    }
}

@media (max-width: 1024px) {
    .navbar {
        height: 60px;
    }
    
    .nav-links, .nav-right {
        display: none; 
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
        margin-right: 20px;
    }

    .logo img {
        width: 120px;
    }
}

/*HERO & SECTION TEXT ALIGNMENT  */
@media (max-width: 768px) {
    .mars-hero, .city-on-mars, .why-mars, .starship-section, 
    .landing-mars, .mars-2026, .mars-mission, .first-human-mars, .building-city {
        height: auto;
        min-height: 100vh;
        padding: 100px 20px 60px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end; 
    }

    .hero-text {
        position: relative;
        text-align: left;
        width: 100%;
        padding: 0 20px;
    }

    .hero-text h1 {
        font-size: 3rem;
        line-height: 1;
        margin-bottom: 10px;
    }

    .starship-btn, .watch-video {
        display: inline-flex; 
        width: fit-content;
        align-self: flex-start;
        align-items: center;
    }

    .contact-btn{
        width: 100%;
        text-align: center;
    }
}

/* STATS & MARS NUMBERS  */
@media (max-width: 768px) {
    .time-to-mars {
        flex-direction: column;
        gap: 60px;
        padding: 80px 20px;
    }

    .time-to-mars h1 {
        font-size: 5rem;
    }

    .why-text {
        padding: 40px 0;
        max-width: 100%;
    }

    .stat-row {
        padding: 15px 0;
    }
}

/* LANDING & MISSION SECTIONS */
@media (max-width: 768px) {
    .landing-text h2, .mars-2026-content h2, 
    .mission-text h2, .human-mars-text h2 {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .landing-text p, .mars-2026-content p, 
    .mission-text p, .human-mars-text p {
        font-size: 1rem;
        margin-top: 20px;
    }

    .mars-hero img, .city-on-mars img {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
    }
}

/* FOOTER RESPONSIVENESS */
@media (max-width: 768px) {
    .footer-nav {
        flex-direction: column;
    }

    .links {
        flex-direction: row;
        gap: 10px;
        text-align: center;
    }

    .line-tall {
        height: 100px;
    }

    .footer-content {
        gap: 40px;
    }
}

/*  SMALL MOBILE  */
@media (max-width: 480px) {
    .time-to-mars h1 {
        font-size: 4rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .landing-text h2 {
        font-size: 1.8rem;
    }
}