:root {
    --primary-color: #0b3d91; /* Deep government blue */
    --secondary-color: #fce300; /* Sun yellow */
    --accent-color: #c8102e; /* Red */
    --text-color: #333;
    --light-bg: #f4f6f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

img, svg {
    max-width: 100%;
    height: auto;
}

/* Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-text p {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../../hero-section.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    flex: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 61, 145, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeIn 1s ease-out forwards;
}

.gov-seal {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 16px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(252, 227, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: all 0.5s ease;
}

.btn-primary:hover {
    background-color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(252, 227, 0, 0.5);
}

.btn-primary:hover::after {
    left: 100%;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn svg {
    vertical-align: middle;
    margin-right: 8px;
    margin-top: -3px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 25px;
    width: 100%;
    z-index: 10;
    font-size: 0.9rem;
    border-top: 3px solid var(--accent-color);
    margin-top: auto;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero-content h2 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }
    .brand-text h1 { font-size: 1.2rem; }
    .brand-logo { width: 40px; height: 40px; }
}

@media (max-width: 520px) {
    .navbar {
        flex-wrap: wrap;
        gap: 12px;
        padding: 0.85rem 5%;
    }

    .brand {
        gap: 10px;
        min-width: 0;
    }

    .brand-text h1 {
        font-size: 1.05rem;
        letter-spacing: 0.5px;
    }

    .brand-text p {
        font-size: 0.75rem;
        letter-spacing: 0.3px;
    }

    .hero {
        background-attachment: scroll; /* fixed backgrounds cause jank on mobile */
        height: auto;
        min-height: 100svh;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-content h2 {
        font-size: 2.0rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 26px;
    }

    .cta-group {
        width: 100%;
        gap: 12px;
    }

    .btn {
        width: 100%;
        max-width: 420px;
        padding: 14px 18px;
        font-size: 1rem;
        letter-spacing: 0.7px;
    }

    footer { padding: 18px 16px; }
}
