/* --- 1. Reset & Global Setup --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

.main-header {
   background-color: #ffffff;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 9999;
    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;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

/* --- 3. Logo & Menu Styling --- */
.logo img {
    height: 55px; /* Sesuaikan ukuran logo */
    display: block;
}

.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    gap: 25px; /* 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;
    padding: 10px 0;
    transition: color 0.3s;
    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; 
    
    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;
}

/* --- TABLET & IPAD STYLING (768px - 1024px) --- */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Navbar: Kurangi padding agar tidak memakan tempat */
    .navbar {
        height: 75px;
        padding: 0 3%;
    }

    .nav-links {
        gap: 15px; /* Perkecil jarak menu teks */
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    /* HERO SECTION: Menyesuaikan proporsi */
    .about-hero {
        min-height: 50vh !important; /* Jangan terlalu tinggi di iPad Landscape */
        padding-top: 130px !important; /* Ruang untuk navbar sticky */
        padding-bottom: 60px;
    }

    .about-hero h1 {
        font-size: 2.8rem !important; /* Ukuran font menengah */
        max-width: 90%;
    }

    .hero-tagline {
        transform: scale(1.1) translateY(0); /* Jangan terlalu besar zoom-nya */
        margin-top: 20px;
    }

    .split-text {
        font-size: 1rem;
        max-width: 600px;
    }
}

/* --- 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;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%; /* Sembunyi di kanan */
        width: 280px; 
        height: calc(100vh - 70px);
        background: #ffffff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.05);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 20px;
        gap: 20px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Munculkan menu saat checkbox dicentang */
    #check:checked ~ .nav-links {
        right: 0;
    }

    /* Animasi List Items di Mobile */
    .nav-links li, 
    .nav-links .btn-reservasi {
        opacity: 0;
        transform: translateY(-15px);
        transition: 0.4s ease;
    }

    #check:checked ~ .nav-links li,
    #check:checked ~ .nav-links .btn-reservasi {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered delay */
    #check:checked ~ .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    #check:checked ~ .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    #check:checked ~ .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    #check:checked ~ .nav-links li:nth-child(4) { transition-delay: 0.4s; }
    #check:checked ~ .nav-links li:nth-child(5) { transition-delay: 0.5s; }
}
.top-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
}

.info-item i {
    color: #ffd700;
    font-size: 14px;
}

.separator {
    width: 1px;
    height: 15px;
    background-color: rgba(255, 255, 255, 0.2);
}

.social-link {
    background-color: #25d366;
    color: white;
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 12px;
    transition: 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* --- Hero Section --- */
.hero {
    padding: 80px 8% 120px;
    background: linear-gradient(135deg, #ffffff 60%, #f0f4f0 40%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: visible;
    padding-top: 100px; 
    margin-top: 60px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px; /* Diperlebar sedikit agar tidak terlalu rapat */
}

.hero-content {
    flex: 1;
    padding-top: 30px;
}

.badge {
    background: #e8f5e9;
    color: #2d5a27;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #1e3d1a;
    line-height: 1.1;
    margin-bottom: 20px;
}

.subjudul {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-features {
    list-style: none;
    margin-bottom: 40px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
    color: #333;
}

.hero-features i {
    color: #2d5a27;
}


/* --- HERO SECTION --- */
.about-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1544161515-4ab6ce6db874?q=80&w=2000') center/cover;
    
    /* Ukuran tetap sesuai keinginan Anda */
    min-height: 65vh; 
    height: auto; 
    
    display: flex;
    flex-direction: column; /* Pastikan arahnya kolom */
    align-items: center; 
    justify-content: center; /* Ini yang akan menaruh teks di tengah */
    position: relative;
    color: white;
    text-align: center;
    overflow: hidden;

    /* Desktop Padding: Memberi ruang aman untuk navbar */
    padding: 100px 20px 60px; 
}



.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(183, 181, 181, 0.195);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- 3. Hero Buttons --- */
.btn-hero-primary, .btn-hero-secondary {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-hero-primary {
    background-color: #78a962;
    color: white;
    border: 2px solid #78a962;
}

.btn-hero-primary:hover {
    background-color: #2d5a27;
    border-color: #2d5a27;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-hero-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-hero-secondary:hover {
    background-color: white;
    color: #2d5a27;
    transform: translateY(-3px);
}

/* --- 4. Hero Animations --- */
.hero-tagline {
    display: inline-block;
    background: rgba(120, 169, 98, 0.4);
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    opacity: 0;
    transform: scale(2.5) translateY(20px);
    transition: all 0.8s ease-in-out;
    margin-top: 50px;
}

.hero-tagline.active {
    opacity: 1;
    transform: scale(1.3) translateY(0);
}

.animate-text {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate-text.active {
    opacity: 1;
    transform: translateY(0);
}

.about-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-hero h1 span { color: #78a962; }

.split-text {
    display: block;
    max-width: 750px;
    font-size: 1.1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(15px);
    transition: 0.5s ease-out; /* Disederhanakan dari keyframes jika perlu */
}

.split-text.show-now {
    opacity: 1;
    transform: translateY(0);
}

/* --- 5. Services Grid & Cards --- */
.services {
    padding: 60px 0;
    background: #fcfdfc;
}

/* Mengunci 4 Kolom & Pas di Tengah */
.container {
    max-width: 1140px; /* Standar container agar pas di tengah */
    margin: 0 auto;
    padding: 0 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Pastikan 4 kolom */
    gap: 20px; /* Jarak antar card yang pas */
    margin-top: 40px;
}

.service-card {
    background: #ffffff;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

/* --- UKURAN GAMBAR: Ini kunci agar tidak kepanjangan --- */
.image-container {
    width: 100%;
    height: 250px; /* Ukuran pendek agar proporsional di 4 kolom */
    overflow: hidden;
}

.service-image {
    width: 100%; 
    height: 100%;
    object-fit: cover;
}

/* --- KONTEN: Dibuat lebih rapat --- */
.service-content {
    padding: 20px 15px; /* Padding dikurangi agar hemat ruang */
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: #2d5a27;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin: -45px auto 10px; /* Posisi icon pas di tengah garis gambar */
    border: 4px solid #fff;
    z-index: 2;
    position: relative;
}

.service-content h3 {
    color: #2d5a27;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.service-content p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #666;
    margin-bottom: 15px;
    font-weight: 700;
    flex-grow: 1; /* Mendorong tombol ke bawah secara merata */
}

.disclaimer-text {
    font-size: 0.75rem !important; /* Ukuran lebih kecil dari deskripsi utama */
    font-weight: 400 !important;   /* Memastikan TIDAK BOLD */
    font-style: italic;            /* Opsional: dibuat miring agar beda dengan deskripsi */
    color: #888 !important;         /* Warna abu-abu lebih muda */
    margin-top: 5px;
    display: block;                /* Agar berada di baris baru */
}

/* --- TOMBOL: Dibuat simple & sejajar --- */
.card-action {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.btn-card-booking {
    display: block;
    background-color: #2d5a27;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 8px;
    transition: 0.3s;
}

.btn-card-more {
    display: block;
    color: #2d5a27;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

/* Efek Hover */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(45, 90, 39, 0.15);
}

@media (min-width: 768px) and (max-width: 1024px) {
    /* Ubah grid utama menjadi 2 kolom */
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px;
    }

    /* Jika Anda menggunakan grid-custom-2-3 (layout khusus) */
    .grid-custom-2-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .grid-custom-2-3 .service-card:nth-child(n) {
        grid-column: span 1 !important;
        max-width: 100%;
    }

    /* Sesuaikan tinggi gambar agar tidak terlalu dominan */
    .image-container {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        display: grid;
        /* Mengatur agar hanya ada 1 kolom (1 card per baris) */
        grid-template-columns: 1fr; 
        /* Memberikan jarak antar baris kartu */
        gap: 25px; 
        padding: 15px;
    }

    .service-card {
        width: 100%;
        max-width: 450px; /* Opsional: agar kartu tidak terlalu lebar di tablet */
        margin: 0 auto; /* Menengahkan kartu jika ada max-width */
    }

    .service-image {
        width: 100%;
        height: 200px; /* Mengatur tinggi gambar agar seragam saat bertumpuk */
        object-fit: cover;
    }

    .service-content {
        padding: 20px;
    }

    /* Membuat tombol booking dan detail berjejer horizontal kembali jika ruang cukup */
    .card-action {
        display: flex;
        flex-direction: row; 
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
}



/* --- Start Whatsapp ngambang--- */
.fab-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white !important;
    padding: 12px 20px;
    border-radius: 50px; /* Bentuk Pill */
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 9999;
    
    /* Animasi Muncul */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Class untuk memunculkan tombol (Bisa diatur via JS atau hapus 'opacity:0' agar selalu muncul) */
.fab-whatsapp.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Ukuran Ikon */
.fab-whatsapp i {
    font-size: 28px;
}

/* Hover Effect */
.fab-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Sembunyikan teks di layar HP yang sangat kecil (Opsional) */
@media (max-width: 480px) {
    .fab-text {
        display: none;
    }
    .fab-whatsapp {
        padding: 15px;
        border-radius: 50%;
    }
}

/* --- END Whatsapp ngambang--- */

/* --- 5. FOOTER STYLING --- */
.main-footer {
    background-color: #1e3d1a;
    color: #ffffff;
    padding: 70px 0 20px;
    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;
    margin-bottom: 15px;
    display: block;   /* Dorong dari kanan */
}

.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 */
}

.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;
    grid-template-columns: 1.2fr 1.3fr 0.8fr; /* 3 Kolom sejajar kiri */
    text-align: left; /* Rata kiri agar elegan di laptop */
}


/* --- 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: 750px) 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: relative; 
    z-index: 9999;  /* Berikan nilai tertinggi agar tidak tertutup apapun */
    float: right;
    line-height: 60px; /* Sesuaikan dengan tinggi navbar Anda */
    margin-right: 10px;
}
/* --- 8. Responsive Perbaikan (Tampilan Padat & Rata Tengah) --- */
@media (max-width: 858px) {
    .checkbtn {
        display: block;
    }

    .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: flex !important;
        justify-content: center;
        align-items: center;
        background: #417536 !important;
        color: #ffffff !important;
        padding: 10px 25px !important;
        border-radius: 50px !important;
        width: auto !important;    /* Lebar tombol mengikuti teks saja */
        min-width: 180px;          /* Batas minimal lebar agar enak diklik */
        margin: 15px auto !important;
        font-weight: 600;
        font-size: 0.9rem;
        box-shadow: 0 4px 10px rgba(65, 117, 54, 0.2);
    }

    .nav-links li .btn-reservasi::after {
        display: none !important; /* Pastikan tidak ada garis bawah di tombol */
    }
}
/* Styling Link Detail */
.link-detail-wrapper {
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.link-detail-text {
    font-size: 0.85rem;
    color: #2d5a27;
    font-weight: 600;
    text-align: center;
}

.link-detail-wrapper:hover .link-detail-text {
    color: #78a962;
    transform: translateX(5px); /* Geser sedikit ke kanan saat hover */
}

/* Hilangkan main-card-link agar tidak menghalangi */
.main-card-link {
    display: none !important;
}

/* Pastikan card-action berada paling atas */
.card-action {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}


/* Sembunyikan elemen secara total */
.hidden {
    display: none !important;
}

/* Container tombol agar rapi di tengah */
.toggle-container {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
}

/* Gaya tombol toggle */
.btn-secondary {
    padding: 12px 30px;
    background: transparent;
    color: #2d5a27;
    border: 2px solid #2d5a27;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #2d5a27;
    color: white;
}

/* --- Konfigurasi Grid Khusus 2-3 --- */
.grid-custom-2-3 {
    display: grid;
    /* Kita bagi menjadi 6 bagian kecil agar bisa dibagi 2 dan 3 */
    grid-template-columns: repeat(6, 1fr); 
    gap: 30px;
    margin-top: 40px;
}

/* Baris Pertama: 2 Kartu (Masing-masing lebar 3 kolom) */
.grid-custom-2-3 .service-card:nth-child(1),
.grid-custom-2-3 .service-card:nth-child(2) {
    grid-column: span 3;
    max-width: 400px; /* Menjaga ukuran tetap proporsional */
    justify-self: center; /* Menjaga kartu tetap di tengah */
    width: 100%;
}

/* Baris Kedua: 3 Kartu (Masing-masing lebar 2 kolom) */
.grid-custom-2-3 .service-card:nth-child(3),
.grid-custom-2-3 .service-card:nth-child(4),
.grid-custom-2-3 .service-card:nth-child(5) {
    grid-column: span 2;
    width: 100%;
}

/* Responsif: Di HP tetap 1 kolom agar tidak sempit */
@media (max-width: 992px) {
    .grid-custom-2-3 {
        grid-template-columns: 1fr;
    }
    .grid-custom-2-3 .service-card:nth-child(n) {
        grid-column: span 1;
        max-width: 100%;
    }
}

.disclaimer-text {
    font-size: 0.75rem; /* Ukuran lebih kecil */
    color: #999;       /* Warna abu-abu halus */
    font-style: italic;
    margin-top: 8px;
    margin-bottom: 0;
}

/* Styling untuk Disclaimer Global */
.footer-disclaimer {
    background-color: #f8f9fa; /* Warna netral yang sangat ringan */
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.footer-disclaimer .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.disclaimer-content {
    text-align: center;
}

.disclaimer-content p {
    font-size: 0.85rem; /* Ukuran teks kecil namun tetap terbaca */
    line-height: 1.6;
    color: #7f8c8d; /* Warna abu-abu profesional */
    margin: 0;
}

.disclaimer-icon {
    margin-right: 5px;
    color: #bdc3c7;
}

.disclaimer-content strong {
    color: #2c3e50; /* Menekankan judul informasi */
    font-weight: 600;
}

/* Responsif untuk HP */
@media (max-width: 600px) {
    .disclaimer-content p {
        font-size: 0.8rem;
        text-align: justify; /* Lebih rapi di layar sempit */
    }
}

/* LAYANAN UTAMA SOLUSI KESEHATAN ALAMI */
.section-header {
    text-align: center; /* Memindahkan teks ke tengah */
    margin-bottom: 50px;
    padding: 0 20px;
}

.section-title {
    position: relative;
    display: inline-block; /* Agar garis bawah lebarnya mengikuti teks */
    font-size: 2.5rem;
    color: #1b4332; /* Hijau gelap Bahtera Herbal */
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: capitalize;
}

/* Dekorasi Garis di Bawah Teks */
.section-title::after {
    content: '';
    display: block;
    width: 60px; /* Panjang garis */
    height: 4px; /* Tebal garis */
    background: #78a962; /* Hijau muda aksen */
    margin: 10px auto 0; /* Mengatur garis di tengah */
    border-radius: 10px;
}

/* Tambahan Subtitle agar tidak terlalu kosong */
.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Animasi sederhana saat muncul */
.section-header {
    animation: fadeInDown 1s ease-out;
}

/* Pastikan elemen benar-benar sembunyi di awal */
.section-header.reveal, 
.service-card.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
    visibility: hidden; /* Mencegah elemen terlihat sebelum waktunya */
}

/* Muncul hanya saat class .active ditambahkan oleh JS */
.section-header.reveal.active, 
.service-card.reveal.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Tambahkan aksen garis tengah agar lebih menarik (opsional) */
.section-title {
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #1b4332; /* Warna hijau herbal */
    border-radius: 2px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

