body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f9f4;
}

/* Navbar */
.navbar {
    background-color: #072541;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-left {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    margin-right: 8px;
}

.nav-menu a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 8px;
    transition: 0.3s;
}

.nav-menu a:hover {
    background-color: white;
    color: #053868;
}

/* Hero */
.hero {
    position: relative;
    min-height: 68vh; /* INI YANG KURANG */
    padding: 100px 20px;

    background-image: url('bio.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
    overflow: hidden;
}
.hero-content {
    position: relative;
    z-index: 2;

    min-height: 68vh; /* biar ikut full */
    display: flex;
    align-items: center; /* tengah vertikal */
    justify-content: space-between;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* gelapin */
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-text {
    width: 50%;
    max-width: 1000px; /* BATASI BIAR GA KEPANJANGAN */
}

.hero-text p {
    font-size: 20px;
    line-height: 1.9; /* JARAK ANTAR BARIS */
    margin-top: 20px;
    color: #e5e7eb; /* biar soft, ga terlalu putih */
}

.hero-image {
    width: 40%;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 200px;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text, .hero-image {
        width: 100%;
    }

    .hero-image img {
        margin-top: 20px;
    }
}

.hero h1 {
    font-size: 50px;
}

.hero p {
    font-size: 20px;
}

/* Card Home */
.container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;
}

.card {
    background: white;
    width: 250px;
    margin: 15px;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.card h3 {
    color: #2e7d32;
}

/* Halaman */
.halaman {
    background-color: #e5e7eb;
    min-height: 100vh;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.judul {
    font-size: 40px;
    margin-bottom: 30px;
}

/* Card Materi */
.card-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 60px;
    margin-bottom: 60px;
}

.card-materi {
    background: #ffffff;
    width: 300px;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
    text-align: center;
    text-decoration: none;
    color: black;
}

.card-materi:hover {
    transform: translateY(-10px);
}

.card-materi img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.card-materi h3 {
    margin: 15px 0 10px;
}

.card-materi p {
    color: gray;
}

/* Materi Box */
.materi-box {
    background: white;
    max-width: 1100px;
    width: 95%;
    margin: auto;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    line-height: 1.8;
    text-align: left;
}

/* Responsive gede */
@media (min-width: 1200px) {
    .materi-box {
        max-width: 1200px;
    }
}

.materi-box h2 {
    margin-top: 25px;
    color: #2e7d32;
}

.materi-box p {
    color: #333;
}

.materi-box ul {
    padding-left: 20px;
}

.materi-box li {
    margin-bottom: 8px;
}

/* Video */
.video-container {
    margin-top: 20px;
}

.video-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

/* Quiz */
.quiz-box {
    background: white;
    max-width: 1100px;
    width: 95%;
    margin: auto;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: left;
}

form p {
    font-weight: bold;
}

input[type="radio"] {
    margin-right: 5px;
}

button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #0456a4;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

button:hover {
    background-color: #2e7d32;
}

/* Hasil */
.hasil-box {
    background: white;
    padding: 30px;
    max-width: 1100px;
    width: 95%;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: left;
}

.hasil-box p {
    font-size: 18px;
    margin: 10px 0;
}

.benar {
    color: green;
    font-weight: bold;
}

.salah {
    color: red;
    font-weight: bold;
}

.score {
    margin-top: 20px;
    color: #0456a4;
}

/* Tombol */
.btn-kembali a {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 25px;
    background: #2563eb;
    color: white;
    border-radius: 20px;
    text-decoration: none;
}

.btn-kembali a:hover {
    background: #1d4ed8;
}

.footer {
    background-color: #072541;
    color: white;
    padding: 50px 20px 10px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: auto;
}

/* Kolom */
.footer-col {
    width: 30%;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-col h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

/* Text */
.footer-col p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.6;
}

/* Link */
.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-col {
        width: 100%;
    }
}
.footer-col i {
    margin-right: 8px;
}

.footer-col a {
    color: white;
}

.footer-col a:hover {
    text-decoration: underline;
}
.footer-col a {
    color: white;
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}
.logo-nama {
    color: white;
    margin-left: 10px;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* SECTION */
.team-section {
    margin: 80px 20px;
    text-align: center;
}

.team-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: #0456a4;
}

/* CARD */
.team-card {
    width: 260px;
    margin: auto;
    padding: 25px;
    border-radius: 25px;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

/* HOVER PREMIUM */
.team-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* IMAGE WRAPPER */
.team-img {
    width: 120px;
    height: 120px;
    margin: auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.5);
}

/* AUTO ZOOM */
.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 4s ease;
}

/* AUTO ZOOM EFFECT */
.team-card:hover .team-img img {
    transform: scale(1.15);
}

/* TEXT */
.team-info h3 {
    margin-top: 15px;
    font-size: 18px;
}

.team-info .nim {
    font-size: 14px;
    opacity: 0.8;
}

.team-info .prodi {
    margin-top: 10px;
    font-size: 13px;
    color: #cbd5f5;
}

.divider-glow {
    width: 100vw; /* full layar */
    margin-left: calc(-50vw + 50%); /* biar keluar dari container */
    height: 4px;
    margin-top: 70px;
    margin-bottom: 70px;

    background: linear-gradient(90deg, transparent, #3b82f6, transparent);

    box-shadow: 
        0 0 10px rgba(59,130,246,0.6),
        0 0 20px rgba(59,130,246,0.4);
}

/* ========================= */
/* RESPONSIVE FIX SUPER AMAN */
/* ========================= */

/* Tablet */
@media (max-width: 992px) {

    .hero-text {
        width: 100%;
    }

    .hero-image {
        width: 100%;
        margin-top: 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .card {
        width: 45%;
    }

    .card-materi {
        width: 45%;
    }
}

/* HP */
@media (max-width: 576px) {

    /* NAVBAR */
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        margin-top: 10px;
    }

    .nav-menu a {
        margin: 5px;
        padding: 6px 10px;
        font-size: 14px;
    }

    /* HERO */
    .hero {
        padding: 60px 15px;
        min-height: auto;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        width: 100%;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.6;
    }

    .hero-image img {
        max-width: 150px;
    }

    /* CARD */
    .card {
        width: 100%;
        margin: 10px 0;
    }

    .card-materi {
        width: 100%;
    }

    /* MATERI BOX */
    .materi-box {
        padding: 20px;
    }

    /* VIDEO */
    .video-container iframe {
        height: 220px;
    }

    /* TEAM */
    .team-card {
        width: 90%;
    }

    /* FOOTER */
    .footer {
        padding: 30px 15px;
    }

    .footer-col p {
        font-size: 13px;
    }
}
img {
    max-width: 100%;
    height: auto;
}