/* ====== Global Styles ====== */
body {
    font-family: "Courier New", Courier, monospace;
    background-color: #f0f0f0;
    color: #000000;
    margin: 0;
}

.container {
    width: 90%;
    max-width: 960px;
    margin: auto;
}

/* ====== Header ====== */
header {
    background-color: #003366; /* classic dark blue */
    color: white;
    padding: 2rem 0;
    text-align: center;
    border-bottom: 2px solid #000080;
}

header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

header .tagline {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

header .description {
    font-size: 0.95rem;
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* ====== About Section ====== */
.about {
    padding: 2rem 0;
    background-color: #ffffff;
    border-top: 2px solid #003366;
    border-bottom: 2px solid #003366;
}

.about h2 {
    color: #003366;
    margin-bottom: 1rem;
}

/* ====== Sections ====== */
.sections {
    background-color: #e6e6e6;
    padding: 2rem 0;
}

.sections h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #003366;
}

.cards {
    display: flex;
    justify-content: center; /* center cards horizontally */
    flex-wrap: wrap;
    gap: 0.5rem; /* reduce space between cards */
}

.card {
    background-color: #ffffff;
    border: 1px solid #003366;
    border-radius: 4px;
    padding: 1rem;
    width: 280px; /* fixed width so they stay close together */
    margin: 0.5rem; /* small margin for even spacing */
    box-sizing: border-box;
    text-align: center;
}

.card h3 {
    color: #000080;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9rem;
    line-height: 1.3;
}

.btn {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.4rem 0.8rem;
    background-color: #003366;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.btn:hover {
    background-color: #000080;
}

/* ====== Footer ====== */
footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 1rem 0;
    border-top: 2px solid #000080;
    font-size: 0.85rem;
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
    .cards {
        flex-direction: column;
    }
    .card {
        width: 100%;
    }
}