/* ==================== General page styles ==================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #f4f6f9;
    color: #333;
}

/* ==================== Header with background ==================== */
.header-bg {
    background-image: url("/images/DC.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 125px; /* reduced height (half of 250px) */
    position: relative;
}

/* Blue transparent overlay covering the image */
.header-overlay {
    background-color: rgba(11, 53, 93, 0.8); /* transparent blue layer */
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* ==================== Navbar ==================== */
.navbar {
    color: white;
    height: 100%;
    display: flex;
    align-items: flex-end; /* align items at bottom of banner */
    padding-bottom: 10px;
    padding-left: 25px;
    padding-right: 25px;
    position: relative;
    z-index: 2;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

/* ==================== Brand ==================== */
.brand a {
    color: white;
    font-weight: bold;
    font-size: 1.3rem;
    text-decoration: none;
}

/* ==================== Nav links (desktop) ==================== */
.nav-links {
    display: flex;
    gap: 25px;
    transition: all 0.3s ease;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #00bfff;
}

/* ==================== Hamburger icon ==================== */
.menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
}

/* ==================== Main section ==================== */
.main-section {
    padding: 40px 10%;
    max-width: 1200px;
    margin: auto;
}

/* ==================== Responsive adjustments ==================== */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
        font-size: 1.8rem;
    }

    /* Hide nav links by default on mobile */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 55px; /* below navbar */
        right: 25px;
        background-color: rgba(11, 53, 93, 0.95);
        border-radius: 8px;
        padding: 10px 20px;
        width: auto;
        min-width: 150px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    /* Show links when active */
    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        text-align: right;
        padding: 8px 0;
        padding-right: 10px;
        font-size: 1rem;
    }
}
