/* Reset some basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f8ff;
    color: #333;
    line-height: 1.6;
    padding-bottom: 60px;
}

/* Header Styles */
header {
    background: linear-gradient(to right, #0066cc, #cc0000);
    color: white;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.main-title {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
}

.tagline {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

nav {
    margin-top: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    margin: 0 0.3rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.3);
}

nav a.active {
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.3);
}

/* Main Section Styles */
main {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 1rem;
}

/* Section Titles */
main h2,
main h3 {
    color: #004080;
    margin-bottom: 1rem;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.card {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.card p {
    font-size: 0.95rem;
    color: #444;
}

/* About Section */
.about-section ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
    list-style-type: square;
}

.about-section a {
    color: #0066cc;
    text-decoration: none;
}

.about-section a:hover {
    text-decoration: underline;
}

/* Footer Styles */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #003366;
    color: white;
    text-align: center;
    padding: 0.8rem 0.5rem;
    font-size: 0.9rem;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
}

footer a {
    color: #66ccff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 600px) {
    .main-title {
        font-size: 1.6rem;
    }

    nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

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