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

/* Header Styles */
.site-header {
    background-color: #0D47A1; /* 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: #FFD600; /* Secondary color for logo */
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border: 2px solid #FFD600;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.site-header .logo:hover {
    background-color: #FFD600;
    color: #0D47A1;
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
}
.main-nav a {
    color: #fff;
    font-weight: bold;
    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: 3px;
    background-color: #FFD600; /* Secondary color */
    transition: width 0.3s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}
.main-nav a:hover,
.main-nav a.active {
    color: #FFD600; /* Secondary color */
}

.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}
.mobile-menu-toggle .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}
.mobile-menu-toggle .bar:last-child {
    margin-bottom: 0;
}
.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Footer Styles */
.site-footer {
    background-color: #0D47A1; /* Primary color */
    color: #f0f0f0;
    padding: 3rem 0 1rem;
    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;
    margin-bottom: 1.5rem;
}
.footer-column h3 {
    color: #FFD600; /* Secondary color */
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 214, 0, 0.3);
    padding-bottom: 0.5rem;
}
.footer-column p {
    margin-bottom: 0.8rem;
}
.footer-column a {
    color: #f0f0f0;
    transition: color 0.3s ease;
}
.footer-column a:hover {
    color: #FFD600; /* Secondary color */
}
.footer-nav ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
}
.footer-bottom p {
    margin: 0;
    color: #ccc;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .site-header .logo {
        margin-bottom: 1rem;
        font-size: 1.8rem;
    }
    .main-nav {
        order: 3; /* Push nav below logo and toggle */
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-out;
    }
    .main-nav.open {
        max-height: 500px; /* Arbitrary large enough value */
    }
    .main-nav ul {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
        background-color: #0D47A1; /* Primary color */
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .main-nav ul li {
        margin: 0.5rem 0;
    }
    .mobile-menu-toggle {
        display: block; /* Show hamburger on mobile */
        position: absolute;
        right: 1.5rem;
        top: 1.5rem;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    .footer-column {
        min-width: unset;
        width: 100%;
        text-align: center;
    }
    .footer-column h3 {
        border-bottom: none;
        padding-bottom: 0;
    }
}