/* Base Styles */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.header-container, .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #0A2342; /* Primary Dark Blue */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-height: 60px; /* Adaptive height */
    display: flex;
    align-items: center;
}

.header-top-desktop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 0;
}

.logo {
    color: #FFD700; /* Secondary Gold */
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
.logo:hover {
    color: #FFFFFF;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: #FFD700;
    font-weight: 600;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}
.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #FFD700;
    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: #FFFFFF;
}

.header-actions-desktop {
    display: flex;
    gap: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: #FFD700; /* Vibrant yellow */
    color: #0A2342; /* Dark text for contrast */
}
.btn-primary:hover {
    background-color: #E6C200; /* Slightly darker on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #0A2342; /* Primary dark blue */
    color: #FFD700; /* Yellow text for contrast */
    border: 2px solid #FFD700;
}
.btn-secondary:hover {
    background-color: #1a3a5a; /* Slightly lighter blue on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Mobile Header Elements (Hidden by default) */
.header-mobile {
    display: none;
    width: 100%;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1003;
}
.hamburger-menu .bar {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #FFD700;
    margin: 6px 0;
    transition: 0.4s;
}

/* Footer Styles */
.site-footer {
    background-color: #0A2342; /* Primary Dark Blue */
    color: #E0E0E0;
    padding: 40px 0 20px;
    font-size: 15px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

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

.footer-section h3 {
    color: #FFD700;
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 2px solid #1a3a5a;
    padding-bottom: 10px;
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: #E0E0E0;
    transition: color 0.3s ease;
}
.footer-nav a:hover {
    color: #FFD700;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #1a3a5a;
    font-size: 14px;
    color: #B0B0B0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .main-nav ul {
        gap: 15px;
    }
    .main-nav a {
        font-size: 15px;
    }
    .header-actions-desktop .btn {
        padding: 8px 15px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .site-header {
        min-height: auto;
        padding-bottom: 0;
        flex-direction: column;
        align-items: stretch;
    }

    .header-top-desktop, .main-nav {
        display: none; /* Hide desktop elements */
    }

    .header-mobile {
        display: block; /* Show mobile specific header */
    }

    .header-top-mobile {
        display: flex;
        align-items: center;
        padding: 10px 15px;
        position: relative;
        z-index: 1002; /* Hamburger and logo on top */
        background-color: #0A2342; /* Ensure solid background */
    }

    .hamburger-menu {
        display: block;
        z-index: 1003; /* Higher than logo and buttons */
    }

    .logo-mobile {
        flex: 1;
        text-align: center;
        color: #FFD700;
        font-size: 24px;
        font-weight: bold;
        text-decoration: none;
        z-index: 1002;
    }

    .mobile-placeholder {
        width: 40px; /* Adjust to match hamburger width for perfect centering */
        visibility: hidden;
    }

    .header-buttons-mobile {
        display: flex;
        justify-content: center;
        gap: 10px;
        padding: 10px 15px;
        background-color: #1a3a5a; /* Slightly different background for distinction */
        position: relative;
        z-index: 1000; /* Lower than hamburger menu overlay */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .btn-mobile-primary, .btn-mobile-secondary, .btn-mobile-download {
        flex: 1;
        padding: 8px 12px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: bold;
        text-decoration: none;
        text-align: center;
        transition: all 0.3s ease;
        border: none;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .btn-mobile-primary {
        background-color: #FFD700;
        color: #0A2342;
    }
    .btn-mobile-primary:hover {
        background-color: #E6C200;
    }

    .btn-mobile-secondary {
        background-color: #0A2342;
        color: #FFD700;
        border: 1px solid #FFD700;
    }
    .btn-mobile-secondary:hover {
        background-color: #1a3a5a;
    }

    .btn-mobile-download {
        background-color: #28a745; /* A distinct green for download */
        color: #FFFFFF;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
    .btn-mobile-download:hover {
        background-color: #218838;
    }

    .main-nav-mobile {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: #0A2342;
        padding-top: 60px; /* Space for the fixed header content */
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
        transition: left 0.3s ease-in-out;
        z-index: 1001;
        overflow-y: auto;
    }

    .main-nav-mobile.menu-open {
        left: 0;
    }

    .main-nav-mobile ul {
        flex-direction: column;
        padding: 0;
    }

    .main-nav-mobile li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .main-nav-mobile a {
        display: block;
        padding: 15px 20px;
        color: #FFD700;
        text-align: left;
        font-size: 18px;
    }

    .main-nav-mobile a:hover,
    .main-nav-mobile a.active {
        background-color: #1a3a5a;
        color: #FFFFFF;
    }

    body.no-scroll {
        overflow: hidden;
    }

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

    .footer-section {
        min-width: unset;
        width: 100%;
        margin-bottom: 20px;
    }
    .footer-section:last-child {
        margin-bottom: 0;
    }
    .footer-section h3 {
        border-bottom: none;
        padding-bottom: 0;
    }
}