/* Reset default margins and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "acme-gothic", "proxima-nova", Arial, sans-serif;
    background-color: #FFFFFF;
    color: #000000;
    max-width: 1920px;
    margin: 0 auto;
}

/* Navigation Bar */
.navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 60px;
    background-color: #003366;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.navbar-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px; /* Space between links for desktop */
}

.nav-link {
    text-decoration: none;
    color: #66E4E8;
    font-size: 24px;
    font-weight: 700;
    transition: color 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
}

.nav-link:hover {
    color: #FDEE9B;
}

.nav-link:active {
    color: #BBBBBB;
}

/* Banner for homepage */
.banner {
    position: relative;
    width: 100%;
    max-width: 1920px; /* Limit banner width to 1920px */
    margin: 60px auto 0;
    padding-top: 28.6667%; /* Aspect ratio for 1200:344 */
    overflow: hidden;
}

.banner video, .banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures entire content is visible */
}

/* Main content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0; /* Remove side padding to ensure centering */
    text-align: left;
}

.intro h2, .applications h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
}

.application-list {
    list-style-type: disc;
    width: 600px;
    margin: 0 auto;
    padding-left: 20px;
    text-align: left;
}

@media (min-width: 769px) {
    .application-list {
        position: relative;
        left: 200px; /* Shift list 200px to the right on desktop */
    }
}

.application-list li {
    margin-bottom: 10px;
}

/* Footer */
footer {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background-color: #003366;
    color: #FFFFFF;
}

footer a {
    color: #FFFFFF;
    margin: 0 10px;
    text-decoration: none;
}

/* Media queries for mobile responsiveness */
@media (max-width: 768px) {
    .navbar-links {
        gap: 15px; /* Increased space for portrait mode */
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: center;
    }
    .nav-link {
        font-size: 14px;
    }
    .application-list {
        width: 90%;
        padding-left: 20px;
        left: 0; /* Reset offset for mobile */
    }
}

@media (max-width: 480px) {
    .navbar-links {
        gap: 10px; /* Slightly smaller space for smaller screens */
    }
    .nav-link {
        font-size: 12px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .navbar-links {
        max-width: 1200px; /* Fixed max-width to match banner */
        width: 100%;
        justify-content: center;
        gap: 3px; /* Reduced gap for tighter fit */
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 auto; /* Ensure centering within navbar */
        padding: 0 5px; /* Add 5px space on each side */
    }
    .nav-link {
        font-size: 10px; /* Even smaller font size to fit all links */
    }
    .banner {
        width: 90%;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 20%; /* Adjust aspect ratio for landscape */
    }
    .container {
        width: 90%;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        padding: 20px 0; /* Remove side padding to ensure centering */
    }
    footer {
        width: 90%;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}