﻿/* ================= GENERAL ================= */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f4f7fb;
}

/* ================= NAVBAR ================= */
.navbar {
    background: #1e3c72;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 15px 40px;
    align-items: center;
    position: relative;
}

    .navbar h2 {
        margin: 0;
    }

.nav-links a {
    color: white;
    margin: 0 12px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    position: relative;
}

    .nav-links a.active {
        color: #ffd700;
        border-bottom: 2px solid #ffd700;
        padding-bottom: 3px;
    }

    .nav-links a::after {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        background: #ffd700;
        left: 0;
        bottom: -3px;
        transition: 0.3s;
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
        width: 100%;
    }

.nav-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* ================= HERO ================= */
.hero {
    background: linear-gradient(rgba(30,60,114,0.8), rgba(42,82,152,0.8)), url('../img/Banner.jpeg');
    background-size: cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

    .hero h1 {
        font-size: 40px;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero button, .hero-button {
        margin-top: 20px;
        padding: 12px 28px;
        border: none;
        background: #ff9800;
        color: white;
        border-radius: 30px;
        cursor: pointer;
        transition: 0.3s;
    }

        .hero button:hover, .hero-button:hover {
            background: #e68900;
        }

/* ================= CARDS ================= */
.cards, .bottom-cards, .grid, .inst-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
    gap: 25px;
    padding: 40px;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
    }

    .card img {
        width: 100%;
        height: 150px;
        object-fit: cover;
    }

    .card h2 {
        margin-bottom: 15px;
        color: #1e3c72;
    }

    .card h3 {
        padding: 15px;
        margin: 0;
    }

    .card p {
        color: #555;
        line-height: 1.6;
    }

/* ================= NEWS ================= */
.news {
    padding: 40px;
}

.news-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: 0.3s;
}

    .news-item:hover {
        background: #eef3ff;
    }

/* ================= SECTIONS ================= */
.section {
    padding: 50px;
    max-width: 1100px;
    margin: auto;
}

.section-title {
    text-align: center;
    margin: 50px 0 20px;
    font-size: 26px;
    color: #1e3c72;
}

/* ================= POLICY ================= */
.policy-container, .list {
    max-width: 1000px;
    margin: auto;
    padding: 40px;
}

    .policy-section, .list li {
        background: white;
        padding: 25px;
        border-radius: 12px;
        margin-bottom: 20px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
        color: #555;
    }

        .policy-section h2 {
            color: #1e3c72;
            margin-bottom: 10px;
        }

        .policy-section ul {
            padding-left: 20px;
        }

.list {
    padding-left: 20px;
}

    .list li {
        margin-bottom: 10px;
    }

/* ================= FOOTER ================= */
.footer {
    background: #1e3c72;
    color: white;
    padding: 40px 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 30px;
}

.footer h3 {
    margin-bottom: 10px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin: 5px 0;
    font-size: 14px;
}

    .footer a:hover {
        color: white;
    }

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 10px;
}

/* ================= BUTTONS ================= */
.btn {
    display: inline-block;
    padding: 10px 22px;
    background: #ff9800;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

    .btn:hover {
        background: #e68900;
    }

/* ================= RESPONSIVE ================= */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #1e3c72;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px 0;
    }

        .nav-links a {
            margin: 10px 0;
            text-align: center;
        }

    .nav-toggle {
        display: block;
    }
}
