/* General Body & Reset */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}
*, *::before, *::after {
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Header */
.site-header {
    background-color: #0A1931; /* Primary color */
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

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

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

.logo:hover {
    color: #fff;
}

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

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

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

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

.main-nav a:hover,
.main-nav a.active-link {
    color: #FFD700; /* Secondary color on hover/active */
}

.hamburger-menu {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: #FFD700; /* Secondary color for bars */
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Footer */
.site-footer {
    background-color: #0A1931; /* Primary color */
    color: #ccc;
    padding: 3rem 0;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: space-between;
    gap: 2rem; /* Spacing between columns */
    padding: 0 1.5rem;
}

.footer-col {
    flex: 1; /* Distribute space evenly */
    min-width: 250px; /* Minimum width before wrapping */
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFD700; /* Secondary color for logo */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: inline-block; /* To allow margin-bottom */
}

.site-footer h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.site-footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px; /* Short underline */
    height: 2px;
    background-color: #FFD700; /* Secondary color */
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer ul li {
    margin-bottom: 0.8rem;
}

.site-footer ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.site-footer ul li a:hover {
    color: #FFD700; /* Secondary color on hover */
}

.site-footer p {
    margin-bottom: 0.8rem;
}

.site-footer .copyright {
    margin-top: 2rem;
    font-size: 0.8rem;
    text-align: left;
}

.footer-contact a {
    color: #FFD700; /* Secondary color for contact links */
}
.footer-contact a:hover {
    color: #fff;
}

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

    .main-nav {
        display: none; /* Hide main nav by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        width: 100%;
        background-color: #0A1931; /* Primary color */
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
        padding: 1rem 0;
        z-index: 999;
    }

    .main-nav.active {
        display: flex; /* Show when active */
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav ul li {
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav ul li:last-child {
        border-bottom: none;
    }

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

    .main-nav a::after {
        display: none; /* Remove underline animation on mobile */
    }

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

    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .footer-container {
        flex-direction: column; /* Stack columns on mobile */
        align-items: center;
        text-align: center;
    }

    .footer-col {
        min-width: unset; /* Remove min-width for stacking */
        width: 100%;
        margin-bottom: 2rem;
    }

    .site-footer h3::after {
        left: 50%;
        transform: translateX(-50%); /* Center underline on mobile */
    }

    .site-footer .copyright {
        text-align: center;
    }
}