@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --hijau-tua: #0d3b2e;
    --hijau: #12543f;
    --hijau-muda: #1a7a5c;
    --emas: #c9a35c;
    --emas-terang: #e6c877;
    --krem: #faf7f0;
    --putih: #ffffff;
    --teks-gelap: #1f2a25;
    --teks-abu: #5c6b64;
    --bayangan: 0 10px 30px rgba(13, 59, 46, 0.10);
    --bayangan-hover: 0 18px 40px rgba(13, 59, 46, 0.16);
    --radius: 14px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--teks-gelap);
    background: var(--krem);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-arab {
    font-family: 'Amiri', Georgia, serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color .25s ease, opacity .25s ease;
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
}

/* ===== Pola geometris Islami sebagai aksen ===== */
.pola-islami {
    background-image:
        radial-gradient(circle at 10% 20%, rgba(201,163,92,0.06) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(201,163,92,0.06) 0%, transparent 40%);
}

.garis-emas {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--emas), var(--emas-terang));
    margin: 14px auto 22px;
    border-radius: 4px;
}
.garis-emas.kiri { margin: 14px 0 22px; }

.label-section {
    text-align: center;
    color: var(--hijau);
    letter-spacing: 2.5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
}

.judul-section {
    text-align: center;
    font-size: clamp(24px, 4vw, 36px);
    color: var(--hijau-tua);
    margin-top: 6px;
    line-height: 1.3;
}

.subjudul-section {
    text-align: center;
    color: var(--teks-abu);
    max-width: 680px;
    margin: 0 auto 12px;
    font-size: clamp(14px, 2vw, 16px);
}

/* ===== Topbar ===== */
.topbar {
    background: var(--hijau-tua);
    color: #d9e6df;
    font-size: 13px;
    padding: 8px 0;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.topbar .kontak-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.topbar a {
    color: #d9e6df;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.topbar a:hover { color: var(--emas-terang); }
.topbar i { color: var(--emas-terang); }
.topbar .sosial {
    display: flex;
    align-items: center;
    gap: 12px;
}
.topbar .sosial a { margin: 0; }

/* ===== Jadwal Sholat Bar ===== */
.prayer-bar {
    background: #092c22;
    color: #cfe0d7;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(201, 163, 92, 0.2);
}
.prayer-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.prayer-title {
    color: var(--emas-terang);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.prayer-times {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.p-time { color: #dbeae2; }
.prayer-date { color: #a4c2b2; font-size: 11.5px; }

/* ===== Running Text / Marquee Announcement Bar ===== */
.running-text-bar {
    background: #0d382c;
    color: #e5f2eb;
    border-bottom: 1px solid rgba(201, 163, 92, 0.25);
    font-size: 13px;
    height: 36px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 10;
}
.running-label {
    background: linear-gradient(135deg, var(--emas), var(--emas-terang));
    color: var(--hijau-tua);
    font-weight: 700;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 4px 0 10px rgba(0,0,0,0.15);
}
.running-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.running-marquee {
    display: inline-block;
    padding-left: 100%;
    animation: marqueeScroll 32s linear infinite;
    font-weight: 500;
    color: #f0f7f3;
}
.running-marquee:hover {
    animation-play-state: paused;
}
.running-marquee a {
    color: var(--emas-terang);
    text-decoration: underline;
    font-weight: 600;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ===== Navbar ===== */
.navbar {
    background: var(--putih);
    box-shadow: var(--bayangan);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: box-shadow .3s ease;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}
.brand-text .nama {
    font-family: 'Amiri', serif;
    font-weight: 700;
    color: var(--hijau-tua);
    font-size: 20px;
    line-height: 1.15;
}
.brand-text .tagline {
    font-size: 11px;
    color: var(--teks-abu);
    font-weight: 500;
}

.close-menu-btn { display: none; }

.menu {
    display: flex;
    gap: 18px;
    align-items: center;
}
.nav-item {
    position: relative;
    list-style: none;
}
.nav-link {
    font-weight: 500;
    color: var(--teks-gelap);
    font-size: 14.5px;
    position: relative;
    padding: 8px 0;
    transition: color .25s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2.5px;
    background: var(--emas);
    transition: width .3s ease;
    border-radius: 2px;
}
.nav-link:hover::after, .nav-link.aktif::after { width: 100%; }
.nav-link:hover, .nav-link.aktif { color: var(--hijau); }
.nav-arrow {
    font-size: 11px;
    transition: transform .25s ease;
    color: var(--teks-abu);
}
.has-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
    color: var(--hijau);
}

/* ===== Dropdown Menu Desktop ===== */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 235px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 14px 35px rgba(13, 59, 46, 0.16);
    padding: 8px;
    border-top: 3px solid var(--emas);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}
.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--teks-gelap);
    transition: all .2s ease;
    font-weight: 500;
    text-decoration: none;
}
.dropdown-menu a::after { display: none !important; }
.dropdown-menu a:hover, .dropdown-menu a.aktif {
    background: #f0f7f3;
    color: var(--hijau);
    transform: translateX(4px);
}
.dropdown-menu a i {
    color: var(--emas);
    width: 18px;
    text-align: center;
    font-size: 13.5px;
}

.btn-daftar {
    background: linear-gradient(120deg, var(--hijau), var(--hijau-muda)) !important;
    color: #fff !important;
    padding: 9px 20px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(18,84,63,.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform .25s, box-shadow .25s, opacity .25s !important;
}
.btn-daftar::after { display: none !important; }
.btn-daftar:hover {
    opacity: .95;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(18,84,63,.4);
}

.toggle-menu {
    display: none;
    font-size: 24px;
    color: var(--hijau-tua);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background .2s;
}
.toggle-menu:hover { background: rgba(13,59,46,0.06); }

/* Backdrop overlay untuk menu mobile */
.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity .3s ease;
}
.menu-overlay.tampil {
    display: block;
    opacity: 1;
}

/* ===== Hero / Slider ===== */
.hero-slider {
    position: relative;
    height: clamp(480px, 65vh, 600px);
    overflow: hidden;
    background: var(--hijau-tua);
}
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.slide.aktif { opacity: 1; }
.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13,59,46,.92) 0%, rgba(13,59,46,.70) 55%, rgba(13,59,46,.35) 100%);
}
.slide-konten {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 650px;
    padding: 20px 0;
}
.slide-konten .kicker {
    color: var(--emas-terang);
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
}
.slide-konten h1 {
    font-size: clamp(26px, 5vw, 42px);
    margin: 12px 0 16px;
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.slide-konten p {
    color: #e5efe9;
    margin-bottom: 26px;
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.btn-emas, .btn-outline {
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .25s ease;
    cursor: pointer;
}
.btn-emas {
    background: linear-gradient(120deg, var(--emas), var(--emas-terang));
    color: var(--hijau-tua) !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.2);
}
.btn-outline {
    border: 2px solid #fff;
    color: #fff !important;
}
.btn-emas:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,.3);
    opacity: .95;
}
.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.slider-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.slider-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    transition: all .3s;
}
.slider-dots span.aktif {
    background: var(--emas-terang);
    width: 28px;
    border-radius: 6px;
}

/* ===== Grid & Layout ===== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

section { padding: clamp(50px, 7vw, 80px) 0; }

.bg-hijau {
    background: var(--hijau-tua);
    color: #eef4f0;
}
.bg-hijau .judul-section, .bg-hijau .label-section { color: #fff; }
.bg-hijau .subjudul-section { color: #cfe0d7; }

/* ===== Cards ===== */
.card {
    background: var(--putih);
    border-radius: var(--radius);
    box-shadow: var(--bayangan);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--bayangan-hover);
}

.card-program {
    padding: 32px 24px;
    text-align: center;
}
.icon-lingkaran {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hijau), var(--hijau-muda));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--emas-terang);
    font-size: 26px;
    flex-shrink: 0;
}
.card-program h3 {
    color: var(--hijau-tua);
    font-size: 19px;
    margin-bottom: 10px;
}
.card-program p {
    color: var(--teks-abu);
    font-size: 14px;
    line-height: 1.6;
}

.card-berita img, .card-galeri img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}
.card-berita .isi, .card-galeri .isi {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.kategori-badge {
    display: inline-block;
    background: rgba(201,163,92,.15);
    color: var(--emas);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    align-self: flex-start;
}
.card-berita h3 {
    font-size: 17px;
    color: var(--hijau-tua);
    margin-bottom: 8px;
    line-height: 1.4;
}
.meta-berita {
    font-size: 12.5px;
    color: var(--teks-abu);
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.card-ustadz {
    text-align: center;
    padding-bottom: 24px;
}
.card-ustadz img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}
.card-ustadz h3 {
    color: var(--hijau-tua);
    margin-top: 18px;
    font-size: 17px;
}
.card-ustadz .jabatan {
    color: var(--emas);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}
.card-ustadz p {
    padding: 0 18px;
    color: var(--teks-abu);
    font-size: 13px;
    line-height: 1.6;
}

.card-fasilitas {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
}
.card-fasilitas .ic {
    font-size: 24px;
    color: var(--emas);
    background: rgba(201,163,92,.12);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.card-fasilitas h4 {
    color: var(--hijau-tua);
    margin-bottom: 6px;
    font-size: 17px;
}
.card-fasilitas p {
    font-size: 13.5px;
    color: var(--teks-abu);
    line-height: 1.5;
}

/* Statistik */
.statistik {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.statistik .angka {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 700;
    color: var(--emas-terang);
    font-family: 'Amiri', serif;
    line-height: 1.1;
}
.statistik .ket {
    font-size: 13.5px;
    color: #d9e6df;
    margin-top: 6px;
}

/* Sambutan / About */
.about-gambar {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--bayangan);
}
.about-gambar img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.about-teks .label-section, .about-teks .judul-section { text-align: left; }
.about-teks .garis-emas { margin-left: 0; }
.about-teks p {
    color: var(--teks-abu);
    margin-bottom: 14px;
    font-size: 15px;
}
.list-cek li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
    color: var(--teks-gelap);
    font-size: 14.5px;
}
.list-cek i {
    color: var(--hijau);
    margin-top: 4px;
    flex-shrink: 0;
}

/* Tabs profil */
.tab-menu {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.tab-menu button {
    padding: 10px 22px;
    border-radius: 30px;
    border: 2px solid var(--hijau);
    background: transparent;
    color: var(--hijau);
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all .25s ease;
}
.tab-menu button.aktif, .tab-menu button:hover {
    background: var(--hijau);
    color: #fff;
}
.tab-konten { display: none; }
.tab-konten.aktif { display: block; animation: fadeIn .4s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Halaman - hero kecil */
.page-hero {
    background: linear-gradient(rgba(13,59,46,.92), rgba(13,59,46,.92));
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: clamp(60px, 10vw, 90px) 0 clamp(40px, 6vw, 60px);
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(26px, 5vw, 38px);
    margin-bottom: 8px;
}
.breadcrumb {
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.breadcrumb a { color: var(--emas-terang); }
.breadcrumb span { color: #cfe0d7; }

/* Form */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--hijau-tua);
    font-size: 14px;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #dfe6e2;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: border-color .2s;
    background: #fff;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--hijau);
    box-shadow: 0 0 0 3px rgba(18,84,63,0.12);
}
.btn-kirim {
    background: linear-gradient(120deg, var(--hijau), var(--hijau-muda));
    color: #fff;
    border: none;
    padding: 13px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14.5px;
    transition: all .25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-kirim:hover {
    opacity: .92;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(18,84,63,.25);
}

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}
.alert-sukses { background: #e2f4ea; color: #1a7a4a; border: 1px solid #b6e3c6; }
.alert-gagal { background: #fdeaea; color: #b3261e; border: 1px solid #f5c2c2; }

/* Footer */
footer {
    background: var(--hijau-tua);
    color: #cfe0d7;
    padding-top: clamp(40px, 7vw, 60px);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.4fr;
    gap: 32px;
    padding-bottom: 40px;
}
.footer-grid h4 {
    color: #fff;
    font-family: 'Amiri', serif;
    margin-bottom: 16px;
    font-size: 18px;
}
.footer-grid p, .footer-grid li {
    font-size: 13.5px;
    color: #b9cec2;
    margin-bottom: 10px;
    line-height: 1.6;
}
.footer-grid a:hover { color: var(--emas-terang); }
.footer-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}
.footer-brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.footer-brand span {
    font-family: 'Amiri', serif;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}
.footer-sosial {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.footer-sosial a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all .25s ease;
}
.footer-sosial a:hover {
    background: var(--emas);
    color: var(--hijau-tua);
    transform: translateY(-2px);
}
.footer-bawah {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px 0;
    text-align: center;
    font-size: 13px;
    color: #a9c1b5;
}

/* Tombol ke atas */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--hijau);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--bayangan);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    z-index: 997;
    cursor: pointer;
}
.back-to-top:hover {
    background: var(--hijau-muda);
    transform: translateY(-3px);
}
.back-to-top.tampil { opacity: 1; visibility: visible; }

/* Paginasi */
.paginasi {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.paginasi a, .paginasi span {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff;
    color: var(--hijau-tua);
    box-shadow: var(--bayangan);
    font-size: 14px;
    font-weight: 500;
}
.paginasi .aktif {
    background: var(--hijau);
    color: #fff;
}

/* Galeri filter */
.filter-galeri {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.filter-galeri button, .filter-galeri a {
    padding: 9px 20px;
    border-radius: 30px;
    border: 1.5px solid var(--hijau);
    background: #fff;
    color: var(--hijau);
    cursor: pointer;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    transition: all .25s ease;
}
.filter-galeri button.aktif, .filter-galeri button:hover,
.filter-galeri a.aktif, .filter-galeri a:hover {
    background: var(--hijau);
    color: #fff;
}

/* ===== FLOATING WHATSAPP MULTI-KONTAK WIDGET ===== */
.wa-widget {
    position: fixed;
    bottom: 24px;
    right: 80px;
    z-index: 996;
}
.wa-btn-toggle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    cursor: pointer;
    border: none;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.wa-btn-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}
.wa-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: waPulse 2s infinite;
    pointer-events: none;
}
@keyframes waPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.25); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}
.wa-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #e05252;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}
.wa-popup {
    position: absolute;
    bottom: 66px;
    right: 0;
    width: min(320px, calc(100vw - 32px));
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    transform: scale(0.85) translateY(15px);
    opacity: 0;
    visibility: hidden;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: bottom right;
}
.wa-popup.tampil {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}
.wa-popup-header {
    background: linear-gradient(135deg, #0d3b2e, #155e46);
    color: #fff;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.wa-popup-header h4 { font-size: 15px; color: #fff; margin-bottom: 2px; }
.wa-popup-header p { font-size: 12px; color: #cfe0d7; margin: 0; }
.wa-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
}
.wa-popup-body {
    padding: 14px;
    background: #f7faf8;
}
.wa-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 8px;
    border: 1px solid #e2eee6;
    transition: all .2s ease;
    text-decoration: none;
}
.wa-contact-item:last-child { margin-bottom: 0; }
.wa-contact-item:hover {
    border-color: #25d366;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15);
}
.wa-icon-cs {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #eafaf0;
    color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.wa-info-cs h5 { font-size: 13.5px; color: var(--hijau-tua); font-weight: 600; margin-bottom: 1px; }
.wa-info-cs p { font-size: 11.5px; color: var(--teks-abu); margin: 0; line-height: 1.3; }

/* =========================================================
   MEDIA QUERIES / RESPONSIVE BREAKPOINTS
   ========================================================= */

/* --- TABLET LANDSCAPE & DESKTOP KECIL (<= 1024px) --- */
@media (max-width: 1024px) {
    .menu { gap: 16px; }
    .menu a { font-size: 14px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 24px; }
}

/* --- TABLET PORTRAIT & MOBILE DRAWER (<= 992px) --- */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .grid-2 { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .about-gambar img { height: 320px; }

    /* Mobile Navigation Drawer */
    .toggle-menu { display: flex; align-items: center; justify-content: center; }
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(82%, 340px);
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 30px;
        gap: 8px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        transition: right .35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
    }
    .menu.tampil { right: 0; }
    .close-menu-btn {
        display: block !important;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 22px;
        color: var(--hijau-tua);
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px;
    }
    .has-dropdown { width: 100%; }
    .nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 11px 14px;
        font-size: 15px;
        border-radius: 8px;
        color: var(--teks-gelap);
    }
    .nav-link::after { display: none; }
    .nav-link:hover, .nav-link.aktif {
        background: rgba(18, 84, 63, 0.08);
        color: var(--hijau);
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        background: #f3f8f5;
        border-radius: 8px;
        margin: 4px 0 8px 10px;
        padding: 6px;
        display: none;
    }
    .dropdown-menu a {
        padding: 10px 12px;
        font-size: 14px;
    }
    .has-dropdown.buka .dropdown-menu {
        display: block;
    }
    .has-dropdown.buka .nav-arrow {
        transform: rotate(180deg);
        color: var(--hijau);
    }
    .menu .btn-daftar {
        margin-top: 14px;
        padding: 13px 20px !important;
        text-align: center;
        width: 100%;
    }
}

/* --- MOBILE LANDSCAPE & PHABLET (<= 768px) --- */
@media (max-width: 768px) {
    .topbar .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
    }
    .topbar .kontak-info { justify-content: center; gap: 12px; }
    .topbar .sosial { justify-content: center; }

    .hero-slider { height: 480px; }
    .slide-konten { padding: 0; max-width: 100%; }

    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .statistik { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    .footer-grid { grid-template-columns: 1fr; gap: 26px; }

    .card-fasilitas { padding: 18px; }
    .card-fasilitas .ic { width: 44px; height: 44px; font-size: 20px; }

    .about-gambar img { height: 260px; }
}

/* --- SMALL MOBILE (<= 480px) --- */
@media (max-width: 480px) {
    .brand img { width: 40px; height: 40px; }
    .brand-text .nama { font-size: 17px; }
    .brand-text .tagline { font-size: 9.5px; }

    .hero-slider { height: 440px; }
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-btns a { width: 100%; text-align: center; }

    .statistik { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .statistik .angka { font-size: 30px; }
    .statistik .ket { font-size: 12px; }

    .tab-menu { gap: 6px; }
    .tab-menu button {
        padding: 8px 14px;
        font-size: 12.5px;
        flex: 1 1 45%;
        text-align: center;
    }

    .card-berita img, .card-galeri img { height: 180px; }
    .card-ustadz img { height: 230px; }

    .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }
    .wa-widget { bottom: 16px; right: 66px; }
    .wa-btn-toggle { width: 42px; height: 42px; font-size: 22px; }
    .wa-popup { width: calc(100vw - 32px); right: -50px; bottom: 56px; }
}
