/* General Styling */
*, *::before, *::after {
  box-sizing: border-box; /* Memastikan padding tidak merusak layout */
}

:root {
    --primary-color: #0D2A4C;
    --secondary-color: #3E6F9E;
    --accent-color: #D4AF37;
    --background-color: #fdfdff;
    --light-gray-bg: #f8f9fa;
    --text-color: #343A40;
    --white-color: #FFFFFF;
    --success-color: #28a745;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.7;
    background: var(--white-color);
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: #d4af37;
    transition: color 0.3s ease;
}

a:hover { color: #CFFF04; }

/* Header */
header {
    background-color: var(--white-color);
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; }
.logo img { height: 50px; margin-right: 35px; transform: scale(2.0);}
.logo-text h1 { font-family: 'Poppins', sans-serif; font-weight: 600; margin: 0; font-size: 1.4em; }
.logo-text p { margin: 0; font-size: 0.9em; }
nav ul { margin: 0; padding: 0; list-style: none; }
nav ul li { display: inline-block; margin-left: 30px; }
nav ul li a { font-weight: 500; padding-bottom: 5px; border-bottom: 2px solid transparent; letter-spacing: 0.5px;}
nav ul li a.active, nav ul li a:hover { color: var(--primary-color); border-bottom-color: var(--accent-color); }

/* Welcome Section - Hero Style */
#welcome-section {
    position: relative;
    padding: 150px 0; /* Menambah padding untuk ruang visual */
    text-align: center;
    color: var(--white-color); /* Mengubah warna teks default menjadi putih */
    
    /* Gambar latar belakang */
    background-image: url('https://images.unsplash.com/photo-1578575437130-5278ce684698?q=80&w=1740&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efek parallax yang elegan saat scroll */
}

/* Lapisan Overlay Gelap */
/* Welcome Section - Hero Style */
#welcome-section {
    position: relative;
    padding: 150px 0;
    color: var(--white-color);
    text-align: center;
    
    /* 1. GAMBAR LATAR BELAKANG DITEMPATKAN DI SINI */
    background-image: url('/img/banner.jpg'); /* Pastikan path ke gambar Anda benar */

    /* 2. INI AKAN MEMBUAT GAMBAR PAS DI SELURUH AREA (MENGATASI GAMBAR TERLALU BESAR) */
    background-size: cover; 
    
    /* 3. MEMASTIKAN GAMBAR SELALU DI TENGAH */
    background-position: center; 
    
    /* (Opsional) Efek parallax yang elegan saat scroll */
    background-attachment: fixed; 
}

/* Lapisan Overlay Gelap (INI YANG MEMBUAT TEKS JADI KELIHATAN) */
#welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* 4. KEMBALIKAN FUNGSI SEBAGAI LAPISAN WARNA GELAP */
    background-color: rgba(13, 42, 76, 0.7); /* Angka 0.7 mengatur kegelapan */
    
    z-index: 1;
}

/* Konten harus berada di atas lapisan overlay (Ini tidak perlu diubah) */
#welcome-section .container {
    position: relative;
    z-index: 2;
}

/* Konten harus berada di atas lapisan overlay */
#welcome-section .container {
    position: relative;
    z-index: 2;
}

/* Wrapper untuk konten agar mudah dianimasikan */
.welcome-content {
    max-width: 800px;
    margin: 0 auto;
    /* Animasi saat halaman dimuat */
    animation: fadeInUp 1s ease-out;
}

#welcome-section h2 {
    font-size: 3.2em; /* Lebih besar untuk dampak maksimal */
    margin-bottom: 20px;
    color: var(--white-color); /* Pastikan warna putih */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Bayangan teks agar lebih terbaca */
}

#welcome-section .subtitle {
    font-size: 1.15em;
    margin-bottom: 40px;
    opacity: 0.9; /* Sedikit transparan agar tidak terlalu mendominasi */
}

/* Tombol CTA (Ghost Button Style) */
.cta-button-hero {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--accent-color); /* Border dengan warna aksen */
    border-radius: 50px; /* Bentuk pil yang modern */
    color: #ffffff; /* Warna teks sesuai border */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

.cta-button-hero:hover {
    background-color: var(--accent-color); /* Latar belakang terisi saat di-hover */
    color: var(--primary-color); /* Warna teks berubah */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


/* Definisi Animasi */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Penyesuaian untuk layar lebih kecil */
@media (max-width: 768px) {
    #welcome-section {
        padding: 100px 0;
        background-attachment: scroll; /* Matikan efek parallax di mobile untuk performa */
    }
    #welcome-section h2 {
        font-size: 2.5em;
    }
}

/* Page Links Section */
#page-links { padding: 60px 0; }
.link-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    border-bottom: 4px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    color: var(--text-color);
}
.card:hover { transform: translateY(-10px); box-shadow: 0 12px 35px rgba(62, 111, 158, 0.12); }
.card-icon { color: var(--secondary-color); margin-bottom: 15px; }
.card-icon svg { width: 48px; height: 48px; }
.card h3 { font-size: 1.4em; margin-bottom: 10px; }
.card p { font-size: 0.95em; line-height: 1.6; color: #666; }

/* Stats Section */
#stats-section {
    padding: 80px 0;
    /* Latar belakang gradien yang mewah */
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
}

#stats-section .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0; /* Gap dihilangkan karena menggunakan border */
    text-align: center;
}

.stat-item {
    padding: 20px;
    position: relative;
    /* Border sebagai pemisah yang elegan */
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

/* Hilangkan border untuk item pertama */
.stat-item:first-child {
    border-left: none;
}

/* Efek hover yang halus */
.stat-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.stat-icon {
    margin-bottom: 20px;
    color: var(--accent-color); /* Warna emas untuk ikon */
}

.stat-icon svg {
    width: 48px;
    height: 48px;
}

.stat-number {
    display: flex;
    justify-content: center;
    align-items: baseline; /* Rata bawah agar unit sejajar */
    gap: 5px;
    margin-bottom: 10px;
}

.stat-number h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5em; /* Sedikit lebih besar */
    font-weight: 600;
    margin: 0;
    color: var(--white-color);
    line-height: 1;
}

.stat-number .unit {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5em; /* Ukuran unit */
    font-weight: 500;
    color: var(--accent-color); /* Warna emas untuk unit */
}

.stat-item p {
    margin: 0;
    font-size: 1em; /* Sedikit lebih besar agar mudah dibaca */
    opacity: 0.9;
}

/* Penyesuaian Media Query untuk Statistik */
@media (max-width: 992px) {
    #stats-section .container {
        grid-template-columns: repeat(2, 1fr); /* Jadi 2 kolom */
    }
    
    /* Atur border untuk tampilan 2x2 */
    .stat-item:nth-child(3) {
        border-left: none;
    }
    .stat-item:nth-child(2) {
        border-left: 1px solid rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 576px) {
    #stats-section .container {
        grid-template-columns: 1fr; /* Jadi 1 kolom */
    }
    
    /* Hilangkan semua border di tampilan mobile */
    .stat-item {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding: 30px 20px;
    }
    .stat-item:first-child {
        border-top: none;
    }
}

/* Service Focus Section */
#service-focus { padding: 80px 0; }
#service-focus .container { display: flex; align-items: center; gap: 60px; }
.focus-image { flex: 1; }
.focus-image img { width: 100%; border-radius: 12px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); }
.focus-content { flex: 1.2; }
.focus-content .section-title { font-size: 2.5em; margin-bottom: 20px; text-align: left;}
.focus-content p { font-size: 1.05em; margin-bottom: 30px; }
.cta-button {
    background-color: var(--secondary-color); color: var(--white-color); padding: 15px 30px;
    border-radius: 8px; font-weight: 600; transition: all 0.3s ease; display: inline-block;
}
.cta-button:hover { background-color: var(--primary-color); transform: translateY(-3px); }

/* Program Unggulan Section */
#program-unggulan {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white-color);
}
#program-unggulan .container {
    display: flex;
    align-items: center;
    gap: 60px;
}
.program-content { flex: 1.2; }
.program-tag {
    display: inline-block; padding: 5px 15px; background-color: var(--accent-color);
    color: var(--primary-color); border-radius: 20px; font-size: 0.8em;
    font-weight: 600; margin-bottom: 20px;
}
.program-content h2 { color: var(--white-color); font-size: 2.5em; margin-bottom: 20px; }
.program-content p { font-size: 1.05em; margin-bottom: 30px; opacity: 0.9; }
.cta-button-light {
    background-color: var(--white-color); color: var(--primary-color); padding: 15px 30px;
    border-radius: 8px; font-weight: 600; transition: all 0.3s ease; display: inline-block;
}
.cta-button-light:hover { background-color: var(--accent-color); transform: translateY(-3px); }
.program-image { flex: 1; }
.program-image img { width: 100%; border-radius: 12px; }

/* Testimonials Section */
#testimonials { padding: 80px 0; background-color: var(--light-gray-bg); }
.section-title-center { text-align: center; font-size: 2.5em; margin-bottom: 50px; }
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.testimonial-card {
    background-color: var(--white-color); padding: 30px; border-radius: 12px;
    border-left: 5px solid var(--accent-color); box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.testimonial-card p {
    font-style: italic; margin: 0 0 20px 0; color: #555;
    quotes: "“" "”";
}
.testimonial-card p::before { content: open-quote; font-size: 1.5em; font-weight: bold; color: var(--accent-color); margin-right: 5px;}
.testimonial-card p::after { content: close-quote; font-size: 1.5em; font-weight: bold; color: var(--accent-color); margin-left: 5px;}
.testimonial-author { text-align: right; }
.testimonial-author h4 { margin: 0 0 5px 0; font-size: 1.2em; }
.testimonial-author span { font-size: 0.9em; color: var(--secondary-color); }

/* Footer */
footer { background-color: var(--primary-color); color: var(--white-color); padding-top: 60px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 50px; padding-bottom: 50px; }
.footer-content h4 { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--white-color); margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-content h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background-color: var(--accent-color); }
.footer-about p, .footer-contact p, .footer-links ul li a { font-size: 0.95em; opacity: 0.8; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a:hover { opacity: 1; }
.footer-bottom { text-align: center; padding: 25px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }

.footer-bottom a:hover {
  color: #CFFF04;
}
/* Responsive */
@media (max-width: 992px) {
    #stats-section .container { grid-template-columns: 1fr 1fr; }
    #program-unggulan .container { flex-direction: column-reverse; }
    .testimonial-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    nav { display: none; } /* Sederhanakan untuk mobile, atau implementasikan menu burger */
    #service-focus .container { flex-direction: column; }
    .footer-content { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
    #stats-section .container { grid-template-columns: 1fr; }
}

/* ================================== */
/* === STYLE HALAMAN PROFIL (TAMBAHAN) === */
/* ================================== */

/* Hero/Judul Halaman Profil */
#profil-hero {
    background-color: var(--light-gray-bg);
    padding: 60px 0;
    text-align: center;
}
.page-title {
    font-size: 2.8em;
    margin: 0;
}
.page-subtitle {
    font-size: 1.1em;
    color: #555;
    margin-top: 10px;
}

/* Seksi Sambutan */
#sambutan-section {
    padding: 80px 0;
    background-color: var(--white-color);
}
.sambutan-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 60px;
}
.kepala-foto img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.sambutan-teks .small-title {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: block;
}
.sambutan-teks h3 {
    font-size: 2.2em;
    margin: 0;
}
.sambutan-teks .jabatan {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--accent-color);
    margin-top: 5px;
    margin-bottom: 20px;
}
.sambutan-teks p {
    line-height: 1.8;
}

/* Seksi Visi Misi */
#visi-misi-section {
    padding: 80px 0;
    background-color: #F0F7F7; /* <-- Warna baru yang segar */
}
.section-title-center { text-align: center; font-size: 2.5em; margin-bottom: 50px; }
.visi-misi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.visi-misi-card {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    text-align: center;
}
.card-icon-profil {
    color: var(--accent-color);
    margin-bottom: 20px;
}
.card-icon-profil svg {
    width: 48px;
    height: 48px;
}
.visi-misi-card h4 {
    font-size: 1.8em;
    margin-bottom: 15px;
}
.visi-misi-card p {
    font-size: 1.1em;
    color: #555;
}
.visi-misi-card ol {
    text-align: left;
    padding-left: 20px;
    color: #555;
}
.visi-misi-card ol li {
    margin-bottom: 10px;
}


/* Seksi Wilayah Pengawasan */
#wilayah-section {
    padding: 80px 0;
}
.wilayah-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}
.wilayah-peta img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #ddd;
}
.wilayah-deskripsi h3 {
    font-size: 2em;
    margin-bottom: 15px;
}

/* Seksi Struktur Organisasi */
#struktur-section {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
    text-align: center;
}
.section-subtitle-center {
    max-width: 700px;
    margin: -40px auto 40px auto;
    color: #555;
}
.struktur-gambar img {
    max-width: 100%;
    border-radius: 12px;
    background-color: var(--white-color);
    padding: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
}


/* --- Media Queries untuk Halaman Profil --- */
@media (max-width: 992px) {
    .sambutan-grid, .wilayah-grid {
        grid-template-columns: 1fr;
    }
    .visi-misi-grid {
        grid-template-columns: 1fr;
    }
    .kepala-foto {
        max-width: 300px;
        margin: 0 auto 40px auto;
    }
    .wilayah-peta {
        margin-bottom: 40px;
    }
}

/* ==================================== */
/* === STYLE HALAMAN LAYANAN (TAMBAHAN) === */
/* ==================================== */

/* Hero/Judul Halaman Layanan */
#layanan-hero {
    background-color: #EAF2F8; /* <-- Warna baru: Biru langit lembut */
    padding: 60px 0;
    text-align: center;
}

/* Seksi Layanan Utama */
#layanan-utama {
    padding: 80px 0;
}
.layanan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.layanan-card {
    background: var(--white-color);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}
.layanan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}
.layanan-icon img {
    height: 60px;
    margin-bottom: 20px;
}
.layanan-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}
.layanan-card p {
    color: #555;
    margin-bottom: 20px;
}
.learn-more {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Seksi Alur Proses Layanan */
#proses-layanan {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
}

.section-subtitle-center {
    max-width: 700px;
    margin: -40px auto 60px auto;
    color: #555;
    text-align: center;
}

.proses-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Garis putus-putus sebagai peta jalan */
.proses-grid::before {
    content: '';
    position: absolute;
    top: 25px; /* Posisi vertikal garis */
    left: 15%;
    right: 15%;
    width: 70%;
    height: 3px;
    background-image: linear-gradient(to right, var(--accent-color) 50%, transparent 50%);
    background-size: 20px 3px;
    z-index: 0;
}

.proses-item {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    border-top: 4px solid transparent;
    transition: all 0.3s ease;
}

.proses-item:hover {
    transform: translateY(-10px);
    border-top-color: var(--accent-color);
}

/* Lingkaran nomor yang menjadi "stasiun" */
.proses-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 600;
    margin: -55px auto 20px auto; /* Tarik ke atas */
    border: 5px solid var(--white-color);
    box-shadow: 0 0 0 3px var(--primary-color);
    position: relative;
    z-index: 2;
}

.proses-icon {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.proses-icon svg {
    width: 48px;
    height: 48px;
}

.proses-item h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Penyesuaian untuk Mobile (Alur menjadi vertikal) */
@media (max-width: 992px) {
    .proses-grid {
        grid-template-columns: 1fr;
        gap: 60px; /* Jarak lebih besar untuk alur vertikal */
    }

    /* Ubah garis menjadi vertikal */
    .proses-grid::before {
        top: 5%;
        bottom: 5%;
        left: 25px; /* Posisi horizontal garis */
        width: 3px;
        height: 90%;
        background-image: linear-gradient(to bottom, var(--accent-color) 50%, transparent 50%);
        background-size: 3px 20px;
    }

    .proses-item {
        text-align: left;
        padding-left: 70px; /* Beri ruang untuk garis di kiri */
    }

    /* Pindahkan nomor ke samping kiri */
    .proses-number {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translate(-50%, -50%);
        margin: 0;
    }
    
    .proses-icon,
    .proses-item h4 {
        text-align: left;
    }
}

/* Seksi Jadwal Layanan */
#jadwal-layanan {
    padding: 60px 0;
    background-color: #EAF2F8; /* Warna biru lembut yang sama */
}
#jadwal-layanan .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.layanan-icon svg {
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}
.layanan-icon svg:hover {
    transform: scale(1.1);
}

.jadwal-icon { color: var(--secondary-color); }
.jadwal-icon svg { width: 80px; height: 80px; }
.jadwal-content h3 { font-size: 1.8em; margin: 0 0 10px 0; }
.jadwal-content p { margin: 0 0 15px 0; color: #555; }
.jadwal-content ul { list-style: none; padding: 0; margin: 0; }
.jadwal-content ul li { margin-bottom: 5px; }


/* Seksi FAQ */
#faq-section {
    padding: 80px 0;
}
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
}
.faq-question {
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1em;
}
.faq-icon {
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: var(--secondary-color);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 15px;
}
.faq-answer p {
    margin: 0;
    padding-bottom: 15px;
    line-height: 1.8;
}
.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust if answer is very long */
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}


/* --- Media Queries untuk Halaman Layanan --- */
@media (max-width: 768px) {
    .proses-grid {
        flex-direction: column;
    }
    .proses-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    #jadwal-layanan .container {
        flex-direction: column;
        text-align: center;
    }
}

/* ======================================= */
/* === STYLE HALAMAN PUBLIKASI (TAMBAHAN) === */
/* ======================================= */

/* Hero/Judul Halaman Publikasi */
#publikasi-hero {
    background-color: #FFFBF0; /* <-- Warna baru: Krem hangat */
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

/* Seksi Konten Publikasi */
#publikasi-konten {
    padding: 80px 0;
}

/* Navigasi Tab */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    border-bottom: 1px solid #ddd;
}
.tab-button {
    padding: 10px 25px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    color: #555;
    position: relative;
    transition: color 0.3s ease;
}
.tab-button::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.tab-button:hover {
    color: var(--primary-color);
}
.tab-button.active {
    color: var(--primary-color);
    font-weight: 600;
}
.tab-button.active::after {
    transform: scaleX(1);
}

/* Kontainer Konten Tab */
.tab-pane {
    display: none; /* Sembunyikan semua tab secara default */
    animation: fadeIn 0.5s ease;
}
.tab-pane.active {
    display: block; /* Tampilkan hanya tab yang aktif */
}

/* Layout Grid Berita */
.berita-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.berita-card {
    background: var(--white-color);
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.berita-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.berita-card a {
    text-decoration: none;
    color: var(--text-color);
}
.berita-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.berita-content {
    padding: 20px;
}
.berita-kategori {
    display: inline-block;
    padding: 3px 12px;
    background-color: var(--secondary-color);
    color: var(--white-color);
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
    margin-bottom: 15px;
}
.berita-judul {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.2em;
    margin-bottom: 10px;
    color: var(--primary-color);
}
.berita-tanggal {
    font-size: 0.9em;
    color: #777;
}


/* Layout Grid Galeri & Infografis */
.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}
.galeri-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}
.galeri-item::after {
    content: '🔍';
    font-size: 2em;
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 42, 76, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.galeri-item:hover::after {
    opacity: 1;
}
.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Layout Video */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}
.video-thumbnail {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
}
.video-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
}

/* Keyframe untuk animasi fade-in tab */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==================================== */
/* === STYLE HALAMAN KONTAK (TAMBAHAN) === */
/* ==================================== */

/* Hero/Judul Halaman Kontak */
#kontak-hero {
    background-color: #F4F0F7; /* <-- Warna baru: Lavender pucat */
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

/* Seksi Info Kontak Grid */
#info-kontak-grid {
    padding: 80px 0;
}
.kontak-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.info-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}
.info-card-icon img {
    height: 50px;
    margin-bottom: 20px;
}
.info-card h4 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--primary-color);
}
.info-card p {
    color: #555;
    margin-bottom: 20px;
}
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    line-height: 1.8;
}

/* Seksi Peta Lokasi */
#peta-lokasi {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
}
.peta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.peta-info h3 {
    font-size: 2em;
    margin-bottom: 20px;
}
.alamat-box {
    margin-top: 20px;
    padding: 15px;
    background-color: var(--white-color);
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
}
.alamat-box p {
    margin: 5px 0 0 0;
}
.peta-embed iframe {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    border: 0;
}


/* Seksi Formulir Kontak */
#form-kontak {
    padding: 80px 0;
}
.kontak-form {
    max-width: 800px;
    margin: 0 auto;
}
.form-row {
    display: flex;
    gap: 20px;
}
.form-group {
    margin-bottom: 20px;
    flex: 1;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(62, 111, 158, 0.2);
}
.form-group button.cta-button {
    width: 100%;
    border: none;
    font-size: 1.1em;
}


/* Seksi Media Sosial */
#sosial-media {
    padding: 80px 0;
    background-color: #F4F0F7; /* Warna lavender yang sama */
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
}
.social-icons a {
    display: block;
}
.social-icons a svg {
    transition: transform 0.3s ease;
}
.social-icons a:hover svg {
    transform: scale(1.2);
}


/* --- Media Queries untuk Halaman Kontak --- */
@media (max-width: 768px) {
    .peta-grid {
        grid-template-columns: 1fr;
    }
    .peta-info {
        margin-bottom: 40px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ================================== */
/* === STYLE HALAMAN PROGRAM (TAMBAHAN) === */
/* ================================== */

/* Hero/Judul Halaman Program */
#program-hero {
    background-color: #EAF7F0; /* <-- Warna baru: Hijau Giok Lembut */
    padding: 60px 0;
    text-align: center;
}
.page-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--success-color, #28a745);
    color: var(--white-color);
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    margin-bottom: 15px;
}

/* Seksi Manfaat Program */
#manfaat-program {
    padding: 80px 0;
}
.manfaat-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}
.manfaat-image img {
    width: 100%;
    border-radius: 12px;
}
.manfaat-content h3 {
    font-size: 2em;
    margin-bottom: 20px;
}
.manfaat-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}
.manfaat-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1em;
}
.manfaat-list img {
    height: 24px;
}

/* Seksi Tahapan Program (Timeline) */
#tahapan-program {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
}
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
/* Garis vertikal di tengah timeline */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--accent-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

/* KOTAK ITEM TIMELINE - INTI PERBAIKAN */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

/* === PERBAIKAN 1: Logika Lingkaran & Panah yang Terpisah untuk KIRI dan KANAN === */

/* --- Untuk Item di SISI KIRI (Ganjil) --- */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}
/* Lingkaran untuk item KIRI */
.timeline-item:nth-child(odd)::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -11px; /* <-- Diperbaiki */
    background-color: white;
    border: 4px solid var(--accent-color);
    top: 25px; /* Disesuaikan agar pas di tengah */
    border-radius: 50%;
    z-index: 1;
}
/* Panah untuk item KIRI */
.timeline-item:nth-child(odd)::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 32px; /* Disesuaikan agar pas di tengah */
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}


/* --- Untuk Item di SISI KANAN (Genap) --- */
.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}
/* Lingkaran untuk item KANAN */
.timeline-item:nth-child(even)::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: -9px; /* <-- Diperbaiki */
    background-color: white;
    border: 4px solid var(--accent-color);
    top: 25px; /* Disesuaikan agar pas di tengah */
    border-radius: 50%;
    z-index: 1;
}
/* Panah untuk item KANAN */
.timeline-item:nth-child(even)::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 32px; /* Disesuaikan agar pas di tengah */
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}


/* KONTEN DI DALAM KOTAK (Tidak banyak berubah) */
.timeline-content {
    padding: 20px 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.timeline-content h4 {
    font-size: 1.3em;
    margin-bottom: 10px;
}


/* --- Media Queries untuk Halaman Program (Sangat Penting untuk Tampilan Mobile) --- */
@media (max-width: 768px) {
    /* Ubah timeline menjadi satu kolom di kiri */
    .timeline::after {
        left: 10px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 40px;
        padding-right: 15px; /* Disesuaikan */
    }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
        text-align: left !important;
    }
    .timeline-item::after, 
    .timeline-item:nth-child(odd)::after, 
    .timeline-item:nth-child(even)::after {
        left: 0; /* Semua lingkaran ada di kiri */
    }
    .timeline-item::before,
    .timeline-item:nth-child(odd)::before,
    .timeline-item:nth-child(even)::before {
        left: 30px;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }
}

/* Seksi Kisah Sukses (Testimoni) */
#kisah-sukses {
    padding: 80px 0;
}
/* Menggunakan style .testimonial-card yang sudah ada */


/* Seksi Pendaftaran / CTA */
#program-cta {
    padding: 60px 0;
    background: linear-gradient(45deg, var(--accent-color), #f7d56e);
    text-align: center;
    color: var(--primary-color);
}
#program-cta h2 {
    color: var(--primary-color);
    font-size: 2.5em;
}
#program-cta p {
    margin: -10px 0 30px 0;
}
#program-cta .cta-button-light:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* --- Media Queries untuk Halaman Program --- */
@media (max-width: 768px) {
    .manfaat-grid {
        grid-template-columns: 1fr;
    }
    .manfaat-image {
        order: -1; /* Pindahkan gambar ke atas di mobile */
        margin-bottom: 40px;
    }
    /* Ubah timeline menjadi satu kolom */
    .timeline::after {
        left: 10px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 40px;
        padding-right: 0;
        text-align: left !important;
    }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-item::after {
        left: 0;
    }
    .timeline-item::before {
        left: 30px;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }
}