/* ----------- GLOBAL ----------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #f5f5f7;
    color: #333;
}

/* ----------- HEADER ----------- */
header {
    background: #111827;
    color: #fff;
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.6rem;
    animation: fadeIn 1s ease;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #60a5fa;
}

/* ----------- SECTIONS ----------- */
section {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
    animation: fadeUp 0.8s ease both;
}

section h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: #1f2937;
}

/* ----------- LIST ----------- */
ul {
    margin-left: 25px;
}

/* ----------- FOOTER ----------- */
footer {
    text-align: center;
    padding: 25px;
    margin-top: 60px;
    background: #111827;
    color: #fff;
}

footer a {
    color: #60a5fa;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ----------- ANIMATIONS ----------- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ----------- RESPONSIVE ----------- */
@media (max-width: 700px) {
    header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    section {
        margin: 20px;
    }
}