/* ===================== GLOBAL ===================== */
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: linear-gradient(to bottom, #003e6b, #006aa8);
    color: white;
    min-height: 100vh;
}

/* Section */
.section {
    padding: 130px 20px 70px;
    max-width: 1100px;
    margin: auto;
}

/* ===================== NAVBAR ===================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 52, 89, 0.92);
    backdrop-filter: blur(6px);
    padding: 14px 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.4px;
    transition: 0.30s ease;
}

nav ul li a:hover {
    color: #4ed3ff;
    transform: translateY(-2px);
}
.menu-btn {
    display: none;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 30px;  /* 12px atas–bawah, 40px kiri–kanan */
}



/* ===================== HERO ===================== */
.hero {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 40px;
    animation: fadeIn 2s ease;
}

.hero img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(255,255,255,0.8);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.hero h1 {
    font-size: 38px;
    margin-top: 18px;
    letter-spacing: 0.7px;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===================== CARD ===================== */
.card {
    background: white;
    color: #003459;
    padding: 25px 30px;
    border-radius: 18px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border-left: 6px solid #4ed3ff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.25s ease;
}

.card.show {
    opacity: 1;
    transform: translateY(0);
}

.card h2 {
    color: #005b96;
}

.card p {
    color: #0a3d62;
}

/* ===================== HEADINGS ===================== */
h1 {
    font-size: 32px;
    font-weight: 700;
}

h2 {
     color: #ffffff;
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 700;
}

/* ===================== PARAGRAPHS ===================== */
p {
   color: #e8f6ff;
    font-size: 16px;
    line-height: 1.6;
}
/* GRID UNTUK DATA PERSONAL */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 25px;
    margin-top: 10px;
}

.info-grid p {
    margin: 0;
    color: #0a3d62;
    font-size: 15px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .footer-links a,
    .social-icons a {
        display: block;
        margin: 8px 0;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 60px 20px 50px; /* sebelumnya 130px */
    }
    nav ul {
        gap: 18px;
        flex-direction: column;
        position: absolute;
        top: 58px;
        right: 0;
        background: rgba(0, 52, 89, 0.97);
        width: 100%;
        padding: 12px 0;
        gap: 15px;
        display: none; /* default tertutup */
        text-align: center;
    }
     nav ul.show {
        display: flex;
    }
    .menu-btn {
        display: block;
        font-size: 24px;
        cursor: pointer;
        padding-right: 20px;
        user-select: none;
        color: white;
    }
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 28px;
        padding: 0 10px;
    }

    .card {
        padding: 20px;
    }
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-size: 15px;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.contact-form button {
    margin-top: 10px;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #006aa8;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: 0.30s ease;
}

.contact-form button:hover {
    background: #4ed3ff;
    color: #003459;
}

.btn-certificate {
    display: inline-block;
    padding: 10px 18px;
    background: #006aa8;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.25s ease;
    margin-top: 10px;
}

.btn-certificate:hover {
    background: #4ed3ff;
    color: #003459;
}
.project-buttons {
    margin-top: 12px;
    display: flex;
    gap: 12px;
}

.btn-project {
    display: inline-block;
    padding: 10px 18px;
    background: #006aa8;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.25s ease;
}

.btn-project:hover {
    background: #4ed3ff;
    color: #003459;
    transform: translateY(-2px);
}
#hand-animation {
width: 80px;
height: 80px;
display: inline-block;
vertical-align: middle;
 }

 #animal-animation {
    
width: 250px;
height: 250px;
display: inline-block;
vertical-align: middle;
 }

 /* ============================
        FOOTER STYLE
============================= */
footer {
    background: #003f7f; /* biru tua elegan */
    color: #fff;
    padding: 40px 20px;
    margin-top: 60px;
    text-align: center;
}

.footer-container h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.footer-container p {
    margin: 5px 0;
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-links {
    margin: 15px 0;
}

.footer-links a {
    margin: 0 10px;
    color: #cfe6ff;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.social-icons {
    margin: 15px 0;
}

.social-icons a {
    margin: 0 10px;
    color: #cfe6ff;
    font-weight: bold;
    text-decoration: none;
}

.social-icons a:hover {
    color: #fff;
}

footer .copyright {
    margin-top: 20px;
    font-size: 0.85rem;
    opacity: 0.7;
}
