/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 70px; /* Default padding for fixed header on desktop */
    background-color: #f4f4f4;
    color: #333;
}

/* Site Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 60px;
    background-color: #0A2647; /* Primary color */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.site-header .header-main-content {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.site-header .logo {
    font-size: 28px;
    font-weight: bold;
    color: #FFC107; /* Secondary color */
    text-decoration: none;
    margin-right: 30px;
    white-space: nowrap;
    display: block; /* Ensure logo is always displayed */
}

/* Main Navigation (Desktop) */
.site-header .main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.site-header .main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.site-header .main-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.site-header .main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: #FFC107;
    transition: width 0.3s ease;
}

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

.site-header .main-nav ul li a:hover {
    color: #FFC107;
}

/* Desktop Nav Buttons */
.site-header .desktop-nav-buttons {
    display: flex;
    gap: 15px;
    margin-left: auto;
}

/* Mobile Specific Elements (Hidden by default on desktop) */
.hamburger-menu,
.mobile-nav-buttons,
.mobile-menu-overlay {
    display: none;
}

/* Buttons General Styling */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(90deg, #FFC107 0%, #FFA000 100%); /* Gold/Orange gradient */
    color: #0A2647;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(90deg, #FFA000 0%, #FFC107 100%);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #0A2647;
    color: #FFC107;
    border: 2px solid #FFC107;
    box-shadow: 0 4px 10px rgba(10, 38, 71, 0.3);
}

.btn-secondary:hover {
    background-color: #FFC107;
    color: #0A2647;
    box-shadow: 0 6px 15px rgba(255, 193, 7, 0.5);
    transform: translateY(-2px);
}

.btn-tertiary {
    background-color: #28a745; /* Green for download */
    color: #fff;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

.btn-tertiary:hover {
    background-color: #218838;
    box-shadow: 0 6px 15px rgba(40, 167, 69, 0.5);
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background-color: #0A2647;
    color: #fff;
    padding: 40px 20px;
    margin-top: 50px;
}

.site-footer .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

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

.site-footer .footer-column h3 {
    color: #FFC107;
    font-size: 20px;
    margin-bottom: 20px;
}

.site-footer .footer-column p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

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

.site-footer .footer-nav ul li {
    margin-bottom: 10px;
}

.site-footer .footer-nav ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.site-footer .footer-nav ul li a:hover {
    color: #FFC107;
}

.site-footer .footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .footer-bottom p {
    font-size: 13px;
    color: #aaa;
    margin: 0;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    body {
        padding-top: 130px; /* Adjust for mobile header top bar + mobile buttons */
    }

    .site-header {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        min-height: unset;
    }

    .site-header .header-main-content {
        justify-content: space-between;
        padding: 10px 20px;
        width: auto; /* Allow content to take natural width */
    }

    .site-header .logo {
        margin: 0 auto;
        flex-grow: 1;
        text-align: center;
        order: 2;
        font-size: 24px;
    }

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

    .hamburger-menu span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #FFC107;
        transition: all 0.3s ease-in-out;
        border-radius: 2px;
    }

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

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

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

    .site-header .desktop-nav-buttons {
        display: none;
    }

    .site-header .main-nav {
        display: none; /* Hidden by default on mobile */
        position: fixed;
        top: 0; 
        left: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #0A2647;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px; /* Space for content below header if menu slides over */
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    }

    .site-header .main-nav.active {
        display: flex; /* Show menu when active */
        transform: translateX(0);
    }

    .site-header .main-nav ul {
        flex-direction: column;
        text-align: left;
        gap: 0;
    }

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

    .site-header .main-nav ul li:last-child {
        border-bottom: none;
    }

    .site-header .main-nav ul li a {
        padding: 15px 20px;
        display: block;
        color: #fff;
    }

    .site-header .main-nav ul li a::after {
        display: none;
    }

    .mobile-nav-buttons {
        display: flex;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 10px 20px;
        background-color: #1A3E6A; /* Slightly different shade for distinction */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 999; /* Below main nav, above content */
    }

    .mobile-nav-buttons .btn {
        flex: 1;
        max-width: 120px;
        font-size: 13px;
        padding: 8px 15px;
    }

    .mobile-menu-overlay {
        display: none; /* Hidden by default */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
        transition: opacity 0.3s ease;
        opacity: 0;
    }

    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }

    body.no-scroll {
        overflow: hidden;
    }

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

    .site-footer .footer-column {
        min-width: unset;
        width: 100%;
        margin-bottom: 30px;
    }

    .site-footer .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
    }

    .site-footer .footer-nav ul li {
        margin-bottom: 0;
    }

    .site-footer .footer-bottom {
        margin-top: 20px;
    }
}
