﻿body {
    font-family: Segoe UI;
    background: #f5f7fb;
}

/* ===== TOP BAR ===== */

.topbar {
    background: #002147;
    color: white;
    font-size: 14px;
    padding: 6px 0;
}

    .topbar span {
        margin-right: 15px;
    }

/* ===== NAVBAR ===== */

.navbar {
    background: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    color: #002147;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    margin-right: 10px;
}

    .nav-link:hover {
        color: #0d6efd !important;
    }

/* ===== BANNER ===== */

.carousel-item img {
    height: 420px;
    object-fit: cover;
}

/* ===== MARQUEE ===== */

.marquee-box {
    background: #0d6efd;
    color: white;
    padding: 8px;
    overflow: hidden;
}

.marquee-text {
    white-space: nowrap;
    display: inline-block;
    animation: scroll 18s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(100%)
    }

    100% {
        transform: translateX(-100%)
    }
}

/* ===== SERVICE CARDS ===== */

.service-card {
    border: none;
    border-radius: 12px;
    text-align: center;
    padding: 25px;
    transition: .4s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

    .service-card:hover {
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }

    .service-card i {
        font-size: 40px;
        margin-bottom: 10px;
        color: #0d6efd;
    }

/* ===== PANELS ===== */

.panel {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    overflow: hidden;
}

.panel-header {
    background: #002147;
    color: white;
    padding: 10px 15px;
    font-weight: 600;
}

.panel-body {
    height: 250px;
    overflow: hidden;
    position: relative;
}

/* ===== NEWS SCROLL ===== */

.news-list {
    position: absolute;
    width: 100%;
    animation: newsscroll 20s linear infinite;
}

    .news-list div {
        padding: 10px;
        border-bottom: 1px solid #eee;
        cursor: pointer;
    }

        .news-list div:hover {
            background: #f0f6ff;
            padding-left: 20px;
            color: #0d6efd;
        }

@keyframes newsscroll {
    0% {
        top: 100%
    }

    100% {
        top: -100%
    }
}

/* ===== NOTICE ===== */

.notice {
    height: 250px;
    overflow-y: auto;
}

    .notice div {
        padding: 10px;
        border-bottom: 1px dashed #ccc;
    }

        .notice div:hover {
            background: #f5faff;
            transform: translateX(5px);
        }

/* ===== FOOTER ===== */

footer {
    background: #002147;
    color: white;
    padding: 20px;
    margin-top: 40px;
    text-align: center;
}
