/* ============================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================ */
:root {
    /* ============================================
       DARK GREEN THEME
       Nuansa Hijau Tua - LP3H Doa Bangsa
       ============================================ */
    
    /* Primary Colors - Hijau Tua */
    --primary: #1B5E20;           /* Hijau Tua Utama */
    --primary-light: #2E7D32;     /* Hijau Terang */
    --primary-lighter: #388E3C;   /* Hijau Sedang */
    --primary-dark: #0D3D14;      /* Hijau Lebih Tua */
    --primary-bg: rgba(27, 94, 32, 0.08);
    
    /* Accent Colors - Emas Kemerdekaan */
    --gold: #FFB300;
    --gold-light: #FFF8E1;
    --gold-dark: #FF8F00;
    --gold-gradient: linear-gradient(135deg, #FFB300 0%, #FFD54F 50%, #FFB300 100%);
    
    /* Secondary Colors - Putih Bersih */
    --white-clean: #FFFFFF;
    --off-white: #FAFAFA;
    
    /* Neutral Colors */
    --dark: #212121;
    --dark-light: #424242;
    --gray: #757575;
    --gray-light: #BDBDBD;
    --light: #F5F5F5;
    --light-alt: #EEEEEE;
    --white: #ffffff;
    
    /* Glassmorphism Effects */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-bg-strong: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    /* Shadow System */
    --shadow-xs: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.18);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-glow-gold: 0 0 30px rgba(255, 179, 0, 0.35);
    --shadow-glow-red: 0 0 30px rgba(27, 94, 32, 0.35);
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: clamp(60px, 8vw, 100px);
    --container-max: 1280px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skip to content for accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    z-index: 10000;
    transition: top var(--transition-fast);
}
.skip-link:focus {
    top: 16px;
}

a { text-decoration: none; color: inherit; transition: var(--transition-base); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Focus visible states for accessibility */
*:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* Container */
.container { 
    max-width: var(--container-max); 
    margin: 0 auto; 
    padding: 0 clamp(16px, 4vw, 40px); 
}

.section-padding { 
    padding: var(--section-padding) 0; 
}

/* ============================================
   TYPOGRAPHY SYSTEM
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-dark);
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-green { color: var(--primary); }
.text-white { color: var(--white); }

/* Section Heading */
.heading-wrapper { 
    text-align: center; 
    margin-bottom: clamp(40px, 6vw, 70px); 
}
.heading-wrapper h2 { 
    font-size: clamp(1.75rem, 4vw, 2.75rem); 
    color: var(--primary); 
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.heading-wrapper p { 
    color: var(--gray); 
    max-width: 700px; 
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Decorative Divider */
.divider { 
    height: 4px; 
    width: 80px; 
    background: var(--gold-gradient); 
    margin: 16px auto; 
    border-radius: var(--radius-full);
    position: relative;
}
.divider::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--gold-gradient);
    filter: blur(8px);
    opacity: 0.4;
    border-radius: var(--radius-full);
    z-index: -1;
}

/* ============================================
   BUTTONS (Modern Design)
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(27, 94, 32, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(27, 94, 32, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(255, 179, 0, 0.4);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 179, 0, 0.5);
}

.btn-outline { 
    border: 2px solid var(--gold); 
    color: var(--primary); 
    background: transparent;
    backdrop-filter: blur(4px);
}
.btn-outline:hover { 
    background: var(--gold); 
    color: var(--white);
    border-color: var(--gold);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.btn-white:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.btn-lg {
    padding: 18px 42px;
    font-size: 1.05rem;
}

/* ============================================
   ANIMATIONS & KEYFRAMES
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 160, 23, 0.4); }
    50% { box-shadow: 0 0 40px rgba(212, 160, 23, 0.7); }
}

@keyframes ripple {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(4); opacity: 0; }
}

/* Scroll Animation Classes */
.fade-in { animation: fadeIn 0.8s ease forwards; }
.animate-up { animation: fadeInUp 1s var(--transition-spring) forwards; }
.animate-scale { animation: fadeInScale 0.8s ease forwards; }

/* Intersection Observer Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   NAVBAR (Sticky with Glassmorphism)
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 16px 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
}

.nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo { 
    display: flex; 
    align-items: center; 
    font-family: var(--font-heading); 
    font-size: 1.35rem; 
    font-weight: 700; 
    color: var(--primary);
    gap: 12px;
    transition: var(--transition-base);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img { 
    height: 48px; 
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: var(--transition-base);
}

.navbar.scrolled .logo-img {
    height: 42px;
}

.nav-menu { 
    display: flex; 
    align-items: center;
    gap: 8px;
    background: transparent;
    padding: 8px;
    border-radius: var(--radius-full);
}

.nav-link { 
    font-weight: 500; 
    color: var(--dark); 
    position: relative; 
    font-size: 0.92rem;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: var(--radius-full);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--primary-bg);
}

.nav-link:hover::before,
.nav-link.active::before { 
    width: 24px; 
}

.nav-link.active { 
    color: var(--primary);
    font-weight: 600;
    background: var(--primary-bg);
}

/* Mobile Toggle Button */
.mobile-toggle { 
    display: none; 
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem; 
    cursor: pointer; 
    color: var(--primary);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    transition: var(--transition-base);
}

.mobile-toggle:hover {
    background: var(--primary-bg);
}

/* Mobile Menu Overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-area { 
    margin-top: 90px; 
    padding: 28px 0; 
    background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(212, 160, 23, 0.08) 100%); 
    border-bottom: 1px solid rgba(212, 160, 23, 0.15);
}
.breadcrumb { 
    display: flex; 
    align-items: center; 
    font-size: 0.92rem; 
    color: var(--gray); 
}
.breadcrumb-item a { 
    color: var(--primary); 
    font-weight: 600; 
}
.breadcrumb-item + .breadcrumb-item::before { 
    content: "›"; 
    margin: 0 12px; 
    color: var(--gold); 
    font-weight: 300;
}
.breadcrumb-item.active { 
    color: var(--dark); 
}

/* Page Sections */
.page-section { 
    display: none; 
    min-height: 80vh;
}
.page-section.active-section { 
    display: block; 
    animation: fadeInScale 0.5s ease; 
}

/* ============================================
   HERO SECTION (Redesigned)
   ============================================ */
.hero-slider-container { 
    position: relative; 
    height: calc(100vh - 80px); 
    min-height: 500px;
    max-height: 750px;
    margin-top: 80px;
    padding-top: 0; 
    overflow: hidden; 
    background: var(--dark);
}

.slide { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    opacity: 0; 
    transition: opacity 1.2s ease-in-out; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.slide.active { 
    opacity: 1; 
}

.slide img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: center;
    transform: scale(1.02);
    transition: transform 8s ease-out;
}

.slide.active img {
    transform: scale(1);
}

/* Hero Overlay - Minimal/Transparent */
.slide::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.1) 100%
    ); 
    pointer-events: none; 
    z-index: 1;
}

/* Hero Content Overlay - No Background, Text Shadow Only */
.hero-content {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    z-index: 5;
    text-align: left;
    width: 90%;
    max-width: 650px;
    pointer-events: none;
    padding: 0;
}

@media (max-width: 991px) {
    .hero-content {
        left: 4%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        left: 3%;
        width: 94%;
        max-width: none;
    }
}

@media (max-width: 600px) {
    .hero-content {
        left: 0;
        right: 0;
        text-align: center;
        padding: 0 20px;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(27, 94, 32, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: #FFD54F;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 179, 0, 0.5);
    animation: fadeIn 0.8s ease 0.3s both;
}

.hero-badge i {
    font-size: 1rem;
    color: #FFD54F;
}

.hero-title {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 4px 8px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s var(--transition-spring) 0.4s both;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--white);
    margin-bottom: 28px;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.8),
        0 2px 6px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s var(--transition-spring) 0.6s both;
}

.hero-btns { 
    display: flex; 
    gap: 16px; 
    justify-content: flex-start;
    flex-wrap: wrap;
    pointer-events: auto;
    animation: fadeInUp 1s var(--transition-spring) 0.8s both;
}

@media (max-width: 600px) {
    .hero-btns {
        justify-content: center;
    }
}

.hero-btns .btn {
    min-width: 200px;
}

/* Slider Controls - Modern Style */
.slider-controls { 
    position: absolute; 
    bottom: 140px; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 10; 
    display: flex; 
    gap: 12px;
    align-items: center;
}

.control-dot { 
    width: 14px; 
    height: 14px; 
    background: rgba(255, 255, 255, 0.3); 
    border-radius: 50%; 
    cursor: pointer; 
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.control-dot:hover { 
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.control-dot.active { 
    background: var(--gold);
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(212, 160, 23, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Progress Bar for Slider */
.slider-progress {
    position: absolute;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
    z-index: 10;
}

.slider-progress-bar {
    height: 100%;
    background: var(--gold-gradient);
    border-radius: var(--radius-full);
    animation: progressFill 5s linear infinite;
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: 100%; }
}

/* ============================================
   STATISTICS SECTION (Enhanced)
   ============================================ */
.hero-stats { 
    position: relative; 
    z-index: 10; 
    margin-top: -40px; 
    margin-bottom: 16px;
    padding: 0 16px;
}

.stats-container { 
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    padding: clamp(20px, 3vw, 32px);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.stats-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
}

.stat-item { 
    text-align: center; 
    padding: 12px;
    position: relative;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(212, 160, 23, 0.15) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    margin: 0 auto 10px;
    transition: var(--transition-base);
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: var(--shadow-glow-red);
}

.stat-number { 
    font-size: clamp(1.5rem, 3vw, 2rem); 
    font-weight: 700; 
    color: var(--primary); 
    display: block;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.stat-label { 
    font-size: 0.75rem; 
    color: var(--gray); 
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    font-weight: 500;
    margin-top: 4px;
}

/* ============================================
   FEATURE CARDS (Glassmorphism + Hover Effects)
   ============================================ */
.features-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 28px; 
}

.feature-card { 
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: clamp(28px, 4vw, 40px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-slow);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.feature-card:hover { 
    transform: translateY(-12px); 
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 160, 23, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon { 
    width: 80px; 
    height: 80px; 
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 2rem; 
    margin: 0 auto 24px;
    transition: all var(--transition-base);
    box-shadow: 0 8px 24px rgba(27, 94, 32, 0.25);
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gold-gradient);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
    box-shadow: var(--shadow-glow-red);
}

.feature-card:hover .feature-icon::after {
    opacity: 1;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 14px;
    color: var(--primary-dark);
    transition: color var(--transition-base);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.98rem;
}

.feature-card:hover h3 {
    color: var(--primary);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-content { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 60px; 
    align-items: center; 
}

.about-text .heading-wrapper {
    text-align: left;
}

.about-text .divider {
    margin-left: 0;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-vision-mission {
    margin-top: 28px;
}

.about-vision-mission h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-vision-mission h3 i {
    color: var(--gold);
}

.about-vision-mission ul {
    list-style: none;
    margin-left: 0;
    color: var(--gray);
}

.about-vision-mission li {
    padding: 8px 0 8px 28px;
    position: relative;
}

.about-vision-mission li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.about-img { 
    border-radius: var(--radius-lg);
    overflow: hidden; 
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-img::before { 
    content: ''; 
    position: absolute; 
    top: 24px; 
    left: 24px; 
    right: -24px; 
    bottom: -24px; 
    border: 3px solid var(--gold); 
    z-index: -1; 
    border-radius: var(--radius-lg);
    opacity: 0.5;
}

.about-img img {
    transition: transform var(--transition-slow);
}

.about-img:hover img {
    transform: scale(1.05);
}

/* Legal Box */
.legal-box { 
    background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(212, 160, 23, 0.08) 100%);
    border-left: 5px solid var(--primary);
    padding: 32px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 32px 0;
    backdrop-filter: blur(10px);
}

.legal-box h3 { 
    color: var(--primary); 
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-box h3 i {
    color: var(--gold);
}

.legal-box p {
    color: var(--gray);
    line-height: 1.7;
}

/* CTA Area */
.cta-area { 
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white); 
    padding: clamp(50px, 6vw, 70px) 30px; 
    text-align: center; 
    border-radius: var(--radius-xl);
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.cta-area::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-area h2 { 
    color: var(--white); 
    margin-bottom: 20px;
    position: relative;
}

.cta-area p {
    opacity: 0.9;
    margin-bottom: 28px;
    position: relative;
}

/* ============================================
   PENDAMPING CARD (Recruitment)
   ============================================ */
.new-recruitment-card { 
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    border-left: 6px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: clamp(30px, 5vw, 50px);
    box-shadow: var(--shadow-lg);
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-left: 6px solid var(--primary);
}

.new-recruitment-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-bg) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.recruitment-title { 
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700; 
    color: var(--primary); 
    margin-bottom: 20px; 
    line-height: 1.35;
    position: relative;
}

.recruitment-intro { 
    font-size: 1.05rem; 
    margin-bottom: 16px; 
    color: var(--dark);
    position: relative;
}

.recruitment-highlight { 
    font-size: 1.2rem; 
    font-weight: 600; 
    color: var(--primary); 
    margin-bottom: 28px; 
    padding: 20px;
    background: linear-gradient(135deg, var(--gold-light) 0%, rgba(212, 160, 23, 0.1) 100%);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--gold);
    position: relative;
}

.info-section { 
    margin-bottom: 28px;
    position: relative;
}

.info-section h3 { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-size: 1.15rem; 
    color: var(--primary); 
    margin-bottom: 16px;
}

.info-section h3 .material-icons-round { 
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 8px;
    border-radius: 50%; 
    font-size: 1.4rem;
}

.custom-list li { 
    display: flex; 
    align-items: flex-start; 
    gap: 12px; 
    margin-bottom: 14px; 
    font-size: 1rem;
    color: var(--dark);
}

.custom-list li .material-icons-round { 
    color: #dc3545; 
    flex-shrink: 0; 
    margin-top: 3px;
    font-size: 1.2rem;
}

.custom-list li .check-icon { 
    color: var(--primary);
}

.impact-text { 
    background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(220, 53, 69, 0.08) 100%);
    padding: 20px; 
    border-radius: var(--radius-md); 
    margin: 16px 0 28px 0; 
    font-style: italic; 
    border-left: 4px solid #dc3545;
    color: var(--dark);
    position: relative;
}

.benefits-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
    gap: 16px; 
    margin-bottom: 28px;
    position: relative;
}

.benefit-item-card { 
    background: var(--white);
    padding: 18px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--light-alt);
    display: flex; 
    align-items: center; 
    gap: 16px;
    transition: all var(--transition-base);
}

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

.benefit-item-card .material-icons-round { 
    color: var(--gold); 
    font-size: 2rem;
}

.two-col-info { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 24px; 
    margin-top: 28px;
    position: relative;
}

.info-box-mini { 
    background: var(--white);
    border: 1px solid var(--light-alt);
    padding: 24px;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.info-box-mini:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-bg);
}

.info-box-mini h4 {
    color: var(--primary);
    margin-bottom: 14px;
    font-size: 1.05rem;
}

/* Video Container */
.video-container { 
    position: relative; 
    width: 100%; 
    padding-bottom: 56.25%; 
    height: 0; 
    overflow: hidden; 
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: var(--dark);
    margin-bottom: 40px;
}

.video-container iframe { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    border: 0;
    border-radius: var(--radius-lg);
}

/* Process Flow Image */
.process-flow-container {
    text-align: center;
    padding: 24px 0;
}

.process-flow-container img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.process-flow-container img:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   SELF DECLARE SECTION - LAYANAN SERTIFIKASI HALAL
   ============================================ */
.self-declare-content {
    max-width: 1000px;
    margin: 0 auto;
}

.self-declare-intro {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    border-left: 4px solid var(--primary);
}

.self-declare-intro p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--dark);
}

.self-declare-intro p:last-child {
    margin-bottom: 0;
}

.self-declare-box,
.self-declare-options,
.self-declare-eligibility,
.self-declare-assistance,
.self-declare-cta,
.self-declare-contact {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
    border-left: 4px solid var(--gold);
}

.self-declare-box h3,
.self-declare-options h3,
.self-declare-eligibility h3,
.self-declare-assistance h3,
.self-declare-cta h3,
.self-declare-contact h3 {
    color: var(--primary);
    font-size: 1.35rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.self-declare-box h3 i,
.self-declare-options h3 i,
.self-declare-eligibility h3 i,
.self-declare-assistance h3 i,
.self-declare-contact h3 i {
    color: var(--gold);
    font-size: 1.5rem;
}

.self-declare-box p,
.self-declare-options > p,
.self-declare-eligibility p,
.self-declare-assistance > p,
.self-declare-contact > p {
    margin-bottom: 12px;
    line-height: 1.8;
    color: var(--dark-light);
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.option-card {
    padding: 28px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.option-sehati {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border: 2px solid #4CAF50;
}

.option-mandiri {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
    border: 2px solid var(--gold);
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.option-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.option-number {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.option-header h4 {
    color: var(--primary-dark);
    font-size: 1.15rem;
    margin: 0;
}

.option-card p {
    margin-bottom: 12px;
    line-height: 1.7;
    color: var(--dark-light);
    font-size: 0.95rem;
}

.option-price {
    background: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: var(--radius-sm);
    text-align: center;
    margin-top: 16px;
}

.price-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 5px;
}

.price-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
}

.price-value.free {
    color: #2E7D32;
}

.price-value.paid {
    color: var(--primary);
}

.price-note {
    font-size: 0.85rem !important;
    color: var(--gray) !important;
    text-align: center;
    font-style: italic;
    margin-top: 10px !important;
}

/* Assistance List */
.assistance-list {
    list-style: none;
    margin-top: 15px;
}

.assistance-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-alt);
    line-height: 1.6;
}

.assistance-list li:last-child {
    border-bottom: none;
}

.assistance-list li i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* CTA Section */
.self-declare-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: var(--white) !important;
    border-left: none !important;
    text-align: center;
}

.self-declare-cta h3 {
    color: var(--gold) !important;
    justify-content: center;
    font-size: 1.6rem !important;
}

.self-declare-cta p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.05rem;
    line-height: 1.8 !important;
}

.cta-highlight {
    font-size: 1.15rem !important;
    color: var(--gold-light) !important;
    margin: 20px 0 !important;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cta-buttons .btn {
    min-width: 220px;
}

/* Contact Tagline */
.contact-tagline {
    background: rgba(27, 94, 32, 0.08);
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-top: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--primary);
    border: 1px dashed var(--primary);
}

.contact-tagline em {
    color: var(--gold-dark);
    font-size: 0.95rem;
}

/* Responsive for Self Declare */
@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .self-declare-intro,
    .self-declare-box,
    .self-declare-options,
    .self-declare-eligibility,
    .self-declare-assistance,
    .self-declare-cta,
    .self-declare-contact {
        padding: 20px;
    }
}

/* Testimonial Section */
.testimonial-card {
    max-width: 750px;
    margin: 0 auto;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    padding: clamp(32px, 5vw, 50px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: var(--gold);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-quote-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 24px;
    color: var(--dark);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-author i {
    color: var(--gold);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item { 
    background: var(--glass-bg-strong);
    backdrop-filter: blur(10px);
    margin-bottom: 16px; 
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: all var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question { 
    padding: 20px 24px; 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-weight: 600; 
    color: var(--primary);
    font-family: var(--font-heading);
    transition: all var(--transition-base);
}

.faq-question:hover {
    background: var(--primary-bg);
}

.faq-question i {
    transition: transform var(--transition-base);
    color: var(--gold);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer { 
    padding: 0 24px 20px; 
    display: none; 
    color: var(--gray);
    line-height: 1.7;
}

.faq-item.active .faq-answer { 
    display: block;
    animation: fadeIn 0.3s ease;
}

/* ============================================
   FORM STYLES (Floating Labels & Modern Design)
   ============================================ */
.registration-form-container {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: clamp(32px, 5vw, 50px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-top: 40px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.registration-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gold-gradient);
}

.form-title {
    text-align: center;
    color: var(--primary);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 36px;
    line-height: 1.45;
    font-family: var(--font-heading);
}

.form-group {
    margin-bottom: 26px;
    position: relative;
}

/* Floating Label Input */
.form-floating {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 18px 16px 10px;
    border: 2px solid var(--light-alt);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--dark);
    background: var(--white);
    transition: all var(--transition-base);
    outline: none;
}

.form-control::placeholder {
    color: transparent;
}

.form-floating label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1rem;
    pointer-events: none;
    transition: all var(--transition-base);
    background: var(--white);
    padding: 0 6px;
}

.form-control:focus {
    border-color: var(--primary);
    background: rgba(27, 94, 32, 0.03);
    box-shadow: 0 0 0 4px rgba(27, 94, 32, 0.1);
}

.form-control:focus + label,
.form-control:not(:placeholder-shown) + label {
    top: 0;
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 500;
}

select.form-control {
    appearance: none;
    cursor: pointer;
    padding-right: 44px;
}

select.form-control + label {
    display: none;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    pointer-events: none;
    font-size: 0.75rem;
    transition: var(--transition-base);
}

.select-wrapper:focus-within::after {
    color: var(--primary);
    transform: translateY(-50%) rotate(180deg);
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 18px;
    font-size: 1.05rem;
    margin-top: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form Notification */
.form-notification {
    display: none;
    text-align: center;
    padding: 18px 24px;
    margin-top: 24px;
    border-radius: var(--radius-md);
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.form-notification.success {
    display: block;
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.1) 0%, rgba(20, 188, 67, 0.1) 100%);
    color: #0f5132;
    border: 1px solid rgba(20, 188, 67, 0.3);
}

.form-notification.error {
    display: block;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(255, 133, 27, 0.1) 100%);
    color: #842029;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Required indicator */
.required {
    color: #dc3545;
    margin-left: 4px;
}

/* ============================================
   FOOTER (Enhanced)
   ============================================ */
/* ============================================
   FOOTER - TEMA KEMERDEKAAN INDONESIA
   ============================================ */
footer { 
    background: linear-gradient(135deg, #0D3D14 0%, #1B5E20 50%, #2E7D32 100%);
    color: var(--white); 
    padding: clamp(50px, 6vw, 70px) 0 28px; 
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Decorative Element - Bendera Indonesia */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        #FF0000 0%, #FF0000 50%, 
        #FFFFFF 50%, #FFFFFF 100%);
}

/* Decorative Circle - Semangat Kemerdekaan */
footer::after {
    content: '';
    position: absolute;
    bottom: -120px;
    right: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr; 
    gap: 40px; 
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

/* Logo Footer - Perbaikan */
.footer-logo-img { 
    margin-bottom: 20px; 
    display: block; 
    max-height: 70px; 
    width: auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.footer-logo-img:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.footer-col p {
    opacity: 0.9;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Footer Headings - Emas Kemerdekaan */
footer h4 { 
    color: #FFD54F; 
    margin-bottom: 24px; 
    font-family: var(--font-heading); 
    font-size: 1.15rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, #FFD54F 0%, #FFB300 100%);
    border-radius: var(--radius-full);
}

.footer-links li { 
    margin-bottom: 12px; 
}

.footer-links a { 
    opacity: 0.85; 
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-base);
    color: var(--white);
}

.footer-links a:hover { 
    opacity: 1; 
    color: #FFD54F;
    padding-left: 8px;
}

.footer-links a i {
    color: #FFB300;
    font-size: 0.75rem;
    transition: transform var(--transition-base);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.footer-contact i {
    color: #FFB300;
    margin-top: 4px;
    font-size: 1rem;
}

/* Social Media Icons - Tema Kemerdekaan */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 1.1rem;
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: #FFD54F;
    transform: translateY(-4px) scale(1.05);
    border-color: #FFD54F;
    box-shadow: 0 8px 25px rgba(255, 213, 79, 0.4);
    color: #0D3D14;
}

/* Copyright - Tema Merah Putih */
.copyright { 
    text-align: center; 
    padding-top: 28px; 
    border-top: 1px solid rgba(255, 255, 255, 0.2); 
    font-size: 0.9rem; 
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

.copyright p {
    margin-bottom: 8px;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */

/* WhatsApp Float Button (Enhanced) */
.wa-float { 
    position: fixed; 
    bottom: 28px; 
    right: 28px; 
    width: 62px; 
    height: 62px; 
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white; 
    border-radius: 50%; 
    text-align: center; 
    font-size: 1.7rem; 
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    z-index: 998; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    transition: all var(--transition-base);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 36px rgba(37, 211, 102, 0.5);
}

.wa-float i {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green { 
    0% { 
        text-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); 
    } 
    70% { 
        text-shadow: 0 0 0 15px rgba(255, 255, 255, 0); 
    } 
    100% { 
        text-shadow: 0 0 0 0 rgba(255, 255, 255, 0); 
    } 
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast { 
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    padding: 18px 24px; 
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border-left: 5px solid var(--primary);
    z-index: 2000; 
    display: flex; 
    align-items: center; 
    gap: 14px;
    transform: translateX(calc(100% + 24px));
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    min-width: 320px;
    max-width: 420px;
}

.toast.show { 
    transform: translateX(0); 
}

.toast.success {
    border-left-color: #198754;
}

.toast.error {
    border-left-color: #dc3545;
}

.toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    background: rgba(25, 135, 84, 0.15);
    color: #198754;
}

.toast.error .toast-icon {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

.toast-message {
    flex: 1;
    font-size: 0.93rem;
    color: var(--dark);
}

.toast-close {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 4px;
    font-size: 1.1rem;
    transition: color var(--transition-fast);
}

.toast-close:hover {
    color: var(--dark);
}

/* ============================================
   LOADING SKELETON
   ============================================ */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--light-alt) 25%,
        var(--light) 50%,
        var(--light-alt) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

/* ============================================
   RESPONSIVE DESIGN (Mobile-First Approach)
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 991px) {
    .about-content, .two-col-info { 
        grid-template-columns: 1fr; 
        gap: 40px;
    }

    .nav-menu { 
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 320px;
        height: 100vh; 
        background: var(--glass-bg-strong);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column; 
        padding: 100px 32px 32px;
        box-shadow: var(--shadow-xl);
        transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        align-items: flex-start;
        gap: 4px;
    }

    .nav-menu.active { 
        right: 0; 
    }

    .nav-menu .nav-link {
        width: 100%;
        padding: 14px 20px;
        font-size: 1.05rem;
        border-radius: var(--radius-md);
    }

    .mobile-toggle { 
        display: flex; 
    }

    .stats-container { 
        padding: 28px;
        gap: 20px;
    }

    .hero-actions { 
        bottom: 30px; 
    }

    .hero-btns { 
        flex-direction: column; 
        width: 90%; 
        margin: 0 auto;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .slider-controls { 
        bottom: 200px; 
    }

    .slider-progress {
        bottom: 170px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        margin-top: -30px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }

    .stats-container {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item:nth-child(3) {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .stats-container { 
        padding: 16px 12px;
        grid-template-columns: 1fr;
    }

    .stat-item:nth-child(3) {
        grid-column: span 1;
    }

    .stat-number { 
        font-size: 1.5rem; 
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .new-recruitment-card { 
        padding: 24px; 
    }

    .recruitment-title { 
        font-size: 1.35rem; 
    }

    .benefits-grid { 
        grid-template-columns: 1fr; 
    }

    .registration-form-container { 
        padding: 24px 20px; 
    }

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

    .wa-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
        font-size: 1.5rem;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 86px;
        right: 20px;
    }

    .toast {
        min-width: auto;
        max-width: calc(100vw - 48px);
        right: 0;
    }

    .toast-container {
        right: 12px;
        left: 12px;
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   SELF DECLARE SECTION STYLES
   Daftar Sertifikasi Halal Self Declare
   ============================================ */

.self-declare-section {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--white) 50%, rgba(27, 94, 32, 0.03) 100%);
    border-radius: var(--radius-lg);
    padding: clamp(32px, 5vw, 60px);
    margin: 48px 0;
    border: 2px solid rgba(255, 179, 0, 0.2);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.self-declare-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 50%, var(--primary) 100%);
}

/* Header */
.self-declare-header {
    text-align: center;
    margin-bottom: 36px;
}

.self-declare-header h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.self-declare-header h2 i {
    color: var(--gold);
    font-size: 1.1em;
}

.self-declare-subtitle {
    font-size: 1.15rem;
    color: var(--dark-light);
    font-weight: 500;
    font-family: var(--font-heading);
}

/* Intro Text */
.self-declare-intro {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    margin-bottom: 40px;
    border-left: 5px solid var(--gold);
    box-shadow: var(--shadow-sm);
}

.self-declare-intro p {
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 1rem;
    color: var(--dark-light);
}

.self-declare-intro p:last-child {
    margin-bottom: 0;
}

/* Requirements Section */
.self-declare-requirements {
    margin-bottom: 44px;
}

.self-declare-requirements h3 {
    font-size: clamp(1.35rem, 2.8vw, 1.75rem);
    color: var(--primary-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.self-declare-requirements h3 i {
    color: var(--gold);
}

.requirements-intro {
    color: var(--gray);
    margin-bottom: 28px;
    font-size: 1.02rem;
    padding-left: 4px;
}

.requirement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: 20px;
}

.requirement-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 18px;
    box-shadow: var(--shadow-xs);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all var(--transition-base);
}

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

.req-number {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.3);
}

.req-content h4 {
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.4;
}

.req-content p {
    color: var(--dark-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.req-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
}

.req-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    font-size: 0.93rem;
    color: var(--dark-light);
    line-height: 1.6;
}

.req-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Options Section */
.self-declare-options {
    margin-bottom: 44px;
}

.self-declare-options h3 {
    font-size: clamp(1.35rem, 2.8vw, 1.75rem);
    color: var(--primary-dark);
    margin-bottom: 28px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.self-declare-options h3 i {
    color: var(--gold);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 28px;
}

.option-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.option-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.option-sehati {
    border: 3px solid #4CAF50;
    background: linear-gradient(180deg, #F1F8E9 0%, var(--white) 100%);
}

.option-option-mandiri {
    border: 3px solid #9C27B0;
    background: linear-gradient(180deg, #F3E5F5 0%, var(--white) 100%);
}

.option-badge {
    position: absolute;
    top: 16px;
    right: -30px;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: var(--white);
    padding: 6px 40px;
    font-size: 0.78rem;
    font-weight: 700;
    transform: rotate(45deg);
    letter-spacing: 0.5px;
}

.option-badge-alt {
    position: absolute;
    top: 16px;
    right: -30px;
    background: linear-gradient(135deg, #9C27B0 0%, #AB47BC 100%);
    color: var(--white);
    padding: 6px 40px;
    font-size: 0.78rem;
    font-weight: 700;
    transform: rotate(45deg);
    letter-spacing: 0.5px;
}

.option-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.option-sehati .option-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%);
    color: var(--white);
}

.option-option-mandiri .option-icon {
    background: linear-gradient(135deg, #9C27B0 0%, #BA68C8 100%);
    color: var(--white);
}

.option-card h4 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
    line-height: 1.35;
}

.option-card > p {
    color: var(--dark-light);
    font-size: 0.96rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.option-price {
    margin: 20px 0;
    padding: 16px;
    background: rgba(0,0,0,0.04);
    border-radius: var(--radius-sm);
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 8px;
}

.price-value {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.price-value.free {
    color: #4CAF50;
}

.price-value.paid {
    color: #9C27B0;
}

.option-note, .price-desc {
    font-size: 0.88rem;
    color: var(--gray);
    font-style: italic;
    margin-top: 12px;
}

/* Benefits Section */
.self-declare-benefits {
    margin-bottom: 44px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
}

.self-declare-benefits h3 {
    font-size: clamp(1.35rem, 2.8vw, 1.75rem);
    color: var(--primary-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.self-declare-benefits h3 i {
    color: var(--gold);
}

.benefits-tagline {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.self-declare-benefits > p:not(.benefits-tagline):not(.benefits-note) {
    color: var(--dark-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

/* Process Flow Mini */
.process-flow-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0;
    padding: 24px;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.05) 0%, rgba(255, 179, 0, 0.08) 100%);
    border-radius: var(--radius-md);
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
}

.step-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 3px 10px rgba(27, 94, 32, 0.3);
}

.process-step span:last-child {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--dark);
    text-align: center;
    max-width: 80px;
}

.process-arrow {
    color: var(--gold);
    font-size: 0.85rem;
    margin: 0 4px;
}

.benefits-note {
    font-size: 0.95rem;
    color: var(--gray);
    font-style: italic;
    padding: 16px;
    background: var(--light);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--gold);
}

/* CTA Section */
.self-declare-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.self-declare-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 179, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.self-declare-cta h3 {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    color: var(--white);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
}

.self-declare-cta h3 i {
    color: var(--gold);
}

.self-declare-cta > p {
    font-size: 1.02rem;
    margin-bottom: 28px;
    opacity: 0.95;
    position: relative;
    line-height: 1.7;
}

.self-declare-cta .btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark);
    box-shadow: 0 6px 24px rgba(255, 179, 0, 0.4);
    font-size: 1.08rem;
    padding: 18px 44px;
    position: relative;
}

.self-declare-cta .btn-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 36px rgba(255, 179, 0, 0.55);
}

.cta-tagline {
    font-size: 1.05rem !important;
    margin-top: 24px !important;
    margin-bottom: 20px !important;
    opacity: 0.95 !important;
    position: relative;
}

.cta-branding {
    position: relative;
    font-size: 1.1rem;
    margin-top: 8px;
}

.cta-branding strong {
    font-size: 1.2rem;
}

.cta-branding em {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Responsive Styles for Self Declare Section */
@media (max-width: 768px) {
    .self-declare-section {
        padding: 24px 18px;
        margin: 32px 0;
        border-radius: var(--radius-md);
    }
    
    .requirement-grid {
        grid-template-columns: 1fr;
    }
    
    .requirement-card {
        padding: 18px;
        flex-direction: column;
        gap: 14px;
    }
    
    .req-number {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .option-card {
        padding: 26px 22px;
    }
    
    .process-flow-mini {
        flex-direction: column;
        gap: 16px;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .self-declare-cta {
        padding: 32px 24px;
    }
    
    .self-declare-cta .btn-primary {
        padding: 16px 32px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .self-declare-header h2 {
        font-size: 1.4rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .self-declare-intro {
        padding: 20px 18px;
    }
    
    .price-value {
        font-size: 1.65rem;
    }
    
    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* ============================================
   DAFTAR HALAL BANNER CTA STYLES
   Background Image Placeholder with Left Text
   ============================================ */

.daftar-halal-banner {
    position: relative;
    min-height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 48px;
    /* Background image with overlay gradient */
    background-image: url('https://nazhirdoabangsa.org/wp-content/uploads/2026/08/ChatGPT-Image-Aug-12-2026-12_53_00-PM.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    z-index: 1;
}

.banner-content-left {
    position: relative;
    z-index: 2;
    padding: clamp(36px, 6vw, 64px) clamp(32px, 5vw, 56px);
    max-width: 650px;
}

.banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(255, 179, 0, 0.4);
    letter-spacing: 0.3px;
}

.banner-badge i {
    font-size: 1rem;
}

.banner-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.25;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.banner-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.92);
    line-height: 1.8;
    margin-bottom: 28px;
}

.banner-list {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.banner-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.95);
    font-size: 1rem;
    font-weight: 500;
}

.banner-list li i {
    color: var(--gold);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.banner-btn {
    margin-bottom: 20px;
    text-shadow: none;
}

.banner-contact {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.banner-contact i {
    color: var(--gold);
}

.banner-contact strong {
    color: var(--white);
}

/* Responsive for Banner */
@media (max-width: 768px) {
    .daftar-halal-banner {
        min-height: auto;
        margin-top: 32px;
        border-radius: var(--radius-md);
    }
    
    .banner-content-left {
        padding: 32px 24px;
        max-width: 100%;
    }
    
    .banner-overlay {
        background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
    }
    
    .banner-title {
        font-size: 1.55rem;
    }
    
    .banner-text {
        font-size: 0.98rem;
    }
    
    .banner-list li {
        font-size: 0.93rem;
    }
}

@media (max-width: 480px) {
    .daftar-halal-banner {
        min-height: auto;
    }
    
    .banner-content-left {
        padding: 26px 20px;
    }
    
    .banner-badge {
        font-size: 0.78rem;
        padding: 8px 16px;
    }
    
    .banner-title {
        font-size: 1.35rem;
    }
    
    .banner-btn {
        width: 100%;
        justify-content: center;
    }
    
    .banner-contact {
        font-size: 0.88rem;
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .wa-float,
    .back-to-top,
    .toast-container,
    .menu-overlay,
    .self-declare-section {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .page-section {
        display: block !important;
        page-break-after: always;
    }
}

/* ============================================
   BOOTSTRAP 5 COMPATIBILITY LAYER
   Sinkronisasi tema LP3H (merah-emas) dengan Bootstrap
   ============================================ */
/* Halaman dalam: beri ruang di bawah navbar fixed (tinggi navbar ± 72-80px) */
body.inner-page {
    padding-top: 80px;
}
/* Tombol: pastikan tema custom menang atas tema Bootstrap */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:focus-visible {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    border: none !important;
    color: #fff !important;
}
.btn-gold,
.btn-gold:hover,
.btn-gold:focus,
.btn-gold:active {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%) !important;
    border: none !important;
    color: #fff !important;
}
.btn-white,
.btn-white:hover,
.btn-white:focus {
    background: var(--white) !important;
    color: var(--primary) !important;
    border: none !important;
}
.btn-outline {
    border: 2px solid var(--gold) !important;
}
.btn {
    border-radius: var(--radius-full) !important;
}
/* Kartu Bootstrap mengikuti radius & shadow tema */
.card {
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.06);
}
/* Heading Bootstrap mengikuti warna tema */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--primary-dark);
}
.text-primary {
    color: var(--primary) !important;
}
.bg-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
}
.bg-gold {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%) !important;
}
/* Navbar wrapper statis untuk halaman dalam (bukan hero) */
.navbar-static {
    position: relative;
    margin-top: 0;
    padding-top: 90px;
    background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(255, 179, 0, 0.08) 100%);
}
/* Area header halaman dalam */
.page-head {
    padding: 48px 0 40px;
    background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(255, 179, 0, 0.08) 100%);
    border-bottom: 1px solid rgba(255, 179, 0, 0.15);
    margin-bottom: clamp(36px, 5vw, 60px);
}
.page-head h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin: 0;
    color: var(--primary);
}
.page-head p {
    margin: 10px 0 0;
    color: var(--gray);
    max-width: 720px;
}
/* Kartu artikel */
.article-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.article-card .card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}
.article-card .card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.article-card h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}
.article-card p {
    color: var(--gray);
    font-size: 0.92rem;
    flex: 1;
}
.article-meta {
    font-size: 0.8rem;
    color: var(--gray-light);
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 10px;
}
.article-meta i {
    color: var(--gold);
}
.badge-category {
    display: inline-block;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
/* Artikel detail */
.article-detail img {
    border-radius: var(--radius-md);
    margin: 24px 0;
    box-shadow: var(--shadow-md);
}
.article-detail h2 { font-size: 1.5rem; margin: 28px 0 14px; color: var(--primary); }
.article-detail h3 { font-size: 1.2rem; margin: 24px 0 12px; }
.article-detail p  { color: var(--dark-light); line-height: 1.85; margin-bottom: 16px; }
.article-detail ul, .article-detail ol { color: var(--dark-light); line-height: 1.85; padding-left: 24px; margin-bottom: 16px; }
/* Form publik via Bootstrap */
.form-label-public {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.92rem;
    margin-bottom: 6px;
}
.form-label-public .required { color: var(--primary); }
.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--light-alt);
    padding: 12px 16px;
    font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(255, 179, 0, 0.18);
}
/* Alert publik */
.alert-theme {
    border-radius: var(--radius-md);
    border: none;
    box-shadow: var(--shadow-sm);
}
.alert-theme-success { background: #E8F5E9; color: #2E7D32; border-left: 4px solid #2E7D32; }
.alert-theme-danger  { background: #FFEBEE; color: #B71C1C; border-left: 4px solid #C62828; }
/* FAQ Bootstrap accordion tema */
.accordion-item {
    border-radius: var(--radius-md) !important;
    margin-bottom: 14px;
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.accordion-button {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-dark);
    background: var(--glass-bg-strong);
    padding: 18px 22px;
    font-size: 0.98rem;
}
.accordion-button:not(.collapsed) {
    background: var(--primary-bg);
    color: var(--primary);
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 179, 0, 0.18);
}
.accordion-body {
    color: var(--gray);
    line-height: 1.75;
    padding: 18px 22px;
}
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23C62828'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
/* Testimoni slider publik */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.testimonial-mini {
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.testimonial-mini .quote-icon {
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 12px;
}
.testimonial-mini p {
    font-style: italic;
    color: var(--dark);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}
.testimonial-mini .author {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.testimonial-mini .author i { color: var(--gold); }
.stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 10px; }
/* ============================================
   STATISTIK PETA WILAYAH (beranda)
   ============================================ */
.region-totals {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 34px;
}
.region-chip {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-md, 16px);
    box-shadow: var(--shadow-sm, 0 4px 14px rgba(0,0,0,0.06));
    padding: 16px 26px;
    min-width: 220px;
}
.region-chip i {
    font-size: 2rem;
    color: var(--primary);
    background: var(--primary-bg, rgba(27,94,32,0.08));
    padding: 12px;
    border-radius: 14px;
}
.region-chip-value {
    display: block;
    font-family: var(--font-heading, inherit);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark, var(--primary));
    line-height: 1.1;
}
.region-chip-label {
    font-size: 0.82rem;
    color: var(--gray, #777);
    letter-spacing: 0.3px;
}
.region-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 28px;
    align-items: stretch;
}
.region-map-wrap {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg, 20px);
    box-shadow: var(--shadow-sm, 0 4px 14px rgba(0,0,0,0.06));
    padding: 14px;
    display: flex;
    flex-direction: column;
}
#indoMap {
    width: 100%;
    height: 480px;
    min-height: 380px;
}
.region-map-hint {
    text-align: center;
    font-size: 0.78rem;
    color: var(--gray, #8a92a6);
    margin: 6px 0 0;
}
.region-side {
    background: var(--primary-bg, rgba(27,94,32,0.05));
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-lg, 20px);
    padding: 24px 22px;
}
.region-side-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark, var(--primary));
    margin: 0 0 14px;
}
.region-row { margin-bottom: 13px; }
.region-row-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}
.region-name { font-weight: 600; font-size: 0.9rem; color: var(--dark, #222); }
.region-total { font-weight: 700; color: var(--primary); font-size: 0.9rem; }
.region-bar {
    height: 7px;
    background: rgba(0,0,0,0.07);
    border-radius: 99px;
    overflow: hidden;
    margin: 5px 0 4px;
}
.region-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light, #388E3C) 100%);
    border-radius: 99px;
    transition: width 0.6s ease;
}
.region-detail { font-size: 0.74rem; color: var(--gray, #777); }
.region-updated {
    font-size: 0.75rem;
    color: var(--gray, #8a92a6);
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px dashed rgba(0,0,0,0.12);
}
@media (max-width: 991px) {
    .region-grid { grid-template-columns: 1fr; }
    #indoMap { height: 360px; min-height: 300px; }
}
@media (max-width: 575px) {
    .region-chip { min-width: 100%; }
    #indoMap { height: 300px; }
}
/* Pagination tema */
.pagination .page-link {
    color: var(--primary);
    border-radius: var(--radius-sm);
    margin: 0 4px;
    border: 1px solid var(--light-alt);
    font-weight: 500;
}
.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-color: var(--primary);
    color: #fff;
}

/* Definisi yang hilang di HTML asli (dipakai pada kartu opsi mandiri) */
.price-desc {
    font-size: 0.85rem;
    color: var(--gray);
    text-align: center;
    font-style: italic;
    margin-top: 8px;
}

/* ============================================
   TAB INDIKATOR PETA WILAYAH (beranda)
   Pelaku Usaha / Pendamping Halal / Sertifikat
   ============================================ */
.map-metric-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: -8px 0 26px;
}
.map-metric-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border: 1.5px solid rgba(27, 94, 32, 0.28);
    border-radius: 99px;
    background: var(--white);
    color: var(--primary-dark, #1B5E20);
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.map-metric-tab i {
    font-size: 19px;
    line-height: 1;
}
.map-metric-tab:hover {
    border-color: var(--primary);
    background: var(--primary-bg, rgba(27, 94, 32, 0.07));
}
.map-metric-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.28);
}
.map-metric-tab:focus-visible {
    outline: 2px solid var(--gold, #FFB300);
    outline-offset: 2px;
}
@media (max-width: 575px) {
    .map-metric-tab {
        width: 100%;
        justify-content: center;
    }
}
