:root {
    --primary-green: #064e3b;
    --primary-medium: #0d7054;
    --primary-light: #f0f7f4;
    --accent-gold: #c29753;
    --accent-gold-hover: #a37b3b;
    --accent-gold-light: #FAF6EE;
    --bg-base: #FAF9F6; /* Alabaster base background */
    --white: #ffffff;
    --text-dark: #1f2229;
    --text-muted: #6b7280;
    --font-heading: 'Outfit', sans-serif;
    --font-accent: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --navbar-height: 85px;
    --transition-premium: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 20px 40px -10px rgba(6, 78, 59, 0.04), 0 10px 20px -10px rgba(0, 0, 0, 0.02);
    --shadow-premium-hover: 0 30px 60px -15px rgba(194, 151, 83, 0.12), 0 15px 30px -10px rgba(6, 78, 59, 0.08);
    --border-soft: 1px solid rgba(6, 78, 59, 0.05);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-base);
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    line-height: 1.6;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-green);
    font-weight: 700;
}

h5, h6 {
    font-family: var(--font-accent);
    font-weight: 600;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-medium);
}

/* Section Header Styles */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-title span {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--accent-gold);
    font-weight: 400;
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 0.75rem auto 3rem auto;
}

/* Custom Buttons */
.btn-primary-custom {
    background-color: var(--primary-green);
    color: var(--white);
    border: 1px solid var(--primary-green);
    padding: 0.85rem 2.2rem;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: var(--transition-premium);
    box-shadow: 0 10px 20px -5px rgba(6, 78, 59, 0.2);
}

.btn-primary-custom:hover {
    background-color: var(--primary-medium);
    border-color: var(--primary-medium);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(13, 112, 84, 0.3);
}

.btn-accent-custom {
    background-color: var(--accent-gold);
    color: var(--primary-green);
    border: 1px solid var(--accent-gold);
    padding: 0.85rem 2.2rem;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: var(--transition-premium);
    box-shadow: 0 10px 20px -5px rgba(194, 151, 83, 0.2);
}

.btn-accent-custom:hover {
    background-color: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(163, 123, 59, 0.3);
}

/* Transparent Glass Navbar */
.navbar {
    height: var(--navbar-height);
    background: transparent !important;
    transition: var(--transition-premium);
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    height: 75px;
    background: rgba(250, 249, 246, 0.9) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(6, 78, 59, 0.03);
    border-bottom: 1px solid rgba(6, 78, 59, 0.05);
}

.navbar-brand {
    font-family: var(--font-heading);
    color: var(--primary-green) !important;
    font-size: 1.35rem;
}

.navbar.scrolled .navbar-brand {
    color: var(--primary-green) !important;
}

.brand-text-responsive {
    font-family: var(--font-heading);
    font-weight: 700;
}

.brand-text-responsive span {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--accent-gold);
    font-weight: 400;
}

.nav-link {
    color: var(--text-dark) !important;
    font-family: var(--font-accent);
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0 0.5rem;
    position: relative;
    transition: var(--transition-premium);
    padding: 0.5rem 0 !important;
}

.navbar.scrolled .nav-link {
    color: var(--text-dark) !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-green) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-premium);
    transform: translateX(-50%);
}

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

.navbar .btn-light {
    background-color: var(--primary-green) !important;
    border-color: var(--primary-green) !important;
    color: var(--white) !important;
    font-family: var(--font-accent);
    font-weight: 600;
    border-radius: 4px;
    padding: 0.55rem 1.4rem !important;
    transition: var(--transition-premium);
}

.navbar .btn-light:hover {
    background-color: var(--accent-gold) !important;
    border-color: var(--accent-gold) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(194, 151, 83, 0.2);
}

/* Premium Split Hero Section */
.hero-overhaul {
    min-height: 100vh;
    padding-top: var(--navbar-height);
    background-color: var(--bg-base);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-blobs {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50%;
    height: 70%;
    background: radial-gradient(circle, rgba(194, 151, 83, 0.05) 0%, rgba(6, 78, 59, 0.03) 70%, transparent 100%);
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
}

.hero-text-container {
    position: relative;
    z-index: 5;
    padding-right: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-light);
    color: var(--primary-green);
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.45rem 1rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(6, 78, 59, 0.08);
}

.hero-text-container h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.hero-text-container h1 span {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--accent-gold);
    font-weight: 400;
}

.hero-text-container p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-image-collage {
    position: relative;
    z-index: 5;
    height: 480px;
}

.collage-main-frame {
    position: absolute;
    width: 75%;
    height: 85%;
    top: 5%;
    left: 12.5%;
    border-radius: 8px;
    overflow: hidden;
    border: 8px solid var(--white);
    box-shadow: var(--shadow-premium);
}

.collage-main-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collage-overlay-frame {
    position: absolute;
    width: 45%;
    height: 50%;
    bottom: -5%;
    right: 5%;
    border-radius: 8px;
    overflow: hidden;
    border: 6px solid var(--white);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    z-index: 10;
}

.collage-overlay-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collage-badge-card {
    position: absolute;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: var(--shadow-premium);
    bottom: 5%;
    left: 4%;
    z-index: 15;
    display: flex;
    align-items: center;
}

.collage-badge-card i {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-right: 0.85rem;
}

.collage-badge-card h4 {
    font-family: var(--font-accent);
    color: var(--white);
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.collage-badge-card p {
    margin: 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.5px;
}

/* Floating Stats Layout */
.floating-stats-bar {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow-premium);
    border: var(--border-soft);
    margin-top: -60px;
    position: relative;
    z-index: 30;
}

.stat-item {
    padding: 0 1.5rem;
    border-right: 1px solid rgba(6, 78, 59, 0.08);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.15rem;
    line-height: 1;
}

.stat-label {
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--primary-green);
    text-transform: uppercase;
    margin: 0;
}

/* Profil Layout */
.profile-card-classic {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-premium);
    border: var(--border-soft);
    padding: 3rem;
}

/* Bespoke Cards (Visi Misi, Program, Team) */
.premium-card {
    background-color: var(--white);
    border-radius: 8px;
    border: var(--border-soft);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-premium);
    padding: 2.5rem;
    height: 100%;
}

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

/* Program Card */
.program-card {
    background-color: var(--white);
    border-radius: 8px;
    border: var(--border-soft);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-premium);
    padding: 3rem 2.25rem;
    text-align: center;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium-hover);
}

.program-icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    border-radius: 8px;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-premium);
}

.program-icon-box img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    transition: var(--transition-premium);
}

.program-card:hover .program-icon-box img {
    transform: scale(1.1);
}

.program-card h5 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--primary-green);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.program-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Susunan Pengurus Team Card - Responsive Grid */
.team-card {
    background-color: var(--white);
    border-radius: 8px;
    border: var(--border-soft);
    box-shadow: var(--shadow-premium);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition-premium);
    height: 100%;
}

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

.team-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.25rem auto;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent-gold), var(--primary-green));
}

.team-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--bg-base);
    border: 3px solid var(--white);
}

.team-card h5 {
    font-size: 1.15rem;
    color: var(--primary-green);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.team-card p {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: var(--accent-gold);
    margin: 0;
    text-transform: uppercase;
}

/* Gallery Section Layout */
.filter-btn {
    border-radius: 4px;
    padding: 0.55rem 1.4rem;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid rgba(6, 78, 59, 0.1);
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition-premium);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-green) !important;
    border-color: var(--primary-green) !important;
    color: var(--white) !important;
    box-shadow: 0 8px 15px rgba(6, 78, 59, 0.15);
}

.gallery-card-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-premium);
    border: var(--border-soft);
    background-color: var(--white);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-premium);
}

.gallery-card-wrapper:hover .gallery-img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(6, 78, 59, 0.95), rgba(0, 0, 0, 0.1));
    opacity: 0;
    transition: var(--transition-premium);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-card-wrapper:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-text {
    color: var(--white);
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: translateY(10px);
    transition: var(--transition-premium);
}

.gallery-card-wrapper:hover .gallery-overlay-text {
    transform: translateY(0);
}

/* Table Premium Styling */
.table-premium {
    border-radius: 8px;
    overflow: hidden;
    border: var(--border-soft);
    box-shadow: var(--shadow-premium);
}

.table-premium thead th {
    background-color: var(--primary-green) !important;
    color: var(--white) !important;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 1.2rem 1.5rem;
    border: none;
}

.table-premium tbody td {
    padding: 1.2rem 1.5rem;
    vertical-align: middle;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.table-premium tbody tr {
    transition: var(--transition-premium);
    background-color: var(--white);
}

.table-premium tbody tr:hover {
    background-color: var(--primary-light) !important;
}

/* Pendaftaran Step Box */
.pendaftaran-box {
    border-top: 4px solid var(--primary-green);
    box-shadow: var(--shadow-premium);
    border-radius: 8px;
    background-color: var(--white);
    padding: 3rem 2.25rem;
    height: 100%;
    transition: var(--transition-premium);
    border-left: var(--border-soft);
    border-right: var(--border-soft);
    border-bottom: var(--border-soft);
}

.pendaftaran-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium-hover);
}

.pendaftaran-box h4 {
    color: var(--primary-green);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.pendaftaran-box ol li {
    margin-bottom: 0.85rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Form Donasi Styling */
.form-donasi-container {
    background: var(--white);
    border-radius: 8px;
    padding: 4rem 3rem;
    box-shadow: var(--shadow-premium);
    border: var(--border-soft);
}

.form-control, .form-select {
    border-radius: 4px;
    padding: 0.85rem 1.2rem;
    border: 1px solid rgba(6, 78, 59, 0.15);
    background-color: var(--bg-base);
    font-size: 0.95rem;
    transition: var(--transition-premium);
}

.form-control:focus, .form-select:focus {
    background-color: var(--white);
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 4px rgba(194, 151, 83, 0.1);
}

.form-label {
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer Section */
.footer {
    background-color: #032b21 !important;
    padding: 6rem 0 0 0 !important;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-col {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: var(--transition-premium);
}

.footer-col:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-3px);
}

.footer-col h3 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.85rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-col p {
    color: rgba(250, 249, 246, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background-color: rgba(250, 249, 246, 0.06);
    color: var(--white);
    margin-right: 0.75rem;
    transition: var(--transition-premium);
}

.footer-col .social-links a:hover {
    background-color: var(--accent-gold);
    color: var(--primary-green);
    transform: translateY(-2px);
}

.btn-footer {
    display: inline-block;
    background-color: var(--accent-gold) !important;
    border: 1px solid var(--accent-gold) !important;
    color: var(--primary-green) !important;
    padding: 0.65rem 1.8rem;
    border-radius: 4px;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition-premium);
    box-shadow: 0 5px 15px rgba(194, 151, 83, 0.15);
}

.btn-footer:hover {
    background-color: var(--white) !important;
    border-color: var(--white) !important;
    color: var(--primary-green) !important;
    transform: translateY(-2px);
}

.footer-col iframe {
    border-radius: 4px;
    width: 100% !important;
    height: 150px !important;
    border: none;
}

.footer-bottom {
    background-color: #021a14;
    padding: 1.8rem 0;
    margin-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-bottom p {
    color: rgba(250, 249, 246, 0.4);
    margin: 0;
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsiveness */
@media (max-width: 991.98px) {
    .navbar {
        height: auto;
        padding: 0.85rem 0;
        background: rgba(250, 249, 246, 0.95) !important;
    }
    .navbar-collapse {
        background-color: var(--bg-base);
        border-radius: 8px;
        padding: 1.5rem;
        margin-top: 0.5rem;
        box-shadow: 0 10px 30px rgba(6, 78, 59, 0.08);
        border: var(--border-soft);
    }
    .nav-link {
        margin: 0.5rem 0;
    }
    .navbar .btn-light {
        margin-top: 0.75rem;
        margin-left: 0 !important;
        display: inline-block;
    }
    .hero-overhaul {
        padding-top: 100px;
        padding-bottom: 80px;
    }
    .hero-text-container {
        padding-right: 0;
        text-align: center;
        margin-bottom: 4rem;
    }
    .hero-text-container h1 {
        font-size: 2.8rem;
    }
    .hero-image-collage {
        height: 380px;
        max-width: 500px;
        margin: 0 auto;
    }
    .collage-badge-card {
        left: 8%;
    }
}

@media (max-width: 576px) {
    .btn-primary-custom, .btn-accent-custom {
        padding: 0.65rem 1.1rem !important;
        font-size: 0.85rem !important;
    }
}

/* Loading Skeleton Animation */
@keyframes skeleton-loading {
    0% {
        background-color: #f3f4f6;
    }
    50% {
        background-color: #e5e7eb;
    }
    100% {
        background-color: #f3f4f6;
    }
}

.skeleton-loader {
    animation: skeleton-loading 1.5s infinite ease-in-out !important;
    background-color: #e5e7eb !important;
    color: transparent !important;
}

/* Scroll Reveal Animation (GPU composites for high performance) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

/* Event Popup Modal Styles */
.popup-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 78, 59, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    padding: 1rem;
    transition: var(--transition-premium);
}

.popup-modal-content {
    position: relative;
    width: 100%;
    max-width: 420px; /* Scaled down for desktop */
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.popup-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4; /* Forced 3:4 portrait ratio */
    background-color: #f3f4f6;
    overflow: hidden;
}

.popup-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.popup-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(6, 78, 59, 0.85);
    color: var(--white);
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: var(--transition-premium);
}

.popup-modal-close:hover {
    background: var(--accent-gold);
    color: var(--primary-green);
    transform: scale(1.08);
}

.popup-action-container {
    padding: 1.25rem;
    background: var(--white);
    border-top: 1px solid rgba(6, 78, 59, 0.05);
}

.popup-action-container .btn-accent-custom {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
}

/* GPU-Accelerated Premium Hero Entrance Animations */
@keyframes heroFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

.hero-animate-badge {
    animation: heroFadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-animate-title {
    animation: heroFadeInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
    opacity: 0;
}

.hero-animate-text {
    animation: heroFadeInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.hero-animate-buttons {
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    opacity: 0;
}

.hero-animate-collage {
    animation: heroFadeInRight 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
    opacity: 0;
}

/* QRIS Zoom Modal Styles */
.qris-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: opacity 0.3s ease;
}

.qris-zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 78, 59, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.qris-zoom-content {
    position: relative;
    width: 100%;
    max-width: 400px;
    z-index: 10;
}

.qris-zoom-close {
    position: absolute;
    top: -45px;
    right: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-green);
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition-premium);
}

.qris-zoom-close:hover {
    background: var(--accent-gold);
    color: var(--primary-green);
    transform: scale(1.1);
}

.qris-zoom-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid rgba(6, 78, 59, 0.05);
}

.qris-zoom-title {
    font-family: var(--font-heading);
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.qris-zoom-subtitle {
    color: var(--accent-gold);
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.qris-zoom-image-wrapper {
    background: #fff;
    padding: 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(6, 78, 59, 0.08);
    margin-bottom: 1.25rem;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.02);
}

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

.qris-zoom-footer {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.4;
}

/* Hover style for the thumbnail QRIS box in footer */
.qris-box {
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.qris-box:hover {
    transform: scale(1.05) translateY(-3px) !important;
    box-shadow: 0 12px 25px rgba(6, 78, 59, 0.2) !important;
}
