/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background: #fff;
    color: #333;
    font-size: 18px;
    padding-top: 5rem;
    overflow-x: hidden;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    background-color: #003366;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

nav.scrolled {
    background-color: #003366;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.menu {
    display: flex;
    justify-content: center; /* Center the tab links */
    list-style: none;
    gap: 2rem;
    flex-grow: 1; /* Allow menu to grow and take available space */
    justify-self: center; /* Ensure centering in the available space */
}

.menu li {
    position: relative;
}

.menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s ease;
}

.menu li a:hover {
    color: #a8d0a8;
    transform: translateY(-5px);
}

.menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #003366;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.menu li a:hover::after {
    width: 100%;
}

/* Hero Section with Image */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    background: url('car2.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.cta-button {
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
    background-color: #003366;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #003d1a;
    transform: scale(1.1);
}

/* Mission and Vision Section with Background Image */
#mission-vision {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem;
    background: url('car2.png') no-repeat center center/cover;
    background-size: cover;
    flex-wrap: wrap;
}

#mission-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.mission,
.vision {
    width: 45%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 10px;
    z-index: 1;
    margin-bottom: 2rem;
}

.mission h2,
.vision h2 {
    font-size: 2.5rem;
    color: #004b23;
    margin-bottom: 2rem;
}

.mission ul,
.vision ul {
    list-style: none;
}

.mission li,
.vision li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Photo Section */
.photo-container {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 2rem 0;
}

.stacked-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 2px solid #004b23;
    border-radius: 10px;
}

.photo-section {
    background: url('car10.png') no-repeat center center/cover;
    padding: 4rem 0;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    margin-bottom: 4rem;
}

/* Footer */
footer {
    background-color: #003366;
    color: #fff;
    padding: 3rem 2rem;
    text-align: center;
    font-size: 1.1rem;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 100;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.footer-text {
    margin: 1rem 0;
    line-height: 1.8;
}

.footer-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #a8d0a8;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    #mission-vision {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mission,
    .vision {
        width: 80%;
        margin-bottom: 2rem;
    }

    .photo-container {
        width: 80%;
        margin: 2rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    footer {
        padding: 2rem 1rem;
    }

    .footer-text {
        font-size: 1rem;
    }

    .menu {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .menu li a {
        font-size: 1.4rem;
        padding: 10px 0; /* Ensure touch-friendliness */
    }

    /* Adjust the size of the navbar logo */
    .logo {
        font-size: 2rem;
    }
}
