:root {
    --primary: #015639;        /* main green */
    --primary-light: #038a57;  /* lighter green */
    --accent: #c69214;         /* gold */
    --bg: #f5f6fa;
    --text: #111827;           /* almost black */
    --card: #ffffff;           /* white */
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

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

/* Header / navbar */

header {
    background: radial-gradient(circle at top left, var(--primary-light), var(--primary));
    color: white;
    padding: 24px 20px 40px;
    position: relative;
    overflow: hidden;
}

header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(198, 146, 20, 0.25), transparent 55%);
    pointer-events: none;
}

.navbar {
    max-width: 1080px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 1.05rem;
    text-transform: uppercase;
}

.navbar-brand span {
    font-weight: 400;
    opacity: 0.8;
    font-size: 0.8rem;
}

.nav-toggle-label {
    display: none;
}

.nav-links {
    display: flex;
    gap: 18px;
    font-size: 0.95rem;
}

.nav-links a {
    position: relative;
    padding-bottom: 2px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.2s ease-out;
}

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

.nav-cta {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.5);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,0,0,0.15);
}

.nav-cta span {
    font-size: 1.1rem;
}

/* Hero */

.hero {
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px 0 10px;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 3vw, 2.8rem);
    margin: 0 0 10px;
}

.hero-text p {
    margin: 0 0 18px;
    max-width: 32rem;
}

.hero-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(0,0,0,0.15);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-primary,
.btn-outline {
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #000000;
}

.btn-primary:hover {
    filter: brightness(1.05);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
    background: rgba(0,0,0,0.12);
}

.hero-stats {
    display: grid;
    gap: 10px;
    font-size: 0.8rem;
    opacity: 0.9;
}

.hero-card {
    background: rgba(0,0,0,0.4);
    border-radius: 16px;
    padding: 16px;
    display: grid;
    gap: 8px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.hero-metrics {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-metric {
    flex: 1 1 80px;
}

.hero-metric strong {
    display: block;
    font-size: 1.2rem;
}

/* Main layout */

.page-main {
    max-width: 980px;
    margin: 30px auto 40px;
    padding: 0 20px;
}

.section {
    margin-bottom: 36px;
}

.section-header {
    margin-bottom: 12px;
}

.section-title {
    font-size: 1.6rem;
    color: var(--primary);
    margin: 0 0 4px;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #4b5563;
    margin: 0;
}

/* Cards */

.card {
    background: var(--card);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 10px 25px rgba(15,23,42,0.06);
    border: 1px solid rgba(148,163,184,0.35);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(15,23,42,0.12);
    border-color: rgba(198,146,20,0.7);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

/* Misc UI */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    padding: 3px 9px;
    border-radius: 999px;
    background: #e5e7eb;
    color: #374151;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #16a34a;
}

.muted {
    color: #6b7280;
    font-size: 0.9rem;
}

.list-inline {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 0;
    margin: 6px 0 0;
    font-size: 0.9rem;
}

.list-inline li::before {
    content: "•";
    margin-right: 4px;
    color: #9ca3af;
}

/* Tables */

.table-like {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.table-like th,
.table-like td {
    padding: 8px 6px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.table-like th {
    font-weight: 600;
    color: #4b5563;
}

/* Forms / iframe */

.form-group {
    margin-bottom: 14px;
}

label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 9px 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
    font-family: inherit;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(198,146,20,0.4);
}

.small-text {
    font-size: 0.8rem;
    color: #6b7280;
}

.iframe-wrapper {
    margin-top: 14px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #d1d5db;
    background: white;
}

.iframe-wrapper iframe {
    width: 100%;
    border: 0;
}

/* Officers / team */

.officer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.officer-role {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.officer-name {
    font-weight: 600;
    margin-bottom: 4px;
}

/* Footer */

.footer {
    border-top: 1px solid #e5e7eb;
    padding: 16px 20px 22px;
    font-size: 0.8rem;
    color: #6b7280;
    text-align: center;
}

.footer a {
    color: var(--primary);
}

/* Animations */

.fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in-delayed {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.nav-toggle {
    display: none;
}


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

/* Responsive */

@media (max-width: 800px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        padding-bottom: 6px;
    }

    header {
        padding-bottom: 28px;
    }

    .page-main {
        margin-top: 22px;
    }

    /* --- Mobile nav (fixed) --- */

    .navbar {
        flex-wrap: wrap;
        gap: 10px;
    }

    /* keep checkbox functional but invisible */
    .nav-toggle {
        position: absolute;
        opacity: 0;
        pointer-events: none;
        width: 1px;
        height: 1px;
    }

    /* hamburger button: no weird translucent box */
    .nav-toggle-label {
        display: inline-flex;
        flex-direction: column;
        gap: 5px;
        padding: 8px;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.25); /* subtle, not see-through white */
        border: 1px solid rgba(255, 255, 255, 0.35);
        cursor: pointer;
        user-select: none;
        z-index: 5;
    }

    .nav-toggle-label span {
        width: 22px;
        height: 2px;
        background: #ffffff;
        border-radius: 2px;
        display: block;
    }

    /* menu sits UNDER the navbar, not over the hero */
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 6px;
        padding: 10px;
        margin-top: 6px;
        border-radius: 14px;
        background: rgba(0, 0, 0, 0.25); /* matches header style */
        border: 1px solid rgba(255, 255, 255, 0.25);
        z-index: 4;
    }

    .nav-links a {
        padding: 10px 12px;
        border-radius: 10px;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.12);
    }

    /* open menu */
    .nav-toggle:checked ~ .nav-links {
        display: flex;
    }
}
