* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background: #f4f7fb;
    color: #222;
}

/* NAVIGASI */
.navigasi {
    background: linear-gradient(135deg, #263c96, #00b894);
    width: 100%;
    height: 75px;
    color: white;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 45px;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.logo h2 {
    font-size: 28px;
}

.menu ul {
    display: flex;
    list-style: none;
}

.menu ul li {
    margin-left: 30px;
}

.menu ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

.menu ul li a:hover {
    color: #ffeaa7;
}

.menu-btn {
    display: none;
    background: white;
    color: #263c96;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 22px;
    cursor: pointer;
}

/* TOMBOL KEMBALI */
.back-btn {
    position: fixed;
    top: 95px;
    left: 20px;
    background: #00b894;
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    z-index: 998;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* BANNER */
.banner {
    min-height: 100vh;
    text-align: center;
    color: white;
    padding-top: 140px;
    background: linear-gradient(rgba(38,60,150,0.85), rgba(0,184,148,0.85)),
                url("gambar/background.jpg");
    background-size: cover;
    background-position: center;
}

.banner img {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    border: 6px solid white;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.banner h1 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 42px;
}

.banner p {
    font-size: 18px;
}

.banner-button {
    margin-top: 35px;
}

.btn,
.home-btn {
    display: inline-block;
    text-decoration: none;
    background: white;
    color: #263c96;
    padding: 13px 28px;
    border-radius: 30px;
    font-weight: bold;
    margin: 8px;
    transition: 0.3s;
}

.btn:hover,
.home-btn:hover {
    background: #ffeaa7;
    transform: translateY(-4px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #263c96;
}

/* ANIMASI TEKS */
h1 span::before {
    content: '';
    animation: gerak 8s infinite;
    color: #ffeaa7;
}

@keyframes gerak {
    0% {
        content: 'Selamat Datang';
    }

    50% {
        content: 'Saya Hadirat Syukur Ziliwu';
    }

    100% {
        content: 'Terima Kasih Sudah Singgah';
    }
}

/* TENTANG */
.tentang {
    padding: 90px 20px;
    text-align: center;
    background: white;
}

.tentang h1,
.box-pendidikan h1,
.skill h1,
.kontak h1 {
    color: #263c96;
    margin-bottom: 35px;
    font-size: 34px;
}

.tentang p {
    max-width: 850px;
    margin: auto;
    line-height: 1.8;
    font-size: 17px;
}

/* PENDIDIKAN */
.box-pendidikan {
    text-align: center;
    padding: 90px 20px;
}

.pendidikan-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.box-card {
    width: 300px;
    min-height: 360px;
    background: white;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: 0.3s;
}

.box-card:hover {
    background: linear-gradient(135deg, #263c96, #00b894);
    color: white;
    transform: translateY(-12px);
}

.box-card img {
    width: 105px;
    height: 105px;
    object-fit: contain;
    margin-bottom: 20px;
}

.box-card h3 {
    margin-bottom: 15px;
}

/* SKILL */
.skill {
    padding: 90px 20px;
    background: white;
    text-align: center;
}

.skill-box {
    max-width: 700px;
    margin: auto;
    text-align: left;
}

.skill-box p {
    margin: 18px 0 8px;
    font-weight: bold;
}

.bar {
    width: 100%;
    height: 16px;
    background: #ddd;
    border-radius: 20px;
    overflow: hidden;
}

.bar span {
    display: block;
    height: 100%;
    background: linear-gradient(135deg, #263c96, #00b894);
    border-radius: 20px;
}

/* KONTAK */
.kontak {
    text-align: center;
    padding: 90px 20px;
    background: #f4f7fb;
}

.kontak img {
    width: 95px;
    margin: 25px 0;
}

.kontak h2 {
    font-size: 20px;
    margin-bottom: 25px;
}

.kontak-link a {
    display: inline-block;
    text-decoration: none;
    background: #263c96;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    margin: 8px;
    transition: 0.3s;
}

.kontak-link a:hover {
    background: #00b894;
    transform: translateY(-4px);
}

/* BUTTON HALAMAN */
.button-group {
    display: flex;
    justify-content: center;
    padding: 35px 20px;
}

/* FOOTER */
.footer {
    text-align: center;
    background: #263c96;
    color: white;
    padding: 18px;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
    .navigasi {
        padding: 0 20px;
    }

    .menu {
        display: none;
        position: absolute;
        top: 75px;
        right: 0;
        width: 100%;
        background: #263c96;
        text-align: center;
    }

    .menu.active {
        display: block;
    }

    .menu ul {
        flex-direction: column;
    }

    .menu ul li {
        margin: 15px 0;
    }

    .menu-btn {
        display: block;
    }

    .banner h1 {
        font-size: 32px;
    }

    .banner p {
        padding: 0 20px;
    }

    .back-btn {
        top: 85px;
        left: 10px;
        font-size: 13px;
    }
}