/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, sans-serif;
}

/* BODY */
body {
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* HEADER */
.header {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* NAVBAR */
.navbar {
    background: #0f172a;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 12px 0;
}

.navbar a {
    color: #e5e7eb;
    text-decoration: none;
    margin: 5px 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #38bdf8;
}

/* HERO SECTION */
.hero {
    text-align: center;
    padding: 70px 20px;
    background: #f8fafc;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.hero button {
    padding: 12px 25px;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    background: #2563eb;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.hero button:hover {
    background: #1e40af;
}

/* SECTIONS */
.section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: auto;
}

.section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.section p {
    text-align: center;
    max-width: 700px;
    margin: auto;
    font-size: 1.05rem;
}

/* GRAY BACKGROUND */
.gray {
    background: #f1f5f9;
}

/* CATEGORIES */
.categories {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 30px;
    padding: 0;
}

.categories li {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.note {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.features div {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    font-weight: 500;
}

/* CONTACT */
#contact p {
    text-align: center;
    margin-top: 10px;
}

/* FOOTER */
.footer {
    background: #0f172a;
    color: #cbd5f5;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .header h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.6rem;
    }
}
