
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Poppins', Arial, sans-serif;
    background: #f4f6f9;
    color: #222;
    line-height: 1.6;
}


a {
    text-decoration: none;
}

.container {
    width: 1200px;
    max-width: 94%;
    margin: auto;
}

/* Header */

.top-header {
    background: #003b73;
    color: #fff;
    padding: 18px 0;
}

.top-header h2 {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
}

/* Navigation */

.navbar {
    background: #c00000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.menu li {
    list-style: none;
}

.menu li a {
    display: block;
    color: #fff;
    padding: 13px 18px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s;
}

.menu li a:hover {
    background: #900000;
}

/* Hero */

.hero {
    background: #ffffff;
    padding: 45px 20px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.hero h1 {
    color: #003b73;
    font-size: 40px;
    margin-bottom: 8px;
}

.hero p {
    color: #555;
    font-size: 17px;
    margin-bottom: 25px;
}

/* Search */

.search-box {
    display: flex;
    justify-content: center;
    max-width: 650px;
    margin: auto;
}

.search-box input {
    width: 100%;
    height: 48px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    padding: 0 15px;
    font-size: 15px;
    outline: none;
}

.search-box button {
    width: 120px;
    border: none;
    background: #003b73;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

/* Quick Links */

.quick-links {
    padding: 25px 0;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.quick-card {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 18px 10px;
    text-align: center;
    color: #222;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: 0.2s;
}

.quick-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.12);
}

.quick-card span {
    display: block;
    color: #003b73;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 5px;
}

.quick-card small {
    color: #666;
    font-size: 12px;
}

/* Main Content */

.home-content {
    padding: 10px 0 30px;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.content-box {
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 7px rgba(0,0,0,0.06);
    border-radius: 5px;
    overflow: hidden;
}

.box-title {
    background: #003b73;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    padding: 13px 18px;
}

.box-content {
    padding: 8px 18px;
}

.box-content a {
    display: block;
    padding: 11px 0;
    color: #333;
    font-size: 14px;
    border-bottom: 1px dashed #ddd;
}

.box-content a:last-child {
    border-bottom: none;
}

.box-content a:hover {
    color: #c00000;
}

.view-all {
    display: block;
    background: #f1f3f5;
    color: #c00000;
    padding: 11px 18px;
    font-weight: 600;
    font-size: 14px;
}

/* About */

.about-section {
    background: #ffffff;
    border-top: 1px solid #ddd;
    padding: 35px 0;
    margin-top: 10px;
    text-align: center;
}

.about-section h2 {
    color: #003b73;
    margin-bottom: 10px;
    font-size: 28px;
}

.about-section p {
    max-width: 900px;
    margin: auto;
    color: #555;
    font-size: 15px;
}

/* Footer */

footer {
    background: #222;
    color: #fff;
    padding: 25px 0;
    text-align: center;
}

/* Mobile */

@media (max-width: 900px) {

    .quick-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .top-header h2 {
        font-size: 23px;
    }

    .menu {
        flex-direction: column;
    }

    .menu li {
        width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box input {
        border-radius: 5px;
        margin-bottom: 8px;
    }

    .search-box button {
        width: 100%;
        height: 45px;
        border-radius: 5px;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-card {
        padding: 15px 5px;
    }
}

/**maintenance-notice***/

.maintenance-notice {
    padding: 15px 0 0;
}

.maintenance-box {
    background: #fff3cd;
    border: 1px solid #f0d98c;
    border-left: 5px solid #d39e00;
    border-radius: 6px;
    padding: 15px 20px;
    animation: maintenanceBlink 1.5s infinite;
}

.maintenance-box strong {
    display: block;
    color: #7a5900;
    font-size: 17px;
    margin-bottom: 5px;
}

.maintenance-box p {
    margin: 0;
    color: #5f4b00;
    font-size: 14px;
    line-height: 1.6;
}

@keyframes maintenanceBlink {
    0%, 45% {
        opacity: 1;
    }

    50%, 100% {
        opacity: 0.35;
    }
}
/* Dashboard Quick Actions */

.quick-actions{
    margin-top:40px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.action-btn{
    display:block;
    background:#003366;
    color:#fff;
    text-decoration:none;
    padding:18px;
    text-align:center;
    border-radius:8px;
    font-weight:600;
    transition:.3s;
}

.action-btn:hover{
    background:#00509e;
}
