/* ================= ROOT COLORS ================= */
:root {
    --primary: #002147;      /* Deep Botswana Blue */
    --accent: #75aadb;       /* Light Botswana Blue */
    --gold: #d4a017;         /* Warm Gold */
    --light-bg: #f4f6f8;     /* Very Light Grey */
    --sand: #f4e3c1;         /* Soft Sand */
    --white: #ffffff;
    --dark: #111111;
}

.main-header .container {
    padding: 0.2rem 1rem !important;
}


/* ================= GLOBAL ================= */
body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--light-bg);
    color: var(--primary);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0.5rem 1rem; /* reduced vertical padding */
}

/* ================= HEADER ================= */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(0, 33, 71, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    color: var(--white);
    padding: 0.35rem 0; /* 🔥 reduced height */
    text-align: center;

    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Botswana flag stripe */
.main-header::after {
    content: "";
    display: block;
    height: 4px;
    width: 100%;
    background: linear-gradient(
        to right,
        var(--accent) 0%,
        var(--accent) 45%,
        #ffffff 45%,
        #ffffff 55%,
        var(--accent) 55%,
        var(--accent) 100%
    );
}

/* Header layout */
.main-header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Title */
.main-header h1 {
    margin: 0;
    font-size: 3rem; /* 🔥 smaller */
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Navigation */
.main-header nav {
    margin-top: 4px;
}

.main-header nav a {
    position: relative;
    color: var(--white);
    margin: 0 14px;
    text-decoration: none;
    font-size: 0.9rem;
    padding-bottom: 4px;
    transition: 0.3s ease;
}

/* Gold animated underline */
.main-header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.main-header nav a:hover::after {
    width: 100%;
}

.main-header nav a:hover {
    color: var(--gold);
}

/* ================= FOOTER ================= */
.main-footer {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 1.5rem;
    margin-top: 60px;
}

/* ================= HERO ================= */
.hero {
    position: relative;
    height: 50vh;
    background: linear-gradient(rgba(0,33,71,0.75), rgba(0,33,71,0.75)),
                url('../images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    animation: fadeIn 1.2s ease-in-out;
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: #f0f0f0;
}

/* Hero Buttons */
.hero-buttons a {
    padding: 10px 26px;
    margin: 0 8px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.stats-section {
    padding: 25px 0;
}

.stats-card {
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.stats-card h2 {
    font-size: 1.6rem;
    margin: 0;
}

.stats-card p {
    font-size: 0.85rem;
    margin-top: 5px;
}


.btn-primary {
    background: var(--gold);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ================= ALTERNATING SECTIONS ================= */
.section-alt {
    background: var(--sand);
    padding: 20px 0;
}

/* ================= CARDS ================= */
.card {
    background: var(--white);
    padding: 12px 15px;
    border-radius: 15px;
    transition: 0.3s;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

/* ================= STATUS BADGES ================= */
.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--white);
}

.badge.planning { background: var(--gold); }
.badge.ongoing { background: var(--accent); }
.badge.completed { background: #2e7d32; }

/* ================= ANIMATION ================= */
@keyframes fadeIn {
    from {opacity:0; transform:translateY(20px);}
    to {opacity:1; transform:translateY(0);}
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){
    .hero h1 { font-size: 2rem; }
}
