/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f6f9;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1; /* Pushes footer to the bottom */
    padding-bottom: 40px;
}

/* Header & Navigation */
.official-header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-bar {
    background-color: #1a4b84; /* Government Blue */
    color: #ffffff;
    text-align: center;
    padding: 8px;
    font-size: 0.9rem;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo h1 {
    color: #1a4b84;
    font-size: 1.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #f39c12;
}

/* Hero Section */
.hero-section {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
}

.hero-section h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

/* Dashboard Cards */
.dashboard-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0 5%;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    width: 300px;
    text-align: center;
    border-top: 4px solid #1a4b84;
}

.card h3 {
    margin-bottom: 15px;
    color: #1a4b84;
}

.card p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #666;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1a4b84;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #12345c;
}

/* Footer */
.official-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    margin-top: auto;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    padding: 30px 5%;
    flex-wrap: wrap;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #f39c12;
}

.footer-section p, .footer-section a {
    color: #bdc3c7;
    margin-bottom: 8px;
    text-decoration: none;
    display: block;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding: 15px;
    background-color: #1a252f;
    font-size: 0.9rem;
}