/* General Reset & Base Styles */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}
body.no-scroll {
    overflow: hidden;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Header Styles */
.site-header {
    background-color: #003366; /* Primary color */
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .logo {
    font-size: 2.2rem;
    font-weight: bold;
    color: #FFCC00; /* Secondary color for logo */
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.site-header .logo:hover {
    color: #fff;
}

.main-nav .nav-list {
    display: flex;
    gap: 1.5rem;
}

.main-nav .nav-list li a {
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav .nav-list li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #FFCC00; /* Secondary color */
    transition: width 0.3s ease;
}

.main-nav .nav-list li a:hover::after,
.main-nav .nav-list li a.active::after {
    width: 100%;
}

.main-nav .nav-list li a:hover,
.main-nav .nav-list li a.active {
    color: #FFCC00; /* Secondary color */
}

.hamburger-menu {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1001; /* Ensure it's above other content */
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
}

/* Footer Styles */
.site-footer {
    background-color: #003366; /* Primary color */
    color: #fff;
    padding: 3rem 0 1.5rem;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    color: #FFCC00; /* Secondary color */
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column p,
.footer-nav li a {
    color: #ccc;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-nav li a:hover {
    color: #FFCC00; /* Secondary color */
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
}

.footer-bottom p {
    color: #ccc;
}

#scrollToTop {
    background-color: #FFCC00; /* Secondary color */
    color: #003366; /* Primary color */
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    bottom: 1rem; /* Adjust as needed */
    right: 1.5rem;
    display: none; /* Hidden by default, shown with JS */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

#scrollToTop:hover {
    background-color: #e6b800; /* Slightly darker secondary */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%; /* Off-screen by default */
        width: 70%;
        height: 100%;
        background-color: #003366; /* Primary color */
        padding-top: 5rem;
        transition: left 0.3s ease-in-out;
        z-index: 1000;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
    }

    .main-nav.active {
        left: 0; /* Slide in */
    }

    .main-nav .nav-list {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.5rem;
    }

    .main-nav .nav-list li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav .nav-list li:last-child {
        border-bottom: none;
    }

    .main-nav .nav-list li a {
        display: block;
        padding: 1rem 0;
        width: 100%;
    }

    .hamburger-menu {
        display: block; /* Show hamburger on mobile */
    }

    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        min-width: unset;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .footer-column:last-child {
        margin-bottom: 0;
    }

    #scrollToTop {
        right: 1rem;
        bottom: 1rem;
    }
}