/* ==========================================================
   DAFTAR ISI CSS:
   1. Variabel & Base (Reset, Body)
   2. Utilities (Container, Tombol, Tipografi)
   3. Navbar (Navigasi Utama)
   4. Hero Section (Banner Atas)
   5. Layanan Utama (Grid 3 Kartu)
   6. Layanan Publik (Banner Inovasi & Layanan)
   7. KIE Media 
   8. Konten KIE Media Lainnya (Gradien 3D)
   9. Reels Section (Video Slider)
   10. Footer (Informasi & Kontak)
========================================================== */

/* --- 1. Variabel & Base --- */
:root {
    --primary-blue: #0A3A6A; 
    --accent-green: #27AE60; 
    --text-dark: #1F2937;
    --text-muted: #6B7280;
    --bg-light: #F3F4F6;
    --white: #FFFFFF;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

/* --- 2. Utilities --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 24px;
    color: var(--primary-blue);
}

.section-title-left {
    font-size: 1.8rem;
    font-weight: 700;
    color: #05417C; 
    margin-bottom: 30px;
    text-align: left;
    letter-spacing: -0.5px;
}

.divider {
    width: 70px;
    height: 4px;
    background-color: var(--accent-green);
    margin: 6px auto 0;
    border-radius: 2px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--accent-green);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color var(--transition-speed);
}

.btn-primary:hover {
    background-color: #219653;
}

.btn-primary-blue {
    background-color: #05417C;
    color: #FFFFFF;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

/* --- 3. Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #F4F8FB; 
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: all var(--transition-speed);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 90px;
    padding: 2px 0;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 90px; 
    margin-bottom: 1px;
}

.brand-title {
    font-size: 12px;
    font-weight: 700;
    color: #05417C; 
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative; 
}

.nav-links a {
    text-decoration: none;
    color: #798593; 
    font-weight: 600;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.nav-links a.active, 
.nav-links a:hover {
    color: #05417C; 
}

.chevron {
    font-size: 12px;
    margin-top: -8px; 
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #FFFFFF;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 10px 20px;
    color: #333;
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background-color: #F4F8FB;
    color: #05417C;
}

.btn-outline {
    background-color: #05417C;
    color: #FFFFFF;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.btn-outline:hover {
    background-color: #042d56;
    color: #FFFFFF; 
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #05417C;
}

/* --- Hero Section (Desain Terpisah & Responsif) --- */
.hero-section {
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: flex-start;
    
    padding-top: 140px; 
    padding-bottom: 20px;
    
    /* --- PENGATURAN BACKGROUND BARU --- */
    background-image: 
        /* 1. Pola Kotak-kotak (Garis Putih Transparan) */
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        
        /* 2. Gradien Warna: Putih (Atas) -> Hijau Muda (Tengah) -> Biru (Bawah) */
        linear-gradient(170deg, #FFFFFF 0%, #E8F7ED 35%, #8ABBF9 75%, #5088F5 100%);
        
    /* Ukuran grid diatur ke 35px agar tidak terlalu rapat/sesuai gambar */
    background-size: 35px 35px, 35px 35px, 100% 100%; 
    background-position: center top;
    background-repeat: repeat, repeat, no-repeat;
    
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

/* Kolom Teks Kiri */
.hero-text-box {
    flex: 1;
    max-width: 550px;
    text-align: left;
}

/* Struktur Dasar Judul Hero */
.hero-title {
    color: #05417C; 
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Gaya Khusus: "Selamat Datang" */
.welcome-highlight {
    font-family: 'Gluten', cursive; /* Menggunakan font melengkung */
    font-size: 80px; /* Ukuran diperbesar secara signifikan */
    font-weight: 800; /* Sangat tebal (Bold) */
    letter-spacing: -1px;
    display: inline-block; 
    margin-bottom: 5px;
    line-height: 0.8;
}

/* Gaya Khusus: Teks Lanjutan */
.welcome-sub {
    font-family: 'Gluten'; /* Menggunakan font bersih/formal */
    font-size: 50px; /* Ukuran lebih kecil dari Selamat Datang */
    font-weight: 500; /* Tidak bold (Medium) */
    letter-spacing: -0.5px;
    line-height: 0.8;
}

.hero-text-box p {
    font-size: 1.15rem;
    color: #05417C; 
    line-height: 1.6;
    font-weight: 500;
}

/* Kolom Gambar Atas */
.hero-image-box {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-illustration {
    width: 100%;
    max-width: 650px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15)); 
}

/* Kolom Gambar Bawah (Karakter Duduk) */
.hero-bottom-box {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px; /* Jarak dari karakter atas ke karakter bawah */
    z-index: 2;
}

.hero-bottom-img {
    width: 100%;
    max-width: 1000px; /* Membatasi agar tidak terlalu melebar di layar besar */
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15)); 
}

/* --- 5. Layanan Utama --- */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.03);
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-blue);
    font-size: 1.25rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- 6. Layanan Publik --- */
.layanan-publik-section {
    padding: 40px 40px;
    background-color: #FFFFFF;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 10px;
}

.banner-card {
    background: linear-gradient(100deg, #028C5A 0%, #05417C 100%);
    border-radius: 20px;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.banner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.banner-text {
    flex: 1;
    padding-right: 15px;
}

.banner-text h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.banner-text p {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    opacity: 0.95;
}

.banner-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.service-card {
    background-color: #F7FAFC;
    border: 1px solid #E2EDF8;
    border-radius: 16px;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(5, 65, 124, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(5, 65, 124, 0.08);
    background-color: #FFFFFF;
    border-color: #D1E3F3;
}

.service-content {
    flex: 1;
    padding-right: 15px;
}

.service-title {
    color: #05417C;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.service-desc {
    color: #05417C;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.service-icon {
    width: 65px;
    height: 65px;
    background-color: #FFFFFF; 
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03) inset;
    flex-shrink: 0;
}

.service-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.08)); 
}

/* --- 7. KIE Media Section --- */
.kie-media-section {
    padding: 60px 0;
    background-color: transparent;
}

.kie-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; 
}

.kie-media-card {
    background-color: #FFFFFF;
    border-radius: 24px; 
    box-shadow: 0 12px 35px rgba(200, 215, 230, 0.45); 
    display: flex;
    justify-content: center;
    align-items: center;
    height: 220px; 
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(240, 245, 250, 1);
}

.kie-media-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(200, 215, 230, 0.65);
}

.kie-media-card img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain; 
}

/* --- 8. Konten KIE Media Lainnya --- */
.konten-lainnya-section {
    padding: 40px 0 40px;
    background-color: #F4F8FB; 
}

.kategori-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 10px;
}

.kategori-card {
    position: relative;
    height: 150px;
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.kategori-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.kategori-title {
    color: #FFFFFF;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    z-index: 2; 
    text-shadow: 0px 2px 4px rgba(0,0,0,0.1);
}

.kategori-img {
    position: absolute;
    right: 15px;
    bottom: 50%;
    transform: translateY(50%);
    height: 110px; 
    z-index: 2;
    object-fit: contain;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.15)); 
}

.kategori-card::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    bottom: -60px;
    right: -20px;
    z-index: 1;
}

.card-obat { background: linear-gradient(135deg, #7EBAFF 0%, #95C6FF 100%); }
.card-kosmetik { background: linear-gradient(135deg, #FA9A9C 0%, #FEC4CA 100%); }
.card-pangan { background: linear-gradient(135deg, #8CDA7C 0%, #A5E497 100%); }
.card-suplemen { background: linear-gradient(135deg, #FFBD70 0%, #FFD395 100%); }
.card-tradisional { background: linear-gradient(135deg, #AF9CFE 0%, #C6B6FF 100%); }


/* --- 9. Reels Section --- */
.reels-section {
    padding: 40px 0 40px;
    background-color: #FFFFFF;
}

.reels-container {
    position: relative;
}

.reels-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.reels-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; 
    width: 100%;
    padding: 10px 0;
}

.reels-track::-webkit-scrollbar {
    display: none; 
}

.reel-card {
    flex: 0 0 calc(25% - 15px); 
    aspect-ratio: 9/16; 
    position: relative;
    border-radius: 8px; 
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.reel-video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

/* Fullscreen Mode */
.reel-video:fullscreen { object-fit: contain !important; background-color: #000 !important; }
.reel-video:-webkit-full-screen { object-fit: contain !important; background-color: #000 !important; }
.reel-video:-moz-full-screen { object-fit: contain !important; background-color: #000 !important; }
.reel-video:-ms-fullscreen { object-fit: contain !important; background-color: #000 !important; }

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2;
}

.play-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    font-size: 24px;
    padding-left: 5px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: #FFFFFF;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    color: #05417C;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.prev-btn { left: -20px; }
.next-btn { right: -20px; }

.reels-action-bottom {
    display: flex;
    font-size: 10px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* --- Bagian Majalah POM --- */
.majalah-section {
    background-color: #F8FAFC;
    padding: 40px 0 40px; 
}

.majalah-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.majalah-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; 
    width: 100%;
    padding: 10px 0;
}

.majalah-track::-webkit-scrollbar {
    display: none; 
}

.majalah-card {
    flex: 0 0 calc(25% - 15px); /* Menampilkan 4 Kartu di Desktop */
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    text-decoration: none;
    color: #1F2937;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.majalah-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.majalah-cover {
    width: 100%;
    aspect-ratio: 1 / 1.414; /* Rasio presisi tinggi untuk kertas A4 / Majalah */
    overflow: hidden;
    border-bottom: 1px solid #E2E8F0;
    background-color: #F1F5F9;
}

.majalah-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.majalah-title {
    padding: 16px 10px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    background-color: #FFFFFF;
}

/* --- Infografis Section --- */
.infografis-section {
    padding: 20px 0 20px; /* Jarak atas dan bawah */
    background-color: #FFFFFF;
}

.infografis-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.infografis-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    width: 100%;
    padding: 10px 0;
}

.infografis-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.info-card {
    flex: 0 0 calc(25% - 15px); /* 4 Kolom */
    aspect-ratio: 4/5; /* Rasio portrait standar infografis */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: zoom-in; /* Kursor berubah menjadi kaca pembesar saat di-hover */
    border: 1px solid rgba(0,0,0,0.05);
}

.info-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.info-card:hover .info-img {
    transform: scale(1.03); /* Sedikit membesar saat disorot */
}

/* --- Penanda Multi-Slide (Ikon Pojok Kanan Atas) --- */
.multi-slide-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #FFFFFF;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 5;
    pointer-events: none; /* Agar tidak menghalangi klik pada kartu */
}

/* --- Modal Layar Penuh (Lightbox Infografis) --- */
.info-modal {
    display: none; /* Tersembunyi secara default */
    position: fixed;
    z-index: 2000; /* Selalu di paling depan */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* Latar hitam pekat */
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Gambar di dalam Modal (Menjaga rasio tanpa terpotong) */
.modal-content {
    max-width: 90%;
    max-height: 90vh; /* Maksimal 90% dari tinggi layar */
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {transform: scale(0.95); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

/* Tombol Tutup (X) */
.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #FFFFFF;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 2001;
}

.close-modal:hover { color: #27AE60; }

/* Penghitung Halaman (misal: 1 / 3) */
.slide-counter {
    position: absolute;
    top: 30px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    background-color: rgba(255,255,255,0.1);
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 1px;
}

/* Tombol Panah Kiri Kanan di Layar Penuh */
.modal-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
    z-index: 2001;
}

.modal-btn:hover { background-color: rgba(255, 255, 255, 0.4); }
.prev-modal-btn { left: 5%; }
.next-modal-btn { right: 5%; }

/* --- Responsivitas Layar Kecil (Infografis & Modal) --- */
@media (max-width: 992px) {
    .info-card { flex: 0 0 calc(33.333% - 13.33px); } /* 3 Kartu */
}

@media (max-width: 768px) {
    .info-card { flex: 0 0 calc(50% - 10px); } /* 2 Kartu */
    
    /* Penyesuaian Modal di HP */
    .modal-content { max-width: 100%; max-height: 80vh; }
    .prev-modal-btn { left: 10px; width: 40px; height: 40px; }
    .next-modal-btn { right: 10px; width: 40px; height: 40px; }
}

@media (max-width: 480px) {
    .info-card { flex: 0 0 calc(80%); } /* 1 Kartu */
}


/* --- 10. Footer Custom --- */
.footer-custom {
    background-color: #06407A; 
    color: #FFFFFF;
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr; 
    gap: 40px;
    margin-bottom: 50px;
}

.footer-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #FFFFFF;
}

/* Kolom Kiri: Alamat & Email */
.footer-address {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.footer-address i {
    font-size: 1.3rem;
    margin-top: 2px;
}

.bold-text {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-col-left p {
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 0;
}

.mt-4 { margin-top: 35px; }
.mt-2 { margin-top: 12px; }

/* Kolom Tengah: Logo & Sosial Media */
.footer-col-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    max-width: 220px; 
    margin-bottom: 30px;
    object-fit: contain;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12); 
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* Kolom Kanan: Chatbot & Badge */
.footer-col-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Memastikan konten rata kanan */
}

.footer-col-right p {
    opacity: 0.95;
}

.wa-chat-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 15px; /* Margin agar simetris dengan lencana */
}

.wa-logo-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    background-color: #25D366; 
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 2.2rem;
    text-decoration: none;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wa-logo-btn:hover {
    transform: translateY(-3px) scale(1.05); 
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    color: #FFFFFF; 
}

.wa-number {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

.badge-grid {
    display: grid;
    grid-template-columns: repeat(2, 90px); 
    gap: 15px;
    justify-content: end; /* Merapatkan grid ke kanan */
}

.badge-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.badge-img:hover {
    transform: scale(1.05); 
}

/* Bottom Copyright */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15); 
    padding-top: 25px;
    font-size: 0.85rem;
    opacity: 0.85;
}

/* --- Bagian Survei Efektivitas KIE --- */
.survei-section {
    background-color: #F8FAFC;
    padding: 40px 0 40px;
}

.survei-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Membagi menjadi 2 kolom proporsional */
    gap: 40px;
    align-items: center;
}

.survei-image-col {
    width: 100%;
}

.survei-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* Memberikan efek premium pada pinggiran gambar */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.survei-text-col {
    display: flex;
    flex-direction: column;
}

.survei-title {
    font-family: 'Archivo Black', sans-serif; /* Menggunakan font tebal jika sebelumnya sudah di-load */
    font-size: 1.8rem;
    color: #05417C;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.survei-desc {
    color: #4B5563;
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.survei-list {
    list-style: none;
    margin: 15px 0 30px;
    padding: 0;
}

.survei-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #1F2937;
}

.check-icon {
    font-size: 1.1rem;
    margin-top: -2px; /* Menyelaraskan posisi ikon dengan teks */
}

/* Tombol Hijau Survei */
.btn-survei {
    display: inline-block;
    background-color: #00A651; /* Warna hijau spesifik sesuai screenshot */
    color: #FFFFFF;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    max-width: 480px; /* Menyesuaikan agar tombol memanjang namun tidak terlalu lebar */
}

.btn-survei:hover {
    background-color: #004282;
    transform: translateY(-2px);
    color: #FFFFFF;
}

/* ==========================================================
   BAGIAN LOKASI MAPS
========================================================== */
.maps-section {
    padding: 20px 0 60px 0; /* Memberi jarak dengan elemen di atasnya dan footer di bawahnya */
    background-color: #FFFFFF; 
}

.maps-wrapper {
    width: 100%;
    height: 400px; /* Tinggi peta di layar komputer */
    border-radius: 12px; /* Membuat sudut peta sedikit membulat agar elegan */
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* Efek bayangan lembut */
    border: 1px solid #E5E7EB;
}

.maps-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* --- Styling Floating Banner & Countdown --- */
.floating-banner-section {
    padding: 40px 0 20px 0;
    position: relative;
    z-index: 10;
}

.floating-banner-card {
    background: linear-gradient(135deg, #1D4ED8 0%, #4C1D95 50%, #DB2777 100%);
    color: white;
    padding: 35px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(5, 65, 124, 0.25);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.banner-info {
    flex: 1;
    min-width: 300px;
}

.banner-badge-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.banner-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}

.banner-info h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

.banner-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.95;
    margin-bottom: 15px;
}

/* Menyamakan lebar label agar titik dua otomatis sejajar rapi */
.banner-row {
    display: flex;
    align-items: flex-start;
}

.banner-row .label {
    min-width: 140px; /* Atur lebar tetap untuk label */
    font-weight: 600;
}

.banner-row .separator {
    margin-right: 8px; /* Jarak antara titik dua dan isi teks */
}

.banner-row .value {
    flex: 1;
}

/* Kotak Countdown */
.countdown-container {
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 16px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    width: fit-content;
}

.countdown-box {
    text-align: center;
}

.countdown-number {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
}

.countdown-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: 3px;
    display: block;
}

.countdown-separator {
    font-size: 1.1rem;
    font-weight: 700;
    align-self: center;
    opacity: 0.6;
}

.banner-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 260px;
}

.btn-banner-primary {
    background: #10B981;
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-banner-primary:hover {
    background: #059669;
}

.btn-banner-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-banner-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}


/* ==========================================================
   KUMPULAN RESPONSIVITAS (MEDIA QUERIES)
========================================================== */

/* Tablet (Maksimal 1024px) */
@media (max-width: 1024px) {
    .nav-links, .nav-action { display: none; }
    
    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .nav-links.active li { width: 100%; text-align: center; }
    .nav-links.active a { padding: 10px; justify-content: center; }
    .hamburger { display: flex; }
    
    .banner-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet Kecil & Layar Tanggung (Maksimal 992px) */
@media (max-width: 992px) {
    .kie-media-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
    .section-title-left { text-align: center; }
    
    .kategori-grid { grid-template-columns: repeat(2, 1fr); }
    .reel-card { flex: 0 0 calc(33.333% - 13.33px); } 

    /* Footer Center alignment di Mobile/Tablet */
    .footer-grid { grid-template-columns: 1fr; gap: 50px; }
    .footer-col-left, .footer-col-right { align-items: center; text-align: center; }
    .footer-address { flex-direction: column; align-items: center; text-align: center; }
    .wa-chat-container { margin-right: 0; align-items: center; }
    .badge-grid { justify-content: center; }

    .survei-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .survei-title {
        text-align: center;
    }
    .btn-survei {
        margin: 0 auto; /* Menengahkan tombol di layar HP */
    }

    .majalah-card { flex: 0 0 calc(33.333% - 13.33px); } /* 3 Kartu */

    /* Responsivitas Hero */
    .hero-section {
        padding-top: 120px;
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-text-box {
        max-width: 100%;
        text-align: center;
    }
    /* Pengecilan Teks Judul di Layar HP */
    .welcome-highlight {
        font-size: 3rem; /* Diperkecil untuk HP */
    }
    .welcome-sub {
        font-size: 1.5rem; /* Diperkecil untuk HP */
        line-height: 1.3;
    }
    
    .hero-illustration {
        max-width: 90%;
        margin-top: 20px;
    }
    .hero-bottom-img {
        max-width: 95%; /* Menyesuaikan batas layar HP */
        margin-top: 10px;
    }

    /* Responsivitas Maps di HP */
    .maps-section {
        padding: 10px 0 40px 0;
    }
    .maps-wrapper {
        height: 300px; /* Tinggi peta dikurangi saat di layar HP */
    }
}

/* Handphone (Maksimal 768px) */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2rem; }
    .banner-grid, .service-grid { grid-template-columns: 1fr; }
    .banner-img { height: 60px; }
    .reel-card { flex: 0 0 calc(50% - 10px); } 
    .slider-btn { display: none; } 
    .majalah-card { flex: 0 0 calc(50% - 10px); } /* 2 Kartu */

    .floating-banner-card {
        padding: 25px 20px;
    }
    .banner-actions {
        width: 100%;
        min-width: unset;
    }
}

/* Handphone Layar Kecil (Maksimal 576px/480px) */
@media (max-width: 576px) {
    .kategori-grid { grid-template-columns: 1fr; }
    .kategori-card { height: 130px; }
    .kategori-img { height: 90px; }
}

@media (max-width: 480px) {
    .reel-card { flex: 0 0 calc(80%); } 
    .majalah-card { flex: 0 0 calc(80%); } /* 1 Kartu */
}

