:root {
    --primary-color: #0A246A; /* Dark Blue */
    --secondary-color: #F39C12; /* Orange */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f4f4f4;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding-top: 80px; /* Default desktop padding for fixed header */
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    min-height: 60px; /* Base min-height for desktop header-top */
}

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

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
    padding: 10px 0;
}

.logo {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--secondary-color);
    text-decoration: none;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #FFD700;
}

.header-spacer {
    display: none; /* Hidden on desktop */
}

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

.main-nav a {
    color: var(--text-light);
    font-size: 1.1em;
    font-weight: 600;
    padding: 8px 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: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--secondary-color);
}

.main-nav a:hover::after {
    width: 100%;
}

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: none;
    cursor: pointer;
    font-size: 1em;
    position: relative;
    overflow: hidden;
    color: var(--text-light);
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 200%;
    height: 200%;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #FFAC33;
    box-shadow: 0 6px 15px rgba(243,156,18,0.4);
}

.btn-secondary {
    background-color: #28a745; /* Green for download */
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: #218838;
    box-shadow: 0 6px 15px rgba(40,167,69,0.4);
}

.hamburger-menu {
    display: none; /* Hidden on desktop */
    width: 30px;
    height: 20px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger-menu span:nth-child(1) { top: 0; }
.hamburger-menu span:nth-child(2) { top: 8px; }
.hamburger-menu span:nth-child(3) { top: 16px; }

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
}

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

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 40px 0 20px;
    font-size: 0.95em;
    line-height: 1.8;
}

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

.footer-grid {
    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;
    min-width: 250px;
}

.footer-column h3 {
    color: var(--secondary-color);
    font-size: 1.3em;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 5px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.logo-footer {
    font-size: 2em;
    font-weight: bold;
    color: var(--secondary-color);
    text-decoration: none;
    margin-bottom: 15px;
    display: inline-block;
}

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

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

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

.footer-nav a, .footer-link {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.footer-nav a:hover, .footer-link:hover {
    color: var(--secondary-color);
}

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

.copyright {
    color: rgba(255,255,255,0.6);
    font-size: 0.85em;
    margin: 0;
}

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

@media (max-width: 768px) {
    body {
        padding-top: 120px; /* Mobile padding: header-top (80px) + mobile-buttons (40px) */
    }

    .site-header {
        min-height: auto;
    }

    .header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        min-height: 60px;
    }

    .hamburger-menu {
        display: block;
        width: 30px;
        flex-shrink: 0;
    }

    .logo {
        flex-grow: 1;
        text-align: center;
        font-size: 1.8em;
    }

    .header-spacer {
        display: block;
        width: 30px;
        flex-shrink: 0;
    }

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

    .main-nav.active {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--primary-color);
        z-index: 1001; /* Higher than header and mobile buttons */
        overflow-y: auto;
        padding-top: 60px; /* Space for hamburger/logo area */
    }

    .main-nav.active ul {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .main-nav.active a {
        font-size: 1.5em;
        padding: 15px 0;
    }

    .header-buttons-mobile {
        display: flex;
        justify-content: center;
        gap: 10px;
        padding: 10px 20px;
        background-color: var(--primary-color);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 999; /* Lower than main-nav overlay (1001) but above page content */
        width: 100%;
        box-sizing: border-box;
    }

    .header-buttons-mobile .btn {
        flex: 1;
        max-width: 180px;
        font-size: 0.9em;
        padding: 10px 15px;
    }

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

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

body.menu-open {
    overflow: hidden; /* Prevent background scroll when menu is open */
}