/* General Styles */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

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

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #0A2342; /* Primary color */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    min-height: 70px;
    display: flex;
    flex-direction: column; /* Default to column, will be row on desktop */
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #FFD700; /* Accent color */
    text-transform: uppercase;
    white-space: nowrap;
}

.hamburger-menu {
    display: none; /* Hidden by default, shown on mobile */
    position: relative;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    z-index: 1001; /* Above other elements */
}

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

.hamburger-menu.active .bar-top {
    transform: translateY(10px) rotate(45deg);
}

.hamburger-menu.active .bar-middle {
    opacity: 0;
}

.hamburger-menu.active .bar-bottom {
    transform: translateY(-11px) rotate(-45deg);
}

.header-desktop-buttons {
    display: flex; /* Default to flex, hidden on mobile */
    gap: 10px;
}

.main-nav {
    display: flex; /* Default to flex, hidden on mobile */
    flex: 1;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    color: #fff;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s ease, background-color 0.3s ease;
    white-space: nowrap;
}

.nav-list li a:hover {
    color: #FFD700;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none; /* Remove underline for anchor buttons */
    white-space: nowrap;
}

.btn-primary {
    background-color: #FFD700; /* Accent color */
    color: #0A2342; /* Primary color */
    border: 2px solid #FFD700;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Accent color */
    border: 2px solid #FFD700;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.6);
}

.mobile-buttons-area {
    display: none; /* Hidden by default, shown on mobile */
}

.mobile-menu-overlay {
    display: none; /* Hidden by default, shown when mobile menu is active */
}

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

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

.footer-col {
    flex: 1;
    min-width: 280px; /* Adjusted for better desktop layout */
    margin-bottom: 20px;
    padding: 0 15px;
    box-sizing: border-box;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #FFD700; /* Accent color */
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-info .copyright {
    margin-top: 20px;
    font-size: 12px;
    opacity: 0.8;
}

.footer-col h3 {
    color: #FFD700; /* Accent color */
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-nav-list,
.footer-contact p {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav-list li a,
.footer-contact a {
    color: #fff;
    display: block;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.footer-nav-list li a:hover,
.footer-contact a:hover {
    color: #FFD700;
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Body padding for fixed header and mobile buttons */
    body {
        padding-top: 120px; /* (Header-top approx 65px + Mobile-buttons-area approx 55px) */
    }
    body.no-scroll {
        overflow: hidden;
    }

    .site-header {
        flex-direction: column;
        align-items: center;
        min-height: unset; /* Let content define height */
    }

    .header-top {
        justify-content: space-between;
        padding: 10px 15px;
        height: 65px; /* Fixed height for header-top on mobile */
    }

    .logo {
        flex-grow: 1;
        text-align: center;
        margin: 0;
        font-size: 24px;
    }

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

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

    .main-nav {
        display: none; /* Hidden by default on mobile */
        position: fixed;
        top: 0; /* Align to top */
        left: 0;
        width: 70%; /* Adjust as needed */
        height: 100%;
        background-color: #0A2342;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 65px; /* Space for header-top content */
        transform: translateX(-100%); /* Start off-screen */
        transition: transform 0.3s ease;
        z-index: 1000;
        box-sizing: border-box;
    }

    .main-nav.active {
        display: flex; /* Show when active */
        transform: translateX(0); /* Slide into view */
    }

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

    .nav-list li {
        width: 100%;
    }

    .nav-list li a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
    }

    .mobile-buttons-area {
        display: flex; /* Show mobile buttons area */
        justify-content: center;
        gap: 10px;
        padding: 10px 15px;
        background-color: #0A2342;
        width: 100%;
        box-sizing: border-box;
        z-index: 999; /* Below hamburger menu, above content */
        height: 55px; /* Fixed height for mobile buttons area */
    }

    .btn-mobile-primary, .btn-mobile-secondary {
        font-size: 14px;
        padding: 8px 15px;
        border-radius: 20px;
        flex: 1; /* Distribute space evenly */
        max-width: 150px;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 998; /* Below menu, above content */
        transition: opacity 0.3s ease;
        opacity: 0;
        pointer-events: none; /* Allow clicks through when hidden */
    }

    .mobile-menu-overlay.active {
        display: block; /* Show overlay */
        opacity: 1;
        pointer-events: auto; /* Enable clicks when visible */
    }

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

    .footer-col {
        min-width: unset;
        width: 100%;
        text-align: center;
        padding: 0 10px;
    }

    .footer-col h3 {
        text-align: center;
    }

    .footer-nav-list,
    .footer-contact p {
        text-align: center;
    }
}
