body {
    font-family: 'Segoe UI', sans-serif;
}

/* NAVBAR */
.navbar {
    background-color: #0b1f3a;
}

/* NAVBAR MODERN */
.navbar-custom {
    padding: 20px 0; 
}

.navbar-scrolled {
    background-color: #0b1f3a !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    padding: 10px 0;
}



/* LOGO */
.logo {
    height: 60px; /* ubah dari 45 → 60 */
    object-fit: contain;
    transition: 0.3s;
}

.logo:hover {
    transform: scale(1.1);
}

/* MENU */
/* MENU */
.nav-link-custom {
    color: white;
    margin-right: 20px;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.nav-link-custom:hover {
    color: #ffc107;
}
/* BUTTON */
.btn-login {
    border-radius: 30px;
    padding: 6px 18px;
}

/* HERO */
.hero {
    background: linear-gradient(rgba(11,31,58,0.8), rgba(11,31,58,0.8)),
                url('../img/bg-sekolah.jpg');
    background-size: cover;
    color: white;
    padding: 120px 0;
    text-align: center;
}

/* BUTTON */
.btn-main {
    background-color: #0b1f3a;
    color: white;
    border-radius: 30px;
    padding: 10px 25px;
}

.btn-main:hover {
    background-color: #12325c;
}

/* TITLE */
.section-title {
    color: #0b1f3a;
    font-weight: bold;
    margin-bottom: 20px;
}

/* CARD */
.card {
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 15px;
}

/* FOOTER */
footer {
    background-color: #0b1f3a;
    color: white;
}

/* FOOTER MODERN */
.footer-modern {
    background-color: #0b1f3a;
}

/* LINK FOOTER */
.footer-link {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: 0.3s;
}

.footer-link:hover {
    color: #ffc107;
    padding-left: 5px;
}

@media (max-width: 768px) {
    .logo {
        height: 45px;
    }
}

.form-step {
    display: none;
    animation: fade 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes fade {
    from {opacity: 0; transform: translateX(20px);}
    to {opacity: 1; transform: translateX(0);}
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-modern {
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* STEP TEXT */
#stepText {
    font-weight: bold;
    color: #0b1f3a;
    font-size: 16px;
    margin-bottom: 15px;
}

/* INPUT */
.form-control {
    border-radius: 10px;
    padding: 10px;
}

.form-control:focus {
    border-color: #0b1f3a;
    box-shadow: 0 0 5px rgba(11,31,58,0.3);
}

/* BUTTON */
.btn {
    border-radius: 25px;
}

.toast-modern {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #0b1f3a;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    font-weight: 500;
    z-index: 9999;

    opacity: 0;
    transform: translateY(-20px);
    animation: slideIn 0.5s forwards, fadeOut 0.5s forwards 3s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.5);

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 9999;
    animation: fadeIn 0.3s;
}

.popup-box {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    width: 300px;

    animation: scaleIn 0.3s;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes scaleIn {
    from {transform: scale(0.8);}
    to {transform: scale(1);}
}

/* 🌈 BACKGROUND MODERN */
body {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    min-height: 100vh;
}

/* 🔵 SHAPE BACKGROUND */
body::before {
    content: "";
    position: fixed;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(0, 255, 255, 0.2);
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 0, 255, 0.2);
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
}

/* 💎 CARD GLASS */
.form-modern {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

/* ✨ INPUT */
.form-control {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    border-radius: 10px;
    transition: 0.3s;
}

.form-control:focus {
    background: rgba(255,255,255,0.2);
    box-shadow: 0 0 10px #00f7ff;
    color: white;
}

/* 🔘 BUTTON */
.btn-primary {
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    border: none;
    border-radius: 10px;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: scale(1.05);
}

/* 🔥 STEP ANIMATION */
.form-step {
    display: none;
    animation: fadeSlide 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}