/* General Styling */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth; /* Enables smooth scrolling for anchor links */
}

/* Header Styling */
header {
    background-color: #004aad;
    color: white;
    display: flex;
    justify-content: space-between; /* Ensures logo and hamburger are spaced */
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* Logo Styling */
.logo img {
    max-width: 120px; /* Adjust width for mobile view */
}

/* Navigation Links */
.nav-links ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
}

.nav-links ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    transition: background-color 0.3s;
}

.nav-links ul li a:hover {
    background-color: #003080;
    border-radius: 5px;
}

/* Hamburger Icon Styling */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 35px; /* Width of the hamburger icon */
    height: 24px; /* Height of the icon */
    justify-content: space-between;
    align-items: center;
    margin-right: 25px; /* Adds space to the right of the icon */
}

.hamburger span {
    display: block;
    height: 5px; /* Increase thickness */
    width: 100%;
    background-color: white;
    border-radius: 2px;
}

/* Show Hamburger Icon on Mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    /* Hide Desktop Navigation */
    .nav-links ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px; /* Aligns with header height */
        right: 20px;
        background-color: #004aad;
        width: 200px;
        border-radius: 5px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        padding: 10px;
    }

    .nav-links.active ul {
        display: flex;
    }

    .nav-links ul li {
        padding: 10px;
        text-align: right;
    }

    .nav-links ul li a {
        padding: 10px 16px;
    }
}

.hero {
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    height: calc(100vh - 60px); /* Adjusts hero height to account for header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #333;
    padding-top: 60px; /* Creates space for the header */
}
.hero-content {
    background-color: rgba(255, 255, 255, 0.8); /* White background with 80% opacity */
    padding: 20px;
    border-radius: 10px; /* Optional: adds rounded corners */
    color: #333; /* Darker text color for readability */
}
/* Footer Styling */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.footer-links li {
    display: inline;
}

.footer-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: #ddd;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    position: relative;
    text-align: left;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #004aad;
}


section {
    scroll-padding-top: 70px; /* Adds space equivalent to header height */
}
