/* ================= GLOBAL ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    background:#f8f9fa;
    color:#333;
    padding-top: 90px;
}

/* ================= NAVBAR ================= */
.navbar{
    width:100%;
    height: 80px;
    background:#ffffff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 60px;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
    position:fixed;
    top:0;
    left:0;
    z-index:999;
}

/* ================= LOGO ================= */
.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo img{
    width:55px;
    height:55px;
    object-fit:cover;
}

.logo h2{
    font-size:22px;
    color:#0d2c91;
    font-weight:800;
}

/* ================= MENU ================= */
.menu{
    display:flex;
    gap:25px;
    align-items:center;
}

.menu a{
    text-decoration:none;
    color:#0d2c91;
    font-weight:600;
    transition:0.3s;
}

.menu a:hover{
    color:#ff9800;
}

/* ================= BUTTON ================= */
.btn-login{
    background:#0d2c91;
    color:#fff !important;
    padding:8px 16px;
    border-radius:8px;
    transition:0.3s;
}

.btn-login:hover{
    background:#081c66;
}

.btn-daftar{
    background:#ff9800;
    color:#fff !important;
    padding:8px 16px;
    border-radius:8px;
    transition:0.3s;
}

.btn-daftar:hover{
    background:#e68900;
}

/* ================= DROPDOWN ================= */
.dropdown{
    position:relative;
}

.dropdown-content{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    background:#fff;
    min-width:180px;
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
    border-radius:8px;
    overflow:hidden;
    z-index:1000;
}

.dropdown-content a{
    display:block;
    padding:10px 15px;
    color:#0d2c91;
}

.dropdown-content a:hover{
    background:#f0f4ff;
    color:#ff9800;
}

.dropdown:hover .dropdown-content{
    display:block;
}

/* ================= SLIDER ================= */
.swiper{
    margin-top: 10px;
}

.img-slide{
    width:100%;
    height:400px;
    object-fit:cover;
    border-radius:15px;
}

/* HERO SLIDE */
.slide-hero{
    position:relative;
}

.slide-hero::after{
    content:'';
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background:linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    border-radius:15px;
}

/* TEXT HERO */
.overlay-text{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    color:white;
    text-align:center;
    z-index:2;
}

.overlay-text h2{
    font-size:45px;
    margin-bottom:10px;
}

.overlay-text p{
    font-size:20px;
}

/* ================= PEMBINA ================= */
.pembina{
    padding:70px 50px;
    text-align:center;
    background:white;
}

.pembina h2{
    font-size:40px;
    color:#0d2c91;
    margin-bottom:40px;
}

.card-container{
    display:flex;
    gap:25px;
    justify-content:center;
    flex-wrap:wrap;
}

.card{
    width:250px;
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,0.1);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-10px) scale(1.03);
}

.card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.card h3{
    margin:15px 10px 5px;
}

.card p{
    color:#0d2c91;
    font-weight:600;
    margin-bottom:15px;
}

/* ================= MODAL ================= */
/* PEMBINA */
.pembina{
    position: relative;
    z-index: 1;
}

.card-container{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
}

.card{
    width:200px;
    background:#fff;
    padding:15px;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
    text-align:center;
}

.pembina-img{
    width:100%;
    height:200px;
    object-fit:cover;
    border-radius:10px;
    cursor:pointer;
    position:relative;
    z-index:2;
}

/* MODAL */
.modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.8);
    z-index:99999;
}

/* BOX MODAL LEBIH BESAR */
.modal-content{
    background:#fff;
    width:80%;
    max-width:700px;
    margin:5% auto;
    padding:30px;
    border-radius:15px;
    text-align:center;
    position:relative;
}

/* FOTO LEBIH BESAR */
.modal-img{
    width:250px;
    height:250px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:20px;
    border:4px solid #ddd;
}

/* TEKS JADI JELAS */
.modal-content h2{
    font-size:24px;
    margin-bottom:15px;
}

.modal-content p{
    font-size:18px;
    margin:8px 0;
    color:#333;
}

.modal-content b{
    color:#000;
}

/* TOMBOL CLOSE */
.close{
    position:absolute;
    top:10px;
    right:20px;
    font-size:30px;
    cursor:pointer;
}

/* ================= FOOTER ================= */
.footer{
    background:#0d2c91;
    color:white;
    padding:50px 60px 20px;
}

.footer-container{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:20px;
}

.footer a{
    color:#ddd;
    text-decoration:none;
    display:block;
    margin-bottom:8px;
}

.footer a:hover{
    color:#ff9800;
}

.footer-bottom{
    text-align:center;
    margin-top:30px;
    border-top:1px solid rgba(255,255,255,0.2);
    padding-top:10px;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){

    body{
        padding-top: 120px; /* navbar turun di mobile */
    }

    .navbar{
        flex-direction:column;
        height:auto;
        padding:15px;
        gap:10px;
    }

    .menu{
        flex-wrap:wrap;
        justify-content:center;
        gap:15px;
    }

    .overlay-text h2{
        font-size:30px;
    }
}