/* ================== PENGATURAN DASAR & WARNA PINK ================== */
:root {
    --pink-latar: #fff5f8;
    --pink-utama: #ff6b88;
    --pink-gelap: #c7456e;
    --teks-gelap: #3a3a3c;
    --putih-konten: #ffffff;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--pink-latar);
    color: var(--teks-gelap);
    line-height: 1.7;
}

/* ================== GAYA UMUM ================== */
.bagian {
    padding: 80px 40px;
    text-align: center;
    background-color: var(--putih-konten);
}

.bagian.abu-abu {
    background-color: #fff9fb;
}

h2 {
    font-size: 2.5rem;
    color: var(--pink-gelap);
    margin-top: 0;
    margin-bottom: 20px;
}

.deskripsi-bagian {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    color: #555;
}

.tombol-utama {
    display: inline-block;
    background-color: var(--pink-utama);
    color: var(--putih-konten);
    padding: 15px 30px;
    margin-top: 20px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.tombol-utama:hover {
    background-color: var(--pink-gelap);
    transform: translateY(-3px);
}

/* ================== 1. HERO & ANIMASI BARU DI DALAMNYA ================== */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--teks-gelap);
    padding: 20px;
    position: relative; /* Penting untuk menampung animasi */
    overflow: hidden; /* Agar animasi tidak keluar dari hero */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Posisikan di belakang konten hero */
}

.bubbles {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.bubbles span {
    position: relative;
    width: 30px;
    height: 30px;
    background: var(--pink-utama);
    margin: 0 4px;
    border-radius: 50%;
    opacity: 0.5;
    animation: animate 15s linear infinite;
    animation-duration: calc(125s / var(--i));
}

@keyframes animate {
    0% {
        transform: translateY(100vh) scale(0);
    }
    100% {
        transform: translateY(-10vh) scale(1);
    }
}

.hero-content {
    max-width: 800px;
    position: relative; /* Agar tampil di atas animasi */
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--pink-gelap);
}

.hero-content .tagline {
    font-size: 1.5rem;
    font-weight: 400;
}


/* ================== KONTEN & FOOTER (AWALNYA TERSEMBUNYI) ================== */
main, footer {
    display: none;
}

/* ================== 3. TOPIK KUNCI (KARTU) ================== */
.kontainer-kartu {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.kartu {
    background-color: var(--putih-konten);
    width: 300px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(200, 100, 120, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--pink-utama);
}

.kartu:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(200, 100, 120, 0.15);
}

.kartu h3 {
    margin-top: 0;
    color: var(--pink-gelap);
    font-size: 1.4rem;
}

/* ================== 4. LANGKAH SEHAT ================== */
.kontainer-langkah {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 50px auto 0 auto;
    text-align: left;
}

.item-langkah h4 {
    font-size: 1.3rem;
    color: var(--pink-gelap);
    margin-bottom: 10px;
}

/* ================== 5. LEMBAR KERJA (FORM) ================== */
.form-lks {
    max-width: 700px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.grup-form {
    margin-bottom: 30px;
}

.grup-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--pink-gelap);
}

.grup-form input[type="text"],
.grup-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    box-sizing: border-box; 
    background-color: var(--putih-konten);
}

/* --- PERUBAHAN: HILANGKAN RESIZE TEXTAREA --- */
.grup-form textarea {
    resize: none;
}

.grup-form div {
    margin-bottom: 5px;
}

/* ================== 6. FOOTER ================== */
footer {
    background-color: var(--pink-gelap);
    color: var(--putih-konten);
    text-align: center;
    padding: 40px 20px;
}

footer .tombol-utama {
    background-color: var(--putih-konten);
    color: var(--pink-utama);
    border: 2px solid var(--putih-konten);
}

footer .tombol-utama:hover {
    background-color: transparent;
    color: var(--putih-konten);
}

footer a {
    text-decoration: none;
}

.footer-kecil {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 20px;
}