@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&display=swap');
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
     font-family: 'Lexend', sans-serif;
}
:root {
    --primary: #2d5a27;
    --secondary: #78a962;
    --light: #f4f8f4;
    --dark: #1e3a1a;
    --white: #ffffff;
    --accent-green: #a8e091;
    --border-color: #e0eadd;
    --transition-smooth: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

img {
    max-width: 100%;
    height: auto;
}



html, body {
     max-width: 100%;
    overflow-x: hidden; /* Kunci agar tidak goyang ke kanan-kiri */
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}


body { 
  font-family: 'Lexend', sans-serif;
    background-color: var(--light); 
    color: #333; 
    overflow-x: hidden;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- 2. HEADER SECTION --- */
.res-header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(72, 70, 70, 0.6)), 
                url('https://images.unsplash.com/photo-1540555700478-4be289fbecef?q=80&w=2070') center/cover;
    min-height: 350px;
     height: auto;
    padding: 100px 20px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.res-header h1 { 
    font-size: clamp(2rem, 5vw, 3.2rem); 
    margin: 15px 0; 
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.res-header h1 .highlight { color: #81e663; font-weight: 700; }

.res-tagline {
    display: inline-block;
    background: rgba(168, 224, 145, 0.2);
    padding: 6px 22px;
    border-radius: 50px;
    border: 1px solid rgba(168, 224, 145, 0.4);
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.text-1, .text-2 { 
    display: block; 
    max-width: 700px; 
    margin: 5px auto; 
    font-size: 1.05rem; 
    line-height: 1.6; 
}

/* --- 3. ANIMATION DEFINITIONS --- */
@keyframes zoomAndShrink {
    0% { opacity: 0; transform: scale(2.5) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; visibility: hidden; transform: translateY(20px); }
    to { opacity: 1; visibility: visible; transform: translateY(0); }
}

/* Hero Elements Initial State */
.delay-judul, .text-1, .text-2 { 
    opacity: 0; 
    visibility: hidden; 
    animation-fill-mode: forwards; 
}

/* Sequence Hero Animations */
.animate-tagline { animation: zoomAndShrink 1.2s forwards ease-in-out; }
.delay-judul { animation: fadeUp 0.8s forwards ease-out 0.5s; }
.text-1 { animation: fadeUp 0.8s forwards ease-out 0.9s; }
.text-2 { animation: fadeUp 0.8s forwards ease-out 1.3s; }

/* Form & Guide Initial State (Will be triggered by JS) */
.res-form-container, .res-guide {
    opacity: 0;
    visibility: hidden;
    transform: translateY(40px);
    transition: var(--transition-smooth);
}

/* Trigger Class from JS */
.res-form-container.active, .res-guide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- 4. LAYOUT & CONTENT --- */
.res-content { padding: 100px 0; margin-top: -80px; position: relative; z-index: 10; }

.res-stack {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 950px;
    margin: 0 auto;
}

.guide-box {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-section {
    background: #ffffff;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    transition: 0.3s;
}

.form-section:hover {
    border-color: var(--secondary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.section-title {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--light);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- 5. FORM ELEMENTS --- */
.form-row { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

select, input, textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

/* --- 5. FORM ELEMENTS END --- */

label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; color: var(--dark); }
label i { color: var(--secondary); margin-right: 5px; }

input, select, textarea {
    width: 100%; padding: 14px; border: 1.5px solid #e0e0e0;
    border-radius: 12px; font-family: inherit; background: #fafafa; transition: 0.3s;
}

input:focus, select:focus, textarea:focus { 
    outline: none; 
    border-color: var(--primary); 
    background: var(--white); 
    box-shadow: 0 0 0 4px rgba(45, 90, 39, 0.05);
}

/* Gender Selection */
.gender-selection { display: flex; gap: 15px; margin-top: 5px; }
.gender-box { flex: 1; cursor: pointer; }
.gender-box input { display: none; }
.gender-custom {
    display: block; padding: 12px; text-align: center;
    border: 1.5px solid #ddd; border-radius: 10px;
    background: #fafafa; transition: 0.3s; font-size: 0.9rem; color: #666;
}
.gender-box input:checked + .gender-custom {
    background: #e8f5e9; border-color: var(--primary);
    color: var(--primary); font-weight: 600;
}

/* --- 6. BUTTON & STEPS --- */
.btn-res {
    width: 100%; padding: 18px; background-color: #25D366 !important; color: white;
    border: none; border-radius: 12px; font-size: 1rem; font-weight: 600;
    cursor: pointer; display: flex; align-items: center; justify-content: center; 
    gap: 12px; transition: 0.3s;
}

.btn-res:hover { 
    background-color: #128c7e !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.step-card {
    background: #f9f9f9; padding: 20px; border-radius: 12px;
    border-left: 4px solid var(--primary); text-align: center;
}

.step-num {
    font-size: 1.5rem; font-weight: bold; color: var(--primary);
    margin-bottom: 10px; display: block;
}

.info-text {
    display: block; margin-top: 5px; color: var(--primary);
    font-weight: 500; font-size: 0.85rem;
}



/* --- 7. RESPONSIVE MOBILE ( ANDROID & IPHONE --- */
@media (max-width: 768px) {
    .res-header h1 { font-size: 1.8rem; }
    .form-row { grid-template-columns: 1fr; } /* Input jadi 1 kolom */
    .selection-header { flex-direction: column; gap: 10px; }
    .section-hint { font-size: 1.2rem; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand, .footer-contact, .footer-social { align-items: center; }
    .main-footer h4::after { left: 50%; transform: translateX(-50%); }
    
    .nav-links {
        width: 80% !important; /* Sidebar menu lebih luas */
    }
}

.main-header {
   background-color: #ffffff;
    width: 100%;
    position: fixed;
    top: 0;
    font-family: 'Lexend', sans-serif;
   z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
     display: flex;
    justify-content: space-between; /* Logo kiri, Menu/Button kanan */
    align-items: center;
    height: 80px;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

/* --- 3. Logo & Menu Styling --- */
.logo img {
  height: 50px; /* Kunci tinggi secara konsisten */
    width: auto;
    max-width: 180px; 
    object-fit: contain;
}

.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    gap: 20px; /* Jarak antar menu teks */
}

.nav-links li {
      position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a {
      text-decoration: none;
    color: #555;
     font-weight: 600; /* Lexend sudah tebal, gunakan 500 agar lebih elegan */
    font-family: 'Lexend', sans-serif;
    padding: 10px 0;
   transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-block;
}

.nav-links a:hover {
    color: #2d5a27;
}

.nav-links a::after {
     content: '';
    position: absolute;
    bottom: -5px; /* Jarak garis di bawah teks */
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #2d5a27;
    border-radius: 10px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    pointer-events: none; 
}

/* --- Kondisi: Muncul saat Hover ATAU Saat Class .active Ada --- */
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%; /* Garis memanjang penuh */
}

/* --- Warna Khusus untuk Teks Aktif --- */
.nav-links a.active {
    color: #2d5a27;
}

/* --- Penyesuaian Khusus Tombol Reservasi agar Garis Tidak Menempel --- */
.nav-links a.btn-reservasi::after {
    bottom: -10px; /* Lebih turun agar tidak menempel di oval */
    width: 0;
}

/* --- 4. Button Style --- */
.btn-reservasi {
    background: linear-gradient(135deg, #2d5a27 0%, #4a8a3f 100%) !important;
    color: white !important;
    
    /* KUNCI UKURAN: Padding kiri-kanan ditambah agar teks tidak sesak */
    padding: 12px 32px !important; 
    font-family: 'Lexend', sans-serif;
    
    border-radius: 50px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    
    /* Mencegah teks turun atau terpotong */
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap !important; 
    line-height: 1.2 !important; /* Memberi ruang vertikal yang stabil */
    
    border: none !important;
    transition: 0.3s !important;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-reservasi:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* --- 5. Mobile Toggle Logic --- */
#check {
    display: none !important;
}

.menu-btn {
    display: none; /* Sembunyi di desktop */
    font-size: 28px;
    cursor: pointer;
    color: #2d5a27;
    z-index: 10002;
}

/* --- 6. Media Query (Responsive Mobile) --- */
@media (max-width: 768px) {
    .navbar {
        height: 70px;
        justify-content: space-between; /* Logo tetap kiri, Hamburger kanan */
    }

    .menu-btn {
        display: block;
        position: relative;
        z-index: 1100;
        cursor: pointer;
    }

    .nav-links {
       position: fixed;
        width: 75%; /* Sedikit diperlebar agar proporsional */
        height: 100vh !important; /* Pakai 100vh agar kotak putih full sampai bawah, tidak memotong tombol */
        background: #ffffff;
        top: 0; /* Mulai dari paling atas layar */
        right: -100%;
        transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 100px 20px 40px 20px; /* Padding bawah (40px) menjaga tombol tidak mepet */
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1050;
        overflow-y: auto;
    }

    #check:checked ~ .nav-links {
        right: 0;
    }

    /* --- Animasi Isi Menu (Tetap Berurutan dari Atas) --- */
    .nav-links li {
        width: 100%;
        margin: 10px 0; /* Jarak antar menu dibuat pas */
        display: flex;
        justify-content: center;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.4s ease;
    }

    #check:checked ~ .nav-links li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Delay Berurutan */
    #check:checked ~ .nav-links li:nth-child(1) { transition-delay: 0.2s; }
    #check:checked ~ .nav-links li:nth-child(2) { transition-delay: 0.3s; }
    #check:checked ~ .nav-links li:nth-child(3) { transition-delay: 0.4s; }
    #check:checked ~ .nav-links li:nth-child(4) { transition-delay: 0.5s; }
    #check:checked ~ .nav-links li:nth-child(5) { transition-delay: 0.6s; }

    .nav-links li a {
        font-size: 1.1rem;
        color: #444;
        font-weight: 600;
        padding: 10px 0;
    }

    /* --- Perbaikan Tombol (Tidak Melebar & Tidak Tertutup) --- */
    .nav-links li .btn-reservasi {
        display: inline-flex !important;
        justify-content: center;
        align-items: center;
        background: linear-gradient(135deg, #2d5a27 0%, #4a8a3f 100%) !important;
        color: #ffffff !important;
        padding: 12px 25px !important;
        border-radius: 50px !important;
        width: auto !important; /* Tombol tidak full selebar sidebar */
        min-width: 190px; 
        margin: 20px auto !important; /* Jarak aman dari menu Informasi */
        font-size: 0.95rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
}
/* --- 5. FOOTER STYLING --- */
.main-footer {
    background-color: #1e3d1a;
    color: #ffffff;
    padding: 70px 0 20px;
    font-family: 'Lexend', sans-serif;
    margin-top: 60px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1200px; /* Tambahkan batas lebar maksimal */
    margin: 0 auto;
    padding: 0 20px;
}

.footer-brand {
   display: flex;
    flex-direction: column;
    align-items: flex-start; /* Memastikan logo dan elemen flex lainnya berbaris di kiri */
}

.footer-brand .footer-logo {
    height: 80px;
    width: auto; /* Tambahkan ini */
    max-width: 200px; /* Batasi lebar maksimal di mobile */
    margin-bottom: 15px;
    display: block;
}

.footer-brand h3 {
     font-size: 1.5rem;
    margin-bottom: 10px;
    color: #f1f8f1;
    font-weight: 700;
}


.footer-brand p {
   line-height: 1.6;
    opacity: 0.8;/* Opsional: Membatasi lebar teks agar enak dibaca saat rata kiri */
    max-width: 310px; 
    text-align: left;
    margin-top: 10px;
}

.main-footer h4 {
     color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
    
}

.main-footer h4::after {
   content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #78a962;
}

/* 1. KODE UTAMA (UNTUK LAPTOP) - Taruh di Atas */
.footer-grid {
    display: grid;
    /* Kolom pertama (1fr) dibuat seimbang dengan kolom lainnya */
    grid-template-columns: 1.1fr 1.2fr 0.7fr; 
    gap: 40px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}


/* --- 4. RESPONSIVE (Unified Mobile) --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Menjadi 1 kolom */
        text-align: center;         /* Semua teks ke tengah */
        gap: 50px;
    }

    .footer-brand, 
    .footer-contact, 
    .footer-social {
        align-items: center;        /* Menengahkan konten flex */
        text-align: center;
    }

    .footer-brand .footer-logo {
        margin: 0 auto 15px;        /* Logo ke tengah */
    }

    .main-footer h4::after {
        left: 50%;
        transform: translateX(-50%); /* Garis bawah judul ke tengah */
    }

    .footer-contact ul li {
        justify-content: center;    /* Isi alamat ke tengah */
    }

    .social-icons {
        justify-content: center;    /* Ikon sosmed ke tengah */
    }
}

.footer-contact h4, 
.footer-social h4 {
    margin-top: 20px; /* Menambah jarak dari elemen di atasnya (logo/deskripsi) */
    position: relative; /* Wajib ada agar border-bottom (absolute) merujuk ke sini */
    padding-bottom: 10px; /* Memberi ruang antara teks dan garis bawah */
    display: inline-block; /* Memastikan width garis mengikuti teks jika dibutuhkan */
}


/* Mengatur garis bawah (border-bottom) agar berada di tengah */
.footer-contact h4::after, 
.footer-social h4::after {
    content: ""; /* Pastikan content ada agar garis muncul */
    position: absolute;
    bottom: -8px; /* Jarak garis dari teks */
    left: 50%; /* Mulai dari titik tengah */
    transform: translateX(-50%); /* Geser balik 50% lebar garis agar presisi di tengah */
    
    /* Contoh ukuran garis (sesuaikan dengan desain Anda) */
    width: 50px; 
    height: 2px;
    background-color: #91be77; 
}

/* --- 1. FOOTER COMPONENTS --- */
.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-contact ul li {
   display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact ul li i {
     color: #78a962;
    margin-top: 5px;
}



.social-icons {
      display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
   background-color: #78a962;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    margin-top: 50px;
    text-align: center;
    padding: 0 20px;
}

.footer-bottom hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.85rem;
}


@media (min-width: 600px) and (max-width: 1024px) {
    /* Footer iPad: Tetap 3 kolom tapi dengan penyesuaian lebar */
    .footer-grid {
        grid-template-columns: 1.5fr 1.2fr 1fr !important;
        gap: 20px;
        text-align: left;
    }

    .footer-brand .footer-logo {
        height: 60px; /* Perkecil sedikit logo di footer */
    }

    /* Navbar iPad: Perkecil jarak antar menu agar tidak tumpah */
    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .btn-reservasi {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}
/* Bagian copyright bawah */
.footer-bottom {
    text-align: center;
    padding-top: 15px;
    margin-top: 30px; /* Kurangi margin atas footer bottom */
}

.footer-bottom hr {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 15px;
}


/* Ikon Hamburger */
.checkbtn {
    font-size: 24px;
    color: #2d5a27; /* Gunakan warna hijau gelap Anda agar kontras */
    cursor: pointer;
    display: none; /* Default sembunyi di desktop */
    
    /* KUNCI UTAMA */
    position: fixed; 
    z-index: 1001;  /* Berikan nilai tertinggi agar tidak tertutup apapun */
    float: right;
    line-height: 60px; /* Sesuaikan dengan tinggi navbar Anda */
    margin-right: 10px;
    transform: translateY(-35%);
}
/* --- 8. Responsive --- */
/* --- 8. Responsive Perbaikan (Tampilan Padat & Rata Tengah) --- */
@media (max-width: 858px) {
    .checkbtn {
        display: block;
      position: absolute;
        right: 20px;
        top: 25px;
        z-index: 1100; /* Angka keramat agar selalu di atas */
    }

    .nav-links {
        position: fixed;
        width: 65%;               /* Lebar sidebar proporsional */
        height: auto !important;  /* KUNCI: Kotak putih hanya mengikuti isi, tidak ke bawah layar */
        max-height: 90vh;         /* Batas maksimal agar tidak melebihi layar hp */
        background: #ffffff;
        top: 20px;                /* Memberi jarak dari atas layar */
        right: -100%;
        transition: all 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
        align-items: center;      /* KUNCI: Semua konten rata tengah */
        padding: 40px 0 20px 0;   /* Padding atas dan bawah yang seimbang */
        border-radius: 20px 0 0 20px; /* Sudut melengkung di sisi kiri agar elegan */
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        overflow-y: auto;
    }

    #check:checked ~ .nav-links {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        margin: 2px 0;           /* Jarak antar menu lebih rapat */
        display: flex;
        justify-content: center;
    }

    .nav-links li a {
        font-size: 1rem;
        color: #444;
        font-weight: 600;
        text-decoration: none;
        display: inline-block;
        position: relative;
    }

    /* --- Garis Bawah Pendek & Simetris --- */
    .nav-links li a:not(.btn-reservasi)::after {
        content: '';
        display: block;
        width: 0;
        height: 3px;
        background: #2d5a27;
        margin: 4px auto 0 auto;
        transition: width 0.3s ease;
        border-radius: 10px;
    }

    .nav-links li a.active:not(.btn-reservasi)::after,
    .nav-links li a:hover:not(.btn-reservasi)::after {
        width: 30px;              /* Garis tetap pendek dan di tengah */
    }

    /* --- Tombol Reservasi Rata Tengah & Pas di Kolom --- */
    .nav-links li .btn-reservasi {
        display: inline-flex !important; /* Ubah ke inline-flex agar width bekerja sesuai isi */
        justify-content: center;
        align-items: center;
        background: linear-gradient(135deg, #2d5a27 0%, #4a8a3f 100%) !important;
        color: #ffffff !important;
        
        /* Padding diperkecil agar tidak terlalu bongsor */
        padding: 10px 24px !important; 
        border-radius: 50px !important;
        
        /* KUNCI: Membatasi lebar agar tidak full */
        width: fit-content !important; 
        min-width: 180px; /* Lebar minimal agar tetap enak dilihat */
        max-width: 80%;   /* Mencegah tombol terlalu panjang di layar sangat kecil */
        
        margin: 10px auto !important; /* Rata tengah secara horizontal */
        font-weight: 600;
        font-size: 0.9rem;
        box-shadow: 0 4px 12px rgba(45, 90, 39, 0.2);
        white-space: nowrap !important;
    }

    .nav-links li .btn-reservasi::after {
        display: none !important; /* Pastikan tidak ada garis bawah di tombol */
    }
}


 /* Style Khusus untuk Persiapan Konsultasi (Model Baru) */
    .consult-prep-grid {
       display: grid;
    /* Mengunci 2 kolom secara default untuk Tablet & iPad */
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
    margin: 0 auto 40px;
    max-width: 900px; /* Lebar maksimal disesuaikan untuk layar iPad */
    text-align: left;
    }
    .prep-section {
    padding: 80px 0 60px; /* Jarak 80px dari elemen atas (gambar bunga/towel) */
    background-color: #fcfdfc;
}

    .prep-tile {
         background: #fff;
    border: 1px solid #e8eee7; /* Warna border lebih lembut */
    border-radius: 16px;
    padding: 25px 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    }

    .prep-tile:hover {
         transform: translateY(-5px);
    border-color: #78a962;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(45, 90, 39, 0.08);
    }

    .prep-tile i {
        font-size: 1.2rem;
        color: #f1c40f; /* Warna aksen kuning emas */
        margin-top: 3px;
    }

    .prep-tile-content h5 {
        font-family: 'Lexend', sans-serif;
    margin: 0 0 6px 0;
    font-size: 1.05rem;
    color: #2d5a27;
    font-weight: 600;
    }

    .prep-tile-content p {
        font-family: 'Lexend', sans-serif;
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    }

    .prep-title-minimal {
        font-family: 'Lexend', sans-serif;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    
    /* Mengatur jarak judul dengan grid kartu di bawahnya */
    margin-bottom: 40px; 
    
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    
    /* Tambahan: jika judul masih terasa terlalu tinggi */
    padding-top: 10px; 
    }

    /* --- Penyesuaian khusus iPad (Layar sedang) --- */
@media (min-width: 601px) and (max-width: 1024px) {
    .consult-prep-grid {
        /* Memastikan tetap 2 kolom di iPad Portrait maupun Landscape */
        grid-template-columns: repeat(2, 1fr);
        gap: 15px; /* Jarak sedikit lebih rapat agar tidak sesak */
        padding: 0 20px; /* Jarak aman dari pinggir layar iPad */
    }
    
    .prep-tile {
        padding: 20px 15px; /* Sedikit mengecilkan padding dalam kartu */
    }
}

/* --- Penyesuaian untuk HP (Layar Kecil) --- */
@media (max-width: 600px) {
    .consult-prep-grid {
        grid-template-columns: 1fr; /* Jadi 1 kolom tumpuk di HP */
        padding: 0 15px;
    }
}

/* --- Container Utama --- */
.steps-container {
    display: grid;
    /* Default: 2 kolom sama besar */
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
    margin-top: 20px;
    max-width: 900px; /* Mencegah kotak terlalu melar di desktop */
    margin-left: auto;
    margin-right: auto;
}

/* --- Pengaturan Step Card --- */
.step-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #2d5a27; /* Warna primer Anda */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.step-card:hover {
    transform: translateY(-5px);
}

/* --- Penyesuaian Responsif --- */

/* 1. Desktop & iPad (Layar di atas 600px) */
@media (min-width: 601px) {
    .steps-container {
        /* Memastikan tetap 2 kolom sejajar */
        grid-template-columns: repeat(2, 1fr); 
    }
}

/* 2. Khusus iPad (Optimalisasi ruang) */
@media (min-width: 768px) and (max-width: 1024px) {
    .steps-container {
        gap: 15px;
        padding: 0 20px;
    }
}

/* 3. Handphone (Layar di bawah 600px) */
@media (max-width: 600px) {
    .steps-container {
        /* Opsional: Tetap 2x2 atau ubah ke 1 kolom jika teks terlalu panjang */
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px;
    }
    
    .step-card {
        padding: 15px 10px;
    }

    .step-card strong {
        font-size: 0.9rem; /* Mengecilkan teks agar muat di layar sempit */
    }

    .step-card p {
        font-size: 0.8rem;
    }
}



    
      

/* Container Utama */
.selection-section {
    padding: 80px 20px;
    background: radial-gradient(circle at top, #ffffff, #f9fbf9);
    text-align: center;
}

/* Header Teks Instruksi */
.selection-header {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lexend', sans-serif;
    gap: 20px;
    margin-bottom: 50px;
}

.section-hint {
    color: #2d5a27;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
}

.selection-header .line {
    height: 1px;
    width: 40px;
    background-color: #2d5a27;
    opacity: 0.3;
}

/* Desain Kartu Premium */
.selection-container {
   display: grid;
    /* iPad/Desktop: 2 kolom, Android/iPhone: 1 kolom */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 10px;
}

.card-choice {
    background: #ffffff;
    border-radius: 30px;
    padding: 35px 25px;
    width: 100%; /* Menghapus width: 360px statis */
    max-width: 100%; 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-choice:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(45, 90, 39, 0.12);
}

/* Lingkaran Ikon */
.icon-wrapper {
    width: 70px;
    height: 70px;
    background: #f1f8f1;
    border-radius: 20px; /* Squircle style */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
    color: #2d5a27;
    transition: 0.3s;
}

.card-wa .icon-wrapper {
    color: #25d366;
    background: #eafff0;
}

/* Tipografi Kartu */
.card-choice h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 600;
}

.card-choice p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 35px;
    min-height: 60px;
}

/* Tombol Eksklusif */
.btn-card {
    width: 100%;
    padding: 16px;
    border-radius: 15px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-daftar .btn-card {
    background: #2d5a27;
    color: #ffffff;
}

.card-wa .btn-card {
    background: #2d5a27;
    color: #ffffff;
}

.btn-card:hover {
    filter: brightness(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Sembunyikan section form di awal */
.res-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Beri sedikit jarak scroll agar tidak terlalu mepet ke atas saat muncul */
#target-form {
    scroll-margin-top: 100px;
}
   