/* 
=============================================================================
   YAYASAN BAITUL HIKMAH TABANAN - PORTAL RESMI
   Design System: Yabahita Modern Islamic Foundation & Community Platform
   Color Scheme: Emerald Green (#087F5B), Deep Green (#064E3B), Gold (#D4AF37), Warm White (#FAF9F4)
============================================================================= */

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

:root {
    --primary: #087F5B;
    --primary-hover: #076b4d;
    --primary-light: #e6fcf5;
    --primary-glow: rgba(8, 127, 91, 0.25);
    
    --dark-green: #064E3B;
    --dark-deep: #022c22;
    --dark-forest: #033a2d;
    
    --accent-gold: #D4AF37;
    --accent-gold-light: #fef3c7;
    --accent-gold-glow: rgba(212, 175, 55, 0.3);
    --gold-gradient: linear-gradient(135deg, #F59E0B 0%, #D4AF37 50%, #B45309 100%);
    
    --bg-warm: #FAF9F4;
    --bg-white: #FFFFFF;
    --bg-subtle: #F4F6F0;
    --border-light: #E2E8F0;
    --border-green: rgba(8, 127, 91, 0.15);
    
    --text-main: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --text-white: #FFFFFF;

    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-arabic: 'Amiri', serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    --shadow-subtle: 0 4px 20px -2px rgba(6, 78, 59, 0.05);
    --shadow-md: 0 10px 30px -4px rgba(6, 78, 59, 0.1);
    --shadow-lg: 0 20px 40px -6px rgba(6, 78, 59, 0.15);
    --shadow-glow: 0 0 25px rgba(212, 175, 55, 0.35);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-warm);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

button, input, select, textarea {
    font-family: inherit;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-green);
    line-height: 1.25;
}

.text-gold { color: var(--accent-gold) !important; }
.text-primary { color: var(--primary) !important; }
.text-white { color: #fff !important; }
.text-muted { color: var(--text-muted) !important; }

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Header Component */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--border-green);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--dark-green);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-gold {
    background: var(--gold-gradient);
    color: #fff;
    box-shadow: 0 4px 14px var(--accent-gold-glow);
}
.btn-gold:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}
.btn-outline-white:hover {
    background: #fff;
    color: var(--dark-green);
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* =============================================================================
   1. NAVBAR
============================================================================= */
.navbar-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar-topbar {
    background: var(--dark-deep);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.navbar-topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.topbar-info {
    display: flex;
    align-items: center;
    gap: 18px;
}
.topbar-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.topbar-socials {
    display: flex;
    gap: 12px;
}
.topbar-socials a:hover {
    color: var(--accent-gold);
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(8, 127, 91, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    height: auto;
    padding: 6px 20px;
    gap: 16px;
    position: relative;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-icon-svg {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}
.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    white-space: nowrap;
}
.brand-text h2 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark-green);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0;
    white-space: nowrap;
}
.brand-text span {
    font-size: 0.65rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: block;
    line-height: 1.2;
    margin-top: 2px;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-link {
    font-weight: 600;
    font-size: 0.84rem;
    color: var(--text-main);
    position: relative;
    padding: 6px 2px;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.nav-cta .btn-sm {
    padding: 7px 16px;
    font-size: 0.82rem;
    white-space: nowrap;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark-green);
    padding: 6px;
}

/* =============================================================================
   2. HERO SECTION
============================================================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 130px;
    padding-bottom: 70px;
    display: flex;
    align-items: center;
    background-image: linear-gradient(135deg, rgba(3, 46, 35, 0.92) 0%, rgba(6, 78, 59, 0.84) 60%, rgba(8, 127, 91, 0.78) 100%), url('../images/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    overflow: hidden;
}

.hero-overlay-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(212, 175, 55, 0.15) 1.5px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fef08a;
    margin-bottom: 24px;
}

.hero-headline {
    font-size: 3.4rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-subheadline {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 22px;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 34px;
    max-width: 720px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 45px;
}

.hero-pillars-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 22px;
    background: rgba(3, 44, 34, 0.65);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}
.hero-pillar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}
.hero-pillar-item span.dot {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

/* Quick Stats Bar in Hero */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}
.hero-stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}
.hero-stat-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-3px);
    border-color: var(--accent-gold);
}
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fef08a;
}
.stat-info h4 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.1;
}
.stat-info p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =============================================================================
   3. SECTION: IDENTITAS RESMI & LEGALITAS
============================================================================= */
.identity-section {
    padding: 90px 0;
    background: var(--bg-warm);
    position: relative;
}

.legal-card-banner {
    background: linear-gradient(135deg, #064E3B 0%, #087F5B 100%);
    border-radius: var(--radius-xl);
    padding: 45px;
    color: #fff;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.legal-card-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.legal-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}
.legal-title-wrap h2 {
    color: #FFFFFF;
    font-size: 2rem;
    margin-bottom: 8px;
}
.legal-address-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 35px;
}
.legal-item-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}
.legal-item-box:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}
.legal-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fef08a;
    margin-bottom: 6px;
    font-weight: 700;
}
.legal-highlight-code {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    font-family: monospace;
    background: rgba(0, 0, 0, 0.25);
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
    word-break: break-all;
    margin-bottom: 8px;
}
.legal-subtext {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.legal-footer-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* =============================================================================
   4. SECTION: MAKSUD & TUJUAN (RADIAL / CIRCULAR INTERACTIVE VISUALIZER)
============================================================================= */
.radial-section {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
}

.radial-container-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.radial-visual-stage {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1/1;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radial-orbit-ring {
    position: absolute;
    width: 82%;
    height: 82%;
    border: 2px dashed rgba(8, 127, 91, 0.25);
    border-radius: 50%;
    animation: orbitRotate 40s linear infinite;
}
@keyframes orbitRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.radial-core-node {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #064E3B 0%, #087F5B 100%);
    box-shadow: 0 0 35px rgba(8, 127, 91, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    z-index: 5;
    border: 4px solid #fff;
    transition: var(--transition);
}
.radial-core-node .core-arabic {
    font-family: var(--font-arabic);
    font-size: 1.1rem;
    color: var(--accent-gold);
}
.radial-core-node h3 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 2px;
}

/* 5 Orbiting Nodes */
.radial-satellite-node {
    position: absolute;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-green);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 6;
    text-align: center;
    padding: 6px;
}
.radial-satellite-node .node-icon {
    font-size: 1.5rem;
}
.radial-satellite-node .node-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--dark-green);
    text-transform: uppercase;
    margin-top: 2px;
}
.radial-satellite-node:hover, .radial-satellite-node.active {
    transform: scale(1.18);
    background: var(--dark-green);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-glow);
}
.radial-satellite-node:hover .node-label, .radial-satellite-node.active .node-label {
    color: #fef08a;
}

/* Positioning 5 nodes around the circle */
/* Top: Keagamaan */
.node-pos-1 { top: 0%; left: 50%; transform: translate(-50%, 0); }
/* Right Top: Kemanusiaan */
.node-pos-2 { top: 28%; right: 0%; transform: translate(0, -50%); }
/* Right Bottom: Umum */
.node-pos-3 { bottom: 6%; right: 12%; }
/* Left Bottom: Sosial */
.node-pos-4 { bottom: 6%; left: 12%; }
/* Left Top: Pendidikan */
.node-pos-5 { top: 28%; left: 0%; transform: translate(0, -50%); }

.radial-detail-panel {
    background: var(--bg-warm);
    border: 1px solid var(--border-green);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
}
.radial-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.radial-detail-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-green);
    margin-bottom: 14px;
}
.radial-detail-desc {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}
.radial-program-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.program-pill {
    background: #fff;
    border: 1px solid var(--border-light);
    padding: 6px 14px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-green);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* =============================================================================
   5. SECTIONS: 5 BIDANG PROGRAM & SUB-PROGRAMS
============================================================================= */
.programs-section {
    padding: 100px 0;
    background: var(--bg-warm);
}

.programs-tabs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 45px;
}
.tab-btn {
    padding: 12px 24px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}
.tab-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}
.tab-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.program-tab-pane {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}
.program-tab-pane.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.program-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-green);
}

.program-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}
.program-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.program-card:hover .program-card-img img {
    transform: scale(1.08);
}
.program-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(6, 78, 59, 0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.program-card-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.program-card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark-green);
}
.program-card-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}
.program-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

/* =============================================================================
   6. SECTION: SOSIAL & STATS
============================================================================= */
.social-stats-banner {
    margin-top: 50px;
    background: linear-gradient(135deg, #022c22 0%, #064E3B 100%);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    color: #fff;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.social-stats-banner h3 {
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.social-stats-banner p.sub {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 35px auto;
}
.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
.counter-box h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
    margin-bottom: 8px;
}
.counter-box span {
    font-size: 0.95rem;
    color: #fef08a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =============================================================================
   7. AGENDA YAYASAN (KALENDER DIGITAL + DETAIL MODAL)
============================================================================= */
.agenda-section {
    padding: 95px 0;
    background: var(--bg-white);
}

.agenda-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    background: var(--bg-warm);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.agenda-sidebar {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border-light);
}
.agenda-sidebar h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.agenda-month-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.agenda-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.agenda-card-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    cursor: pointer;
    transition: var(--transition);
}
.agenda-card-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateX(6px);
}

.agenda-date-box {
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    text-align: center;
    min-width: 65px;
}
.agenda-date-box .date-num {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}
.agenda-date-box .date-month {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
}

.agenda-content-box {
    flex-grow: 1;
}
.agenda-category-pill {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(8, 127, 91, 0.1);
    color: var(--primary);
    display: inline-block;
    margin-bottom: 4px;
}
.agenda-content-box h4 {
    font-size: 1.05rem;
    color: var(--dark-green);
    margin-bottom: 4px;
}
.agenda-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* =============================================================================
   8. BERITA & REPORTASE
============================================================================= */
.news-section {
    padding: 95px 0;
    background: var(--bg-warm);
}

.news-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}
.news-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.news-cat-btn {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}
.news-cat-btn.active, .news-cat-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.news-search-box {
    position: relative;
    width: 100%;
    max-width: 320px;
}
.news-search-input {
    width: 100%;
    padding: 10px 18px 10px 40px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    background: #fff;
    font-size: 0.88rem;
    outline: none;
    transition: var(--transition);
}
.news-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}
.search-icon-pos {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-green);
}
.news-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .news-card-img img {
    transform: scale(1.06);
}
.news-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(8, 127, 91, 0.9);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
}

.news-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.news-meta-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.news-body h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--dark-green);
    line-height: 1.35;
}
.news-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

/* =============================================================================
   9. GALERI KEGIATAN (MASONRY + LIGHTBOX)
============================================================================= */
.gallery-section {
    padding: 95px 0;
    background: var(--bg-white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}
.gallery-filter-btn {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    background: var(--bg-warm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}
.gallery-filter-btn.active, .gallery-filter-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.gallery-masonry {
    column-count: 3;
    column-gap: 20px;
}
.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-subtle);
}
.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 78, 59, 0.9) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #fff;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.gallery-overlay span {
    font-size: 0.8rem;
    color: #fef08a;
}

/* =============================================================================
   10. SECTION: TRANSPARANSI YAYASAN
============================================================================= */
.transparency-section {
    padding: 100px 0;
    background: var(--bg-warm);
    position: relative;
}

.transparency-dashboard {
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    padding: 45px;
    box-shadow: var(--shadow-md);
}

.transparency-balance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.balance-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-warm);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}
.balance-card.in {
    border-left: 5px solid var(--primary);
}
.balance-card.out {
    border-left: 5px solid #059669;
}
.balance-card.reserve {
    border-left: 5px solid var(--accent-gold);
}
.balance-card h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.balance-card .amount {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--dark-green);
    line-height: 1.1;
    margin-bottom: 6px;
}
.balance-card .sub-info {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Comparison Bar */
.progress-meter-wrap {
    background: var(--bg-warm);
    border-radius: var(--radius-lg);
    padding: 26px;
    margin-bottom: 40px;
    border: 1px solid var(--border-light);
}
.meter-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 10px;
}
.meter-track {
    height: 18px;
    background: #e2e8f0;
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}
.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #087F5B 0%, #10B981 100%);
    border-radius: var(--radius-full);
    transition: width 1.2s ease-in-out;
}

.programs-distribution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}
.dist-item {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 18px;
}
.dist-item .pct {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}
.dist-item .title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-green);
    margin: 4px 0;
}
.dist-item .val {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.transparency-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

/* =============================================================================
   11. SECTION: DONASI DIGITAL
============================================================================= */
.donation-section {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
}

.donation-box-wrap {
    background: var(--bg-warm);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-green);
    padding: 45px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.donation-info-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.donation-info-side h2 {
    font-size: 2.3rem;
    margin-bottom: 16px;
}
.donation-info-side p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.donation-form-side {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 8px;
}

.program-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.program-chip-btn {
    padding: 8px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    background: var(--bg-warm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}
.program-chip-btn.active, .program-chip-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

.nominal-preset-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}
.nominal-btn {
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    background: var(--bg-warm);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark-green);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}
.nominal-btn.active, .nominal-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.custom-nominal-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}
.custom-nominal-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.pay-method-card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-warm);
}
.pay-method-card.active, .pay-method-card:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}
.pay-method-card span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark-green);
    display: block;
}

/* =============================================================================
   12. ROADMAP & TIMELINE
============================================================================= */
.roadmap-section {
    padding: 95px 0;
    background: var(--bg-warm);
}

.timeline-horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    position: relative;
    margin-top: 40px;
}

.timeline-step {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 26px 20px;
    position: relative;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}
.timeline-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.timeline-step.active {
    border-color: var(--accent-gold);
    background: linear-gradient(180deg, #fff 0%, #fefce8 100%);
}

.timeline-year {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}
.timeline-step.active .timeline-year {
    color: #b45309;
}
.timeline-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.timeline-step h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}
.timeline-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =============================================================================
   13. RELAWAN (VOLUNTEER SECTION)
============================================================================= */
.volunteer-section {
    padding: 95px 0;
    background: var(--bg-white);
}

.volunteer-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.volunteer-form-card {
    background: var(--bg-warm);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 8px;
}
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}

/* =============================================================================
   14. LOKASI & KONTAK
============================================================================= */
.contact-section {
    padding: 95px 0;
    background: var(--bg-warm);
}

.contact-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-details h4 {
    font-size: 1rem;
    color: var(--dark-green);
    margin-bottom: 4px;
}
.contact-details p, .contact-details a {
    font-size: 0.92rem;
    color: var(--text-muted);
}
.contact-details a:hover {
    color: var(--primary);
}

.map-container-box {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    position: relative;
    min-height: 380px;
}
.map-container-box iframe {
    width: 100%;
    height: 100%;
    border: none;
    min-height: 380px;
}

/* =============================================================================
   15. STRUKTUR ORGANISASI (HIERARCHICAL TREE & CARDS WITH PHOTOS)
============================================================================= */
.org-structure-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #F4F6F0 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.org-tree-flow {
    max-width: 1100px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.org-tree-tier {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.org-tier-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.org-tier-pill.gold {
    background: #FEF3C7;
    color: #92400E;
    border: 1.5px solid #F59E0B;
}

.org-tier-pill.amber {
    background: #FFFBEB;
    color: #B45309;
    border: 1.5px solid #D97706;
}

.org-tier-pill.green {
    background: #E6FCF5;
    color: #065F46;
    border: 1.5px solid #087F5B;
}

.org-tier-pill.emerald {
    background: #ECFDF5;
    color: #047857;
    border: 1.5px solid #10B981;
}

.org-cards-flex {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

/* Person Card */
.org-person-card {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    padding: 22px 20px;
    width: 100%;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.org-person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(8, 127, 91, 0.12);
    border-color: var(--primary);
}

.org-person-card.theme-gold {
    border-top: 4px solid var(--accent-gold);
}
.org-person-card.theme-gold:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 14px 28px rgba(212, 175, 55, 0.18);
}

.org-person-card.theme-amber {
    border-top: 4px solid #D97706;
}

.org-person-card.theme-green {
    border-top: 4px solid var(--primary);
}

.org-person-card.theme-teal {
    border-top: 4px solid #0D9488;
}

.org-person-card.theme-blue {
    border-top: 4px solid #2563EB;
}

.org-person-card.theme-rose {
    border-top: 4px solid #E11D48;
}

.org-person-card.theme-emerald {
    border-top: 4px solid #10B981;
}

/* Photo Frame */
.org-person-photo-frame {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    position: relative;
    margin-bottom: 14px;
    padding: 3px;
    background: linear-gradient(135deg, #087F5B 0%, #D4AF37 100%);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.org-person-card.theme-gold .org-person-photo-frame {
    background: linear-gradient(135deg, #D4AF37 0%, #F59E0B 100%);
}

.org-person-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #FAF9F4;
    border: 2px solid #FFFFFF;
    display: block;
}

.org-person-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.org-person-role {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary);
    background: #E6FCF5;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
    display: inline-block;
}

.org-person-card.theme-gold .org-person-role {
    background: #FEF3C7;
    color: #B45309;
}

.org-person-card.theme-amber .org-person-role {
    background: #FFFBEB;
    color: #B45309;
}

.org-person-card.theme-teal .org-person-role {
    background: #CCFBF1;
    color: #0F766E;
}

.org-person-card.theme-blue .org-person-role {
    background: #EFF6FF;
    color: #1D4ED8;
}

.org-person-card.theme-rose .org-person-role {
    background: #FFE4E6;
    color: #BE123C;
}

.org-person-card.theme-emerald .org-person-role {
    background: #ECFDF5;
    color: #047857;
}

.org-person-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 4px;
    line-height: 1.35;
}

.org-person-period {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.org-person-wa {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    padding: 4px 12px;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}

.org-person-wa:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
}

/* Connectors */
.org-v-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 8px 0;
    z-index: 1;
}

.org-v-connector .v-line {
    width: 3px;
    height: 32px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent-gold) 100%);
    border-radius: 2px;
}

.org-v-connector .v-arrow {
    font-size: 0.75rem;
    color: var(--accent-gold);
    line-height: 1;
    margin-top: -3px;
}

/* Fork Connector (Pengurus -> 3 Bidang) */
.org-fork-connector {
    width: 100%;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 8px 0 16px;
    position: relative;
    z-index: 1;
}

.org-fork-connector .v-stem-top {
    width: 3px;
    height: 24px;
    background: var(--primary);
}

.org-fork-connector .h-fork-bar {
    width: 70%;
    height: 3px;
    background: var(--primary);
    position: relative;
    border-radius: 2px;
}

.org-fork-connector .v-stem-bottoms {
    width: 70%;
    display: flex;
    justify-content: space-between;
    margin-top: 0;
}

.org-fork-connector .stem-drop {
    font-size: 0.75rem;
    color: var(--primary);
    line-height: 1;
    margin-top: 2px;
}

/* 3 Branches Grid */
.org-three-branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1100px;
    position: relative;
    z-index: 2;
}

.org-branch-col {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.org-branch-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px dashed #E2E8F0;
    width: 100%;
    justify-content: center;
}

.org-branch-header .branch-icon {
    font-size: 1.3rem;
}

.org-branch-header h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-green);
    margin: 0;
}

.org-branch-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    align-items: center;
}

/* Converge Connector (3 Bidang -> Kegiatan) */
.org-converge-connector {
    width: 100%;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 16px 0 10px;
    position: relative;
    z-index: 1;
}

.org-converge-connector .v-stem-triplet {
    width: 70%;
    display: flex;
    justify-content: space-between;
}

.org-converge-connector .stem-line {
    width: 3px;
    height: 18px;
    background: var(--primary);
}

.org-converge-connector .h-converge-bar {
    width: 70%;
    height: 3px;
    background: var(--primary);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
}

.org-converge-connector .converge-label {
    background: var(--dark-green);
    color: #FEF08A;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    position: absolute;
    top: -10px;
    border: 1px solid var(--accent-gold);
}

.org-converge-connector .v-stem-single {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 12px;
}

.org-converge-connector .v-stem-single::before {
    content: '';
    width: 3px;
    height: 18px;
    background: var(--primary);
    display: block;
}

.org-converge-connector .v-arrow {
    font-size: 0.75rem;
    color: var(--primary);
    line-height: 1;
    margin-top: -3px;
}

@media (max-width: 992px) {
    .org-three-branches-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    .org-fork-connector .h-fork-bar,
    .org-fork-connector .v-stem-bottoms,
    .org-converge-connector .v-stem-triplet,
    .org-converge-connector .h-converge-bar {
        display: none;
    }
    .org-fork-connector .v-stem-top {
        height: 30px;
    }
}

/* =============================================================================
   16. FOOTER
============================================================================= */
.site-footer {
    background: var(--dark-deep);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 80px;
    padding-bottom: 30px;
    border-top: 3px solid var(--accent-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 1.15rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--accent-gold);
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links-list a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}
.footer-links-list a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
}

/* =============================================================================
   17. FLOATING WHATSAPP BUTTON & POPUP MENU
============================================================================= */
.wa-floating-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.wa-trigger-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    position: relative;
}
.wa-trigger-btn:hover {
    transform: scale(1.08);
}
.wa-pulse-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid #25D366;
    opacity: 0;
    animation: waPulse 2s infinite;
}
@keyframes waPulse {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.wa-popup-menu {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    padding: 18px;
    display: none;
    animation: fadeIn 0.25s ease forwards;
}
.wa-popup-menu.show {
    display: block;
}
.wa-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 12px;
}
.wa-popup-header h4 {
    font-size: 0.95rem;
    color: var(--dark-green);
    line-height: 1.2;
}
.wa-popup-header span {
    font-size: 0.75rem;
    color: #25D366;
    font-weight: 600;
}
.wa-popup-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.wa-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    background: var(--bg-warm);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
}
.wa-menu-item:hover {
    background: #e6fcf5;
    color: var(--primary);
    transform: translateX(4px);
}

/* =============================================================================
   18. MODALS & POPUPS
============================================================================= */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 44, 34, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-backdrop.show {
    display: flex;
}
.modal-box {
    background: #fff;
    border-radius: var(--radius-xl);
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 35px;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: scaleUp 0.3s ease;
}
@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-warm);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-muted);
}
.modal-close-btn:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* =============================================================================
   19. RESPONSIVE DESIGN (MOBILE-FIRST PRINCIPLES)
============================================================================= */
@media (max-width: 1024px) {
    .radial-container-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .agenda-wrapper {
        grid-template-columns: 1fr;
    }
    .donation-box-wrap {
        grid-template-columns: 1fr;
    }
    .volunteer-wrap {
        grid-template-columns: 1fr;
    }
    .contact-grid-2 {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-masonry {
        column-count: 2;
    }
}

@media (max-width: 1260px) {
    .nav-menu {
        gap: 10px;
    }
    .nav-link {
        font-size: 0.8rem;
    }
    .brand-text h2 {
        font-size: 0.96rem;
    }
    .brand-text span {
        font-size: 0.62rem;
    }
    .logo-icon-svg {
        width: 38px;
        height: 38px;
        min-width: 38px;
        max-width: 38px;
    }
}

@media (max-width: 1080px) {
    .hamburger-btn {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
        gap: 8px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        transform: translateY(-160%);
        transition: transform 0.3s ease;
        border-bottom: 3px solid var(--primary);
        max-height: 80vh;
        overflow-y: auto;
        z-index: 999;
    }
    .nav-menu.open {
        transform: translateY(0);
    }
    .nav-link {
        font-size: 0.95rem;
        padding: 8px 0;
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
        display: block;
    }
}

@media (max-width: 768px) {
    .navbar-topbar {
        display: none;
    }
    .nav-menu {
        top: 70px;
    }
    .hero-headline {
        font-size: 2.3rem;
    }
    .hero-subheadline {
        font-size: 1.25rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .radial-visual-stage {
        max-width: 320px;
    }
    .radial-core-node {
        width: 110px;
        height: 110px;
    }
    .radial-satellite-node {
        width: 66px;
        height: 66px;
    }
    .radial-satellite-node .node-icon {
        font-size: 1.2rem;
    }
    .radial-satellite-node .node-label {
        font-size: 0.58rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .gallery-masonry {
        column-count: 1;
    }
}

/* =============================================================================
   JADWAL SHOLAT TABANAN BALI WIDGET
============================================================================= */
.prayer-times-section {
    position: relative;
    z-index: 10;
    margin-top: -45px;
    margin-bottom: 40px;
}

.prayer-bar-container {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    border: 2px solid var(--accent-gold);
    box-shadow: 0 12px 35px rgba(6, 78, 59, 0.12);
    padding: 24px 30px;
    position: relative;
    overflow: hidden;
}

.prayer-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
}

.prayer-location-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.prayer-loc-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.prayer-loc-text h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark-green);
    margin: 0;
}

.prayer-loc-text span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.prayer-date-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.prayer-live-clock {
    background: var(--dark-deep);
    color: var(--accent-gold);
    font-family: monospace;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
}

.prayer-next-badge {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 6px;
}

.prayer-times-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}

.prayer-card {
    background: var(--bg-warm);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 14px 10px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.prayer-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.prayer-card.active {
    background: linear-gradient(135deg, #064E3B 0%, #087F5B 100%);
    border-color: var(--accent-gold);
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(8, 127, 91, 0.3);
}

.prayer-card.active .prayer-name {
    color: #fef08a;
}

.prayer-card.active .prayer-time {
    color: #FFFFFF;
}

.prayer-card .prayer-icon {
    font-size: 1.4rem;
    margin-bottom: 4px;
    display: block;
}

.prayer-card .prayer-name {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.prayer-card .prayer-time {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark-green);
    font-family: monospace;
}

.prayer-card .active-pill {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: #064E3B;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .prayer-times-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 600px) {
    .prayer-times-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .prayer-bar-container {
        padding: 18px;
    }
    .prayer-times-section {
        margin-top: 20px;
    }
}

