/* =========================================
   VARIABLES & THEME SETTINGS
   ========================================= */
:root {
    /* Colors - Modern Healthcare Palette */
    --primary: #1d4ed8;
    /* Trust Blue */
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --secondary: #0ea5e9;
    /* Sky Blue */
    --accent: #FFDE21;
    /* Warm Gold/Orange */
    --accent-hover: #d97706;

    /* Backgrounds */
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);

    /* Typography Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #94a3b8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-text: linear-gradient(135deg, var(--primary-dark), var(--secondary));

    /* Stat Colors */
    --blue-500: #3b82f6;
    --red-500: #ef4444;
    --orange-500: #f97316;
    --green-500: #10b981;
    --purple-500: #8b5cf6;
    --teal-500: #14b8a6;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    /* Layout */
    --container-width: 1200px;
    --nav-height: 80px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;


}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    max-width: 1600px;
    width: 100%;
    margin: auto;
}

body {

    font-family: 'Nunito', system-ui, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;

}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

/* =========================================
   UTILITIES
   ========================================= */


.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: #f1f5f9;
}


.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.card-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-glass);
    border-radius: 16px;
}

/* Buttons */
.btn-hero-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3);
}



.btn-hero-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.4);
    color: white;
}


/* Section Header */
.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    border-bottom-right-radius: 2rem;
    border-bottom-left-radius: 2rem;
    transition: border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.4s ease,
        box-shadow 0.4s ease;
}

.navbar.scrolled {

    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.navbar.menu-open {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.navbar:not(.scrolled) .nav-links a {
    color: white;
}

.navbar:not(.scrolled) .brand-text {
    color: white;
}

.navbar:not(.scrolled) .nav-toggle {
    color: white;
}

.navbar:not(.scrolled) .nav-brand img {
    filter: brightness(0) invert(1);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-brand img {
    height: 40px;
    width: auto;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-primary);
    cursor: pointer;
}



/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom-right-radius: 2rem;
}

.hero-pictures {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.hero .hero-picture {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;

    clip-path: circle(0% at 0 50%);
}

.hero-picture.active {
    opacity: 1;
    clip-path: circle(150% at 0 50%);
    transition: 2s ease;
    transition-property: clip-path;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(72, 255, 0, 0) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-width: 600px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease;
    pointer-events: none;
}

.hero-content.active {
    position: relative;
    top: 0;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.hero-title {
    font-size: 4rem;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: 'Concert One', sans-serif;
}

.text-highlight {
    color: var(--accent);
}

.hero-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-socials {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-socials a {
    color: white;
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: var(--transition-normal);
}

.hero-socials a:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.hero-controls {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.slider-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

/* =========================================
   PROFILE SECTION
   ========================================= */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.profile-card {
    background: var(--bg-surface);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(29, 78, 216, 0.1);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.profile-card:hover .card-icon {
    background: var(--gradient-primary);
    color: white;
}

.profile-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.profile-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* =========================================
   TIMELINE SECTION
   ========================================= */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: rgba(29, 78, 216, 0.2);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    right: -25px;
    background: white;
    border: 4px solid var(--primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -25px;
}

.timeline-content {
    padding: 2rem;
    position: relative;
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 25px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -10px;
    border-left: 10px solid var(--bg-glass);
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -10px;
    border-right: 10px solid var(--bg-glass);
}

.timeline-year {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.timeline-content p {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* =========================================
   INFOGRAPHICS SECTION
   ========================================= */
.stats-section {
    border-top-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0c1929 0%, #132a46 40%, #0f2137 70%, #0a1628 100%);
}

/* Animated floating orbs */
.stats-section::before,
.stats-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.stats-section::before {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.5), transparent 70%);
    top: -100px;
    right: -80px;
    animation: statsOrb1 12s ease-in-out infinite;
}

.stats-section::after {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.4), transparent 70%);
    bottom: -80px;
    left: -60px;
    animation: statsOrb2 15s ease-in-out infinite;
}

/* Extra orbs via the background-elements div */
.stats-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}

.stats-bg-orb--1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 70%);
    top: 40%;
    left: 50%;
    animation: statsOrb3 18s ease-in-out infinite;
}

.stats-bg-orb--2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.3), transparent 70%);
    top: 10%;
    left: 20%;
    animation: statsOrb4 14s ease-in-out infinite;
}

.stats-bg-orb--3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2), transparent 70%);
    bottom: 10%;
    right: 20%;
    animation: statsOrb5 16s ease-in-out infinite;
}

/* Subtle grid pattern overlay */


/* Orb animations */
@keyframes statsOrb1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-60px, 40px) scale(1.15);
    }

    66% {
        transform: translate(30px, -30px) scale(0.9);
    }
}

@keyframes statsOrb2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -40px) scale(1.1);
    }

    66% {
        transform: translate(-40px, 20px) scale(0.85);
    }
}

@keyframes statsOrb3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.35;
    }

    50% {
        transform: translate(-80px, 50px) scale(1.2);
        opacity: 0.5;
    }
}

@keyframes statsOrb4 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(60px, 30px) scale(1.3);
    }
}

@keyframes statsOrb5 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.2;
    }

    50% {
        transform: translate(-40px, -40px) scale(1.15);
        opacity: 0.35;
    }
}

/* Override text colors for dark background */
.stats-section .section-title {
    color: white;
}

.stats-section .section-subtitle {
    color: rgba(203, 213, 225, 0.85);
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

/* Card style on dark bg */
.stats-section .stat-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.stats-section .stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.stats-section .stat-card::before {
    background: var(--secondary);
}

.stats-section .stat-label {
    color: rgba(255, 255, 255, 0.95);
}

.stats-section .stat-number {
    color: white;
}

.stats-section .stat-unit {
    color: rgba(203, 213, 225, 0.8);
}

.stats-section .stat-desc {
    color: rgba(148, 163, 184, 0.8);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--bg-surface);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1.5rem;
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    position: relative;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition-normal);
}

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

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.stat-icon.bg-blue {
    background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.stat-icon.bg-red {
    background: linear-gradient(135deg, #f87171, #dc2626);
}

.stat-icon.bg-orange {
    background: linear-gradient(135deg, #fb923c, #ea580c);
}

.stat-icon.bg-green {
    background: linear-gradient(135deg, #34d399, #059669);
}

.stat-icon.bg-purple {
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
}

.stat-icon.bg-teal {
    background: linear-gradient(135deg, #2dd4bf, #0d9488);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-value-group {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-dark);
}

.stat-unit {
    color: var(--text-secondary);
    font-weight: 600;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.4;
}

/* =========================================
   RZ PROGRAMS SECTION (Rumah Zakat Style)
   ========================================= */
.slider-wrapper {
    position: relative;
    padding: 0 50px;
}

.slider-viewport {
    overflow: hidden;
    width: 100%;
    padding: 20px 10px;
    /* added padding to prevent hover cutoff */
    margin: -20px -10px;
    /* negative margin to offset padding */
}

.rz-programs-slider {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    transition: transform 0.5s ease-in-out;
}

.rz-program-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 calc(25% - 1.5rem);
    min-width: 250px;
}

.rz-program-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(29, 78, 216, 0.1);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--primary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary);
    color: white;
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.rz-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.rz-program-title {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.rz-program-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.mt-5 {
    margin-top: 3rem;
}

/* =========================================
   DONATION SECTION
   ========================================= */
.donation-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
}

.donation-info {
    margin-bottom: 3rem;
}

.donation-info h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.donation-name {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.donation-name strong {
    color: var(--primary);
}

/* .bank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
} */

.bank-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

.bank-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(29, 78, 216, 0.2);
}

.bank-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.75rem;
    color: white;
    flex-shrink: 0;
}

.bank-details {
    display: flex;
    flex-direction: column;
}

.bank-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.bank-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
    /* font-family: monospace; */
}

.qris-divider::before,
.qris-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.qris-divider span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.qris-card {
    text-align: center;
    max-width: 320px;
    margin: 0 auto;
}

.qris-image-wrapper {
    background: white;
    border-radius: 16px;
    padding: 1rem;
    border: 2px solid rgba(29, 78, 216, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
}

.qris-image-wrapper:hover {
    border-color: rgba(29, 78, 216, 0.25);
    box-shadow: 0 8px 30px rgba(29, 78, 216, 0.1);
    transform: translateY(-3px);
}

.qris-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.qris-label {
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.qris-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* =========================================
   MAP SECTION
   ========================================= */
.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    padding-left: 3%;
    padding-right: 3%;
    /* background: white; */
    /* box-shadow: var(--shadow-lg); */
}

.map-wrapper iframe {
    border-radius: 12px;
    display: block;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    position: relative;
    padding: 5rem 0;
    color: white;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: 0;
}

.cta-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-btn {
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: linear-gradient(135deg, #4a0e0e 0%, #7a1a1a 30%, #8b1a1a 50%, #6b1515 70%, #3d0a0a 100%);
    color: white;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    height: 60px;
    filter: invert(1) brightness(10);
    padding: 5px;
    border-radius: 30px;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-address {
    color: #cbd5e1;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.footer-address iconify-icon {
    margin-top: 5px;
    color: var(--secondary);
    flex-shrink: 0;
}

.footer-heading {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: #cbd5e1;
    transition: var(--transition-fast);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.contact-email a {
    color: #cbd5e1;
}

.contact-email a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon img {
    width: 35px;
    height: 35px;
    transition: var(--transition-normal);
}

.social-icon:hover img {
    transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #94a3b8;
}

/* =========================================
   ANIMATIONS & REVEAL
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================= */

@media screen and (max-width: 1200px) and (min-width: 993px) {
    .rz-program-item {
        flex: 0 0 calc(33.333% - 1.33rem);
    }
}

@media screen and (max-width: 992px) {
    .profile-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-icon {
        left: 5px !important;
    }

    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        left: -10px;
        right: auto;
        border-right: 10px solid var(--bg-glass);
        border-left: none;
    }

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

    .rz-program-item {
        flex: 0 0 calc(50% - 1rem);
    }
}


@media screen and (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .nav-toggle {
        display: block;
    }

    .navbar:not(.scrolled) .nav-toggle {
        color: white;

    }

    /* ---- Mobile Menu: Slide from Top ---- */
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(241, 245, 249, 0.98) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 0 1.5rem;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
            padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            box-shadow 0.4s ease;
        box-shadow: none;
        border-bottom-left-radius: 1.5rem;
        border-bottom-right-radius: 1.5rem;
        z-index: 999;
    }

    .nav-menu.active {
        max-height: 80vh;
        padding: 1.5rem;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15),
            0 8px 20px rgba(29, 78, 216, 0.08);
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .nav-links li {
        width: 100%;
        border-bottom: none;
        opacity: 0;
        transform: translateY(-15px);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .nav-menu.active .nav-links li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.active .nav-links li:nth-child(1) {
        transition-delay: 0.08s;
    }

    .nav-menu.active .nav-links li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-menu.active .nav-links li:nth-child(3) {
        transition-delay: 0.22s;
    }

    .nav-menu.active .nav-links li:nth-child(4) {
        transition-delay: 0.29s;
    }

    .nav-menu.active .nav-links li:nth-child(5) {
        transition-delay: 0.36s;
    }

    .nav-menu.active .nav-links li:nth-child(6) {
        transition-delay: 0.43s;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
        color: var(--text-primary) !important;
        font-size: 1.05rem;
        font-weight: 700;
        letter-spacing: 0.3px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.6);
        border: 1px solid rgba(0, 0, 0, 0.04);
        position: relative;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 100%;
        background: var(--gradient-primary);
        border-radius: 0 4px 4px 0;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-links a::after {
        content: '→';
        position: absolute;
        right: 1.25rem;
        top: 50%;
        transform: translateY(-50%) translateX(-5px);
        opacity: 0;
        font-size: 1.1rem;
        color: var(--primary);
        transition: all 0.3s ease;
        /* Override the underline ::after from desktop */
        bottom: auto;
        left: auto;
        width: auto;
        height: auto;
        background: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(59, 130, 246, 0.08);
        border-color: rgba(29, 78, 216, 0.12);
        color: var(--primary) !important;
        padding-left: 1.5rem;
        box-shadow: 0 4px 15px rgba(29, 78, 216, 0.08);
    }

    .nav-links a:hover::before,
    .nav-links a.active::before {
        opacity: 1;
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }

    .nav-cta {
        margin-top: 1.25rem;
        width: 100%;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.4s ease 0.35s, transform 0.4s ease 0.35s;
    }

    .nav-menu.active .nav-cta {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-cta .btn {
        width: 100%;
        padding: 1rem !important;
        font-size: 1.05rem;
        border-radius: 14px;
        background: var(--gradient-primary);
        border: none;
        color: white;
        font-weight: 700;
        letter-spacing: 0.5px;
        box-shadow: 0 6px 25px rgba(29, 78, 216, 0.3);
        animation: none;
    }

    .nav-menu.active .nav-cta .btn {
        animation: ctaPulse 2.5s ease-in-out infinite;
    }

    @keyframes ctaPulse {

        0%,
        100% {
            box-shadow: 0 6px 25px rgba(29, 78, 216, 0.3);
        }

        50% {
            box-shadow: 0 6px 35px rgba(29, 78, 216, 0.5);
        }
    }

    /* Overlay behind menu */
    .nav-menu-overlay {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: rgba(0, 0, 0, 0);
        pointer-events: none;
        transition: background 0.4s ease;
        z-index: 998;
    }

    .nav-menu-overlay.active {
        background: rgba(0, 0, 0, 0.3);
        pointer-events: all;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-socials {
        display: none;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .rz-program-item {
        flex: 0 0 100%;
    }

    .slider-wrapper {
        padding: 0 30px;
    }

    .prev-btn {
        left: -10px;
    }

    .next-btn {
        right: -10px;
    }
}