@media (max-width: 768px) {
    /* Container utama layanan */
    #layanan .container {
        display: flex;
        flex-direction: column;
        align-items: center; /* Mengetengahkan kartu secara horizontal */
        text-align: center;  /* Mengetengahkan teks judul & deskripsi */
        padding: 0 20px;
    }

    /* Mengatur kartu layanan (Card) */
    .service-card { 
        width: 100%;
        max-width: 350px; /* Membatasi lebar agar tidak terlalu melar di HP */
        margin: 0 auto 30px auto; /* Auto kiri-kanan agar pas di tengah */
        border-radius: 15px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    /* Mengatur gambar di dalam kartu */
    .service-card img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Mengetengahkan konten teks di bawah gambar */
    .service-card-content {
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center; /* Ikon stetoskop & judul jadi di tengah */
    }

    /* Judul Layanan */
    .service-card h3 {
        font-size: 1.25rem;
        margin: 10px 0;
        text-align: center;
    }

    /* Deskripsi Layanan */
    .service-card p {
        text-align: left; /* Deskripsi biasanya lebih rapi rata kiri/tengah-kiri */
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    /* Menargetkan div pembungkus tombol */
    div[style*="display: flex"] { 
        flex-direction: column !important; /* Menumpuk tombol ke bawah */
        align-items: center !important;    /* Mengetengahkan tombol secara horizontal */
        justify-content: center !important;
        width: 100%;
    }

    /* Mengatur lebar tombol agar seragam di HP */
    .btn-maps, .btn-chat {
        width: 90% !important;             /* Mengisi hampir seluruh lebar layar HP */
        min-width: unset !important;       /* Menghapus batasan lebar minimal sebelumnya */
        max-width: 320px;                  /* Batas agar tidak terlalu lebar di tablet */
    }
}

/* --- 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; }
}

@media (max-width: 858px) {
    .menu-btn {
        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 */
    }
}


.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);
}



/* TESTIMONI GOOGLE */
/* Container & General */
.container {
    max-width: 1100px;
    margin: 0 auto;
  padding-bottom: 0 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonials-section {
   padding-top: 60px !important;
    margin-bottom: 0 !important;
}

.testimonial-action {
    margin-bottom: 0 !important;
    padding-bottom: 10px !important;
}

.testimonial-action p:last-child {
    margin-bottom: 0 !important;
}

.source-tag {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 0.75rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.quote-icon {
    font-size: 2rem;
    color: #629d5a;
    opacity: 0.2;
    margin-bottom: -15px;
}

.testimonial-card p {
    font-style: italic;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: #e8f5e9;
    color: #2d4a27;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.client-info h4 {
    margin: 0;
    font-size: 1rem;
    color: #2d4a27;
}

.client-info span {
    font-size: 0.8rem;
    color: #629d5a;
}

/* FAQ Styles */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.location-section, 
.faq-section {
    padding-top: 40px !important;    /* Dikurangi dari 80px-100px */
    padding-bottom: 20px !important; /* Dikurangi agar tidak jauh ke footer */
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e0e6df;
}

.faq-item summary {
    padding: 20px;
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    color: #2d4a27;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-item summary:hover {
    background: #f9fbf8;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-content {
    padding: 0 20px 20px 20px;
    color: #555;
    line-height: 1.7;
    border-top: 1px border #f0f0f0;
}

/* Buttons Hover */
.btn-google-review:hover, .btn-wa-review:hover {
    opacity: 0.9;
    transform: scale(1.03);
    transition: 0.3s;
}


@media (max-width: 768px) {
    .about-section {
        padding: 40px 0;
        text-align: center; /* Membuat teks rata tengah agar lebih manis di HP */
    }

    .about-section .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }

    /* Mengatur Judul agar tidak terlalu besar */
    .white-frame {
        width: 100%;
        margin-bottom: 20px;
        padding: 10px;
        border: none; /* Opsional: hilangkan frame jika terlalu penuh */
    }

    .main-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    /* Mengatur Box Konten agar transparan dan terbaca */
    .content-box {
        background: rgba(45, 74, 34, 0.9); /* Hijau gelap transparan agar teks terbaca di atas gambar */
        padding: 25px;
        border-radius: 20px;
        width: 100%;
    }

    .main-p {
        font-size: 1.1rem;
        margin-bottom: 15px;
        color: #ffffff;
    }

    .sub-p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #f0f0f0;
    }

    /* Penyesuaian Tombol CTA */
    .cta-wrapper {
        margin-top: 25px;
        width: 100%;
    }

    .btn-elegant {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 15px;
        font-size: 1rem;
    }
}



  /* Gaya default untuk Icon agar tetap rapi */
  .info-item {
    margin-bottom: 15px; 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    font-size: 1.05rem;
  }
  .info-item i {
    color: #78a962; 
    width: 20px; 
    flex-shrink: 0;
  }

  /* --- PENGATURAN RESPONSIVE HP --- */
  @media (max-width: 768px) {
    .text-content {
      text-align: center !important; /* Membuat judul jadi tengah */
    }

    .info-item {
      flex-direction: column; /* Icon di atas, teks di bawah */
      gap: 8px;
      justify-content: center;
    }

    .btn-container {
      justify-content: center !important; /* Membuat tombol jadi tengah */
    }
    
    /* Opsional: Jika ingin icon tetap di samping teks tapi seluruh blok di tengah */
    .info-details {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    

    .location-info h2 {
      font-size: 2rem;
      margin-bottom: 20px;
    }
  }






