body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #283e4a;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    margin: 0 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #3f5765;
}

nav button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 20px;
    transition: background-color 0.3s ease;
}

nav button:hover {
    background-color: #0056b3;
}

.container {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

h1 {
    color: #283e4a;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2em;
}

h2 {
    color: #007bff;
    margin-top: 25px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 5px;
}

h3 {
    color: #555;
    margin-top: 20px;
}

p {
    margin-bottom: 15px;
    color: #444;
}

.card {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

form button[type="submit"] {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.05rem;
    transition: background-color 0.3s ease;
}

form button[type="submit"]:hover {
    background-color: #218838;
}

ul#dynamicList {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 15px;
}

ul#dynamicList li {
    margin-bottom: 8px;
    color: #666;
}

.card button {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.card button:hover {
    background-color: #5a6268;
}

.toggle-content {
    margin-top: 15px;
    padding: 10px;
    border: 1px dashed #ccc;
    border-radius: 4px;
}

.toggle-content p {
    background-color: #e2f0fb;
    padding: 10px;
    border-left: 4px solid #007bff;
    margin-top: 10px;
}

.long-text {
    column-count: 2; /* Contoh layout multi-kolom untuk text panjang */
    column-gap: 30px;
    font-size: 0.95em;
    color: #666;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    background-color: #e9ecef;
    color: #555;
    border-top: 1px solid #dee2e6;
    border-radius: 0 0 8px 8px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.product-item h3 {
    color: #283e4a;
    margin-bottom: 10px;
}

.product-item p {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.product-item button {
    background-color: #ffc107;
    color: #333;
}

.product-item button:hover {
    background-color: #e0a800;
}