* {
    margin: 0; padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #0e0e0e;
    color: #eaeaea;
    line-height: 1.6;
}

.container {
    width: 90%;
    margin: auto;
    max-width: 1200px;
}

/* ===== NAVBAR ===== */
.navbar {
    background: #111;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}
.navbar .logo span { color: #ff4b4b; }

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar ul {
    display: flex;
    list-style: none;
}
.navbar li { margin: 0 15px; }
.navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}
.navbar a:hover { color: #ff4b4b; }

.btn-daftar {
    background: #e74c3c;
    padding: 10px 20px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s ease;
}
.btn-daftar:hover { background: #c0392b; }

/* ===== HERO ===== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(120deg, #111, #222);
    color: #fff;
    padding: 80px 5%;
}
.hero-content { max-width: 600px; }
.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #ff4b4b;
}
.hero p { font-size: 18px; margin-bottom: 25px; }
.hero-img {
    width: 45%;
    border-radius: 20px;
}

/* ===== SECTION STYLE ===== */
section { padding: 70px 5%; text-align: center; }
h2 { font-size: 32px; margin-bottom: 40px; color: #ff4b4b; }

.grid3, .grid2 {
    display: grid;
    gap: 25px;
}
.grid3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card, .fitur-box, .edu-item, .testi-card {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.card img, .edu-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}
h3 { color: #ff4b4b; margin-bottom: 10px; }

/* ===== BUTTONS ===== */
.btn-primary {
    background: #e74c3c;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s ease;
}
.btn-primary:hover { background: #c0392b; }

.btn-outline {
    background: transparent;
    color: #ff4b4b;
    padding: 12px 25px;
    border: 2px solid #ff4b4b;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease;
}
.btn-outline:hover {
    background: #ff4b4b;
    color: #fff;
    border-color: #ff4b4b;
}

/* ===== FOOTER ===== */
.footer {
    background: #111;
    color: #ccc;
    text-align: center;
    padding: 20px 0;
}

/* ===== RESPONSIVE ===== */
@media(max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero-img {
        width: 90%;
        margin-top: 30px;
    }
    .navbar ul {
        display: none;
    }
}
