/* Base styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding-top: 0; /* Will be overridden by JS for fixed header height */
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

/* Site Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0A2463; /* Primary color */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 15px 30px;
    min-height: 70px;
    box-sizing: border-box;
}

.site-header .logo {
    color: #FFD700; /* Secondary color */
    text-decoration: none;
    font-size: 28px;
    font-weight: bold;
    margin-right: 30px;
    padding: 5px 0;
    white-space: nowrap;
}

.main-nav {
    flex: 1;
    display: flex; /* Desktop default: flex */
    justify-content: flex-start;
    margin-left: 20px;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Desktop default: horizontal */
}

.main-nav li {
    margin-right: 25px;
}

.main-nav li:last-child {
    margin-right: 0;
}

.main-nav a {
    color: #FFF;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: #FFD700;
}

.header-buttons {
    display: flex; /* Desktop default: flex */
    gap: 15px;
    margin-left: auto;
}

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

.btn-primary {
    background-color: #FFD700; /* Secondary color */
    color: #0A2463;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
    background-color: #e6c200;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #0A2463;
    color: #FFD700;
    border: 2px solid #FFD700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background-color: #1a3c7a;
    color: #FFF;
    border-color: #FFF;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Hamburger Menu (Mobile Only) */
.hamburger-menu-btn {
    display: none; /* Hidden on desktop */
    width: 30px;
    height: 20px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}

.hamburger-menu-btn span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #FFD700;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-menu-btn span:nth-child(1) {
    top: 0px;
}

.hamburger-menu-btn span:nth-child(2),
.hamburger-menu-btn span:nth-child(3) {
    top: 8px;
}

.hamburger-menu-btn span:nth-child(4) {
    top: 16px;
}

.hamburger-menu-btn.active span:nth-child(1) {
    top: 8px;
    width: 0%;
    left: 50%;
}

.hamburger-menu-btn.active span:nth-child(2) {
    transform: rotate(45deg);
}

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

.hamburger-menu-btn.active span:nth-child(4) {
    top: 8px;
    width: 0%;
    left: 50%;
}

/* Mobile Buttons Area */
.mobile-buttons-area {
    display: none; /* Hidden on desktop */
    background-color: #0A2463;
    padding: 10px 15px;
    justify-content: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: fixed; /* Fixed below the main header */
    left: 0;
    z-index: 990; /* Below main header, above main content */
}

.btn-mobile-primary,
.btn-mobile-secondary,
.btn-mobile-tertiary {
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 6px;
    flex: 1;
}

.btn-mobile-primary {
    background-color: #FFD700;
    color: #0A2463;
}

.btn-mobile-primary:hover {
    background-color: #e6c200;
}

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

.btn-mobile-secondary:hover {
    background-color: #1a3c7a;
    color: #FFF;
    border-color: #FFF;
}

.btn-mobile-tertiary {
    background-color: #FF5733; /* A distinct color for 'Download App' */
    color: #FFF;
}

.btn-mobile-tertiary:hover {
    background-color: #e04e2d;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    transition: opacity 0.3s ease;
    opacity: 0;
}

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

/* Footer Styles */
.site-footer {
    background-color: #0A2463; /* Primary color */
    color: #FFF;
    padding: 40px 30px 20px;
    font-size: 14px;
}

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

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

.footer-column h3 {
    color: #FFD700;
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-column p {
    margin: 0 0 10px;
    color: #CCC;
}

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

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

.footer-nav a {
    color: #CCC;
    text-decoration: none;
    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 rgba(255, 255, 255, 0.1);
    color: #AAA;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
    .site-header {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 10px 15px;
        min-height: auto;
        align-items: center; /* Align hamburger and logo vertically */
    }

    .site-header .logo {
        order: 2;
        flex: 1;
        text-align: center;
        margin-right: 0;
        font-size: 24px;
        padding: 0;
        line-height: 1;
    }

    .hamburger-menu-btn {
        display: block;
        order: 1;
        margin-right: auto; /* Push logo to center */
        margin-left: 0; /* Ensure it's far left */
    }
    
    /* Placeholder for balancing logo on right side */
    .site-header .logo + .hamburger-menu-btn {
        content: '';
        display: block;
        visibility: hidden;
        width: 30px; /* Same width as hamburger button */
        height: 20px;
        margin-left: auto;
        margin-right: 0;
        order: 3;
    }

    .main-nav,
    .header-buttons {
        display: none; /* Hide desktop nav and buttons on mobile */
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 75%; /* Adjust width as needed */
        height: 100%;
        background-color: #0A2463;
        flex-direction: column;
        padding-top: 80px; /* Space for fixed header content */
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
    }

    .main-nav.active {
        display: flex; /* MUST be flex for content to show */
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

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

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

    .main-nav a {
        padding: 15px 20px;
        display: block;
        width: 100%;
    }

    .mobile-buttons-area {
        display: flex; /* Show mobile buttons */
    }

    .footer-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }

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

    .footer-column h3 {
        margin-bottom: 15px;
        padding-bottom: 8px;
    }

    .footer-bottom {
        margin-top: 30px;
    }
}

/* No-scroll for body when menu is open */
body.no-scroll {
    overflow: hidden;
}