/* ================= GLOBAL ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f4f7fb, #e8eefc);
    color:#333;
    line-height:1.8;
    padding-top:20px; /* 🔥 lebih kecil biar tidak jauh dari navbar */
}

/* ================= NAVBAR ================= */
.navbar{
    width:100%;
    background:#ffffff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 40px;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
    position:fixed;
    top:0;
    left:0;
    z-index:999;
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo img{
    width:45px;
    height:45px;
    object-fit:cover;
}

.logo h2{
    font-size:18px;
    color:#0d2c91;
    font-weight:700;
}

/* ================= MENU ================= */
.menu{
    display:flex;
    gap:18px;
    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:6px 12px;
    border-radius:6px;
    font-size:13px;
}

.btn-daftar{
    background:#ff9800;
    color:#fff !important;
    padding:6px 12px;
    border-radius:6px;
    font-size:13px;
}

/* ================= 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;
}

.dropdown-content a{
    display:block;
    padding:10px 15px;
}

.dropdown-content a:hover{
    background:#f0f4ff;
}

.dropdown:hover .dropdown-content{
    display:block;
}

/* ================= CONTAINER ================= */
.container{
    max-width:1000px;
    margin:30px auto 30px; /* 🔥 jarak diperkecil */
    padding:15px;
}

/* ================= HEADER ================= */
.header-profil{
    text-align:center;
    margin-bottom:20px;
}

.header-profil h1{
    font-size:30px;
    color:#0d2c91;
    font-weight:800;
}

.line{
    width:70px;
    height:4px;
    background:linear-gradient(90deg, #ff9800, #ff5722);
    margin:8px auto;
    border-radius:10px;
}

/* ================= CONTENT ================= */
.content{
    background:#fff;
    padding:20px;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

/* IMAGE */
.image{
    margin-bottom:15px;
}

.image img{
    width:100%;
    height:260px; /* 🔥 lebih proporsional */
    object-fit:cover;
    border-radius:10px;
}

/* TEXT */
.text p{
    font-size:15px;
    text-align:justify;
    color:#444;
    white-space:pre-line; /* 🔥 INI FIX PARAGRAF */
}

/* ================= FOOTER ================= */
/* ================= FOOTER ================= */
.footer{
    background:#1f3a93;
    color:white;

    width:100vw; /* full layar */
    margin-left:calc(-50vw + 50%); /* keluar dari container */
    margin-top:40px;
}

/* isi footer */
.footer-container{
    max-width:1100px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:25px;
    padding:35px 20px;
}

/* judul */
.footer-container h2,
.footer-container h3{
    margin-bottom:10px;
}

/* text */
.footer-container p{
    font-size:14px;
    color:#ddd;
    line-height:1.6;
}

/* link */
.footer a{
    color:#ddd;
    text-decoration:none;
    display:block;
    margin-bottom:6px;
    transition:0.3s;
}

.footer a:hover{
    color:#ff9800;
}

/* garis bawah */
.footer-bottom{
    text-align:center;
    padding:14px;
    border-top:1px solid rgba(255,255,255,0.2);
    font-size:14px;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){

    body{
        padding-top:100px;
    }

    .footer-container{
        flex-direction:column;
        text-align:center;
    }

    .navbar{
        flex-direction:column;
        gap:10px;
        padding:12px;
    }

    .menu{
        flex-wrap:wrap;
        justify-content:center;
    }

    .image img{
        height:200px;
    }

    .header-profil h1{
        font-size:22px;
    }
}