body{
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f0f0f0;
    text-align: center;
}

/* =========================
   LOGIN & REGISTER
========================= */

.container{
    width: 350px;
    padding: 35px;
    border-radius: 15px;

    background: rgba(255,255,255,0.92);

    backdrop-filter: blur(8px);

    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

/* JUDUL */

.container h2{
    margin-bottom: 30px;
    font-size: 38px;
    color: #003366;
}

/* =========================
   INPUT GROUP + ICON
========================= */

.input-group{
    position: relative;
    margin-bottom: 20px;
}

.input-group i{
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #666;
}

.input-group input{
    width: 100%;
    padding: 14px 14px 14px 45px;

    border-radius: 8px;
    border: 1px solid #ccc;

    font-size: 16px;

    box-sizing: border-box;
}

/* =========================
   BUTTON
========================= */

button{
    padding: 12px 25px;
    background: #003366;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

button:hover{
    background: #0055aa;
}

/* =========================
   LINK
========================= */

a{
    color: #003366;
    font-weight: bold;
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}

/* =========================
   BACKGROUND LOGIN
========================= */

.login-page{
    background:
        linear-gradient(
            rgba(0,0,0,0.45),
            rgba(0,0,0,0.45)
        ),
        url('../images/login-bg.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================
   BACKGROUND REGISTER
========================= */

.register-page{
    background:
        linear-gradient(
            rgba(0,0,0,0.45),
            rgba(0,0,0,0.45)
        ),
        url('../images/register-bg.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================
   HEADER
========================= */

header{
    background: #003366;
    color: white;
    padding: 15px 30px;
}

/* HEADER FLEX */

.header-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* =========================
   LOGO AREA
========================= */

.logo-area{
    display: flex;
    align-items: center;
}

.logo{
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

.logo-area h1{
    margin: 0;
    font-size: 30px;
}

/* =========================
   BUTTON LOGOUT
========================= */

.logout-btn{
    background: red;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.logout-btn:hover{
    background: darkred;
}

/* =========================
   GARIS PEMBATAS
========================= */

.divider{

    height: 3px;

    background: #003366;

}

/* =========================
   HERO SLIDER FULLSCREEN
========================= */

.hero-slider{
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* GAMBAR FULL */

.hero-slider img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* OVERLAY */

.hero-slider::after{
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.35);
}

/* =========================
   TEXT DI TENGAH FOTO
========================= */

.hero-text{
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    z-index: 2;

    color: white;

    text-align: center;

    background: none;

    width: 80%;
}

/* JUDUL */

.hero-text h2{
    font-size: 65px;
    margin-bottom: 15px;
    font-weight: bold;
}

/* SUBTEXT */

.hero-text p{
    font-size: 24px;
}

/* =========================
   TOMBOL SLIDER
========================= */

.prev,
.next{
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    z-index: 5;

    width: 70px;
    height: 70px;

    border-radius: 50%;

    font-size: 34px;

    background: rgba(255,255,255,0.25);

    color: white;

    border: none;

    cursor: pointer;

    transition: 0.3s;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* HOVER */

.prev:hover,
.next:hover{
    background: rgba(255,255,255,0.55);
}

/* POSISI */

.prev{
    left: 25px;
}

.next{
    right: 25px;
}

/* =========================
   MATERI
========================= */

.materi{
    background: white;

    margin: 30px;
    padding: 40px;

    border-radius: 10px;

    text-align: left;
}

.materi h2{
    color: #003366;
}

/* =========================
   VIDEO EDUKASI
========================= */

.video-container{
    width: 90%;
    margin: auto;
    margin-top: 30px;
}

.video-container iframe{
    width: 100%;
    height: 700px;

    border: none;
    border-radius: 15px;

    box-shadow: 0 0 20px rgba(0,0,0,0.25);
}

/* =========================
   FOOTER
========================= */

footer{
    background: #003366;
    color: white;
    padding: 20px;
    margin-top: 50px;
}

/* =========================
   RESPONSIVE HP
========================= */

@media(max-width:768px){

    .container{
        width: 85%;
        padding: 25px;
    }

    .container h2{
        font-size: 30px;
    }

    /* HERO MOBILE */

    .hero-slider{
        height: 70vh;
    }

    .hero-text{
        width: 85%;
    }

    .hero-text h2{
        font-size: 28px;
    }

    .hero-text p{
        font-size: 15px;
    }

    .prev,
    .next{
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .video-container iframe{
        height: 250px;
    }

    .materi{
        margin: 15px;
        padding: 20px;
    }

    .logo{
        width: 45px;
        height: 45px;
    }

    .logo-area h1{
        font-size: 24px;
    }

}