/*
 * LKSA Nurul Husna - Landing Page CSS Stylesheet (Iteration 3)
 * Crafted with modern design principles, premium color palettes, and fluid responsive layouts.
 */

:root {
    /* Color Palette */
    --primary: #0d9488;
    /* Warm Teal */
    --primary-dark: #0f766e;
    /* Deep Teal */
    --primary-light: #ccfbf1;
    /* Soft Light Teal */
    --accent: #f59e0b;
    /* Amber / Gold */
    --accent-dark: #d97706;
    /* Deep Amber */
    --accent-light: #fef3c7;
    /* Soft Light Amber */
    --text-main: #0f172a;
    /* Slate Dark */
    --text-muted: #475569;
    /* Slate Muted */
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    /* Light Grey-Blue */
    --white: #ffffff;

    /* System & Shadows */
    --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 15px -3px rgba(13, 148, 136, 0.05), 0 4px 6px -4px rgba(13, 148, 136, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 0 20px rgba(245, 158, 11, 0.15);

    /* Layout & Spacing */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --border-radius-sm: 8px;
}

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

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

section {
    padding: 80px 0;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 2. Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
}

h1 {
    font-size: 2.75rem;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.02em;
    text-align: center;
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 48px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.text-center {
    text-align: center;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    background-color: var(--primary-light);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

/* Buttons Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
}

.btn-secondary {
    background: var(--accent);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn i {
    margin-left: 8px;
    font-size: 0.9rem;
}

/* 3. Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    border: 2px solid var(--primary-light);
    transition: var(--transition);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.logo:hover .logo-icon {
    transform: scale(1.05);
    border-color: var(--primary);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
}

.logo-text span {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    margin-right: 28px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ==========================================================================
   NAVBAR & MODERN OFFCANVAS MOBILE DRAWER
   ========================================================================== */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-backdrop.active {
    display: block;
    opacity: 1;
}

/* Sembunyikan elemen drawer khusus mobile pada layar desktop */
@media (min-width: 992px) {

    .nav-menu-header,
    .nav-menu-actions,
    .nav-menu-footer,
    .nav-arrow,
    .nav-backdrop,
    .drawer-close-btn {
        display: none !important;
    }

    .nav-menu {
        display: flex;
        align-items: center;
        gap: 0;
        margin-left: auto;
        margin-right: 32px;
        flex-shrink: 0;
    }

    .nav-menu-links {
        display: flex;
        align-items: center;
        gap: 2px;
        flex-wrap: nowrap;
    }

    .nav-link {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-size: 0.88rem;
        font-weight: 600;
        color: var(--text-muted);
        position: relative;
        padding: 6px 9px;
        border-radius: 8px;
        text-decoration: none;
        white-space: nowrap;
        transition: var(--transition);
    }

    .nav-link-icon {
        font-size: 0.8rem;
        opacity: 0.7;
        transition: var(--transition);
    }

    .nav-link-text {
        position: relative;
        display: inline-block;
    }

    .nav-link-text::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 100%;
        height: 2.5px;
        background-color: var(--primary);
        border-radius: 3px;
        opacity: 0;
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary);
        background-color: rgba(13, 148, 136, 0.05);
    }

    .nav-link:hover .nav-link-icon,
    .nav-link.active .nav-link-icon {
        opacity: 1;
        color: var(--primary);
    }

    .nav-link:hover .nav-link-text::after,
    .nav-link.active .nav-link-text::after {
        opacity: 1;
        transform: scaleX(1);
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 14px;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .btn-nav-donasi {
        padding: 9px 18px !important;
        font-size: 0.88rem !important;
        white-space: nowrap !important;
        box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
    }
}

/* Hamburger Menu Icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1003;
    padding: 6px;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile responsive menu (Offcanvas Drawer) */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }

    /* Ketika mobile drawer terbuka, sembunyikan hamburger agar tidak muncul 2 tanda X */
    .menu-toggle.active {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--primary);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--primary);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: #ffffff;
        box-shadow: -15px 0 45px rgba(15, 23, 42, 0.2);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1002;
        overflow-y: auto;
    }

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

    /* Header Drawer */
    .nav-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 22px 20px;
        background: linear-gradient(135deg, #0f172a 0%, #0f766e 100%);
        color: #ffffff;
    }

    .drawer-brand {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .drawer-logo {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        background: #ffffff;
        padding: 3px;
        object-fit: contain;
    }

    .drawer-title {
        display: block;
        font-size: 1rem;
        font-weight: 800;
        letter-spacing: 0.05em;
        line-height: 1.2;
    }

    .drawer-sub {
        display: block;
        font-size: 0.72rem;
        color: rgba(255, 255, 255, 0.75);
    }

    .drawer-close-btn {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.15);
        color: #ffffff;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .drawer-close-btn:hover {
        background: #ffffff;
        color: #0f172a;
        transform: rotate(90deg);
    }

    /* Nav Links List */
    .nav-menu-links {
        display: flex;
        flex-direction: column;
        padding: 18px 16px;
        gap: 8px;
    }

    .nav-menu-links .nav-link {
        display: flex;
        align-items: center;
        padding: 12px 16px;
        border-radius: 12px;
        color: var(--text-main);
        font-size: 0.95rem;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.25s ease;
        background: #f8fafc;
        border: 1px solid transparent;
    }

    .nav-menu-links .nav-link-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        font-size: 0.95rem;
        margin-right: 12px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        transition: all 0.25s ease;
    }

    .nav-menu-links .nav-link-text {
        flex-grow: 1;
    }

    .nav-menu-links .nav-arrow {
        font-size: 0.75rem;
        color: #94a3b8;
        transition: transform 0.25s ease;
    }

    .nav-menu-links .nav-link:hover {
        background: #f1f5f9;
        transform: translateX(4px);
    }

    .nav-menu-links .nav-link.active {
        background: rgba(13, 148, 136, 0.08);
        color: var(--primary-dark);
        border: 1px solid rgba(13, 148, 136, 0.2);
        border-left: 4px solid var(--primary);
        font-weight: 700;
    }

    .nav-menu-links .nav-link.active .nav-link-icon {
        background: var(--primary);
        color: #ffffff;
    }

    .nav-menu-links .nav-link.active .nav-arrow {
        color: var(--primary);
        transform: translateX(2px);
    }

    /* Actions CTA */
    .nav-menu-actions {
        padding: 0 16px 16px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .btn-drawer-donasi {
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        color: #ffffff;
        padding: 13px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.95rem;
        text-decoration: none;
        box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
        transition: all 0.25s ease;
    }

    .btn-drawer-donasi:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(245, 158, 11, 0.45);
        color: #ffffff;
    }

    .btn-drawer-wa {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #ecfdf5;
        color: #059669;
        border: 1px solid rgba(16, 185, 129, 0.3);
        padding: 12px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.9rem;
        text-decoration: none;
        transition: all 0.25s ease;
    }

    .btn-drawer-wa:hover {
        background: #d1fae5;
        color: #047857;
    }

    /* Footer Drawer */
    .nav-menu-footer {
        margin-top: auto;
        padding: 20px 16px;
        border-top: 1px solid #f1f5f9;
        text-align: center;
        background: #f8fafc;
    }

    .drawer-socials {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-bottom: 10px;
    }

    .drawer-socials a {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: #ffffff;
        color: var(--primary);
        border: 1px solid #e2e8f0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        text-decoration: none;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
        transition: all 0.2s ease;
    }

    .drawer-socials a:hover {
        background: var(--primary);
        color: #ffffff;
        border-color: var(--primary);
    }

    .drawer-copy {
        display: block;
        font-size: 0.75rem;
        color: #94a3b8;
    }

    .nav-actions {
        display: none !important;
    }
}

/* 4. Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 140px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(254, 243, 199, 0.4) 0%, rgba(255, 255, 255, 0) 60%),
        radial-gradient(circle at 10% 80%, rgba(204, 251, 241, 0.4) 0%, rgba(255, 255, 255, 0) 60%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent-light);
    color: var(--accent-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
}

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

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-main {
    position: relative;
    z-index: 2;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--white);
    background-color: var(--primary-light);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: morph 8s ease-in-out infinite alternate;
}

.hero-image-main picture,
.hero-image-main img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero-image-deco {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    width: 120px;
    height: 120px;
    bottom: -20px;
    left: -20px;
    opacity: 0.8;
    animation: bounce 6s ease-in-out infinite alternate;
    box-shadow: var(--shadow-glow);
}

.hero-image-card {
    position: absolute;
    right: -20px;
    top: 30%;
    background-color: var(--white);
    padding: 16px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
}

.hero-card-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.hero-card-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.hero-card-info p {
    font-size: 0.75rem;
    margin: 0;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    100% {
        border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%;
    }
}

@keyframes bounce {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-15px) scale(1.05);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .hero {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-badge,
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-image-card {
        right: 10px;
        top: auto;
        bottom: -10px;
    }
}

/* 5. Statistics Section */
.stats {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0;
    box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 2.25rem;
    color: var(--accent);
    margin-bottom: 12px;
    display: inline-block;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-number span {
    font-family: var(--font-family);
}

.stat-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 991px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* 5b. Partners Logo Marquee Section */
.partners {
    background-color: var(--bg-alt);
    padding: 36px 0;
    border-bottom: 1px solid rgba(13, 148, 136, 0.08);
    overflow: hidden;
    position: relative;
}

.marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee::before,
.marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-alt) 0%, rgba(248, 250, 252, 0) 100%);
}

.marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-alt) 0%, rgba(248, 250, 252, 0) 100%);
}

.marquee-content {
    display: flex;
    gap: 72px;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.marquee:hover .marquee-content {
    animation-play-state: paused;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 700;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: var(--transition);
    user-select: none;
}

.partner-logo i {
    font-size: 1.75rem;
    color: var(--primary);
    transition: var(--transition);
}

.partner-logo img {
    height: 52px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    color: var(--primary-dark);
}

.partner-logo:hover i {
    transform: scale(1.1);
    color: var(--accent-dark);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 6. About Us Section */
.about {
    background-color: var(--bg-main);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
    align-items: center;
}

.about-img-box {
    position: relative;
}

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

.about-img-main img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about-img-deco {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background-color: var(--accent);
    color: var(--white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 180px;
    z-index: 2;
}

.about-deco-num {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.about-deco-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.about-content h3 {
    margin-bottom: 16px;
    color: var(--primary);
}

.about-features {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.about-feature-icon {
    width: 28px;
    height: 28px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.about-feature-text h5 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.about-feature-text p {
    font-size: 0.85rem;
    margin: 0;
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .about-img-box {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .about-img-main img {
        height: 380px;
    }
}

/* 7. Programs Section */
.programs {
    background-color: var(--bg-alt);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.program-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(13, 148, 136, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13, 148, 136, 0.15);
}

.program-icon {
    width: 64px;
    height: 64px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.program-card:hover .program-icon {
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.program-card h4 {
    margin-bottom: 12px;
}

.program-card p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.program-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.program-link:hover {
    color: var(--primary-dark);
}

.program-link i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.program-card:hover .program-link i {
    transform: translateX(4px);
}

@media (max-width: 1200px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }
}

/* 8. Gallery Section */
.gallery {
    background-color: var(--bg-main);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-sm);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13, 148, 136, 0) 30%, rgba(13, 148, 136, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.gallery-tag {
    color: var(--accent-light);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* 9. News & Articles Section (With Responsive Slider) */
.news {
    background-color: var(--bg-alt);
    overflow: hidden;
    /* Prevent overflow of absolute buttons */
}

.news-slider-wrapper {
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.news-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 12px 4px;
    /* padding prevents clipping card shadow */
}

.news-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: max-content;
}

.news-slide {
    flex-shrink: 0;
    width: 360px;
    /* Base card width for desktop calculating margins */
    margin-right: 32px;
}

.news-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(13, 148, 136, 0.03);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13, 148, 136, 0.12);
}

.news-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background-color: var(--primary-light);
}

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

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

.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    z-index: 3;
    box-shadow: var(--shadow-sm);
}

.news-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.news-meta i {
    color: var(--primary);
    margin-right: 4px;
}

.news-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.42;
    transition: var(--transition);
    color: var(--text-main);
    font-weight: 700;
}

.news-card:hover .news-title {
    color: var(--primary-dark);
}

.news-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.news-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.news-link i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.news-card:hover .news-link i {
    transform: translateX(4px);
}

/* Slider Controls */
.news-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary);
    border: 1px solid rgba(13, 148, 136, 0.1);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 10;
    transition: var(--transition);
}

.news-slider-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.news-slider-btn.prev {
    left: -24px;
}

.news-slider-btn.next {
    right: -24px;
}

.news-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.news-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
}

.news-dot.active {
    background-color: var(--primary);
    width: 24px;
    border-radius: 50px;
}

@media (max-width: 1200px) {
    .news-slider-btn.prev {
        left: -10px;
    }

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

@media (max-width: 650px) {
    .news-slider-btn {
        display: none;
        /* Hide buttons on mobile in favor of swipe gesture */
    }
}

/* --- 9b. News Detail Modal CSS --- */
.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.news-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.news-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.news-modal-content {
    position: relative;
    background-color: var(--white);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 950px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.news-modal.open .news-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.news-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--bg-alt);
    color: var(--text-main);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    z-index: 12;
    transition: var(--transition);
}

.news-modal-close:hover {
    background-color: #ef4444;
    color: var(--white);
    transform: rotate(90deg);
}

.news-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    height: 85vh;
    max-height: 85vh;
}

.news-modal-img {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.news-modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-modal-body {
    padding: 48px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-modal-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(13, 148, 136, 0.08);
    padding-bottom: 16px;
}

.news-modal-meta i {
    color: var(--primary);
    margin-right: 6px;
}

.news-modal-body h3 {
    font-size: 1.75rem;
    color: var(--text-main);
    line-height: 1.35;
    margin-bottom: 24px;
    font-weight: 800;
}

.news-modal-text-content {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    flex-grow: 1;
}

.news-modal-text-content p {
    margin-bottom: 16px;
    font-size: 1rem;
}

.news-modal-share {
    margin-top: 32px;
    border-top: 1px solid rgba(13, 148, 136, 0.08);
    padding-top: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.news-modal-share span {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.share-icons {
    display: flex;
    gap: 12px;
}

.share-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition);
}

.share-icon.whatsapp {
    color: #25d366;
}

.share-icon.whatsapp:hover {
    background-color: #25d366;
    color: var(--white);
}

.share-icon.facebook {
    color: #1877f2;
}

.share-icon.facebook:hover {
    background-color: #1877f2;
    color: var(--white);
}

.share-icon.twitter {
    color: #0f172a;
}

.share-icon.twitter:hover {
    background-color: #0f172a;
    color: var(--white);
}

@media (max-width: 991px) {
    .news-modal-grid {
        grid-template-columns: 1fr;
        height: auto;
        max-height: 80vh;
        overflow-y: auto;
    }

    .news-modal-content {
        max-height: 80vh;
        width: 90vw;
    }

    .news-modal-img {
        height: 240px;
        aspect-ratio: 16/9;
    }

    .news-modal-body {
        padding: 32px 24px;
        overflow-y: visible;
        height: auto;
    }
}

/* 10. Donation Banner / CTA Section */
.donation-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    overflow: hidden;
}

.donation-cta::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.donation-cta::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.08);
}

.donation-content {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.donation-content h2 {
    color: var(--white);
}

.donation-content h2::after {
    background: var(--accent);
}

.donation-content p {
    color: var(--primary-light);
    font-size: 1.15rem;
    margin-bottom: 40px;
}

.donation-details-box {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--border-radius);
    padding: 32px;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    text-align: left;
    width: 100%;
    max-width: 650px;
}

.bank-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bank-label {
    font-size: 0.8rem;
    color: var(--primary-light);
    text-transform: uppercase;
    font-weight: 700;
}

.bank-name {
    font-size: 1.25rem;
    font-weight: 800;
}

.bank-account {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bank-account-copy {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.bank-account-copy:hover {
    color: var(--accent-light);
}

.bank-holder {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 576px) {
    .donation-details-box {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 20px;
    }

    .bank-account {
        font-size: 1.2rem;
    }
}

/* 11. Contact & Map Section */
.contact {
    background-color: var(--bg-main);
}

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

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-detail-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-detail-content h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-detail-content p {
    font-size: 0.95rem;
    margin: 0;
}

.map-wrapper {
    width: 100%;
    height: 280px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 4px solid var(--bg-alt);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form-panel {
    background-color: var(--bg-alt);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.contact-form-panel h3 {
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid #cbd5e1;
    background-color: var(--white);
    font-family: var(--font-family);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
}

/* 12. Footer Section */
footer {
    background-color: var(--text-main);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 24px 0;
    font-size: 0.9rem;
}

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

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-about .logo-icon {
    box-shadow: none;
}

.footer-about .logo-text {
    color: var(--white);
}

.footer-about .logo-text span {
    color: rgba(255, 255, 255, 0.5);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.6);
    margin: 20px 0 24px 0;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
}

.social-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.newsletter-input {
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 50px;
    font-family: var(--font-family);
    font-size: 0.85rem;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background-color: var(--primary-dark);
}

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

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* 13. Interaction and Animation Classes */
/* CSS Scroll-based fade animations (triggered by IntersectionObserver JS) */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-fade-up {
    transform: translateY(40px);
}

.reveal-fade-left {
    transform: translateX(-40px);
}

.reveal-fade-right {
    transform: translateX(40px);
}

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

.reveal-delay-100 {
    transition-delay: 100ms;
}

.reveal-delay-200 {
    transition-delay: 200ms;
}

.reveal-delay-300 {
    transition-delay: 300ms;
}

.reveal-delay-400 {
    transition-delay: 400ms;
}

.reveal-delay-500 {
    transition-delay: 500ms;
}

/* 14. Programs Grid 3x3 & Program Detail Page Stylings */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 32px;
}

.program-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(13, 148, 136, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.program-card .program-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-light), #e0f2fe);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.program-card:hover .program-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    transform: scale(1.08);
}

.program-card .program-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-dark);
    background-color: var(--primary-light);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
    width: fit-content;
}

.program-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.35;
}

.program-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.program-card .program-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    transition: var(--transition);
    margin-top: auto;
}

.program-card .program-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

.other-program-item:hover {
    background-color: var(--primary-light) !important;
    border-color: var(--primary) !important;
    transform: translateX(4px);
}

.other-news-item:hover {
    background-color: var(--primary-light) !important;
    border-color: var(--primary) !important;
    transform: translateX(4px);
}

.digital-bank-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35) !important;
}

.glowing-pulse-btn {
    animation: glowingPulse 2.5s infinite;
}

@keyframes glowingPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }

    70% {
        box-shadow: 0 0 0 16px rgba(245, 158, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0f172a;
    color: #fff;
    padding: 14px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    font-size: 0.95rem;
    font-weight: 600;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 991px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .program-detail-layout,
    .news-detail-layout {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
}

@media (max-width: 576px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .toast-notification {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
}

/* ==========================================
   ABOUT & VISI MISI REDESIGN STYLES
   ========================================== */
.about {
    background-color: var(--bg-alt);
    padding: 90px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}

.about-img-box {
    position: relative;
}

.about-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid #ffffff;
}

.about-img-wrapper img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.about-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4) 0%, transparent 60%);
}

.about-img-badge {
    position: absolute;
    bottom: -20px;
    right: -15px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    padding: 16px 22px;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.35);
    border: 4px solid #ffffff;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 2;
}

.about-img-badge i {
    font-size: 2.2rem;
    color: var(--accent);
}

.about-img-badge .badge-number {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.1;
}

.about-img-badge .badge-label {
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.9;
}

.about-content .about-text {
    text-align: justify;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Vision & Mission Redesign Wrapper */
.vision-mission-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Visi Banner Card */
.vision-card {
    background: linear-gradient(135deg, #0f172a 0%, #0f766e 100%);
    color: #ffffff;
    border-radius: 24px;
    padding: 36px 40px;
    box-shadow: 0 20px 40px rgba(15, 118, 110, 0.25);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vision-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

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

.vision-icon {
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.vision-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
}

.vision-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.vision-text {
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 500;
    color: #f1f5f9;
    font-style: italic;
    margin: 0;
    border-left: 4px solid var(--accent);
    padding-left: 18px;
}

/* Mission Section & Grid */
.mission-section {
    margin-top: 12px;
}

.mission-header {
    margin-bottom: 32px;
    text-align: center;
}

.mission-main-title {
    font-size: 1.85rem;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.mission-main-title i {
    color: var(--accent);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mission-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.mission-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(13, 148, 136, 0.12);
    border-color: rgba(13, 148, 136, 0.3);
}

.mission-card:hover::after {
    opacity: 1;
}

.mission-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.mission-badge {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    background: var(--primary-light);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-icon-box {
    width: 44px;
    height: 44px;
    background: var(--bg-alt);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-dark);
    transition: var(--transition);
}

.mission-card:hover .mission-icon-box {
    background: var(--accent-light);
    color: var(--accent);
}

.mission-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.3;
}

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

/* Responsive Breakpoints for About & Visi Misi */
@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }

    .vision-card {
        padding: 24px 20px;
    }

    .vision-text {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Financial Transparency Reports Section (Compact Design)
   ========================================================================== */
.financial-reports {
    background-color: var(--bg-alt);
    padding: 70px 0;
    position: relative;
    border-top: 1px solid rgba(13, 148, 136, 0.08);
}

.report-slider-wrapper {
    position: relative;
    margin-top: 24px;
    margin-bottom: 12px;
}

.report-slider-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 4px 20px 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(13, 148, 136, 0.3) transparent;
}

.report-slider-container::-webkit-scrollbar {
    height: 5px;
}

.report-slider-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 10px;
}

.report-slider-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.report-card {
    flex: 0 0 230px;
    scroll-snap-align: start;
    background: var(--white);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(13, 148, 136, 0.12);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.12);
    border-color: var(--primary);
}

.report-card-top {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.report-pdf-box {
    width: 42px;
    height: 42px;
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    position: relative;
    border: 1px solid rgba(239, 68, 68, 0.18);
}

.report-pdf-box .pdf-tag {
    font-size: 0.58rem;
    font-weight: 800;
    line-height: 1;
    margin-top: 1px;
    letter-spacing: 0.04em;
}

.report-card-body {
    flex-grow: 1;
    margin-bottom: 14px;
}

.report-card-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    line-height: 1.35;
}

.report-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.74rem;
    color: var(--text-muted);
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
    padding-top: 8px;
}

.report-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.report-card-footer {
    margin-top: auto;
}

.btn-report-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 12px;
    background: var(--bg-alt);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.82rem;
    border-radius: 8px;
    border: 1px solid rgba(13, 148, 136, 0.2);
    transition: var(--transition);
}

.report-card:hover .btn-report-preview,
.btn-report-preview:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.25);
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--text-main);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.slider-nav-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.35);
}

.slider-nav-btn.prev-btn {
    left: -16px;
}

.slider-nav-btn.next-btn {
    right: -16px;
}

.report-slider-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

@media (max-width: 991px) {
    .slider-nav-btn {
        display: none;
    }
}

@media (max-width: 640px) {
    .report-card {
        flex: 0 0 210px;
        padding: 14px;
    }
}

/* ==========================================================================
   KALENDER KEGIATAN & AGENDA (MODERN EVENT CALENDAR)
   ========================================================================== */
.calendar-event-panel {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
    border: 1px solid #E2E8F0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.contact-info-panel,
.calendar-event-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.calendar-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
    border: 1px solid #E2E8F0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.calendar-header {
    background: linear-gradient(135deg, #0f172a 0%, #0f766e 100%);
    padding: 22px 26px;
    color: #FFFFFF;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.calendar-header::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.cal-badge-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 6px;
    color: var(--accent, #f59e0b);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cal-main-heading {
    color: #FFFFFF !important;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.calendar-nav-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.2);
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cal-arrow-btn {
    background: rgba(255, 255, 255, 0.18);
    border: none;
    color: #FFFFFF;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cal-arrow-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.cal-month-display {
    font-weight: 700;
    font-size: 0.92rem;
    min-width: 125px;
    text-align: center;
    color: #ffffff;
}

.cal-today-shortcut {
    background: rgba(255, 255, 255, 0.9);
    color: #0f766e;
    border: none;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cal-today-shortcut:hover {
    background: #ffffff;
    color: #0f172a;
}

.calendar-table-wrap {
    padding: 22px 24px 16px;
    background: #FFFFFF;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.calendar-weekdays .sun {
    color: #EF4444;
}

.calendar-weekdays .sat {
    color: #0D9488;
}

.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.cal-day-cell {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    background: #FAFCFB;
    border: 1px solid #F1F5F9;
    cursor: pointer;
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    min-height: 44px;
}

.cal-day-cell:hover:not(.other-month) {
    border-color: #0d9488;
    background: #F0FDF4;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.15);
}

.cal-day-cell.other-month {
    color: #CBD5E1;
    background: transparent;
    border-color: transparent;
    cursor: default;
}

.cal-day-cell.is-today {
    border: 2px solid #0d9488 !important;
    color: #0d9488;
    font-weight: 800;
}

.cal-day-cell.is-selected {
    background: linear-gradient(135deg, #0f172a 0%, #0f766e 100%) !important;
    color: #FFFFFF !important;
    border-color: #0f766e !important;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.35);
}

.cal-day-cell.is-selected .cal-event-dot {
    background: #FEF08A !important;
}

.cal-day-cell.has-events {
    font-weight: 700;
}

.cal-day-cell.has-events:not(.is-selected) {
    background: #F0FDF4;
    border-color: #86EFAC;
}

.cal-event-dots-wrap {
    display: flex;
    gap: 3px;
    position: absolute;
    bottom: 4px;
}

.cal-event-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #16A34A;
}

/* Selected Date Agenda Section */
.calendar-events-section {
    padding: 16px 20px 18px;
    background: #FAFCFB;
    border-top: 1px solid #E2E8F0;
    animation: slideDownAgenda 0.25s ease-out;
}

@keyframes slideDownAgenda {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.events-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #E2E8F0;
}

.events-heading {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

.events-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.events-total-badge {
    background: #DCFCE7;
    color: #15803D;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

.btn-close-agenda {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #E2E8F0;
    border: none;
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-close-agenda:hover {
    background: #CBD5E1;
    color: #0F172A;
}

.events-list-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 170px;
    overflow-y: auto;
    padding-right: 4px;
}

.events-list-container::-webkit-scrollbar {
    width: 5px;
}

.events-list-container::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 10px;
}

.event-card-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-left: 4px solid #16A34A;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.event-card-item:hover {
    border-color: #CBD5E1;
    border-left-color: #15803D;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.event-card-item:hover {
    background: #FFFFFF;
    border-color: #CBD5E1;
    border-left-color: #15803D;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.event-card-info {
    flex: 1;
}

.event-organizer-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: #0D9488;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
    display: block;
}

.event-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
    line-height: 1.4;
}

.event-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.78rem;
    color: #64748B;
}

.event-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.event-action-btn {
    background: #F1F5F9;
    border: none;
    color: #334155;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-top: 4px;
}

.event-card-item:hover .event-action-btn {
    background: #15803D;
    color: #FFFFFF;
}

.cal-empty-state {
    text-align: center;
    padding: 24px 16px;
    color: #94A3B8;
}

.cal-empty-state i {
    font-size: 2rem;
    color: #CBD5E1;
    margin-bottom: 8px;
    display: block;
}

.cal-empty-state p {
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* Modal Popup Detail Kegiatan */
.kegiatan-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.kegiatan-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.kegiatan-modal-card {
    background: #FFFFFF;
    border-radius: 18px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.25s ease;
}

.kegiatan-modal-overlay.active .kegiatan-modal-card {
    transform: translateY(0);
}

.kegiatan-modal-header {
    background: linear-gradient(135deg, #15803D 0%, #0D9488 100%);
    padding: 16px 22px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-badge-tag {
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.03em;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.modal-close-btn:hover {
    opacity: 1;
}

.kegiatan-modal-body {
    padding: 22px 24px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 16px;
    line-height: 1.4;
}

.modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.modal-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-meta-item i {
    font-size: 1.1rem;
}

.modal-meta-item small {
    display: block;
    font-size: 0.7rem;
    color: #64748B;
    text-transform: uppercase;
}

.modal-meta-item strong {
    font-size: 0.825rem;
    color: #1E293B;
}

.modal-desc-box h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.modal-desc-box p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #475569;
}

.kegiatan-modal-footer {
    padding: 14px 24px;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ==========================================================================
   KALENDER KEGIATAN RESPONSIVE FIX (Selalu Tampil & Rapi di Mobile)
   ========================================================================== */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .calendar-event-panel {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        width: 100% !important;
        margin-top: 10px;
    }

    .calendar-card {
        display: flex !important;
        visibility: visible !important;
        width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 640px) {
    .calendar-header {
        padding: 16px 14px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .calendar-title-wrap {
        text-align: center;
    }

    .calendar-title-wrap .cal-main-heading {
        font-size: 1.15rem !important;
        margin-top: 4px;
    }

    .calendar-nav-controls {
        width: 100% !important;
        justify-content: space-between !important;
        gap: 6px !important;
    }

    .cal-month-display {
        font-size: 0.88rem !important;
        min-width: 110px !important;
        text-align: center;
    }

    .cal-arrow-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.85rem !important;
    }

    .cal-today-shortcut {
        padding: 5px 10px !important;
        font-size: 0.75rem !important;
    }

    .calendar-table-wrap {
        padding: 14px 8px 12px !important;
    }

    .calendar-weekdays {
        font-size: 0.72rem !important;
        margin-bottom: 8px !important;
    }

    .calendar-days-grid {
        gap: 4px !important;
    }

    .cal-day-cell {
        min-height: 36px !important;
        font-size: 0.82rem !important;
        border-radius: 8px !important;
    }

    .cal-event-dot {
        width: 4px !important;
        height: 4px !important;
    }

    .calendar-events-section {
        padding: 14px !important;
    }

    .modal-meta-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================================
   STANDARDIZED PAGE BANNER CARD (Style Visi Lembaga)
   ======================================================== */
.page-banner-card {
    background: linear-gradient(135deg, #0f172a 0%, #0f766e 100%);
    color: #ffffff;
    border-radius: 24px;
    padding: 34px 38px;
    box-shadow: 0 20px 40px rgba(15, 118, 110, 0.22);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 35px;
}

.page-banner-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

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

.banner-card-icon {
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: var(--accent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.banner-card-tag {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 4px;
}

.banner-card-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.25;
}

.banner-card-text {
    font-size: 1.05rem;
    line-height: 1.65;
    font-weight: 500;
    color: #f1f5f9;
    font-style: italic;
    margin: 0;
    border-left: 4px solid var(--accent);
    padding-left: 18px;
}

@media (max-width: 640px) {
    .page-banner-card {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .banner-card-title {
        font-size: 1.35rem;
    }

    .banner-card-text {
        font-size: 0.95rem;
    }

    .banner-card-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   DASHBOARD KEUANGAN DONASI (LANDING PAGE) - REDESIGNED & COMPACT
   ========================================================================== */
.donation-dashboard-section {
    padding: 42px 0 38px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

/* Centered Header with Right-Aligned Filter */
.dash-section-header-wrap {
    position: relative;
    margin-bottom: 24px;
}

.dash-header-center {
    text-align: center;
}

.dash-header-center .section-subtitle {
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.12);
}

.dash-header-center h2 {
    font-size: 2.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 4px;
    margin-bottom: 0;
    padding-bottom: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.dash-filter-right {
    position: absolute;
    right: 0;
    bottom: 2px;
    display: flex;
    align-items: center;
    z-index: 5;
}

@media (max-width: 860px) {
    .dash-section-header-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .dash-filter-right {
        position: static;
        align-self: flex-end;
    }
}

@media (max-width: 640px) {
    .dash-filter-right {
        align-self: flex-end;
        width: 100%;
        justify-content: flex-end;
    }
}

.select-year-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.select-year-wrapper .select-icon {
    position: absolute;
    left: 14px;
    color: var(--primary, #0d9488);
    pointer-events: none;
    font-size: 0.9rem;
}

.select-year-wrapper .select-arrow {
    position: absolute;
    right: 14px;
    color: #94a3b8;
    pointer-events: none;
    font-size: 0.8rem;
}

.custom-year-select {
    appearance: none;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 50px;
    padding: 8px 36px 8px 38px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    transition: all 0.25s ease;
}

.custom-year-select:hover {
    border-color: var(--primary, #0d9488);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.15);
}

.custom-year-select:focus {
    border-color: var(--primary, #0d9488);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

/* 5 Cards Row */
.dash-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.dash-metric-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px 16px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dash-metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #e2e8f0;
    transition: height 0.25s ease;
}

.dash-metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.dash-metric-card:hover::before {
    height: 4px;
}

/* Top Icon & Badge */
.metric-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.metric-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: transform 0.25s ease;
}

.dash-metric-card:hover .metric-icon-box {
    transform: scale(1.08);
}

.metric-badge-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #64748b;
}

/* Color Themes Per Card */
.metric-card-operasional::before {
    background: #0d9488;
}

.metric-card-operasional .icon-operasional {
    background: rgba(13, 148, 136, 0.12);
    color: #0d9488;
}

.metric-card-sosial::before {
    background: #0284c7;
}

.metric-card-sosial .icon-sosial {
    background: rgba(2, 132, 199, 0.12);
    color: #0284c7;
}

.metric-card-pendidikan::before {
    background: #d97706;
}

.metric-card-pendidikan .icon-pendidikan {
    background: rgba(245, 158, 11, 0.14);
    color: #d97706;
}

.metric-card-pembangunan::before {
    background: #7c3aed;
}

.metric-card-pembangunan .icon-pembangunan {
    background: rgba(124, 58, 237, 0.12);
    color: #7c3aed;
}

/* Highlight Card: Total Donasi Masuk */
.dash-metric-card.card-highlight {
    background: linear-gradient(145deg, #ffffff 0%, #f0fdfa 100%);
    border: 1.5px solid rgba(13, 148, 136, 0.45);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.12);
}

.dash-metric-card.card-highlight::before {
    background: linear-gradient(90deg, #0f766e, #10b981);
    height: 4px;
}

.dash-metric-card.card-highlight .icon-total {
    background: linear-gradient(135deg, #0d9488, #047857);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.live-pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ecfdf5;
    color: #047857;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 50px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseDot 1.6s infinite;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Card Body & Values */
.dash-metric-card .metric-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.dash-metric-card .metric-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    line-height: 1.25;
}

.dash-metric-card .metric-card-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 8px;
    margin-top: 4px;
}

.dash-metric-card .metric-note {
    font-size: 0.73rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
}

.dash-metric-card .note-highlight {
    color: #0d9488;
    font-weight: 600;
}

/* Charts Grid */
.dash-charts-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    margin-bottom: 24px;
}

.dash-chart-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 22px 24px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dash-chart-card:hover {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.chart-card-header .chart-title-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.chart-card-header h4 {
    font-size: 1.12rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.chart-card-header p {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0 0 16px;
}

/* Progress Card (Standard Page Banner Card Theme) */
.dash-progress-card {
    background: linear-gradient(135deg, #0f172a 0%, #0f766e 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 15px 35px rgba(15, 118, 110, 0.22);
    position: relative;
    overflow: hidden;
}

.dash-progress-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.dash-progress-card .progress-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.progress-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--accent, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.progress-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 3px;
}

.progress-sub {
    font-size: 0.84rem;
    color: #cbd5e1;
    margin: 0;
}

.rab-status-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #a7f3d0;
    border: 1px solid rgba(167, 243, 208, 0.3);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
}

.progress-info-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.progress-amounts strong {
    font-size: 1.35rem;
    color: #ffffff;
    font-weight: 800;
}

.progress-amounts .separator {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.5);
}

.progress-amounts .target-amount {
    font-size: 1.05rem;
    color: #cbd5e1;
    font-weight: 600;
}

.progress-percentage-badge {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.88rem;
}

.progress-percentage-badge strong {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent, #f59e0b);
}

.progress-percentage-badge .dari-target {
    font-size: 0.78rem;
    font-weight: 600;
    color: #f1f5f9;
}

.progress-bar-track {
    width: 100%;
    height: 14px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #34d399 50%, #f59e0b 100%);
    border-radius: 50px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.progress-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.progress-footer-text {
    font-size: 0.84rem;
    color: #cbd5e1;
    margin: 0;
}

.progress-footer-text strong {
    color: #ffffff;
}

.progress-remaining-text {
    font-size: 0.82rem;
    color: #fef08a;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 600;
}

.progress-achieved-badge {
    font-size: 0.82rem;
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 700;
}

/* Donors List Card (Gambar 3) */
.dash-donors-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 22px 24px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.dash-donors-card .donors-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.donors-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.donors-icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.donors-card-header h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px;
}

.donors-card-header p {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
}

.donors-count-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f766e;
    background: #f0fdfa;
    border: 1px solid rgba(13, 148, 136, 0.25);
    padding: 5px 12px;
    border-radius: 50px;
}

.donors-search-box {
    position: relative;
    margin-bottom: 12px;
}

.donors-search-box .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
}

.donors-search-box input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 0.88rem;
    color: #0f172a;
    background: #f8fafc;
    transition: all 0.25s ease;
}

.donors-search-box input:focus {
    background: #ffffff;
    border-color: var(--primary, #0d9488);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.14);
}

.donors-table-wrapper {
    max-height: 380px;
    overflow-y: auto;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}

.donors-table-wrapper::-webkit-scrollbar {
    width: 6px;
}

.donors-table-wrapper::-webkit-scrollbar-track {
    background: #f8fafc;
}

.donors-table-wrapper::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.donors-table {
    width: 100%;
    border-collapse: collapse;
}

.donors-table th {
    font-size: 0.72rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.05em;
    padding: 12px 14px;
    border-bottom: 2px solid #f1f5f9;
    text-align: left;
    background: #f8fafc;
    position: sticky;
    top: 0;
    z-index: 2;
}

.donors-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.88rem;
    vertical-align: middle;
}

.donors-table tr.donor-row:hover {
    background: #f8fafc;
}

/* Donor Date Pill */
.donor-date-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    color: #475569;
    font-weight: 600;
}

/* Donor Profile (Avatar + Name) */
.donor-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.donor-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), rgba(2, 132, 199, 0.15));
    color: #0f766e;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1.5px solid rgba(13, 148, 136, 0.2);
}

.donor-name {
    display: block;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.3;
}

.donor-desc-note {
    display: block;
    font-size: 0.73rem;
    color: #94a3b8;
    margin-top: 1px;
}

.category-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
}

.badge-operasional {
    background: #e0f2fe;
    color: #0369a1;
}

.badge-sosial {
    background: #fef3c7;
    color: #b45309;
}

.badge-pendidikan {
    background: #ecfdf5;
    color: #047857;
}

.badge-pembangunan {
    background: #f3e8ff;
    color: #7e22ce;
}

.badge-default {
    background: #f1f5f9;
    color: #475569;
}

.donor-amount-col .amount-val {
    font-weight: 800;
    color: #0f766e;
    font-size: 0.95rem;
    background: #f0fdfa;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-block;
}

.donors-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 14px 2px;
    margin-top: 6px;
    border-top: 2px solid #f1f5f9;
}

.donors-card-footer .total-label {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
}

.donors-card-footer .total-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0d9488;
}

/* Responsiveness */
@media (max-width: 1200px) {
    .dash-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .dash-charts-grid {
        grid-template-columns: 1fr;
    }

    .dash-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .donation-dashboard-section {
        padding: 34px 0 30px;
    }
}

@media (max-width: 640px) {
    .dash-cards-grid {
        grid-template-columns: 1fr;
    }

    .dash-section-header h2 {
        font-size: 1.65rem;
    }

    .donors-table th:nth-child(3),
    .donors-table td:nth-child(3) {
        display: none;
    }
}

/* ==========================================================================
   Language Switcher (Google Translate Integration)
   ========================================================================== */
.lang-switch-container {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    gap: 3px;
    margin: 0;
}

.lang-flag-btn {
    border: none;
    background: transparent;
    width: 32px;
    height: 32px;
    padding: 2px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    opacity: 0.55;
    filter: grayscale(40%);
}

.flag-img-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.lang-flag-btn:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.08);
}

.lang-flag-btn.active {
    background: #ffffff;
    opacity: 1;
    filter: grayscale(0%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(13, 148, 136, 0.25);
    transform: scale(1.05);
}

.drawer-lang-btn .flag-img-icon {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle;
}

/* Sembunyikan banner & tooltip Google Translate agar UI tetap bersih */
.goog-te-banner-frame.skiptranslate,
body > .skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
}

body {
    top: 0px !important;
}

.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Mobile Drawer Language Switch */
.drawer-lang-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-top: 4px;
}

.drawer-lang-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.drawer-lang-buttons {
    display: flex;
    gap: 6px;
}

.drawer-lang-btn {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drawer-lang-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 2px 6px rgba(13, 148, 136, 0.25);
}

/* Proteksi Gambar: Cegah Drag & Seleksi */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}