.top-nav {
    width: 100%;
    background: var(--burgundy);
    padding: 18px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1400px;
    margin: auto;
    padding: 0 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 60px;
}

.nav-container a {
    line-height: 26px;
}

/* Desktop Menu - Always visible on large screens */
.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: var(--cream);
    font-size: 17px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--gold);
}

/* Hamburger Icon - Hidden by default */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 24px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    z-index: 1001;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background: var(--cream);
    display: block;
    transition: all 0.3s ease;
    margin: 3px 0;
    border-radius: 2px;
}

/* Hamburger to X Animation */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Enable only above 900px*/
@media (min-width: 1025px) {
    .top-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 1024px) and (max-width: 1285px) {
    .nav-links li a {
        font-size: 12px;
    }
}

/* ====================== MOBILE MENU ====================== */


@media (max-width: 1024px) {


    .logo-block {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--burgundy);
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        padding: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .nav-links.open {
        max-height: 500px;
        padding: 30px 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 12px 0;
    }

    .nav-links li a {
        font-size: 18px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .script-heading { font-size: 28px; }
    .section-title { font-size: 20px; }
    .key-para, p { font-size: 17px; }
}

/* @media (min-width: 900px) and (max-width: 1100px) {
    .nav-links {
        white-space: nowrap;
        flex-wrap: nowrap;
        gap: 25px;
    }
} */

/* ============================================================= */
/*                 MOBILE LOGO (NEW ADDITION)                    */
/* ============================================================= */

/* Hidden on desktop */
.mission-logo-mob {
    display: none;
}

/* Visible & positioned on mobile */
@media (max-width: 1024px) {
    .mission-logo-mob {
        display: block;
        height: 40px;
        width: auto;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Keep hamburger on right */
    .nav-toggle {
        right: 20px;
    }

    /* Ensures menu remains centered */
    .nav-container {
        justify-content: center;
    }
}
