:root {
    --mainColor: #0e9f8d;
    --primaryGradientStart: #0e9f8d;
    --primaryGradientEnd: #6cc4a1;
    --primary-green: #29a38c;
    --dark-bg: #33363b;
    --text-white: #ffffff;
}

.mainColor {
    background-color: var(--mainColor) !important;
}

.mainColorText {
    color: var(--mainColor);
}

*::-webkit-scrollbar {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -ms-overflow-style: none;  /* IE dan Edge lama */
    scrollbar-width: none;     /* Firefox */
}

body {
    background-color: #f4f4f4;
}

#ast-mobile-header {
    display: none;
}

#ast-mobile-header.active {
    display: block;
}

.enlargeElm {
    position: fixed;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    border-radius: 20px 0px 0px 0px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999999;
    overflow-y: scroll;

    padding: 10px;
    
    /* Posisi default: Sembunyi di luar layar kanan */
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Membuat area upload putus-putus ala modern web */


/* Cukup satu class ini untuk memicu animasi slide masuk */
.enlargeElm.show {
    transform: translateX(0);
}

.enlargeClose {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: red;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* TOP BAR */
.top-bar-mainColor {
    background-color: #0e9f8d; /* Warna Primary Green sesuai referensi */
    color: #ffffff;
    padding: 8px 0;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.top-bar-scroll-wrapper {
    display: flex;
    justify-content: flex-end; /* Sejajarkan ke kanan sesuai gambar di desktop */
    align-items: center;
    gap: 20px; /* Jarak antar elemen */
    margin-right: 20px;
    font-size: 10px !important;
}

.top-bar-item {
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap; /* Wajib: Mencegah teks turun ke baris baru */
    display: flex;
    align-items: center;
}

.top-bar-item i {
    margin-right: 7px;
}
/* END OF TOP BAR */

/* Hero */
/* Pastikan Hero memiliki posisi relatif */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    /* align-items: center; */
    padding-top: 10vh;
    background: #000; /* Warna dasar jika gambar belum muncul */
}

/* Container khusus gambar background */
.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Sembunyikan semua gambar */
    transition: opacity 1s ease-in-out;

    background-attachment: fixed !important; 
    border-radius: 0px !important;
}

/* Hanya gambar aktif yang muncul */
.hero-slide-item.active {
    opacity: 1;
}

/* OVERLAY DENGAN WARNA LIME & TEAL (SESUAI GAMBAR) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* 1. Cahaya Lime dari pojok kiri atas (Radial untuk efek pendaran) */
        radial-gradient(circle at 0% 0%, rgba(174, 206, 76, 0.9) 10%, transparent 40%),
        
        /* 2. Overlay Teal pekat di bagian bawah (Linear untuk keterbacaan menu) */
        linear-gradient(0deg, rgba(14, 159, 141, 1) 0%, rgba(14, 159, 141, 0.8) 5%, transparent 30%),
        
        /* 3. Overlay Utama dari kiri ke kanan (Sesuai request awal) */
        linear-gradient(90deg, rgba(14, 159, 141, 1) 0%, rgba(14, 159, 141, 0.9) 20%, transparent 100%) !important;
    
    z-index: 1;
}

/* Konten harus berada di atas overlay (Z-INDEX 2+) */
.hero .container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 100vw;
    margin: 0 auto;
}

.container {
    width: 90% !important;
    max-width: 100vw !important;
}

/* Pastikan container teks memiliki z-index lebih tinggi agar tidak tertutup */
.text-white {
    color: white !important;
}

.hero-content {
    color: var(--text-white);
    margin-bottom: 50px;
}

.welcome-text {
    font-size: 1.1rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.sub-text {
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 30px;
    opacity: 0.8;
}

/* Slider indicators */
.slider-indicator {
    display: flex;
    gap: 8px;
}

.dot.hero_ {
    width: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.dot.hero_.active {
    background: #fff;
}

/* Bottom Action Bar */
.action-bar {
    display: flex;
    align-items: stretch; /* Memaksa semua anak (search-box & cards) memiliki tinggi yang sama */
    gap: 10px;
    width: 100%;
}

.search-box {
    background: white;
    padding: 10px 20px;
    border-radius: 16px; /* Samakan dengan border-radius card */
    height: 130px; /* Tentukan tinggi yang sama dengan .card */
    flex: 2; /* Search box lebih lebar */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Konten input berada di tengah secara vertikal */
    box-sizing: border-box; /* Sangat penting agar padding tidak menambah tinggi */
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Perbaikan Input agar teks terlihat */
.search-box input {
    width: 100%;
    background: white;
    border: 1px solid var(--mainColor);
    padding: 10px 10px;
    border-radius: 8px;
    color: #333; /* Ubah dari white ke gelap agar teks input terbaca */
    outline: none;
    box-sizing: border-box;
}

.search-box input::placeholder {
    font-size: 0.8rem; /* Silakan sesuaikan ukurannya */
    color: #999;       /* Warna placeholder agar tidak terlalu kontras */
}

/* Khusus untuk Internet Explorer */
.search-box input:-ms-input-placeholder {
    font-size: 0.8rem;
}

/* Khusus untuk Microsoft Edge */
.search-box input::-ms-input-placeholder {
    font-size: 0.8rem;
}

.search-box label {
    color: #999;
    font-size: 0.7rem; /* Sedikit diperbesar dari 0.5rem agar lebih proporsional */
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    width: 200px;
}

.search-box i {
    position: absolute;
    right: 15px;
    color: #888;
}

/* Menu Cards */
/* Container Utama */
.menu-cards {
    display: flex;
    gap: 10px;
    flex: 3; /* Sesuaikan proporsi area kartu */
}

/* Style untuk setiap Card */
.card {
    background: white;
    width: 140px; 
    height: 130px; /* Harus sama dengan .search-box */
    padding: 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    text-decoration: none; /* Menghapus garis bawah link */
    box-sizing: border-box; /* Sangat penting agar padding tidak menambah tinggi */
    transition: all 0.3s ease;
}

/* Efek Hover */
.card:hover {
    transform: translateY(-8px); /* Angkat lebih tinggi saat hover */
    box-shadow: 0 8px 25px rgba(0,0,0,0.1); /* Shadow lebih tegas saat hover */
}

/* Style untuk Icon (Bagian ATAS) */
.card i {
    font-size: 1.1rem; /* Ukuran icon diperbesar */
    color: var(--primary-green, #26a69a); /* Warna hijau teal sesuai contoh */
    margin: 0; /* Menghapus margin bawah lama */
    display: block;
}

/* Style untuk Teks (Bagian BAWAH) */
.card span {
    font-size: 0.8rem; /* Ukuran font disesuaikan agar proporsional */
    font-weight: 600; /* Font weight bold sesuai contoh */
    color: #333; /* Warna teks gelap */
    line-height: 1.3; /* Jarak antar baris teks */
    text-align: left;
    width: 100%;
    margin-top: auto; /* Memastikan teks duduk di paling bawah */
    align-items: start; /* Diubah dari 'end' ke 'start' untuk rata kiri */
}

/* Floating Chat */
.chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #29a38c;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 10;
}

/* ABOUT SECTION */
.about-section {
    padding: 60px 0;
    background-color: #fff;
}

.about-wrapper {
    display: flex;
    /* align-items: center; */
    gap: 40px;
    flex-wrap: wrap; /* Agar responsif di layar kecil */
}

/* Styling Gambar dengan Border Radius halus */
.about-image {
    flex: 1;
    min-width: 300px;
    height: 100%;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Styling Konten Teks */
.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content h2 {
    font-size: 1.5rem;
    line-height: 1.4;
    color: #333;
    margin-bottom: 20px;
}

.about-content h2 strong {
    color: var(--mainColor, #0e9f8d); /* Menggunakan variabel warna Anda */
}

.about-content p {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Styling Link/Button bawah */
.about-links {
    display: flex;
    gap: 25px;
}

.link-item {
    text-decoration: none;
    color: var(--mainColor, #0e9f8d);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.link-item i {
    font-size: 0.8rem;
}

.link-item:hover {
    gap: 12px; /* Efek geser saat hover */
    opacity: 0.8;
}
/* END OF ABOUT SECTION */

/* LAYANAN UNGGULAN */
.excellence-section {
    padding: 60px 0;
    /* Gradasi dari putih ke hijau tipis ke arah kanan bawah */
    background: linear-gradient(135deg, #ffffff 0%, #f0f9f8 50%, #e6f4f1 100%);
    position: relative;
    overflow: hidden;
}

/* Jika ingin gradasi lebih ke arah biru tipis (soft cyan) */
.about-section {
    padding: 60px 0;
    background: linear-gradient(to right, #ffffff, #f4fbf9);
}

.excellence-wrapper {
    display: flex;
    /* align-items: center; */
    gap: 50px;
    width: 85vw;
}

/* SISI KIRI */
.excellence-content {
    flex: 0 0 35%; /* Mengambil 35% lebar layar */
}

.header-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.header-text p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.slider-nav {
    display: flex;
    gap: 10px;
}

/* Navigasi & Dot */
/* Pastikan container navigasi berada di depan */
.excellence-nav-group {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative; /* Tambahkan ini */
    z-index: 20; /* Pastikan lebih tinggi dari slider */
}

.nav-btn {
    width: 35px;
    height: 35px;
    border-radius: 20px;
    border: 1px solid var(--mainColor);
    background: white; /* Beri background putih agar pasti area klik terisi */
    color: var(--mainColor);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 25; /* Sangat penting */
    pointer-events: auto; /* Memastikan elemen menerima klik */
}

/* Tambahkan ini jika menggunakan tag <button> agar tidak ada style default yang mengganggu */
button.nav-btn {
    outline: none;
    -webkit-appearance: none;
}

.nav-btn:hover {
    background: var(--mainColor);
    color: white;
    border: white;
}

/* Container Dot */
.dot-indicator {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Style Dot */
.dot {
    width: 8px;
    height: 8px;
    background: #ddd;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Dot Aktif memanjang */
.dot.active {
    width: 20px;
    border-radius: 10px;
    background: var(--mainColor);
}

/* SISI KANAN (SLIDER) */
.excellence-slider-area {
    flex: 1;
    overflow: hidden;
    width: 100vw !important;
}

.excellence-cards {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.excellence-cards::-webkit-scrollbar { display: none; }

.ex-card {
    flex: 0 0 300px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.ex-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ex-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--mainColor) 10%, transparent 30%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px;
    color: white !important;
}

.ex-overlay h4 {
    color: white !important;
}
/* END OF LAYANAN UNGGULAN */

/* PROMO */
/* Container Utama Section */
.promo-section {
    padding: 60px 0;
    background-color: #fff;
}

/* Header: Judul di kiri, Controls di kanan */
.promo-header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Menjaga semua elemen lurus secara vertikal */
    margin-bottom: 30px;
    gap: 20px;
}

.promo-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* Grouping Dots dan Navigasi agar tetap sejajar horizontal */
.promo-controls {
    display: flex;
    align-items: center;
    gap: 30px; /* Jarak antara grup dots dan grup tombol panah */
}

/* Tombol Navigasi Bulat Sempurna */
.promo-nav {
    display: flex;
    gap: 10px; /* Jarak antar tombol panah */
}

.promo-btn-prev, 
.promo-btn-next,
.btn-prev-global, 
.btn-next-global {
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important; /* Tambahan untuk mencegah penyusutan */
    border-radius: 50% !important; 
    border: 1px solid var(--mainColor);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: none;
    color: var(--mainColor);
    flex-shrink: 0; /* Kunci bentuk agar tidak lonjong/gepeng */
    padding: 0 !important;
    transition: all 0.3s ease;
}

.promo-btn-prev:hover, 
.promo-btn-next:hover,
.btn-prev-global:hover,
.btn-next-global:hover {
    border-color: var(--mainColor, #0e9f8d);
    color: white;
    background-color: var(--mainColor);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Dot Indicator Styling */
.promo-dots, .dot-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.p-dot, .global-dot {
    width: 8px;
    height: 8px;
    background: #e5e7eb;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

/* Dot Aktif (Menjadi Lonjong sesuai desain Anda) */
.p-dot.active, .global-dot.active {
    width: 24px; /* Efek kapsul/lonjong */
    border-radius: 10px;
    background: var(--mainColor, #0e9f8d);
}

/* Slider Layout */
.promo-slider, .slider-content-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding-bottom: 10px; /* Ruang untuk bayangan kartu */
}

.promo-slider::-webkit-scrollbar, 
.slider-content-scroll::-webkit-scrollbar { 
    display: none; /* Chrome/Safari */
}

/* Card Styling */
.promo-card {
    flex: 0 0 280px; /* Lebar kartu tetap */
    scroll-snap-align: start;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f3f4f6;
    transition: transform 0.3s ease;
}

.promo-image {
    width: 100%;
    aspect-ratio: 1 / 1; /* Rasio kotak sempurna */
    border-radius: 18px 18px 0 0;
    overflow: hidden;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-body {
    padding: 20px;
    line-height: 0.5 !important;
}

.promo-highlight, .promo-date {
    font-size: 14px;
}
/* END OF PROMO */

/* EXECUTIVE */
.executive-banner {
    position: relative;
    width: 100%;
    min-height: 695px; /* Gunakan min-height agar bisa memanjang jika konten banyak */
    overflow: hidden;
}

/* Gambar latar belakang */
.executive-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Pastikan gambar memenuhi container */
    object-fit: cover;
    z-index: 1;
}

.executive-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 695px; /* Samakan dengan parent */
    display: flex;
    align-items: center;
    padding: 0px 0; /* Beri ruang agar konten tidak mepet saat mobile */
    
    /* Gunakan background gradient Anda */
    background: 
        radial-gradient(circle at 0% 0%, rgba(174, 206, 76, 0.9) 10%, transparent 40%),
        linear-gradient(0deg, rgba(14, 159, 141, 1) 0%, rgba(14, 159, 141, 0.8) 5%, transparent 30%),
        linear-gradient(90deg, rgba(14, 159, 141, 1) 0%, rgba(14, 159, 141, 0.9) 40%, transparent 100%) !important;
}

.executive-content {
    color: white;
}

.executive-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white !important;
}

.executive-features {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    flex: 1;
}

.feature-text h4 {
    color: white !important;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.2rem;
}
/* END OF EXECUTIVE */

/* TESTIMONI */
.testimonial-section {
    padding: 80px 0;
    background-color: #fdfdfd;
}

.testimonial-header {
    display: flex;
    justify-content: space-between; /* Judul di kiri, tombol navigasi di kanan */
    align-items: left;            /* Sejajar secara vertikal di tengah */
    width: 100%;
    margin-bottom: 30px;
}

.testimonial-header .header-text {
    display: flex;
    align-items: left;            /* Membuat h3 dan tombol edit sejajar lurus */
    gap: 15px;                      /* Jarak horizontal antara judul dan tombol edit */
}

/* Card Testimoni Layout */
.testi-card {
    flex: 0 0 750px; /* Lebar kartu cukup besar sesuai desain horizontal */
    display: flex;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    scroll-snap-align: start;
    margin-bottom: 20px;
}
.btn-add-testimonial {
    /* 1. Fix the inline height/width issue */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    font-size: 1.2rem;
    color: var(--mainColor, #0e9f8d);
    
    /* 2. Fix the border property (changed from border-color) */
    border: 1px solid var(--mainColor, #0e9f8d);
    
    /* 3. Explicit dimensions for the circle */
    width: 45px;
    height: 45px;
    border-radius: 50%;
    
    /* Remove heavy padding so it stays 35x35 */
    padding: 20px; 
    
    cursor: pointer;
    transition: all 0.3s ease;  
    margin-left: 1rem; /* Removed the extra semicolon here */

        transition: all 0.3s ease;
        font-size: 14px;
}

.btn-add-testimonial:hover {
    background: var(--mainColor, #0e9f8d);
    color: white;
    border-color: var(--mainColor, #0e9f8d);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

    .drop-zone {
            border: 3px dashed #cbd5e1;
            border-radius: 8px;
            min-height: 200px;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            background: #f8fafc;
            padding: 15px;
        }
        .drop-zone.highlight {
            border-color: #3b82f6;
            background: #eff6ff;
        }
        /* Isi petunjuk teks di tengah */
        .prompt-text {
            color: #64748b;
            font-size: 16px;
        }
        /* Pembatas ukuran gambar dan video agar rapi */
        .preview-media {
            max-width: 100%;
            max-height: 250px;
            border-radius: 4px;
        }
        .btn-reset {
            margin-top: 15px;
            background: #ef4444;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 6px;
            cursor: pointer;
            display: none; /* Muncul hanya saat ada file */
        }

/* Rasio Gambar 4:3 */
.testi-image {
    flex: 0 0 300px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.testi-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testi-content {
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-icon {
    color: var(--mainColor, #0e9f8d);
    font-size: 2rem;
    margin-bottom: 15px;
    opacity: 0.3;
}

/* Batasan teks 4-5 baris */
.testi-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
}

.testi-footer {
    font-size: 0.9rem;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.testi-name {
    font-weight: 600;
    color: #333;
}

.testi-divider {
    margin: 0 10px;
}

/* Dots Styling di bawah */
.testimonial-dots-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
/* END OF TESTIMONI */

/* INFO TERKINI */
.news-section {
    padding: 60px 80px;
    background-color: #fff;
}

.news-header {
    margin-bottom: 30px;
}

.news-header h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Filter Buttons */
.news-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: white;
    color: #777;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
    height: 35px;
    width: fit-content;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--mainColor, #0e9f8d);
    color: white;
    border-color: var(--mainColor, #0e9f8d);
    width: fit-content;
}

.view-all {
    text-decoration: none;
    color: var(--mainColor, #0e9f8d);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Container Utama Berita */
.news-grid {
    display: flex; /* Ganti dari grid ke flex */
    gap: 20px;
    overflow-x: auto; /* Memungkinkan geser horizontal */
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory; /* Efek magnet saat digeser */
    padding: 10px 5px 30px 5px; /* Padding bawah untuk bayangan/shadow */
    scrollbar-width: none; /* Sembunyikan scrollbar Firefox */
}

.news-grid::-webkit-scrollbar {
    display: none; /* Sembunyikan scrollbar Chrome/Safari */
}

/* Ukuran Kartu Berita */
.news-card {
    flex: 0 0 300px; /* Lebar tetap tiap kartu agar tidak menciut */
    min-width: 300px;
    scroll-snap-align: start; /* Berhenti tepat di awal kartu */
    background: #fff;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f8f9fa; /* Beri background abu muda agar saat 'contain' tidak kosong melompong */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Untuk Gambar Berita Asli: Full memenuhi box */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Untuk Gambar Default/Logo: Utuh tidak terpotong */
.img-contain {
    width: 90%;  /* Beri sedikit ruang napas di pinggir */
    height: 90%;
    object-fit: contain; /* Kunci agar gambar utuh */
}

.news-body {
    padding: 15px 5px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.category {
    color: var(--mainColor, #0e9f8d);
    font-weight: 700;
}

.date {
    color: #bbb;
}

.news-title {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
    font-weight: 600;
    /* Limit to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.news-excerpt {
    font-size: 12px;
    color: #333 !important;
}
/* END INFO TERKINI */

/* UMPAN BALIK */
.feedback-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

/* Desktop: 3 Columns Layout */
.feedback-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feedback-item {
    display: flex;
    /* align-items: center; */
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.feedback-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.feedback-icon {
    font-size: 2.5rem;
    color: #0e9f8d; /* Warna identitas utama */
    margin-right: 20px;
    opacity: 0.8;
}

.feedback-text {
    flex-grow: 1;
}

.feedback-text h4 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
    font-weight: 700;
}

.feedback-text p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: #777;
}

.feedback-arrow {
    color: #ccc;
    font-size: 1.1rem;
}

/* FOOTER */
.main-footer {
    background-color: #0e9f8d; /* Primary Green */
    color: #ffffff;
    padding: 70px 0 30px;
    font-family: 'Arial', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 40px;
}

/* Pengaturan Logo */
.footer-logos {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
}
.footer-logo-main { height: 50px; }
.footer-logo-sub { height: 40px; }

.hospital-address {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Navigasi & Kontak */
.footer-heading {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    display: inline-block;
    padding-bottom: 5px;
}

[class*='footer-heading'] {
    color: white !important;
}

.footer-nav li, .footer-contact-list li {
    list-style: none;
    margin-bottom: 12px;
}

.footer-nav a, .footer-contact-list a {
    color: white;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer-nav a:hover {
    padding-left: 8px;
    opacity: 0.8;
}

.footer-contact-list span {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 2px;
}

/* Media Sosial */
.social-links-new {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}
.social-links-new a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}
.social-links-new a:hover {
    background: white;
    color: #0e9f8d;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}
/* END OF FOOTER */

/* PARALLAX */
.parallax-wrapper {
    position: relative;
    overflow: hidden; /* Penting: gambar tidak boleh meluber keluar */
}

.parallax-img {
    position: absolute;
    top: -15%; /* Memberi offset agar ada ruang geser ke atas */
    left: 0;
    width: 100%;
    height: 130%; /* Lebih tinggi dari container */
    object-fit: cover;
    z-index: 1;
    will-change: transform; /* Optimasi GPU browser */
    pointer-events: none; /* Agar tidak bisa diklik secara tidak sengaja */
}
/* END OF PARALLAX */

/* ==========================================
   ANIMASI SUB-WRAPPER INTERNAL
   ========================================== */
/* State Awal: Tersembunyi (Transparan) & Mengaktifkan Akselerasi Hardware GPU */
.slide-left-inner,
.slide-right-inner {
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.2s ease;
    will-change: transform, opacity;
}

/* Slide dari Kiri (Element teks digeser sedikit ke kiri di awal) */
.slide-left-inner {
    transform: translateX(-40px);
}

/* Slide dari Kanan (Element gambar digeser sedikit ke kanan di awal) */
.slide-right-inner {
    transform: translateX(40px);
}

/* State Akhir: Saat active (terpicu oleh JavaScript Intersection Observer) */
.slide-left-inner.active,
.slide-right-inner.active {
    opacity: 1;
    transform: translateX(0); /* Kembali ke posisi semula dengan presisi */
}

.slide-up-inner {
    opacity: 0;
    transform: translateY(50px);
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.2s ease;
    will-change: transform, opacity;
}

/* State Aktif: Saat elemen masuk ke area screen saat di-scroll */
.slide-up-inner.active {
    opacity: 1;
    transform: translateY(0); /* Kembali ke posisi semula dengan presisi */
}

.slide-down-inner {
    opacity: 0;
    transform: translateY(-50px);
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.2s ease;
    will-change: transform, opacity;
}

/* State Akhir: Aktif saat elemen masuk area layar */
.slide-down-inner.active {
    opacity: 1;
    transform: translateY(0); /* Kembali turun ke posisi semula bawaan layout */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsif untuk Mobile */
@media (max-width: 768px) {
    .new-toggle-button {
        text-align: right   !important;
        color: var(--mainColor) !important;
        border: none;
        background: none !important;
        border-radius: 5px;
        width: fit-content; 
        padding: 8px 20px !important;
        scale: 1.2;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    section {
    }
    .action-bar {
        flex-direction: column;
        height: auto !important;
    }
    .menu-cards {
        overflow-x: auto;
        padding-bottom: 10px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .about-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    /* PERBAIKAN UTAMA: Memaksa gambar gedung keluar dari batas container 90% */
    .about-image {
        width: 100% !important;
    }

    /* PERBAIKAN TEKS: Mengembalikan teks agar tetap memiliki jarak baca yang nyaman */
    .about-content {
        width: 100%;
        text-align: left; /* Memastikan teks rata kiri */
    }

    .about-content h2 {
        font-size: 1.4rem; /* Menyesuaikan ukuran font judul di layar HP */
        line-height: 1.4;
    }

    .about-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .about-links {
        display: flex;
        justify-content: flex-start; /* Mengganti 'left' dengan properti flex standar 'flex-start' */
        gap: 20px;
    }

    /* Container utama tetap bertumpuk vertikal */
    .excellence-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Area Teks & Navigasi */
    .excellence-content {
        width: 100%;
        text-align: left; /* Memastikan teks rata kiri */
    }

    .header-text h2 {
        font-size: 1.8rem; /* Ukuran judul diperkecil */
        margin-bottom: 10px;
    }

    .header-text p {
        font-size: 0.9rem; /* Ukuran deskripsi diperkecil */
        margin-bottom: 20px;
    }

    /* Ukuran Tombol Navigasi diperkecil */
    .nav-btn {
        width: 35px !important;
        height: 35px !important;
    }

    .nav-btn i {
        font-size: 0.7rem;
    }

    /* Area Slider */
    .excellence-slider-area {
        width: 100vw;
        margin-left: -20px; /* Mengimbangi padding container agar card terlihat full-width */
    }

    .excellence-cards {
        padding-left: 20px;
        padding-right: 20px;
        gap: 15px; /* Jarak antar card lebih rapat */
    }

    /* Ukuran Card diperkecil */
    .ex-card {
        flex: 0 0 240px; /* Lebar kartu lebih kecil dari desktop */
        height: 320px; /* Tinggi kartu dikurangi agar tidak terlalu panjang */
    }

    .ex-overlay h3 {
        font-size: 1.1rem;
    }

    .ex-overlay p {
        font-size: 0.8rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
    .header-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .news-filters {
        overflow-x: auto;
        width: 100%;
        padding-bottom: 10px;
    }
    .news-card {
        flex: 0 0 260px; /* Sedikit lebih kecil di HP */
        min-width: 260px;
    }

    .promo-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .promo-controls {
        width: 100%;
        justify-content: space-between; /* Dot di kiri, panah di kanan di layar HP */
        gap: 10px;
    }

    .promo-card {
        flex: 0 0 250px;
    }

    .executive-banner {
        height: auto; /* Biarkan tinggi menyesuaikan konten di mobile */
    }

    .executive-overlay {
        min-height: 100%; /* Pastikan overlay mengikuti tinggi banner yang baru */
        /* Di mobile, ubah gradient agar menutupi seluruh gambar (tidak transparan ke kanan) */
        background: linear-gradient(180deg, 
            rgba(14, 159, 141, 0.9) 0%, 
            rgba(14, 159, 141, 1) 100%) !important;
        padding: 60px 0;
    }

    .executive-bg-img {
        height: 100%; /* Gambar tetap mengikuti tinggi section yang memanjang */
    }

    .news-section {
        padding: 60px 40px;
        background-color: #fff;
    }

    .news-header {
        margin-bottom: 30px;
    }

    .news-header h2 {
        font-size: 2rem;
        color: #333;
        margin-bottom: 20px;
    }

    .testi-card {
        flex: 0 0 90%;
        flex-direction: column;
    }
    .testi-image {
        flex: 0 0 200px;
        width: 100%;
    }

    .top-bar-mainColor .top-bar-scroll-wrapper {
        display: flex !important;
        flex-wrap: nowrap !important; /* Memaksa tetap satu baris */
        overflow-x: auto !important; /* Aktifkan geser horizontal */
        justify-content: flex-start !important;
        padding: 5px 10px !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Targetkan langsung ke teks dan ikon */
    .top-bar-mainColor .top-bar-scroll-wrapper .top-bar-item {
        font-size: 8px !important; /* Paksa ukuran font kecil di mobile */
        margin-right: 15px;
    }
    
    .top-bar-mainColor .top-bar-scroll-wrapper .top-bar-item i {
        font-size: 7px !important; /* Ukuran ikon juga disesuaikan */
    }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
    
    .feedback-grid {
        grid-template-columns: 1fr; /* Mengubah menjadi 1 kolom */
        gap: 15px;
    }

    .testimonial-header {
        display: flex;
        flex-direction: column; /* Mengubah susunan menjadi atas-bawah */
        align-items: left;    /* Membuat teks dan tombol navigasi di tengah */
        text-align: left;
        margin-bottom: 20px;
    }

    .testimonial-section {
        padding: 30px 0px 20px 0px;
    }

    .header-text h3 {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;        /* Izinkan membungkus jika teks terlalu panjang */
        gap: 10px;              /* Jarak horizontal antara teks judul dan tombol edit */
        font-size: 1.5rem;      /* Menyesuaikan ukuran font agar tidak terlalu besar di mobile */
        line-height: 1.4;
    }

    /* Membuat tombol edit / tambah testimonial tidak terpotong */
    .btn-add-testimonial {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 0 !important; /* Reset margin jika sebelumnya ada */
    }

    /* Memastikan kontrol navigasi (panah kiri kanan) rapi di tengah */
    .promo-controls {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .promo-nav {
        display: flex;
        gap: 10px; /* Jarak antara tombol kiri dan kanan */
    }

    .feedback-item {
        padding: 20px;
    }

    .footer-logos {
        scale: 0.8;
    }

    .enlargeElm.show {
        transform: translateX(0);
        width: 100%;
    }
}