﻿/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASE */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

/* CONTAINER */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* Header */
.header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.logo img {
    height: 40px;
    vertical-align: middle;
}

.logo span {
    font-size: 1rem;
    margin-left: 10px;
    font-weight: bold;
    color: #0a3d62;
}

/* NAV */
/* Navigation */
.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav a {
    padding: 8px 12px;
    transition: 0.3s;
}

    .nav a:hover,
    .nav a.active {
        background-color: #0a3d62;
        color: #fff;
        border-radius: 4px;
    }

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* BANNER */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

    .banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.banner-text {
    position: absolute;
    text-align: center;
    color: #fff;
    background: rgba(10, 61, 98, 0.6);
    padding: 20px;
    border-radius: 10px;
    animation: fadeIn 1s ease-in-out;
}

    .banner-text h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .banner-text p {
        font-size: 1.2rem;
    }

/* CONTENT SECTIONS */
.content {
    padding: 60px 0;
    background-color: #fff;
    transition: background-color 0.3s;
}

    .content:nth-child(even) {
        background-color: #f4f4f4;
    }

    .content h2 {
        font-size: 2rem;
        margin-bottom: 20px;
        color: #0a3d62;
        position: relative;
    }

        .content h2::after {
            content: "";
            width: 60px;
            height: 3px;
            background-color: #38ada9;
            display: block;
            margin-top: 8px;
        }

.features {
    padding-left: 20px;
}

    .features li {
        margin-bottom: 10px;
        position: relative;
        padding-left: 25px;
    }

        .features li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #38ada9;
        }

/* INFO TABLE */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

    .info-table th,
    .info-table td {
        border: 1px solid #ccc;
        padding: 10px;
        text-align: left;
    }

    .info-table th {
        background-color: #0a3d62;
        color: white;
    }

    .info-table td {
        background-color: #fff;
    }

/* FOOTER */
.footer {
    background-color: #0a3d62;
    color: #fff;
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 10px;
}

.footer-links h4,
.footer-map h4 {
    margin-bottom: 10px;
    color: #38ada9;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
}

    .footer-links a:hover {
        color: #fff;
        text-decoration: underline;
    }

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav ul {
        flex-direction: column;
        display: none;
        background-color: #fff;
        position: absolute;
        top: 60px;
        right: 10px;
        width: 200px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

        .nav ul.show {
            display: flex;
        }

    .menu-toggle {
        display: block;
    }

    .banner-text {
        font-size: 1rem;
        padding: 15px;
    }
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.course-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .course-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    .course-card h3 {
        margin-bottom: 10px;
        color: #0a3d62;
    }

    .course-card ul {
        margin-top: 10px;
        padding-left: 20px;
    }

        .course-card ul li {
            list-style: disc;
            margin-bottom: 5px;
        }

