/* CSS Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Header & Navigasi */
header {
    background-color: #1a1a1a;
    color: #fff;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}
header h1 {
    color: #c0392b; /* Diubah ke merah */
    font-size: clamp(1.5rem, 5vw, 2rem);
    text-align: center;
    font-family: sans-serif;
}
header h1 span {
    color: #fff;
}
nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s;
}
nav a:hover {
    color: #c0392b; /* Diubah ke merah */
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1503951914875-452162b0f3f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
    color: white;
    padding: 120px 20px;
    text-align: center;
}
.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #ddd;
}
.btn {
    background-color: #c0392b; /* Diubah ke merah */
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s;
}
.btn:hover {
    background-color: #e74c3c; /* Diubah ke merah terang untuk efek hover */
}

/* Bagian Kursus */
.courses {
    padding: 80px 5%;
    text-align: center;
}
.courses h3 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #1a1a1a;
}
.grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}
.card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: 320px;
    text-align: left;
    transition: transform 0.3s;
    border-top: 5px solid #c0392b; /* Diubah ke merah */
}
.card:hover {
    transform: translateY(-10px);
}
.card h4 {
    color: #1a1a1a;
    margin-bottom: 15px;
    font-size: 1.5rem;
}
.card ul {
    list-style: none;
    margin-bottom: 20px;
}
.card ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}
.card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #c0392b; /* Diubah ke merah */
    font-weight: bold;
}
.price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #c0392b; /* Diubah ke merah */
    margin-bottom: 20px;
    display: block;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #aaa;
    text-align: center;
    padding: 30px 20px;
}
footer p {
    margin-bottom: 10px;
}

/* Responsif untuk Layar Kecil */
@media (max-width: 768px) {
    header { flex-direction: column; gap: 15px; }
    nav a { margin: 0 10px; }
    .hero h2 { font-size: 2.5rem; }
}