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

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

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

/* --- Header Styles --- */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #0A6847; /* Primary color */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    min-height: 60px; /* Base min-height */
    display: flex;
    flex-direction: column; /* For mobile stacking */
    justify-content: center;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    min-height: 40px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #FFD700; /* Secondary color */
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #fff;
}

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

.main-nav a {
    color: #fff;
    font-weight: bold;
    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: 3px;
    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: #FFD700;
}

.header-desktop-buttons {
    display: flex;
    gap: 10px;
}

.header-mobile-buttons {
    display: none; /* Hidden by default, shown on mobile */
    width: 100%;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: #0A6847;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 998; /* Below hamburger and off-canvas */
}

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

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

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

.btn-secondary {
    background-color: #32a852; /* A vibrant green */
    color: #fff;
    box-shadow: 0 4px 10px rgba(50, 168, 82, 0.4);
}

.btn-secondary:hover {
    background-color: #4CAF50;
    box-shadow: 0 6px 15px rgba(50, 168, 82, 0.6);
    transform: translateY(-2px);
}

/* --- Hamburger Menu --- */
.hamburger-menu {
    display: none; /* Hidden by default */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001; /* Above header and off-canvas */
}

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

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

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
    flex: 1; /* Allow columns to grow */
    min-width: 250px; /* Minimum width for columns */
    max-width: 300px;
}

.footer-column .logo {
    font-size: 24px;
    margin-bottom: 15px;
    display: block;
}

.footer-column h3 {
    color: #FFD700; /* Secondary color */
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background-color: #FFD700;
}

.footer-column p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-nav a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    padding: 5px 0;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #FFD700;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* --- Responsive Styles (Mobile) --- */
@media (max-width: 768px) {
    .site-header {
        min-height: auto;
        padding: 0;
    }

    .header-container {
        padding: 10px 15px;
        justify-content: space-between;
        background-color: #0A6847;
        box-shadow: none;
        position: relative;
        z-index: 1000; /* Ensure this is on top for the main row */
    }

    .hamburger-menu {
        display: flex;
    }

    .logo {
        flex: 1;
        text-align: center;
        margin-left: -30px; /* Counteract hamburger width to truly center logo */
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: #0A6847;
        padding-top: 80px; /* Space for header-top-bar */
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.4);
        transition: left 0.3s ease-in-out;
        z-index: 999; /* Below hamburger */
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav.active {
        left: 0;
    }

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

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

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

    .main-nav a::after {
        bottom: 0;
        height: 2px;
    }

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

    .header-mobile-buttons {
        display: flex;
        justify-content: center;
        padding: 10px 15px;
        background-color: #0A6847;
        z-index: 998; /* Below off-canvas menu */
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        position: relative; /* To stack below header-container */
        width: 100%;
    }
    .header-mobile-buttons .btn {
        flex: 1;
        max-width: 150px;
    }

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

    .footer-column {
        min-width: unset;
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column:last-child {
        margin-bottom: 0;
    }

    .footer-nav a {
        padding: 5px 0;
    }
}