/* Import Font */
:root {
    --primary-color: #0d47a1; /* Biru tua seperti di gambar */
    --secondary-color: #1976d2; /* Biru sedikit lebih muda */
    --text-light: #ffffff;
    --text-dark: #333;
    --bg-light: #f4f7f6;
    --border-color: #ddd;
    --positive-bg: #f8d7da;
    --positive-text: #721c24;
    --negative-bg: #d4edda;
    --negative-text: #155724;
}

/* Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background: linear-gradient(to right, #0F172A , #312E81);
    
    background-attachment: fixed; /* Agar background diam saat discroll */
    min-height: 100vh;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navbar */
header {
    background: linear-gradient(to right,#0F172A , #4C1D95  );
    color: var(--text-light);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

    position: relative;
    z-index: 3;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}

.cta-button {
    background-color: var(--text-light);
    color: var(--primary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    
}

.cta-button:hover {
    background-color: #e0e0e0;
}

/* Form Container */
main {
    padding: 3rem 0;
}

.form-container {
    background: var(--text-light);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-container h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-container p {
    text-align: center;
    margin-bottom: 2rem;
    color: #666;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 kolom */
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.form-group input {
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(13, 71, 161, 0.2);
}

.submit-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    
}

.submit-button:hover {
    background-color: var(--secondary-color);
}
.header-logo {
    width: 64px;  /* Ukuran logo */
    height: 64px; /* Ukuran logo */
    background-color: white; /* Latar belakang putih */
    border-radius: 50%;      /* Membuatnya bulat */
    padding: 4px;            /* Jarak sedikit antara logo dan tepi lingkaran */
    box-sizing: border-box;  /* Agar padding tidak menambah ukuran total */
    margin-right: 10px;      /* Jarak ke teks "InsulinGoingUP" */
}

/* Result Container */
#result-container {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 5px;
    border: 1px solid transparent;
}

#result-container.hidden {
    display: none;
}

#result-container h3 {
    margin-bottom: 0.5rem;
}

/* Kelas dinamis untuk hasil */
#result-container.positive {
    background-color: var(--positive-bg);
    color: var(--positive-text);
    border-color: #f5c6cb;
}

#result-container.negative {
    background-color: var(--negative-bg);
    color: var(--negative-text);
    border-color: #c3e6cb;
}

/* Responsif untuk Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Sembunyikan link di mobile untuk simpel */
    }

    .form-grid {
        grid-template-columns: 1fr; /* 1 kolom di mobile */
    }
}

/* --- Tambahan CSS untuk Halaman Depan --- */

.hero-section {
    /* Menggunakan warna biru utama sebagai latar belakang */
    background: linear-gradient(135deg, #0F172A 0%, #4C1D95 100%);
    background-attachment: fixed; /* Agar background diam saat discroll */
    min-height: 100vh;
    color: var(--text-light);
    
    /* Mengisi tinggi layar (dikurangi tinggi header) */
    min-height: calc(100vh - 75px); /* Sesuaikan 75px jika tinggi header beda */
    
    /* Posisikan konten di tengah */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-button {
    background-color: var(--text-light);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    
}

.hero-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px); /* Efek sedikit terangkat */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    
}

/* --- Tambahan CSS untuk Tombol Hasil --- */
.result-button {
    display: inline-block; /* Agar bisa di-style */
    margin-top: 1.5rem; /* Jarak dari teks di atasnya */
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none; /* Hilangkan garis bawah link */
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    
}

/* Tombol Konsultasi (Tidak Aman) */
.consult-button {
    background-color: var(--positive-text); /* Ambil warna merah tua dari box */
    color: var(--text-light);
    border-color: var(--positive-text);
}
.consult-button:hover {
    background-color: #a02c3a; /* Sedikit lebih terang saat disentuh */
}

/* Tombol Eskrim (Aman) */
.icecream-button {
    background-color: var(--negative-text); /* Ambil warna hijau tua dari box */
    color: var(--text-light);
    border-color: var(--negative-text);
}
.icecream-button:hover {
    background-color: #1fa3e0; /* Sedikit lebih terang saat disentuh */
}

/* --- Tambahan CSS untuk Tombol Unduh PDF --- */
.download-button {
    background-color: #555; /* Warna abu-abu netral */
    color: var(--text-light);
    border-color: #555;
    width: 100%; /* Lebar penuh agar rapi */
    margin-bottom: 1rem; /* Jarak ke teks 'small' di bawahnya */
}

.download-button:hover {
    background-color: #333;
}

/* Tombol tetap tersembunyi jika memiliki kelas 'hidden' */
.download-button.hidden {
    display: none;
}





/* --- Hero Section (Tata Letak 2 Kolom) --- */

.hero-section {
    /* Latar belakang biru muda seperti di gambar */
    background-color: #e6f0ff; 
    padding: 10px 0; /* Memberi spasi atas dan bawah */
    
}

.hero-content {
    /* INI KUNCINYA: Membuat 2 kolom */
    display: flex;
    align-items: center;        /* Menengahkan kolom secara vertikal */
    justify-content: center; /* Memberi spasi antara 2 kolom */
    gap: 15px;                  /* Jarak antar kolom */

    
}

/* --- Kolom Teks Knn --- */
.hero-text {
    flex: 1; /* Kolom teks akan mengambil sisa ruang */
    max-width: 50%; /* Kolom teks sedikit lebih lebar */
    text-align: left;
}

/* --- Kolom Gambar kirri --- */
.hero-image {
    flex: 1;
    max-width: 30%;
    position: relative; /* Penting agar z-index bekerja */
    z-index: 1;
}

.hero-image img {
    width: 100%;  /* Gambar akan mengisi lebar kolomnya */
    height: auto;
}


/* --- GAYA FONT (Seperti di Gambar) --- */
.hero-text h1 {
    font-family: 'Poppins', sans-serif; /* Anda sudah mengimpor ini, bagus! */
    font-size: 4rem;  /* 56px - Ukuran SANGAT BESAR */
    font-weight: 700;   /* Bold (tebal) */
    color: #ffffff;    /* Hitam pekat */
    line-height: 1.2;   /* Jarak antar baris agar tidak bertumpuk */
    margin-bottom: 10px; /* Jarak ke paragraf di bawahnya */

    text-align: left;
}

.hero-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem; /* 18px - Ukuran sub-heading */
    color: #dedef1;       /* Abu-abu gelap agar lebih mudah dibaca */
    margin-bottom: 30px; /* Jarak ke tombol */

    text-align: left;

    
}

/* --- Halaman Tentang Kami (Tata Letak Baru) --- */

/* Memberi latar belakang yang tenang agar teks mudah dibaca */
body.page-tentang {
    background-color: #f4f7fc; /* Biru sangat pucat, hampir putih */
}

.about-section {
    padding: 60px 0;
    width: 100%;
}

.about-content {
    display: flex;
    flex-wrap: wrap; /* Agar responsif di HP */
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    background-color: #ffffff; /* Kotak putih bersih */
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
}

/* --- Kolom Kiri (Teks) --- */
.about-text {
    flex: 1; /* Mengambil ruang yang tersedia */
    min-width: 300px; /* Lebar minimum sebelum pindah ke bawah */
    flex-basis: 55%;
}

.about-text h2 {
    /* Warna ungu tua dari web Anda */
    color: #4a00e0; 
    font-size: 2.8rem; /* 44px */
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.about-text h3 {
    color: #333;
    font-size: 1.5rem; /* 24px */
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.about-text p {
    color: #555; /* Abu-abu gelap agar mudah dibaca */
    font-size: 1rem;
    line-height: 1.7;
    font-family: 'Poppins', sans-serif;
}

.about-text p.intro {
    font-size: 1.1rem; /* Paragraf intro sedikit lebih besar */
    color: #333;
    margin-bottom: 25px;
}


/* --- Kolom Kanan (Gambar) --- */
.about-image {
    flex: 1;
    flex-basis: 40%;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); 
}


/* --- Bagian Stats (BARU) --- */
.stats-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0; /* Garis pemisah */
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-basis: 30%;
}

.stat-number {
    font-size: 2.8rem; /* 44px */
    font-weight: 700;
    /* Warna ungu utama Anda */
    color: #4a00e0; 
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 0.9rem; /* 14px */
    color: #777;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* --- Halaman hubungi kami (BARU) --- */

/* Latar belakang gradasi ungu untuk seluruh halaman */
body.page-kontak {
    background: linear-gradient(to right, #0F172A , #312E81 );
    min-height: 100vh;
}

/* Bagian ini untuk menengahkan kotak formulir */
.contact-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

/* Kotak formulir putih (inspirasi dari gambar) */
.contact-container {
    max-width: 600px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden; /* Penting agar header-nya ikut melengkung */
}

/* Header formulir (gradasi ungu) */
.contact-header {
    background: linear-gradient(to right, #8e2de2, #4a00e0);
    padding: 35px 40px;
    text-align: center;
}

.contact-header h2 {
    color: #ffffff;
    font-size: 2.5rem; /* 40px */
    font-weight: 700;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* Formulir dan input-inputnya */
.contact-form {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px; /* Jarak antar field */
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem; /* 14px */
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Efek 'focus' saat diklik */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8e2de2; /* Garis ungu saat fokus */
    box-shadow: 0 0 0 3px rgba(142, 45, 226, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Tombol Kirim Pesan (ungu) */
.form-submit-btn {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(to right, #8e2de2, #4a00e0);
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.form-submit-btn:hover {
    box-shadow: 0 8px 20px rgba(142, 45, 226, 0.4);
    transform: translateY(-2px);
}

/* --- Halaman Kontak (Menyatu dengan Background + Animasi) --- */

/* Latar belakang gradasi ungu untuk seluruh halaman, ini SUDAH ADA */
body.page-kontak {
    background: linear-gradient(to right, #0F172A , #312E81);
    min-height: 100vh;
   
    position: relative; /* Penting untuk posisi shapes */
}

/* Kotak formulir utama - HAPUS WARNA PUTIH DAN SHADOW */
.contact-container {
    max-width: 900px; /* Lebarkan sedikit agar lebih lega */
    width: 100%;
    /* HAPUS background-color: #ffffff; */ 
    /* HAPUS box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); */
    border-radius: 15px; /* Sedikit lebih melengkung */
    overflow: hidden;
    position: relative; /* Untuk z-index agar di atas shapes */
    z-index: 2; /* Agar elemen ini di atas shapes */
    backdrop-filter: blur(5px); /* Efek blur tembus pandang */
    background-color: rgba(255, 255, 255, 0.15); /* Transparan putih */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Garis transparan */
}


/* Header formulir (biarkan gradasi ungu seperti sebelumnya) */
.contact-header {
    background: linear-gradient(to right, #6e00d0, #3a0090); /* Sedikit lebih gelap */
    padding: 35px 40px;
    text-align: center;
}

.contact-header h2 {
    color: #ffffff; /* Ubah ke putih */
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* Layout 2 Kolom untuk Konten Kontak */
.contact-body {
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
    padding: 50px; /* Padding lebih besar */
    align-items: center;
    justify-content: center;
}

.contact-info-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.contact-info-text p {
    color: #ffffff; /* Ubah ke putih */
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.email-link {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff; /* Ubah ke putih */
    text-decoration: none;
    padding: 18px 30px;
    border: 2px solid rgba(255, 255, 255, 0.5); /* Garis transparan putih */
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1); /* Latar transparan */
}

.email-link:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Lebih transparan saat hover */
    border-color: #ffffff; /* Garis putih penuh saat hover */
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.email-note {
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.7) !important; /* Ubah ke putih transparan */
    margin-top: 25px;
    margin-bottom: 0;
}

.contact-image {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); /* Shadow lebih gelap */
}

/* --- Animated Background Shapes (Versi Ramah & Ringan) --- */

.animated-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1; /* Di belakang konten utama */
}

.shape {
    position: absolute;
    /* Opacity lebih rendah agar lebih subtle/ramah */
    background: rgba(255, 255, 255, 0.12); 
    border-radius: 50%;
    
    /* Animasi baru yang lebih ringan */
    animation: gentleBob 20s infinite ease-in-out; 
}

/* Mengatur ukuran, posisi, dan ritme yang berbeda-beda
   untuk setiap shape agar terlihat alami.
*/
.shape-1 {
    width: 90px; height: 90px;
    top: 15%; left: 10%;
    animation-duration: 25s; /* Durasi lebih lama = lebih lambat */
    animation-delay: 1s;
}
.shape-2 {
    width: 130px; height: 130px;
    top: 50%; left: 85%;
    animation-duration: 30s;
    animation-delay: 3s;
    background: rgba(255, 255, 255, 0.1);
}
.shape-3 {
    width: 70px; height: 70px;
    top: 85%; left: 25%;
    animation-duration: 22s;
    animation-delay: 5s;
    background: rgba(255, 255, 255, 0.15);
}
.shape-4 {
    width: 110px; height: 110px;
    top: 25%; left: 70%;
    animation-duration: 28s;
    animation-delay: 2s;
    background: rgba(255, 255, 255, 0.08);
}
.shape-5 {
    width: 80px; height: 80px;
    top: 65%; left: 5%;
    animation-duration: 24s;
    animation-delay: 7s;
}
.shape-6 {
    width: 100px; height: 100px;
    top: 5%; right: 5%;
    animation-duration: 27s;
    animation-delay: 4s;
    background: rgba(255, 255, 255, 0.11);
}
.shape-7 {
    width: 50px; height: 50px;
    bottom: 10%; left: 50%;
    animation-duration: 20s;
    animation-delay: 6s;
    background: rgba(255, 255, 255, 0.18);
}
.shape-8 {
    width: 150px; height: 150px;
    bottom: 20%; right: 10%;
    animation-duration: 35s; /* Sangat lambat */
    animation-delay: 8s;
    background: rgba(255, 255, 255, 0.07);
}


/* Keyframes untuk Animasi Gerak Mengapung (Ringan) */
@keyframes gentleBob {
    0% {
        transform: translateY(0);
        opacity: 0.5;
    }
    50% {
        /* Hanya bergerak 20px ke atas dan opacity sedikit naik */
        transform: translateY(-20px); 
        opacity: 0.8;
    }
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }
}

/* Versi Webkit (Safari/Chrome lama) */
@-webkit-keyframes gentleBob {
    0% {
        -webkit-transform: translateY(0);
        opacity: 0.5;
    }
    50% {
        -webkit-transform: translateY(-20px);
        opacity: 0.8;
    }
    100% {
        -webkit-transform: translateY(0);
        opacity: 0.5;
    }
}




/* ================================================= */
/* === 2. Animasi Latar Belakang (Bubbles) === */
/* ================================================= */

/* Kontainer untuk gelembung */
.animated-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1; /* Lapisan paling bawah */
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.12); /* Putih transparan halus */
    border-radius: 50%;
    animation: gentleBob 20s infinite ease-in-out; 
}

/* Variasi acak untuk gelembung */
.shape-1 { width: 90px; height: 90px; top: 15%; left: 10%; animation-duration: 25s; animation-delay: 1s; }
.shape-2 { width: 130px; height: 130px; top: 50%; left: 85%; animation-duration: 30s; animation-delay: 3s; }
.shape-3 { width: 70px; height: 70px; top: 85%; left: 25%; animation-duration: 22s; animation-delay: 5s; }
.shape-4 { width: 110px; height: 110px; top: 25%; left: 70%; animation-duration: 28s; animation-delay: 2s; }
.shape-5 { width: 80px; height: 80px; top: 65%; left: 5%; animation-duration: 24s; animation-delay: 7s; }
.shape-6 { width: 100px; height: 100px; top: 5%; right: 5%; animation-duration: 27s; animation-delay: 4s; }
.shape-7 { width: 50px; height: 50px; bottom: 10%; left: 50%; animation-duration: 20s; animation-delay: 6s; }
.shape-8 { width: 150px; height: 150px; bottom: 20%; right: 10%; animation-duration: 35s; animation-delay: 8s; }

/* Keyframes untuk animasi gelembung (naik-turun halus) */
@keyframes gentleBob {
    0%   { transform: translateY(0); opacity: 0.5; }
    50%  { transform: translateY(-20px); opacity: 0.8; }
    100% { transform: translateY(0); opacity: 0.5; }
}

@-webkit-keyframes gentleBob {
    0%   { -webkit-transform: translateY(0); opacity: 0.5; }
    50%  { -webkit-transform: translateY(-20px); opacity: 0.8; }
    100% { -webkit-transform: translateY(0); opacity: 0.5; }
}

/* ================================================= */
/* === 3. Kotak Konten ("Kartu Putih") === */
/* ================================================= */

.contact-container {
    max-width: 900px; /* Lebar kartu */
    width: 100%;
    background-color: #ffffff; /* Latar belakang KARTU PUTIH */
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2); /* Bayangan agar terlihat "mengambang" */
    overflow: hidden; /* Agar header-nya ikut melengkung */
}

.contact-header {
    background: linear-gradient( #fefdff); /* Header gradasi ungu */
    padding: 35px 40px;
    text-align: center;
}

.contact-header h2 {
    color: #542ca4; /* Teks header putih */
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

/* ================================================= */
/* === 4. Isi Konten (2 Kolom) === */
/* ================================================= */

.contact-body {
    display: flex; /* Mengaktifkan 2 kolom */
    flex-wrap: wrap; /* Agar responsif di HP */
    gap: 30px; 
    padding: 50px; /* Jarak di dalam kartu */
    align-items: center; 
}

.contact-info-text {
    flex: 1; /* Kolom teks */
    min-width: 300px;
    text-align: left; /* Teks rata kiri */
}

.contact-image {
    flex: 1; /* Kolom gambar */
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-image img {
    width: 120%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
}

/* Styling teks di dalam kartu */
.contact-info-text p {
    font-size: 1.1rem;
    color: #000000; /* Teks abu-abu gelap (mudah dibaca) */
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Styling link email */
.email-link {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #4a00e0; /* Teks ungu */
    text-decoration: none;
    padding: 18px 30px;
    border: 2px solid #e0e0e0; /* Garis batas abu-abu */
    border-radius: 8px;
    transition: all 0.3s ease;
}

.email-link:hover {
    background-color: #f4f0ff; /* Efek hover ungu muda */
    border-color: #8e2de2;
    color: #8e2de2;
}

.email-note {
    font-size: 0.9rem !important;
    color: #1d1d1d !important; /* Teks catatan abu-abu muda */
    margin-top: 25px;
    margin-bottom: 0;
}


/* ============================================== */
/* === TAMPILAN KHUSUS HP (Responsive Mobile) === */
/* ============================================== */

/* Kode di dalam sini HANYA jalan di layar max 768px (HP/Tablet Portrait) */
@media (max-width: 768px) {
    
    /* 1. Kecilkan Judul Utama */
    .hero-text h1 {
        font-size: 2.5rem; /* Dari 3.8rem jadi lebih kecil */
        text-align: center; /* Tengahkan teks di HP */
    }

    .hero-text p {
        text-align: center;
        font-size: 1rem;
    }

    /* 2. Atur ulang Hero Section */
    .hero-content {
        flex-direction: column-reverse; /* Gambar di atas, Teks di bawah (atau sebaliknya) */
        text-align: center;
        padding-top: 40px; /* Kurangi padding */
    }

    /* 3. Gambar Miku & Text jadi lebar penuh */
    .hero-image, .hero-text {
        max-width: 100%;
        text-align: center; /* Pastikan semua rata tengah */
    }

    .hero-image img {
        max-width: 80%; /* Agar gambar tidak terlalu memenuhi layar HP */
        margin: 0 auto; /* Tengahkan gambar */
    }

    .hero-button {
        display: block;
        margin: 0 auto; /* Tengahkan tombol */
        width: 80%; /* Tombol agak lebar */
        text-align: center;
    }

    /* 4. Sesuaikan Navigasi */
    nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        gap: 15px;
        font-size: 0.9rem;
    }
}

/* --- TAMBAHAN UNTUK KOTAK NASIHAT (ADVICE) --- */
.advice-box {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: left; /* Agar list poin rata kiri */
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Warna untuk Risiko Tinggi (Kuning/Oranye) */
.advice-box.warning {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

/* Warna untuk Risiko Rendah (Hijau) */
.advice-box.safe {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

/* Merapikan List (Poin-poin) */
.advice-box ul {
    margin-top: 10px;
    padding-left: 20px;
    margin-bottom: 0;
}

.advice-box li {
    margin-bottom: 5px;
}

/* Merapikan Tombol PDF agar tidak nempel */
#download-pdf {
    margin-top: 20px;
    display: inline-block;
    width: 100%;
}

