/* ===================== */
/* RESET */
/* ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f9f6f6;
    color: #333;
}

/* ===================== */
/* NAVBAR */
/* ===================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #7a0c0c;
    padding: 15px 40px;
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 45px;
}

.logo span {
    font-weight: 600;
    font-size: 16px;
}

.menu a {
    color: white;
    text-decoration: none;
    margin: 0 12px;
    font-weight: 500;
    transition: 0.3s;
}

.menu a:hover,
.menu .active {
    color: #facc15;
}

/* ===================== */
/* HERO */
/* ===================== */
.hero {
    background: linear-gradient(rgba(90,0,0,0.8), rgba(90,0,0,0.8)),
                url("foto3.png");
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 40px;
    font-weight: 700;
}

.hero p {
    margin-top: 10px;
    font-size: 16px;
}

/* ===================== */
/* MAIN */
/* ===================== */
main {
    padding: 60px 20px;
    text-align: center;
}

h2 {
    margin-bottom: 10px;
    color: #7a0c0c;
}

.desc {
    margin-top: 10px;
    color: #555;
}

/* ===================== */
/* CARD */
/* ===================== */
.container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 25px;
    width: 250px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-top: 4px solid #7a0c0c;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
}

.card h3 {
    color: #7a0c0c;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    color: #555;
}

/* ===================== */
/* BUTTON */
/* ===================== */
.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #a11212;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #5c0a0a;
    transform: scale(1.05);
}

/* ===================== */
/* BOX (SEMUA HALAMAN) */
/* ===================== */
.box {
    max-width: 800px;
    margin: 20px auto;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    text-align: left;
}

/* ===================== */
/* VIDEO */
/* ===================== */
iframe {
    width: 100%;
    height: 300px;
    margin: 15px 0;
    border-radius: 10px;
}

/* ===================== */
/* BANK SOAL */
/* ===================== */
.soal {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* ===================== */
/* LIST */
/* ===================== */
ul {
    padding-left: 20px;
}

ul li {
    margin: 8px 0;
}

/* ===== KONTAK FIX ===== */

.kontak-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.kontak-box {
    background: white;
    padding: 25px;
    width: 300px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* FORM */
.kontak-box input,
.kontak-box textarea {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.kontak-box textarea {
    min-height: 80px;
}

/* ===================== */
/* FOOTER */
/* ===================== */
footer {
    background: #4a0404;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 50px;
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */
@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 10px;
    }

    .menu {
        text-align: center;
    }

    .hero h1 {
        font-size: 28px;
    }

    .container {
        flex-direction: column;
        align-items: center;
    }

    .box {
        margin: 20px;
    }
}
/* ===== LAYANAN FIX ===== */

.sub-hero {
    background: linear-gradient(135deg, #7a0c0c, #4a0404);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

/* GRID BIAR TENGAH */
.container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* CARD */
.card {
    background: white;
    padding: 25px;
    width: 240px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
    border-top: 4px solid #7a0c0c;
}

.card:hover {
    transform: translateY(-10px);
}

/* ICON BESAR */
.layanan-card i {
    font-size: 35px;
    color: #7a0c0c;
    margin-bottom: 10px;
}

/* JUDUL */
.card h3 {
    margin: 10px 0;
    color: #7a0c0c;
}

/* TEXT */
.card p {
    font-size: 14px;
    color: #555;
}

/* BUTTON */
.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #7a0c0c;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #4a0404;
}
/* ===== KELAS MAYA FIX ===== */

.kelas-container {
    display: flex;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
}

/* SIDEBAR */
.sidebar {
    width: 250px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.sidebar h3 {
    margin-bottom: 10px;
    color: #7a0c0c;
}

.sidebar a {
    display: block;
    margin: 10px 0;
    text-decoration: none;
    color: #333;
    padding: 8px;
    border-radius: 6px;
    transition: 0.3s;
}

.sidebar a:hover {
    background: #7a0c0c;
    color: white;
}

/* CONTENT */
.content {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* VIDEO */
iframe {
    width: 100%;
    height: 300px;
    margin: 15px 0;
    border-radius: 10px;
}
/* ===== BANK SOAL ===== */

.soal {
    margin-bottom: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.hasil {
    margin-top: 20px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #7a0c0c;
}
/* ===== PROFIL ===== */

.profil-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.profil-card {
    background: white;
    padding: 25px;
    width: 250px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.profil-card img {
    width: 120px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.profil-card h2 {
    color: #7a0c0c;
}

.profil-card.full {
    width: 520px;
    text-align: left;
}