/* Reset dan dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Warna dan tipografi */
:root {
    --primary-color: #007bff;
    --secondary-color: #f8f9fa;
    --text-color: #333;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

/* Header */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: var(--primary-color);
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: darken(var(--primary-color), 10%);
}

/* Hero section */
.hero {
    background-color: #e9ecef;
    padding: 50px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero .btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.hero .btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
}

/* Form section */
.form-section {
    padding: 50px 0;
    background-color: white;
}

.form-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.form-section form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.form-section input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.form-section button {
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-section button:hover {
    background-color: darken(var(--primary-color), 10%);
}

/* Footer */
footer {
    background-color: #343a40;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer p {
    font-size: 1rem;
}

/* Responsif */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .form-section h2 {
        font-size: 1.5rem;
    }
}
