/* ==========================================================================
   Variabel Warna Bertema Hijau Premium (Klinik Modern)
   ========================================================================== */
:root {
    --primary-color: #0d5c46; /* Hijau Zamrud/Emerald Premium */
    --primary-light: #167d60; /* Hijau Terang untuk Hover */
    --accent-color: #d4af37;  /* Aksen Emas Lembut */
    --text-color: #2c3e50;    /* Abu-abu gelap elegan untuk teks */
    --light-bg: #f4f9f6;      /* Background hijau sangat muda/mint segar */
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Menggunakan Helvetica Neue sesuai permintaan */
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased; /* Membuat font terlihat lebih halus di layar */
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Two-Tier Navbar Premium (Desktop)
   ========================================================================== */
.navbar-complex {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 4px 15px rgba(13, 92, 70, 0.08);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/* --- Dropdown Desktop di Baris Atas --- */
.desktop-dropdown {
    position: relative;
    display: inline-block;
}

.desktop-dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.08);
    z-index: 1001;
    top: 100%; /* Muncul tepat di bawah teks */
    left: 0;
    border-top: 3px solid var(--primary-color);
    border-radius: 0 0 4px 4px; /* Sudut lurus dan simetris */
}

.desktop-dropdown-content a {
    color: var(--text-color);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: none; /* Menghilangkan huruf kapital semua pada submenu */
    transition: all 0.3s;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.desktop-dropdown-content a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding-left: 25px; /* Efek geser sedikit saat hover */
}

/* Memunculkan dropdown saat di-hover */
.desktop-dropdown:hover .desktop-dropdown-content {
    display: block;
}
/* --- Baris Atas --- */
.nav-top {
    background-color: #f2f6f4; /* Abu-abu kehijauan sangat muda */
    border-bottom: 1px solid #e0e8e4;
}

.nav-container-top {
    max-width: 1300px; /* Dibuat lebih lebar mengikuti standar Eka Hospital */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
}

.top-left, .top-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-link {
    text-decoration: none;
    color: #4a5568;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
    text-transform: uppercase;
}

.top-link:hover {
    color: var(--primary-color);
}

.emergency {
    color: #c53030; /* Merah untuk emergency */
}

.dot-icon {
    font-size: 5px;
    color: var(--primary-color); /* Mengganti titik merah menjadi hijau tema */
    margin-left: 2px;
}

/* --- Baris Bawah --- */
.nav-bottom {
    background-color: var(--white);
}

.nav-container-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    gap: 30px;
}

/* --- Logo Layout --- */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex: 0 0 auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

/* --- Kolom Pencarian Tengah --- */
.search-bar-container {
    flex: 1; /* Membuat search bar melebar mengisi ruang kosong */
    max-width: 600px;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #dce4e0;
    border-right: none;
    border-radius: 4px 0 0 4px; /* Sudut tegak lurus khas profesional */
    font-size: 14px;
    outline: none;
    background-color: #fafbfc;
    font-family: inherit;
}

.search-input:focus {
    background-color: var(--white);
    border-color: var(--primary-color);
}

.search-btn {
    background-color: var(--primary-color); /* Warna tombol hijau tema */
    color: var(--white);
    border: none;
    padding: 0 20px;
    height: 44px; /* Sama dengan tinggi input */
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.search-btn:hover {
    background-color: var(--primary-light);
}

/* --- Tombol Aksi Kanan --- */
.action-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #4a5568;
    font-size: 11px;
    font-weight: 600;
    transition: color 0.3s;
    gap: 4px;
}

.action-item i {
    font-size: 20px;
    color: var(--primary-color);
}

.action-item:hover, .action-item:hover i {
    color: var(--primary-light);
}

.btn-masuk {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 16px;
    border-radius: 4px; /* Mengikuti desain simetris lurus */
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
    margin-left: 10px;
}

.btn-masuk:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ==========================================================================
   Perbaikan Jarak Slider
   ========================================================================== */
/* Karena navbar sekarang lebih tinggi (40px + 80px = 120px), sesuaikan slider */
/* --- Hero Slider (Pembaruan Mode Desktop) --- */
.hero-slider {
    position: relative;
    width: 100%;
    
    /* 1. Ganti height: 100vh dengan aspect-ratio agar penampung menyesuaikan bentuk gambar */
    height: auto;
    
    /* Rasio standar untuk banner memanjang. 
       Jika masih kurang pas, Anda bisa mencoba 16 / 7 atau 21 / 9 */
    aspect-ratio: 16 / 6; 
    
    overflow: hidden;
    
    /* 2. Gunakan satu margin-top saja agar sejajar sempurna dengan navbar */
    margin-top: 120px; 
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Gambar akan tampil utuh dan simetris karena rasionya sudah dijaga oleh .hero-slider */
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 80%;
}

/* Overlay slider pertama menggunakan gradasi hijau botol transparan */
.hero-slider .slide:first-child {
    background-image: linear-gradient(rgba(13, 92, 70, 0.75), rgba(13, 92, 70, 0.75)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&q=80&w=2053') !important;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.slide-content p {
    font-size: 1.2rem;
    font-weight: 400;
}

/* Slider Controls */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s;
    border-radius: 3px;
    background: rgba(0,0,0,0.2);
    user-select: none;
}

.next {
    right: 20px;
}

.prev {
    left: 20px;
}

.prev:hover, .next:hover {
    background-color: var(--primary-color);
}

/* --- Section Layanan --- */
.layanan {
    padding: 100px 20px;
    background-color: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 60px;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.layanan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.layanan-card {
    background: var(--white);
    padding: 45px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(13, 92, 70, 0.04);
    border-radius: 8px;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}

.layanan-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(13, 92, 70, 0.1);
}

.layanan-card .icon {
    font-size: 2.5rem; /* Ukuran ikon disesuaikan */
    color: var(--primary-color); /* Ini yang membuat ikon jadi hijau murni */
    margin-bottom: 20px;
    display: inline-block;
    background: var(--light-bg);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    transition: background 0.3s, color 0.3s;
}

.layanan-card:hover .icon {
    background: var(--primary-color);
    color: var(--white); /* Saat di-hover, background jadi hijau, ikon jadi putih */
}

.layanan-card h3 {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.layanan-card p {
    color: #66788a;
    font-size: 0.95rem;
}

/* ==========================================================================
   Section Sambutan (Premium Executive Layout)
   ========================================================================== */
.sambutan {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1516549655169-df83a0774514?auto=format&fit=crop&q=80&w=2000');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.sambutan-overlay {
    background-color: rgba(13, 92, 70, 0.88); /* Hijau zamrud pekat transparan */
    padding: 120px 20px;
}

.sambutan-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Layout Foto & Bingkai Emas Premium --- */
.sambutan-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-frame {
    position: relative;
    padding: 15px;
    border: 2px solid var(--accent-color); /* Bingkai luar emas yang lurus */
    background-color: rgba(255, 255, 255, 0.05);
}

.image-frame img {
    display: block;
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* --- Kotak Teks Gaya Glassmorphism --- */
.sambutan-text-box {
    flex: 1.5;
    background: rgba(255, 255, 255, 0.07); /* Efek kaca transparan */
    backdrop-filter: blur(10px); /* Efek blur halus di belakang teks */
    -webkit-backdrop-filter: blur(10px);
    padding: 50px;
    border-left: 4px solid var(--accent-color); /* Garis tegas emas di sisi kiri */
    color: var(--white);
}

.sambutan-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-color);
    display: block;
    margin-bottom: 10px;
}

.sambutan-text-box h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.line-accent {
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin-bottom: 30px;
}

/* --- Area Kutipan & Tanda Kutip Dekoratif --- */
.quote-wrapper {
    position: relative;
    margin-bottom: 35px;
}

.decorative-quote {
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.1); /* Tanda kutip samar sebagai pemanis */
    z-index: 0;
}

.quote-text {
    font-size: 1.15rem;
    line-height: 1.9;
    font-style: italic;
    font-weight: 400;
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Area Identitas & Tanda Tangan --- */
.signature-area {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.nama-kepala {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.jabatan-kepala {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

/* --- Responsif Mobile Mode --- */
@media screen and (max-width: 768px) {
    .sambutan-overlay {
        padding: 80px 20px;
    }

    .sambutan-content {
        flex-direction: column;
        gap: 40px;
    }

    .sambutan-text-box {
        padding: 30px 20px;
        border-left: none;
        border-top: 4px solid var(--accent-color); /* Pindah ke atas saat di HP */
        text-align: center;
    }

    .sambutan-text-box h2 {
        font-size: 1.8rem;
    }

    .line-accent {
        margin: 0 auto 25px;
    }

    .decorative-quote {
        left: 50%;
        transform: translateX(-50%);
        top: -30px;
    }
}

/* --- Animasi Scroll --- */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}
.fade-in.appear {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-up.appear {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive & Mobile Mode --- */
@media screen and (max-width: 768px) {
    .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(13, 92, 70, 0.08);
        padding-bottom: 30px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 15px 0;
        text-align: center;
        width: 100%;
    }

    .dropdown-content {
        position: relative;
        box-shadow: none;
        border-top: none;
        background-color: var(--light-bg);
    }

    .menu-toggle {
        display: block;
    }

    /* Memunculkan Info Alamat dan Kontak di Navbar Mobile */
    .mobile-info {
        display: block;
        background-color: var(--light-bg);
        padding: 20px;
        font-size: 13px;
        text-align: center;
        border-bottom: 1px solid rgba(13, 92, 70, 0.1);
        line-height: 1.6;
        color: var(--text-color);
        margin-bottom: 10px;
    }

    .mobile-info strong {
        color: var(--primary-color);
        display: block;
        margin-top: 5px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .sambutan-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
}

/* ==========================================================================
   Panel Pencarian Cepat (Quick Search & Booking)
   ========================================================================== */
.quick-search-section {
    position: relative;
    z-index: 10;
    margin-top: -60px; /* Menarik panel ke atas agar menumpuk dengan slider */
    padding: 0 20px;
}

.quick-search-box {
    background-color: var(--white);
    border-radius: 4px; /* Sudut lurus minimalis */
    box-shadow: 0 15px 40px rgba(13, 92, 70, 0.15);
    overflow: hidden;
}

.search-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px 30px;
    text-align: center;
}

.search-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    padding: 30px;
    gap: 20px;
    align-items: flex-end;
}

.form-group {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #dce4e0;
    border-radius: 4px; /* Garis lurus presisi */
    font-size: 0.95rem;
    color: var(--text-color);
    background-color: var(--light-bg);
    transition: all 0.3s;
    font-family: inherit;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 92, 70, 0.1);
    background-color: var(--white);
}

.search-btn-group {
    flex: 0 0 auto; /* Tombol tidak memanjang */
}

.btn-search {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 13px 30px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    height: 100%;
}

.btn-search:hover {
    background-color: #b8972e;
}

/* ==========================================================================
   Responsive & Mobile Mode Premium (FINAL)
   ========================================================================== */
/* Sembunyikan menu laci saat di mode Desktop */
.nav-menu {
    display: none;
}

/* ==========================================================================
   Responsive & Mobile Mode Premium (FINAL FIX)
   ========================================================================== */
/* Sembunyikan menu laci saat di mode Desktop */
.nav-menu {
    display: none;
}

@media screen and (max-width: 768px) {
    /* 1. Sembunyikan elemen desktop yang memakan tempat */
    .nav-top, .search-bar-container, .action-buttons {
        display: none !important;
    }

    /* 2. Format Navbar Utama di Mobile (Kunci tinggi agar tidak terpotong) */
    .navbar-complex, .nav-bottom {
        height: 70px !important;
    }

    .nav-container-bottom {
        height: 70px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 20px;
    }
    
    .logo-container {
        display: flex;
        align-items: center;
        height: 70px;
    }

    .logo-text { font-size: 20px; }
    .logo-img { height: 35px; }

    /* 3. MUNCULKAN KEMBALI HAMBURGER MENU */
    .menu-toggle { 
        display: block !important; 
        cursor: pointer;
        z-index: 1001; /* Pastikan selalu di atas */
    }

    /* PERBAIKAN: Membentuk 3 garis lurus pada tombol hamburger */
    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: var(--primary-color); /* Warna hijau tema */
        transition: all 0.3s ease-in-out;
        border-radius: 2px;
    }

    /* Animasi silang (X) saat hamburger diklik */
    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* 4. Desain Menu Laci (Drawer) Menyamping yang Lurus dan Rapi */
    .nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: -100%; /* Tersembunyi di luar layar kiri */
        width: 85%;
        max-width: 350px;
        height: calc(100vh - 70px);
        background-color: var(--white);
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 10px 0 25px rgba(0,0,0,0.1);
        overflow-y: auto;
        padding-bottom: 20px;
        z-index: 999;
        list-style: none;
    }

    .nav-menu.active {
        left: 0; /* Muncul saat tombol ditekan */
    }

    .nav-item {
        margin: 0;
        width: 100%;
        text-align: left;
    }

    .nav-link {
        display: block;
        padding: 16px 25px;
        font-size: 15px;
        font-weight: 600;
        border-bottom: 1px solid rgba(0,0,0,0.04);
        color: var(--text-color);
        text-decoration: none;
    }

    /* Dropdown Laci */
    .dropdown-content {
        display: none;
        background-color: #fafdfb;
        border-top: none;
        box-shadow: none;
        position: relative;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding: 12px 25px 12px 40px; /* Teks menjorok presisi ke dalam */
        color: var(--text-color);
        text-decoration: none;
        display: block;
        font-size: 14px;
        border-bottom: 1px solid rgba(0,0,0,0.02);
    }

    /* Info Alamat Laci */
    .mobile-info {
        display: flex;
        flex-direction: column;
        gap: 12px;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
        padding: 25px;
        color: var(--white);
    }

    .info-item {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 13px;
        line-height: 1.5;
    }

    .info-item i {
        color: var(--accent-color);
        margin-top: 3px;
    }

    /* 5. Penyesuaian Komponen Bawahnya */
    .hero-slider { margin-top: 70px !important; }
    .quick-search-section { margin-top: -30px; }
    .search-form { flex-direction: column; padding: 20px; }
    .form-group, .search-btn-group { width: 100%; flex: 1 1 auto; }
    .btn-search { width: 100%; padding: 15px; margin-top: 10px; }
    .sambutan-content { flex-direction: column; text-align: center; gap: 40px; }
    .slide-content h1 { font-size: 2rem; }
    
}


/* ==========================================================================
   Section Cabang Klinik (Klinik Kami)
   ========================================================================== */
.cabang-klinik {
    padding: 100px 20px;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.badge-title {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-subtitle {
    color: #66788a;
    font-size: 1.1rem;
    margin-top: 15px;
}

/* Tata Letak 2 Kolom yang Lurus & Simetris */
.cabang-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px; /* Menjaga lebar optimal di desktop */
    margin: 0 auto;
}

.cabang-card {
    background: var(--white);
    border: 1px solid #e0e8e4;
    border-radius: 4px; /* Sudut lurus dan presisi */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(13, 92, 70, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cabang-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(13, 92, 70, 0.12);
}

/* Bagian Gambar */
.cabang-img-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.cabang-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cabang-card:hover .cabang-img {
    transform: scale(1.05);
}

.cabang-status {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 2px;
    letter-spacing: 0.5px;
}

/* Bagian Konten Teks */
.cabang-content {
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cabang-content h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.line-accent-small {
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    margin-bottom: 25px;
}

.cabang-info {
    list-style: none;
    margin-bottom: 35px;
    flex: 1; /* Mendorong tombol ke bawah agar sejajar (simetris) antar kartu */
}

.cabang-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
}

.cabang-info li i {
    color: var(--primary-color);
    font-size: 16px;
    margin-top: 4px;
}

/* Tombol Aksi */
.cabang-action {
    display: flex;
    gap: 15px;
}

.btn-outline-primary, .btn-solid-primary {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--light-bg);
}

.btn-solid-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-solid-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
}

/* ==========================================================================
   Perbaikan Responsif Mobile: Section Klinik Kami (Taruh Paling Bawah)
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* Mengubah susunan dari kiri-kanan menjadi atas-bawah (1 kolom) */
    .cabang-grid {
        grid-template-columns: 1fr !important; 
        gap: 30px !important;
    }

    /* Menyesuaikan tinggi gambar agar proporsional di layar kecil */
    .cabang-img-wrapper {
        height: 220px !important;
    }

    /* Mengurangi jarak spasi di dalam kartu agar tidak memakan layar */
    .cabang-content {
        padding: 25px 20px !important;
    }

    /* Membuat tombol aksi menumpuk atas-bawah secara simetris */
    .cabang-action {
        flex-direction: column !important; 
        gap: 12px !important;
    }
    
    .btn-outline-primary, .btn-solid-primary {
        width: 100% !important; 
    }
}

/* ==========================================================================
   Section Info Banner (Horizontal Style) - DESKTOP & MOBILE TERPADU
   ========================================================================== */
.info-banner-section {
    padding: 60px 20px 20px;
    background-color: var(--white);
    position: relative;
    z-index: 5;
}

/* Kunci utama 2 Kolom Simetris */
.banner-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.promo-banner {
    display: flex;
    flex-direction: row; /* Memaksa elemen menyamping di desktop */
    align-items: center;
    border-radius: 4px; 
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 220px; 
}

.promo-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(13, 92, 70, 0.1);
}

.bpjs-banner {
    background: linear-gradient(to right, #f4f9f6 60%, #e2f0e9);
    border-left: 4px solid var(--primary-color);
}

.health-banner {
    background: linear-gradient(to right, #fff5f5 60%, #ffebeb);
    border-left: 4px solid #c53030;
}

.banner-text {
    flex: 1.2;
    padding: 30px;
}

.banner-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: inline-block;
}

.banner-text h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.banner-text p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
}

.banner-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.banner-link:hover {
    gap: 12px;
}

.banner-visual {
    flex: 0.8;
    height: 100%;
    position: relative;
}

.banner-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 50%, rgba(0,0,0,0));
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 50%, rgba(0,0,0,0));
}

/* --- Aturan Khusus Layar HP (FIX Ruang Kosong) --- */
@media screen and (max-width: 768px) {
    .banner-wrapper {
        grid-template-columns: 1fr; /* Jadi 1 kolom bersusun ke bawah */
        gap: 20px;
    }

    .promo-banner {
        flex-direction: column-reverse; /* Teks di bawah, gambar di atas */
        height: auto !important; /* Membuang patokan tinggi desktop */
    }

    .banner-text {
        flex: none !important; /* INI KUNCINYA: Mematikan regangan tinggi otomatis */
        width: 100%;
        padding: 25px 20px;
        height: auto !important; /* Tinggi akan pas mengikuti isi teks */
    }

    .banner-visual {
        flex: none !important; /* Mematikan regangan tinggi otomatis */
        width: 100%;
        height: 180px;
    }

    .banner-visual img {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* ==========================================================================
   Section Artikel & Info Kesehatan (DESKTOP & MOBILE TERPADU)
   ========================================================================== */
/* ==========================================================================
   PERBAIKAN SIMETRI ARTIKEL & FILTER BAR
   ========================================================================== */
/* 1. Memaksa Seluruh Header Artikel Rata Kiri agar Segaris dengan Kotak */
.artikel-section .section-header {
    text-align: left !important;
    max-width: 1200px;
    margin: 0 auto 30px auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Memastikan elemen di dalamnya rata kiri */
}

.artikel-section .section-title {
    text-align: left !important;
    margin-bottom: 15px;
}

/* Jika ada garis bawah (underline) dari CSS global, kita tarik lurus ke kiri */
.artikel-section .section-title::after,
.artikel-section .section-title::before {
    margin-left: 0 !important;
}

.artikel-section .section-subtitle {
    text-align: left !important;
    margin-left: 0 !important;
}

/* 2. Merentangkan Filter Bar agar Sempurna di Ujung Kiri dan Kanan */
.filter-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    max-width: 1200px;
    width: 100%; /* Memaksa lebar penuh mengikuti grid artikel */
    margin: 0 auto 30px auto;
}

.filter-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none; 
    scrollbar-width: none; 
    padding: 5px 0;
    flex: 1; /* INI KUNCINYA: Memaksa menu mengisi ruang tengah penuh */
}

.filter-btn {
    background-color: var(--white);
    border: 1px solid #dce4e0;
    padding: 10px 20px;
    border-radius: 4px; /* Bersudut lurus */
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    white-space: nowrap; 
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.filter-btn.active {
    background-color: var(--light-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* --- Layout Grid Artikel --- */
.artikel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.artikel-card {
    display: flex;
    background-color: var(--white);
    border: 1px solid #e0e8e4;
    border-radius: 4px; /* Bersudut lurus */
    overflow: hidden;
    height: 190px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
}

.artikel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(13, 92, 70, 0.08);
}

.artikel-img {
    flex: 0 0 170px; 
    height: 100%;
}

.artikel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artikel-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.artikel-top h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.artikel-top p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.artikel-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
}

.artikel-date {
    font-size: 0.8rem;
    color: #888;
}

.btn-baca {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    border: 1px solid var(--primary-color);
    padding: 6px 15px;
    border-radius: 4px; 
    transition: all 0.3s;
}

.btn-baca:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ==========================================================================
   ATURAN KHUSUS MOBILE (Sudah diamankan dalam satu blok)
   ========================================================================== */
/* --- ATURAN KHUSUS MOBILE (FIX Layout Teks Hilang) --- */
@media screen and (max-width: 768px) {
    /* 1. Filter Tetap Rapi */
    .filter-scroll {
        display: flex;
        flex-wrap: wrap; 
        justify-content: center;
        gap: 8px;
        overflow: visible;
    }

    /* 2. Memaksa Kartu Artikel Kembali ke Format Normal */
    .artikel-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 15px; 
    }

    .artikel-card {
        flex-direction: column !important; 
        height: auto !important; 
        /* display: flex !important; dihapus agar JS bisa menyembunyikan kartu */
    }

    .artikel-img {
        width: 100% !important;
        height: 200px !important;
        flex: none !important;
    }

    .artikel-content {
        /* display: flex !important; dihapus agar tidak bentrok */
        flex-direction: column !important;
        padding: 20px !important;
        width: 100% !important;
        box-sizing: border-box; 
    }
}

    .scroll-btn {
        display: none !important;
    }


/* (Kode-kode CSS Anda sebelumnya ada di atas sini...) */

/* --- FIX TOTAL UNTUK FILTER DI MOBILE --- */
@media screen and (max-width: 768px) {
    .filter-wrapper {
        position: relative !important;
        z-index: 10 !important; 
        display: block !important;
        text-align: center !important;
    }

    .filter-scroll {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
        overflow: visible !important;
        padding: 10px !important;
    }
    
    .filter-btn {
        display: inline-block !important;
        visibility: visible !important;
        pointer-events: auto !important; 
    }
}

/* --- Responsivitas untuk Layar HP (Mobile View) --- */
@media (max-width: 768px) {
    .slide {
        /* Memaksa lebar gambar 100% dan tingginya menyesuaikan otomatis secara proporsional */
        background-size: 100% auto; 
        
        /* Memastikan posisi gambar tetap di tengah atas */
        background-position: top center; 
        
        /* Mencegah gambar berulang */
        background-repeat: no-repeat; 
        
        /* 
         * PENTING: Ubah tinggi (height) ini agar pas dengan gambar Anda.
         * Jika Anda menggunakan 'vh' yang terlalu besar (misal 60vh), akan ada ruang kosong di bawah gambar.
         * Gunakan aspect-ratio jika Anda tahu rasio gambar Anda (misal 16:9), atau gunakan nilai px/vh yang lebih kecil.
         */
        height: auto; 
        aspect-ratio: 2 / 1; /* Sesuaikan angka ini. 2/1 artinya lebar 2x tinggi. Coba juga 16/9 jika masih kurang pas */
        
        /* Jika aspect-ratio tidak didukung/bermasalah di sistem Anda, hapus aspect-ratio di atas dan gunakan:
           height: 250px; (silakan naik-turunkan angka 250px ini sampai pas) */
    }
}

/* ==========================================================
   PERBAIKAN HERO SLIDER KHUSUS HP (MOBILE VIEW)
   ========================================================== */
@media (max-width: 768px) {
    
    /* 1. Potong Ruang Kosong pada Wadah Utama */
    .hero-slider {
        /* Memaksa tinggi wadah utama menyusut mengikuti gambar. 
           Jika gambar terlihat kepotong, naikkan angka 200px ini menjadi 220px atau 250px */
        height: 200px !important; 
        min-height: 0 !important; 
        overflow: hidden; /* Mengunci agar tidak ada sisa elemen yang keluar ke bawah */
        position: relative;
    }

    .slide {
        height: 100% !important;
        /* Memaksa gambar selebar layar HP dan proporsional ke bawah */
        background-size: 100% auto !important; 
        background-position: top center !important;
        background-repeat: no-repeat !important;
    }

    /* 2. Rapikan Teks agar Proporsional dan Lurus di Tengah */
    .slide-content {
        padding: 15px 20px !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: 100%;
        width: 100%;
    }

    /* Khusus untuk tag <h1> di dalam slider */
    .slide-content h1 {
        font-size: 1.25rem !important; /* Mengecilkan drastis dari ukuran desktop */
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
        font-weight: 800;
    }

    /* Khusus untuk teks paragraf di bawah judul */
    .slide-content p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        max-width: 95%; /* Mencegah teks terlalu menempel ke tepi layar */
    }

    /* 3. Selaraskan Tombol Navigasi Kiri-Kanan */
    .prev, 
    .next {
        font-size: 1.2rem !important; /* Mengecilkan ikon panah */
        padding: 8px 12px !important;
        /* Menempatkan panah benar-benar lurus di tengah-tengah tinggi 200px */
        top: 50% !important;
        transform: translateY(-50%) !important;
        background-color: rgba(13, 92, 70, 0.5) !important; /* Background hijau transparan agar terlihat rapi */
    }
}

/* 1. Tambahkan margin-top pada News Ticker */
.news-ticker-container {
    margin-top: 120px; /* Mendorong ticker ke bawah agar tidak tertutup navbar */
    position: relative;
    z-index: 10; /* Memastikan posisinya berada di atas elemen lain */
    
    background-color: var(--primary-color, #0d5c46);
    color: white;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

/* 2. Hapus margin-top pada Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 6; 
    overflow: hidden;
    
    /* UBAH INI: Nol-kan margin-top karena ruang 120px sudah dipakai oleh ticker di atasnya */
    margin-top: 0; 
}
.news-ticker-container {
    background-color: var(--primary-color, #0d5c46);
    color: white;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.news-ticker-label {
    background-color: var(--accent-color, #d4af37);
    color: #1e293b;
    font-weight: 700;
    padding: 10px 20px;
    position: absolute;
    left: 0;
    z-index: 2;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.news-ticker-content {
    display: inline-block;
    padding-left: 100%; /* Mulai dari luar layar sebelah kanan */
    animation: ticker-slide 25s linear infinite;
}

.news-ticker-content:hover {
    animation-play-state: paused; /* Berhenti saat kursor diarahkan (hover) */
}

.news-ticker-item {
    margin-right: 40px;
    font-size: 0.95rem;
}

/* Animasi lurus dari kanan ke kiri */
@keyframes ticker-slide {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* ==========================================================================
   ABOUT / TENTANG KAMI SECTION
   ========================================================================== */
.about-section {
    padding: 100px 0;
    background-color: var(--white, #ffffff);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center; /* Memastikan teks dan gambar sejajar secara vertikal */
}

/* --- Sisi Kiri: Gambar (Desain Lurus & Presisi) --- */
.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(13, 92, 70, 0.1);
    /* Border lurus yang tegas untuk kesan profesional */
    border: 1px solid #e2e8f0; 
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 5; /* Menjaga rasio gambar tetap proporsional */
}

/* Aksen kotak lurus di pojok gambar */
.about-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: var(--accent-color, #d4af37);
}

/* --- Sisi Kanan: Konten Teks & Checklist --- */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-badge {
    display: inline-block;
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--accent-color, #d4af37);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.about-title {
    font-size: 2.4rem;
    color: var(--text-color, #2c3e50);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}

.about-description {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* --- Checklist Section --- */
.about-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    width: 100%;
}

.about-checklist li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--text-color, #2c3e50);
    font-weight: 600;
    background-color: var(--light-bg, #f4f9f6);
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color, #0d5c46);
    transition: transform 0.3s ease;
}

.about-checklist li:hover {
    transform: translateX(5px); /* Efek geser lurus saat di-hover */
}

.about-checklist li i {
    color: var(--accent-color, #d4af37);
    font-size: 1.4rem;
}

/* --- Tombol Aksi --- */
.btn-about {
    background-color: var(--primary-color, #0d5c46);
    color: var(--white, #ffffff);
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(13, 92, 70, 0.2);
}

.btn-about:hover {
    background-color: var(--primary-light, #167d60);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(13, 92, 70, 0.3);
    color: var(--white);
}

/* --- Responsivitas untuk Tablet & HP --- */
@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .about-checklist li {
        font-size: 0.95rem;
        padding: 12px 15px;
    }
}