﻿/* Reset + base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1f2937;
    background-color: #ffffff;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* Container */
main {
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1.5rem;
}

/* Header modern */
header {
    background-color: #969aa0;
    padding: 1rem 2rem;
}

    header nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        padding: 10px 20px 10px 20px;
    }

        header nav ul {
            list-style: none;
            display: flex;
            gap: 1.5rem;
        }

            header nav ul li a {
                color: #f3f4f6;
                text-decoration: none;
                font-weight: 500;
                transition: color 0.3s;
            }

                header nav ul li a:hover {
                    color: #3b82f6;
                }

    header img {
        height: 40px;
    }

/* Hero Section */
#hero {
    background: linear-gradient(to right, #1e3a8a, #2563eb);
    color: white;
    padding: 4rem 1.5rem;
    text-align: center;
    border-radius: 12px;
}

    #hero h1 {
        font-size: 2.75rem;
        margin-bottom: 1rem;
    }

    #hero p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

.cta-button {
    background-color: #10b981;
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
}

    .cta-button:hover {
        background-color: #059669;
    }

/* Section spacing */
section {
    margin-top: 3rem;
}

    /* Headings */
    section h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        color: #111827;
    }

/* Features List */
#features ul, article ul {
    list-style: none;
    padding-left: 1rem;
}

#features li, article li {
    padding: 0.5rem 0;
}

/* Form */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: auto;
}

input[type="text"] {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 1rem;
}

button[type="submit"] {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

    button[type="submit"]:hover {
        background-color: #2563eb;
    }

/* FAQ */
dl dt {
    font-weight: bold;
    margin-top: 1rem;
}

dl dd {
    margin-left: 1rem;
    margin-bottom: 1rem;
}

/* Footer modern */
footer {
    background-color: #111827;
    color: #9ca3af;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 4rem;
}

    footer nav a {
        color: #9ca3af;
        margin: 0 0.75rem;
        text-decoration: none;
    }

        footer nav a:hover {
            text-decoration: underline;
        }

/* Article Images */
article img {
    display: block;
    margin: 1.5rem auto; /* center horizontally */
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }

    #hero h1 {
        font-size: 2rem;
    }

    section h2 {
        font-size: 1.5rem;
    }
}
