﻿/* DC.gov Utility Bar */
.dc-utility-bar {
    background-color: #f0f0f0;
    border-bottom: 1px solid #ddd;
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
}

.utility-content {
    max-width: 1200px;
    margin: 0 auto;
}

.dc-gov-link {
    color: #333;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 400;
}

.dc-gov-link:hover {
    text-decoration: underline;
}

.dc-flag-star {
    color: #bf0a30;
    font-size: 1rem;
}

/* Main Content Area */
.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Footer Styles */
.dhs-footer {
    background-color: #1a1a2e;
    color: #ccc;
    padding: 2rem 1rem;
    font-size: 0.85rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    margin: 0.3rem 0;
}

.footer-contact {
    margin-bottom: 1rem;
}

.footer-contact a,
.footer-address a {
    color: #8ecdf7;
    text-decoration: none;
}

.footer-contact a:hover,
.footer-address a:hover {
    text-decoration: underline;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #8ecdf7;
    text-decoration: none;
    font-size: 0.8rem;
}

.footer-links a:hover {
    text-decoration: underline;
}




/* Base reset and typography */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

/*.queue-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.queue-card {
    flex: 1 1 300px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    background: #fff;
}

.queue-card-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.queue-image {
    max-width: 180px;
    height: auto;
    margin-top: 0.75rem;
}*/

/* Space between intro text and cards */
.intro-text {
    margin-bottom: 1.5rem;
}

.intro-text {
    margin-bottom: 1.5rem;
    text-align: center;
}

.queue-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.queue-card {
    flex: 1 1 300px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .queue-card:hover {
        transform: translateY(-6px) scale(1.02);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

/* Title area: force consistent height across all cards */
.queue-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    /* Reserve space for up to 2 lines so icon starts at same height */
    .queue-card-header h3 {
        margin: 0;
        font-size: 1.2rem;
        line-height: 1.2;
        height: calc(1.2em * 2); /* exactly 2 lines of space */
        display: flex;
        align-items: center; /* vertically center text within reserved space */
        text-align: center;
    }

.queue-image {
    max-width: 180px;
    height: auto;
    margin-top: 0.75rem;
    transition: transform 0.3s ease;
}

.queue-card:hover .queue-image {
    transform: scale(1.05);
}

/* EWT section: fixed height, brand blue text */
.queue-ewt {
    font-size: 1.1rem;
    font-weight: bold;
    color: #0071bc; /* updated color */
    margin: 1rem 0;
    min-height: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* View Details button: brand blue with hover */
.view-details-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #0071bc; /* updated color */
    color: #fff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.25s ease, transform 0.25s ease;
    margin-top: auto;
}

    .view-details-btn:hover {
        background-color: #005f99; /* darker on hover */
        transform: translateY(-2px);
    }



/* Top Navigation Bar */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background-color: #173C66;
    padding: 0 2rem;
    height: 120px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Left Section (Logo) */
.nav-left {
    display: flex;
    align-items: flex-end;
}

.nav-left a {
    display: flex;
    align-items: flex-end;
}

.logo {
    height: 120px;
    margin-bottom: 0.25rem;
}

/* Center Section (Menu) */
.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* Nav Menu */
.nav-menu ul.nav-main {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-menu ul.nav-main > li {
    position: relative;
}

.nav-menu ul.nav-main > li > a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: background-color 0.2s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.nav-menu ul.nav-main > li > a:hover,
.nav-menu ul.nav-main > li > a.active {
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 3px solid #e8b239;
}

/* Dropdown indicator (+) */
.dropdown-indicator {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.8;
    margin-left: 0.2rem;
}

/* Dropdown Menus */
.nav-menu ul.nav-main > li:hover > .menu-sub {
    display: block;
}

.nav-menu .menu-sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    min-width: 260px;
    z-index: 999;
    border-top: 3px solid #e8b239;
    list-style: none;
}

.nav-menu .menu-sub li {
    position: relative;
}

.nav-menu .menu-sub li a {
    color: #333;
    font-weight: 400;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    display: block;
    text-decoration: none;
    border-bottom: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-menu .menu-sub li a:hover {
    background-color: #f0f4f8;
    color: #173C66;
}
