:root {
    /* Unified Design Tokens System (Issue #59) */
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-surface-elevated: #ffffff;
    --color-surface-subtle: #f1f5f9;
    --color-text-primary: #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
    --color-border-subtle: #f1f5f9;
    --color-border-focus: #1c53a3;
    --color-cta-bg: #1c53a3;
    --color-cta-text: #ffffff;
    --color-cta-hover-bg: #12336b;
    --color-cta-disabled-bg: #cbd5e1;
    --color-cta-disabled-text: #64748b;
    --color-btn-secondary-bg: transparent;
    --color-btn-secondary-border: #1c53a3;
    --color-btn-secondary-text: #1c53a3;
    --color-btn-secondary-hover-bg: #f0f6fe;
    --color-btn-secondary-hover-text: #12336b;
    --color-success: #059669;
    --color-success-bg: rgba(5, 150, 105, 0.08);
    --color-success-border: rgba(5, 150, 105, 0.25);
    --color-danger: #dc2626;
    --color-danger-bg: rgba(220, 38, 38, 0.08);
    --color-danger-border: rgba(220, 38, 38, 0.25);
    --color-warning: #b45309;
    --color-warning-bg: rgba(245, 158, 11, 0.08);
    --color-warning-border: rgba(245, 158, 11, 0.25);
    --color-info: #1c53a3;
    --color-info-bg: rgba(28, 83, 163, 0.08);
    --color-info-border: rgba(28, 83, 163, 0.25);
    --color-input-bg: #ffffff;
    --color-input-border: #cbd5e1;
    --color-input-text: #0f172a;
    --color-input-placeholder: #94a3b8;
    --color-input-focus-border: #1c53a3;

    /* Brand & Calming Theme Colors (Issue #58 compatibility) */
    --blue: #1c53a3;
    --blue-dark: #12336b;
    --blue-mid: #2563eb;
    --blue-lt: #e0edfd;
    --blue-xs: #f0f6fe;
    --cream: #f8fafc;
    --ink: #0f172a;
    --mist: #475569;
    --border: #e2e8f0;
    --white: #ffffff;
    --card-bg: #ffffff;

    /* Spacing System (Consistent 4px baseline grid) */
    --space-2xs: 4px;
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* Border Radii Tokens */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 9999px;

    /* Subtle, Calming Shadow Elevations (Issue #58) */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
    --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 10px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
    --shadow-focus: 0 0 0 3px rgba(28, 83, 163, 0.2);

    /* Transitions & Easings */
    --transition-fast: 150ms ease;
    --transition-normal: 200ms ease;
    --transition-smooth: 250ms ease;

    /* Typography Scale */
    --font-heading: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

header, footer, section, article, aside, nav, main {
    display: block;
}

header, footer, section, article, aside, nav, .container, .navbar, .hero-wrapper,
.about, .stats, .activities-list, .gallery, .core-values, .faq-section,
.contact-wrapper, .partners, .donate-container, .cards-grid, .page-header,
.modal, .modal-content, .hero-content, .hero-actions, .hero-btn, .hero-badge, .hero-overlay, .hero-vignette,
.activities-grid, .stats-grid, .values-grid, .gallery-grid, .partners-grid,
.about-box, .stat-card, .activity-item, .value-card, .gallery-card, .partner-card,
.faq-item, .faq-list {
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.7;
    transition: background-color 0.25s ease, color 0.2s ease;
}

/* Soothing Midnight Navy Dark Mode — Unified Tokens System (Issue #58 & #59) */
body.dark-mode {
    --color-bg: #0b1320;
    --color-surface: #152238;
    --color-surface-elevated: #1c2a44;
    --color-surface-subtle: #111c2e;
    --color-text-primary: #f1f5f9;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #94a3b8;
    --color-border: #223354;
    --color-border-subtle: #1a273e;
    --color-border-focus: #60a5fa;
    --color-cta-bg: #2563eb;
    --color-cta-text: #ffffff;
    --color-cta-hover-bg: #1d4ed8;
    --color-cta-disabled-bg: #334155;
    --color-cta-disabled-text: #64748b;
    --color-btn-secondary-bg: rgba(37, 99, 235, 0.12);
    --color-btn-secondary-border: #60a5fa;
    --color-btn-secondary-text: #93c5fd;
    --color-btn-secondary-hover-bg: rgba(37, 99, 235, 0.22);
    --color-btn-secondary-hover-text: #ffffff;
    --color-success: #34d399;
    --color-success-bg: rgba(5, 150, 105, 0.16);
    --color-success-border: rgba(52, 211, 153, 0.3);
    --color-danger: #f87171;
    --color-danger-bg: rgba(220, 38, 38, 0.16);
    --color-danger-border: rgba(248, 113, 113, 0.3);
    --color-warning: #fbbf24;
    --color-warning-bg: rgba(245, 158, 11, 0.16);
    --color-warning-border: rgba(251, 191, 36, 0.3);
    --color-info: #60a5fa;
    --color-info-bg: rgba(96, 165, 250, 0.16);
    --color-info-border: rgba(96, 165, 250, 0.3);
    --color-input-bg: #111c2e;
    --color-input-border: #223354;
    --color-input-text: #f1f5f9;
    --color-input-placeholder: #64748b;
    --color-input-focus-border: #60a5fa;

    /* Compatibility variables */
    --blue: #60a5fa;
    --blue-dark: #2563eb;
    --blue-mid: #93c5fd;
    --blue-lt: #dbeafe;
    --blue-xs: #162238;
    --cream: #0b1320;
    --ink: #f1f5f9;
    --mist: #94a3b8;
    --border: #223354;
    --white: #152238;
    --card-bg: #152238;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 10px 24px -4px rgba(0, 0, 0, 0.45);
    --shadow-focus: 0 0 0 3px rgba(96, 165, 250, 0.3);
    background: var(--color-bg);
}

body.dark-mode p,
body.dark-mode li,
body.dark-mode .stat-label,
body.dark-mode .activity-content p,
body.dark-mode .gallery-caption h3,
body.dark-mode .step-card p,
body.dark-mode .value-text,
body.dark-mode .faq-answer,
body.dark-mode .card p {
    color: var(--mist);
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode .section-title,
body.dark-mode .value-text strong,
body.dark-mode .faq-question span,
body.dark-mode .card h3,
body.dark-mode .activity-content h3,
body.dark-mode .contact-info h3 {
    color: var(--blue-lt);
}

body.dark-mode .logo,
body.dark-mode .logo span {
    background: linear-gradient(125deg, var(--blue), var(--blue-mid));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

body.dark-mode a {
    color: var(--blue-mid);
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
    background: var(--white);
    color: var(--ink);
    border-color: var(--border);
}

body.dark-mode footer {
    color: var(--blue-lt);
}

body.dark-mode .page-header {
    background: linear-gradient(120deg, #0d1a2e, #111f35, #0d1a2e);
}

body.dark-mode .page-header h1 {
    color: var(--blue-lt);
}

body.dark-mode .page-header p {
    color: var(--mist);
}

body.dark-mode .stat-number {
    color: var(--blue-mid);
}

body.dark-mode .faq-question {
    color: var(--blue-lt);
}

body.dark-mode .faq-item.active {
    border-color: var(--blue-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scrollReveal {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   ENHANCED HEADER & VISUAL HIERARCHY
   ========================================================================== */

header.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    animation: fadeDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

header.site-header.scrolled {
    box-shadow: 0 10px 30px -10px rgba(18, 51, 107, 0.12);
    border-bottom-color: rgba(208, 226, 247, 0.6);
}

body.dark-mode header.site-header {
    background: rgba(12, 17, 23, 0.94);
    border-bottom-color: var(--border);
}

body.dark-mode header.site-header.scrolled {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    border-bottom-color: rgba(30, 46, 66, 0.9);
}

.site-header .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    gap: 16px;
    position: relative;
}

/* 1. Brand & Logo */
.site-header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.site-header .logo:hover {
    transform: scale(1.02);
}

.site-header .logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(28, 83, 163, 0.15));
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, var(--blue-mid) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

body.dark-mode .logo-title {
    background: linear-gradient(135deg, #ffffff 0%, var(--blue-lt) 55%, var(--blue-mid) 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.logo-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--mist);
    letter-spacing: 0.2px;
}

/* 2. Desktop Navigation (Sleek unified pill bar) */
.desktop-nav {
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.desktop-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 4px 6px;
    background: rgba(234, 242, 253, 0.55);
    border: 1px solid rgba(221, 230, 245, 0.9);
    border-radius: 9999px;
    backdrop-filter: blur(8px);
}

body.dark-mode .desktop-nav .nav-links {
    background: rgba(18, 30, 48, 0.55);
    border-color: rgba(30, 46, 66, 0.85);
}

.nav-item {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    border-radius: 9999px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    position: relative;
    line-height: 1.35;
}

.nav-item:hover {
    color: var(--blue);
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-1px);
}

body.dark-mode .nav-item {
    color: var(--mist);
}

body.dark-mode .nav-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* ACTIVE STATE */
.nav-item.active {
    color: var(--blue-dark);
    background: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(28, 83, 163, 0.12), 0 1px 2px rgba(0, 0, 0, 0.04);
}

body.dark-mode .nav-item.active {
    color: #ffffff;
    background: var(--blue-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 3. Header Action Bar */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* PRIMARY PROMINENT CTA (اطلب الدعم النفسي) */
.btn-primary-support {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 9999px;
    color: #ffffff !important;
    background: linear-gradient(135deg, #1c53a3 0%, #153e7e 100%);
    box-shadow: 0 3px 12px rgba(28, 83, 163, 0.3), 0 1px 3px rgba(28, 83, 163, 0.15);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.btn-primary-support:hover {
    background: linear-gradient(135deg, #2464c2 0%, #1c53a3 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(28, 83, 163, 0.4), 0 2px 5px rgba(28, 83, 163, 0.2);
}

.btn-primary-support:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(28, 83, 163, 0.25);
}

.btn-primary-support.active {
    background: linear-gradient(135deg, #12336b 0%, #0d234a 100%);
    box-shadow: 0 0 0 3px rgba(46, 116, 212, 0.4), 0 4px 14px rgba(18, 51, 107, 0.4);
}

body.dark-mode .btn-primary-support {
    background: linear-gradient(135deg, #2e74d4 0%, #1c53a3 100%);
    box-shadow: 0 3px 14px rgba(46, 116, 212, 0.35);
    border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .btn-primary-support:hover {
    background: linear-gradient(135deg, #4489e8 0%, #2e74d4 100%);
    box-shadow: 0 5px 18px rgba(46, 116, 212, 0.5);
}

.btn-primary-support .cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: gentlePulse 2.5s infinite ease-in-out;
}

@keyframes gentlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.18); }
}

/* Actions Divider */
.actions-divider {
    width: 1px;
    height: 24px;
    background: var(--border);
    margin: 0 2px;
}

/* Theme Toggle Button (Accessible & SVG) */
.theme-toggle {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border);
    color: var(--blue-dark);
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    position: relative;
}

.theme-toggle:hover {
    background: #ffffff;
    border-color: var(--blue-mid);
    color: var(--blue);
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(46, 116, 212, 0.16);
}

.theme-toggle:focus-visible {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(46, 116, 212, 0.35);
}

body.dark-mode .theme-toggle {
    background: rgba(18, 30, 48, 0.85);
    border-color: var(--border);
    color: #facc15;
}

body.dark-mode .theme-toggle:hover {
    background: rgba(30, 46, 66, 0.95);
    border-color: #facc15;
    color: #fef08a;
    box-shadow: 0 4px 14px rgba(250, 204, 21, 0.25);
}

body.dark-mode .theme-toggle:focus-visible {
    outline: none;
    border-color: #facc15;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.35);
}

.theme-svg-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.2s ease;
    pointer-events: none;
}

.theme-toggle:hover .theme-svg-icon {
    transform: rotate(15deg);
}

/* Screen reader only utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}


/* Admin Quick Menu */
.admin-quick-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    background: rgba(244, 247, 252, 0.9);
    border: 1px dashed var(--blue-mid);
    border-radius: 9999px;
}

body.dark-mode .admin-quick-menu {
    background: rgba(18, 30, 48, 0.8);
    border-color: var(--blue-dark);
}

.admin-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    padding: 3px 6px;
    border-radius: 9999px;
}

.admin-logout-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 2px 6px;
    border-radius: 50%;
    transition: transform 0.2s;
    line-height: 1;
}

.admin-logout-btn:hover {
    transform: scale(1.2);
}

/* Mobile Controls in Navbar (Strictly hidden on desktop) */
.mobile-header-controls {
    display: none !important;
    align-items: center;
    gap: 8px;
}

.mobile-quick-support-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #ffffff !important;
    background: linear-gradient(135deg, #1c53a3 0%, #153e7e 100%);
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(28, 83, 163, 0.35);
    white-space: nowrap;
}

.mobile-quick-support-btn:active {
    transform: scale(0.96);
}

/* Hamburger menu button (Strictly hidden on desktop) */
.menu-toggle {
    display: none !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.2s ease;
}

.menu-toggle:hover {
    background: #ffffff;
    border-color: var(--blue);
}

body.dark-mode .menu-toggle {
    background: rgba(18, 30, 48, 0.8);
    border-color: var(--border);
}

.hamburger-bar {
    width: 22px;
    height: 2px;
    background-color: var(--blue-dark);
    border-radius: 2px;
    transition: all 0.25s ease;
    display: block;
}

body.dark-mode .hamburger-bar {
    background-color: var(--blue-lt);
}

.menu-toggle.open .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 2px solid var(--border);
    box-shadow: 0 20px 40px -10px rgba(18, 51, 107, 0.18);
    padding: 18px 20px 24px;
    animation: drawerSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
    max-height: calc(100vh - 75px);
    overflow-y: auto;
}

.mobile-drawer[hidden] {
    display: none !important;
}

@keyframes drawerSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.dark-mode .mobile-drawer {
    background: rgba(12, 17, 23, 0.98);
    border-bottom-color: rgba(30, 46, 66, 0.9);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

.mobile-drawer.show {
    display: block;
}

.mobile-drawer-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

/* Mobile Support Card (Top highlight) */
.mobile-support-card {
    background: linear-gradient(135deg, rgba(234, 242, 253, 0.9) 0%, rgba(208, 226, 247, 0.4) 100%);
    border: 1px solid var(--blue-lt);
    border-radius: 18px;
    padding: 16px;
    text-align: center;
}

body.dark-mode .mobile-support-card {
    background: linear-gradient(135deg, rgba(18, 51, 107, 0.35) 0%, rgba(13, 26, 46, 0.6) 100%);
    border-color: rgba(46, 116, 212, 0.3);
}

.support-card-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--blue);
    background: #ffffff;
    padding: 3px 10px;
    border-radius: 9999px;
    margin-bottom: 6px;
    box-shadow: 0 2px 6px rgba(28, 83, 163, 0.08);
}

body.dark-mode .support-card-badge {
    background: var(--blue-dark);
    color: var(--blue-lt);
}

.support-card-sub {
    font-size: 0.85rem;
    color: var(--ink);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

body.dark-mode .support-card-sub {
    color: var(--mist);
}

.mobile-drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 18px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff !important;
    background: linear-gradient(135deg, #1c53a3 0%, #12336b 100%);
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(28, 83, 163, 0.3);
    transition: transform 0.2s ease;
}

.mobile-drawer-cta:active {
    transform: scale(0.98);
}

/* Mobile Secondary Actions Grid */
.mobile-secondary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mobile-secondary-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 10px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-secondary-card:hover,
.mobile-secondary-card.active {
    background: #ffffff;
    border-color: var(--blue-mid);
    box-shadow: 0 3px 10px rgba(46, 116, 212, 0.1);
}

body.dark-mode .mobile-secondary-card {
    background: rgba(18, 30, 48, 0.5);
    border-color: var(--border);
}

body.dark-mode .mobile-secondary-card:hover,
body.dark-mode .mobile-secondary-card.active {
    background: rgba(28, 83, 163, 0.25);
    border-color: var(--blue-mid);
}

.sec-icon {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.sec-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--blue-dark);
}

body.dark-mode .sec-title {
    color: var(--blue-lt);
}

.sec-desc {
    font-size: 0.72rem;
    color: var(--mist);
}

/* Mobile Navigation Section */
.mobile-nav-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 6px;
    border-top: 1px solid var(--border);
}

.mobile-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--mist);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 6px;
}

.mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-nav-item .nav-icon {
    font-size: 1.1rem;
}

.mobile-nav-item:hover {
    background: var(--blue-xs);
    color: var(--blue);
}

.mobile-nav-item.active {
    background: var(--blue-xs);
    color: var(--blue);
    font-weight: 700;
}

body.dark-mode .mobile-nav-item {
    color: var(--ink);
}

body.dark-mode .mobile-nav-item:hover,
body.dark-mode .mobile-nav-item.active {
    background: rgba(46, 116, 212, 0.2);
    color: var(--blue-lt);
}

/* Mobile Drawer Footer */
.mobile-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.hotline-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--mist);
    padding: 8px 12px;
    background: rgba(244, 247, 252, 0.6);
    border-radius: 10px;
}

body.dark-mode .hotline-badge {
    background: rgba(18, 30, 48, 0.4);
}

.hotline-link {
    font-weight: 700;
    color: var(--blue) !important;
    text-decoration: none;
}

.mobile-admin-bar {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    background: rgba(234, 242, 253, 0.4);
    border: 1px dashed var(--blue-mid);
    border-radius: 12px;
    margin-top: 6px;
}

.mobile-admin-info {
    font-size: 0.78rem;
    color: var(--mist);
    word-break: break-all;
}

.mobile-admin-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-admin-mobile {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    padding: 4px 10px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.btn-logout-mobile {
    font-size: 0.82rem;
    color: #c0392b;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
}

/* Responsive Header Navigation Breakpoint (Unified at 1024px for Tablet & Mobile) */
@media (max-width: 1024px) {
    .site-header .navbar {
        gap: 12px;
    }
    .secondary-actions {
        display: none !important;
    }
    .desktop-nav {
        display: none !important;
    }
    .header-actions {
        display: none !important;
    }
    .mobile-header-controls {
        display: flex !important;
    }
    .menu-toggle {
        display: flex !important;
    }
}


.btn {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: var(--blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(28, 83, 163, 0.25);
}

.btn-card {
    background: var(--blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    width: 100%;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.btn-card:hover {
    background: var(--blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(28, 83, 163, 0.3);
}

.hero {
    padding: 50px 0 40px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(130deg, var(--blue-dark), var(--blue-mid));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    animation: fadeUp 0.6s ease both 0.1s;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--mist);
    margin-bottom: 35px;
    max-width: 500px;
    animation: fadeUp 0.6s ease both 0.2s;
}

.hero-text .btn {
    animation: fadeUp 0.6s ease both 0.3s;
}

.hero-image {
    flex: 1;
    text-align: center;
    animation: fadeRight 0.7s ease both 0.2s;
}

.hero-image img {
    max-width: 100%;
    border-radius: 40px;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
    animation: floatHero 6s ease-in-out infinite;
}

@keyframes floatHero {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-12px) rotate(0.5deg);
    }

    66% {
        transform: translateY(-6px) rotate(-0.5deg);
    }
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.5vw, 2.35rem);
    font-weight: 800;
    margin-bottom: clamp(32px, 4.5vw, 44px);
    position: relative;
    display: inline-block;
    color: #0c2044;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    inset-inline-end: 0;
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, #1d4ed8, #60a5fa);
    border-radius: 4px;
}


/* ========== REDESIGNED ABOUT US SECTION (Calm, Trustworthy, Animated Luxury) ========== */
.about-section, .about {
    position: relative;
    padding: clamp(64px, 8.5vw, 96px) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
    overflow: hidden;
    direction: rtl;
    box-sizing: border-box;
    isolation: isolate;
}

/* خلفية تفاعلية حركية هادئة وفاخرة */
.about-animated-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.about-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    will-change: transform, opacity;
}

.about-orb-1 {
    width: clamp(380px, 45vw, 540px);
    height: clamp(380px, 45vw, 540px);
    background: radial-gradient(circle, rgba(147, 197, 253, 0.5) 0%, rgba(191, 219, 254, 0.18) 65%, transparent 100%);
    top: -80px;
    right: -60px;
    animation: floatOrb1 22s ease-in-out infinite alternate;
}

.about-orb-2 {
    width: clamp(340px, 40vw, 480px);
    height: clamp(340px, 40vw, 480px);
    background: radial-gradient(circle, rgba(199, 210, 254, 0.45) 0%, rgba(224, 231, 255, 0.16) 65%, transparent 100%);
    bottom: -80px;
    left: -60px;
    animation: floatOrb2 26s ease-in-out infinite alternate;
}

.about-orb-3 {
    width: clamp(280px, 32vw, 400px);
    height: clamp(280px, 32vw, 400px);
    background: radial-gradient(circle, rgba(186, 230, 253, 0.38) 0%, rgba(224, 242, 254, 0.12) 65%, transparent 100%);
    top: 40%;
    left: 45%;
    transform: translate(-50%, -50%);
    animation: floatOrb3 19s ease-in-out infinite alternate;
}

.about-ambient-mesh {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.35) 0%, transparent 80%);
    pointer-events: none;
}

@keyframes floatOrb1 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.55; }
    50% { transform: translate(-45px, 35px) scale(1.06); opacity: 0.75; }
    100% { transform: translate(25px, 70px) scale(0.96); opacity: 0.5; }
}

@keyframes floatOrb2 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(50px, -35px) scale(1.08); opacity: 0.7; }
    100% { transform: translate(-25px, -50px) scale(0.94); opacity: 0.45; }
}

@keyframes floatOrb3 {
    0% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.4; }
    50% { transform: translate(-38%, -42%) scale(1.1); opacity: 0.6; }
    100% { transform: translate(-60%, -58%) scale(1); opacity: 0.35; }
}

.about-container {
    position: relative;
    z-index: 1;
}

.about-header {
    margin-bottom: clamp(32px, 4.5vw, 44px);
    text-align: right;
}

.section-title-refined {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.5vw, 2.35rem);
    font-weight: 800;
    color: #0c2044;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.title-accent-line {
    display: inline-flex;
    align-items: center;
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, #1d4ed8, #60a5fa);
    border-radius: 4px;
    position: relative;
    margin-top: 4px;
}

.accent-dot {
    position: absolute;
    inset-inline-end: 0;
    width: 8px;
    height: 8px;
    background: #2563eb;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.6);
    transform: translateY(0);
}

.about-cards-grid {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: clamp(24px, 3vw, 32px);
    align-items: stretch;
}

.about-card-premium {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    padding: clamp(30px, 4vw, 44px);
    box-shadow: 0 4px 24px -2px rgba(15, 23, 42, 0.05), 0 2px 8px -1px rgba(15, 23, 42, 0.02);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.about-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px -4px rgba(28, 83, 163, 0.11), 0 6px 12px -2px rgba(15, 23, 42, 0.04);
    border-color: rgba(147, 197, 253, 0.9);
}

.about-card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.08);
    color: #1c53a3;
    font-size: 1.3rem;
    margin-bottom: 20px;
    transition: transform 0.25s ease, background 0.25s ease;
}

.about-card-premium:hover .about-card-badge {
    transform: scale(1.08);
    background: rgba(37, 99, 235, 0.14);
}

.about-card-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: #0c2044;
    margin: 0 0 14px 0;
    line-height: 1.4;
}

.about-card-text {
    font-family: var(--font-body);
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.85;
    margin: 0;
    font-weight: 400;
}

.about-card-text strong {
    color: #1c53a3;
    font-weight: 700;
}

/* Dark Mode Support for About Section */
body.dark-mode .about-section,
body.dark-mode .about {
    background: linear-gradient(180deg, #070d18 0%, #0b1528 50%, #070d18 100%);
}

body.dark-mode .about-orb-1 {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(29, 78, 216, 0.08) 65%, transparent 100%);
    opacity: 0.6;
}

body.dark-mode .about-orb-2 {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(67, 56, 202, 0.06) 65%, transparent 100%);
    opacity: 0.55;
}

body.dark-mode .about-orb-3 {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, rgba(3, 105, 161, 0.05) 65%, transparent 100%);
    opacity: 0.5;
}

body.dark-mode .about-ambient-mesh {
    background: radial-gradient(ellipse at 50% 50%, rgba(30, 41, 59, 0.3) 0%, transparent 80%);
}

body.dark-mode .section-title-refined {
    color: #f1f5f9;
}

body.dark-mode .about-card-premium {
    background: rgba(18, 30, 52, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.45);
}

body.dark-mode .about-card-premium:hover {
    border-color: #3b82f6;
    box-shadow: 0 18px 40px -4px rgba(0, 0, 0, 0.65);
}

body.dark-mode .about-card-title {
    color: #f1f5f9;
}

body.dark-mode .about-card-text {
    color: #94a3b8;
}

body.dark-mode .about-card-badge {
    background: rgba(37, 99, 235, 0.18);
    color: #60a5fa;
}

/* Accessibility & Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .about-orb-1, .about-orb-2, .about-orb-3 {
        animation: none !important;
        transform: none !important;
    }
    .about-card-premium, .about-card-badge {
        transition: none !important;
    }
}

/* Tablet & Mobile Responsive */
@media (max-width: 992px) {
    .about-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .about-section, .about {
        padding-block: 48px;
    }
    .about-card-premium {
        padding: 24px 20px;
    }
    .about-card-title {
        font-size: 1.25rem;
    }
    .about-card-text {
        font-size: 0.98rem;
        line-height: 1.75;
    }
}


/* --------------------------------------------------------------------------
   SERVICES PILLARS & SCOPE CLARITY (About Section)
   -------------------------------------------------------------------------- */
.about-services-block {
    margin-top: 48px;
}

.about-services-header {
    text-align: center;
    margin-bottom: 24px;
}

.about-services-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin: 0 0 8px;
    position: relative;
    display: inline-block;
}

.about-services-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--blue-mid));
    border-radius: 3px;
}

.about-services-subtitle {
    font-size: 0.95rem;
    color: var(--mist);
    margin: 14px 0 0;
}

.services-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.pillar-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.pillar-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-mid);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--blue-xs);
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.pillar-card:hover .pillar-icon {
    background: var(--blue);
    color: #ffffff;
}

.pillar-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin: 0 0 10px;
    line-height: 1.4;
}

.pillar-card p {
    font-size: 0.92rem;
    color: var(--mist);
    line-height: 1.7;
    margin: 0 0 20px;
    flex-grow: 1;
}

.pillar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    transition: color var(--transition-fast), gap var(--transition-fast);
    padding: 4px 0;
}

.pillar-link .ui-svg-icon {
    transition: transform var(--transition-fast);
}

.pillar-link:hover {
    color: var(--blue-mid);
    gap: 12px;
}

.pillar-link:hover .ui-svg-icon {
    transform: translateX(-4px);
}

/* About Scope Notice Banner */
.about-scope-notice {
    margin-top: 32px;
    background: linear-gradient(135deg, rgba(234, 242, 253, 0.7) 0%, rgba(208, 226, 247, 0.45) 100%);
    border: 1.5px solid rgba(46, 116, 212, 0.3);
    border-radius: var(--radius-lg);
    padding: 18px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: var(--shadow-sm);
}

.about-scope-notice .notice-icon {
    color: var(--blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.about-scope-notice .notice-text {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--ink);
}

.about-scope-notice .notice-text strong {
    display: block;
    color: var(--blue-dark);
    font-weight: 700;
    margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   2. STATS & IMPACT SECTION (تأثيرنا بالأرقام)
   -------------------------------------------------------------------------- */
.stats {
    padding: clamp(60px, 8vw, 84px) 0;
    position: relative;
}

.stats-header {
    text-align: center;
    margin-bottom: clamp(36px, 5vw, 48px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2.5vw, 28px);
    align-items: stretch;
}

.stat-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 22px;
    padding: clamp(28px, 3.5vw, 36px) clamp(20px, 2.5vw, 28px);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.28s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -4px rgba(28, 83, 163, 0.09), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
    border-color: rgba(147, 197, 253, 0.85);
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    color: #1c53a3;
    font-size: 1.25rem;
    margin-bottom: 16px;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
}

.stat-card:hover .stat-icon {
    transform: scale(1.08);
    background: rgba(37, 99, 235, 0.14);
    color: #1d4ed8;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 3.6vw, 2.7rem);
    font-weight: 800;
    color: #1c53a3;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    direction: rtl;
    unicode-bidi: embed;
    transition: color 0.25s ease;
}

.stat-label {
    font-family: var(--font-body);
    color: #475569;
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

/* Dark Mode Support for Stats Section */
body.dark-mode .stat-card {
    background: #152238;
    border-color: #223354;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
}

body.dark-mode .stat-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.6);
}

body.dark-mode .stat-icon {
    background: rgba(37, 99, 235, 0.18);
    color: #60a5fa;
}

body.dark-mode .stat-card:hover .stat-icon {
    background: rgba(37, 99, 235, 0.28);
    color: #93c5fd;
}

body.dark-mode .stat-number {
    color: #60a5fa;
}

body.dark-mode .stat-label {
    color: #94a3b8;
}

/* Responsive Breakpoints for Stats Section */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 640px) {
    .stats {
        padding-block: 48px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
    .stat-card {
        padding: 22px 14px !important;
        border-radius: 18px !important;
    }
    .stat-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.1rem !important;
        margin-bottom: 12px !important;
    }
    .stat-number {
        font-size: 1.75rem !important;
        margin-bottom: 4px !important;
    }
    .stat-label {
        font-size: 0.88rem !important;
    }
}

@media (max-width: 420px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* --------------------------------------------------------------------------
   3. ACTIVITIES SECTION (أنشطة مواجدة - Editorial, Animated Luxury)
   -------------------------------------------------------------------------- */
.activities-section, .activities-list {
    position: relative;
    padding: clamp(72px, 9vw, 108px) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
    overflow: hidden;
    direction: rtl;
    box-sizing: border-box;
    isolation: isolate;
}

/* خلفية تفاعلية حركية هادئة وفاخرة لقسم الأنشطة */
.activities-animated-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.activities-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(85px);
    pointer-events: none;
    will-change: transform, opacity;
}

.activities-orb-1 {
    width: clamp(380px, 45vw, 540px);
    height: clamp(380px, 45vw, 540px);
    background: radial-gradient(circle, rgba(147, 197, 253, 0.45) 0%, rgba(191, 219, 254, 0.15) 65%, transparent 100%);
    top: -60px;
    left: -60px;
    animation: floatActivitiesOrb1 24s ease-in-out infinite alternate;
}

.activities-orb-2 {
    width: clamp(360px, 42vw, 500px);
    height: clamp(360px, 42vw, 500px);
    background: radial-gradient(circle, rgba(186, 230, 253, 0.4) 0%, rgba(224, 242, 254, 0.12) 65%, transparent 100%);
    bottom: -80px;
    right: -60px;
    animation: floatActivitiesOrb2 28s ease-in-out infinite alternate;
}

.activities-orb-3 {
    width: clamp(300px, 35vw, 420px);
    height: clamp(300px, 35vw, 420px);
    background: radial-gradient(circle, rgba(199, 210, 254, 0.35) 0%, rgba(224, 231, 255, 0.1) 65%, transparent 100%);
    top: 45%;
    right: 40%;
    transform: translate(50%, -50%);
    animation: floatActivitiesOrb3 20s ease-in-out infinite alternate;
}

.activities-ambient-wave {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.35) 0%, transparent 80%);
    pointer-events: none;
}

@keyframes floatActivitiesOrb1 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(45px, 35px) scale(1.08); opacity: 0.7; }
    100% { transform: translate(-25px, 70px) scale(0.95); opacity: 0.45; }
}

@keyframes floatActivitiesOrb2 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.45; }
    50% { transform: translate(-45px, -35px) scale(1.06); opacity: 0.65; }
    100% { transform: translate(30px, -50px) scale(0.92); opacity: 0.4; }
}

@keyframes floatActivitiesOrb3 {
    0% { transform: translate(50%, -50%) scale(0.9); opacity: 0.35; }
    50% { transform: translate(40%, -40%) scale(1.12); opacity: 0.55; }
    100% { transform: translate(60%, -60%) scale(0.98); opacity: 0.3; }
}

.activities-container {
    position: relative;
    z-index: 1;
}

.activities-header {
    text-align: center;
    margin-bottom: clamp(40px, 5vw, 54px);
}

.activities-grid-editorial, .activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(22px, 2.8vw, 30px);
    align-items: stretch;
}

.activity-card-premium {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    padding: clamp(28px, 3.5vw, 36px) clamp(22px, 2.5vw, 30px);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.activity-card-premium:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 42px -4px rgba(28, 83, 163, 0.12), 0 8px 16px -2px rgba(15, 23, 42, 0.04);
    border-color: rgba(147, 197, 253, 0.9);
    background: rgba(255, 255, 255, 0.98);
}

.activity-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.08);
    color: #1c53a3;
    font-size: 1.35rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.activity-card-premium:hover .activity-icon-box {
    transform: scale(1.1);
    background: rgba(37, 99, 235, 0.15);
    color: #1d4ed8;
    box-shadow: 0 0 16px rgba(37, 99, 235, 0.25);
}

.activity-card-title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 1.8vw, 1.35rem);
    font-weight: 700;
    color: #0c2044;
    margin: 0 0 10px 0;
    line-height: 1.4;
    transition: transform 0.25s ease, color 0.25s ease;
}

.activity-card-premium:hover .activity-card-title {
    color: #1c53a3;
    transform: translateX(-2px);
}

.activity-card-desc {
    font-family: var(--font-body);
    color: #475569;
    font-size: clamp(0.95rem, 1.2vw, 1.02rem);
    line-height: 1.75;
    margin: 0;
    font-weight: 400;
}

.activity-card-glow {
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 70%);
    border-radius: 0 22px 0 100%;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.activity-card-premium:hover .activity-card-glow {
    opacity: 1;
    transform: scale(1.2);
}

/* Dark Mode Support for Activities Section */
body.dark-mode .activities-section,
body.dark-mode .activities-list {
    background: linear-gradient(180deg, #070d18 0%, #0b1528 50%, #070d18 100%);
}

body.dark-mode .activities-orb-1 {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(29, 78, 216, 0.08) 65%, transparent 100%);
    opacity: 0.6;
}

body.dark-mode .activities-orb-2 {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, rgba(3, 105, 161, 0.06) 65%, transparent 100%);
    opacity: 0.55;
}

body.dark-mode .activities-orb-3 {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(67, 56, 202, 0.05) 65%, transparent 100%);
    opacity: 0.5;
}

body.dark-mode .activities-ambient-wave {
    background: radial-gradient(ellipse at 50% 50%, rgba(30, 41, 59, 0.3) 0%, transparent 80%);
}

body.dark-mode .activity-card-premium {
    background: rgba(18, 30, 52, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.45);
}

body.dark-mode .activity-card-premium:hover {
    border-color: #3b82f6;
    box-shadow: 0 20px 42px -4px rgba(0, 0, 0, 0.65);
    background: rgba(22, 36, 62, 0.95);
}

body.dark-mode .activity-card-title {
    color: #f1f5f9;
}

body.dark-mode .activity-card-premium:hover .activity-card-title {
    color: #60a5fa;
}

body.dark-mode .activity-card-desc {
    color: #94a3b8;
}

body.dark-mode .activity-icon-box {
    background: rgba(37, 99, 235, 0.18);
    color: #60a5fa;
}

body.dark-mode .activity-card-premium:hover .activity-icon-box {
    background: rgba(37, 99, 235, 0.28);
    color: #93c5fd;
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.35);
}

body.dark-mode .activity-card-glow {
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.2), transparent 70%);
}

/* Accessibility & Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .activities-orb-1, .activities-orb-2, .activities-orb-3 {
        animation: none !important;
        transform: none !important;
    }
    .activity-card-premium, .activity-icon-box, .activity-card-title {
        transition: none !important;
    }
}

/* Tablet & Mobile Responsive */
@media (max-width: 992px) {
    .activities-grid-editorial, .activities-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 640px) {
    .activities-section, .activities-list {
        padding-block: 48px;
    }
    .activities-grid-editorial, .activities-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .activity-card-premium {
        padding: 24px 18px !important;
        border-radius: 18px !important;
    }
    .activity-icon-box {
        width: 46px !important;
        height: 46px !important;
        font-size: 1.2rem !important;
        margin-bottom: 14px !important;
    }
    .activity-card-title {
        font-size: 1.18rem !important;
    }
    .activity-card-desc {
        font-size: 0.95rem !important;
        line-height: 1.65 !important;
    }
}

.activity-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.activity-top-row h3 {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity-top-row h3 .ui-svg-icon {
    color: var(--blue);
    flex-shrink: 0;
}

.activity-cost-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
    background: var(--color-success-bg);
    color: var(--color-success);
    border: 1px solid rgba(22, 163, 74, 0.25);
}

.activity-cost-badge.partnership {
    background: var(--blue-xs);
    color: var(--blue);
    border-color: rgba(46, 116, 212, 0.25);
}

.activity-desc {
    color: var(--ink);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0 0 16px;
}

.activity-meta-list {
    background: var(--color-surface-subtle);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    margin-top: auto;
}

.activity-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.83rem;
    line-height: 1.4;
}

.activity-meta-item .meta-icon {
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.activity-meta-item .meta-label {
    font-weight: 700;
    color: var(--blue-dark);
    flex-shrink: 0;
}

.activity-meta-item .meta-val {
    color: var(--mist);
}

.activity-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.btn-activity-details {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--blue-mid);
    color: var(--blue);
    background: transparent;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-activity-details:hover {
    background: var(--blue-xs);
    color: var(--blue-dark);
    transform: translateY(-1px);
}

.btn-activity-register {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: #ffffff !important;
    border: 1.5px solid transparent;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(28, 83, 163, 0.25);
    transition: all var(--transition-fast);
}

.btn-activity-register:hover {
    background: linear-gradient(135deg, var(--blue-mid) 0%, var(--blue) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(28, 83, 163, 0.35);
}

/* ==========================================================================
   4. قسم لحظات من عملنا المطور (Cinematic Editorial Moments Section)
   ========================================================================== */

.moments-section, .gallery {
    position: relative;
    padding: clamp(72px, 9vw, 108px) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
    overflow: hidden;
    direction: rtl;
    box-sizing: border-box;
    isolation: isolate;
}

/* خلفية جمالية تفاعلية حركية هادئة لقسم لحظات من عملنا */
.moments-animated-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.moments-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    will-change: transform, opacity;
}

.moments-orb-1 {
    top: -12%;
    right: -6%;
    width: 540px;
    height: 540px;
    background: radial-gradient(circle, rgba(46, 116, 212, 0.14) 0%, rgba(28, 83, 163, 0.04) 65%, transparent 100%);
    animation: floatMomentsOrb1 28s infinite alternate ease-in-out;
}

.moments-orb-2 {
    bottom: -15%;
    left: -8%;
    width: 580px;
    height: 580px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(37, 99, 235, 0.03) 65%, transparent 100%);
    animation: floatMomentsOrb2 32s infinite alternate ease-in-out;
}

.moments-ambient-wave {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 960px;
    height: 440px;
    background: radial-gradient(ellipse at center, rgba(46, 116, 212, 0.06) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

@keyframes floatMomentsOrb1 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-45px, 35px) scale(1.08);
        opacity: 1;
    }
    100% {
        transform: translate(30px, -25px) scale(0.95);
        opacity: 0.75;
    }
}

@keyframes floatMomentsOrb2 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.75;
    }
    50% {
        transform: translate(40px, -30px) scale(1.1);
        opacity: 0.95;
    }
    100% {
        transform: translate(-35px, 25px) scale(0.92);
        opacity: 0.7;
    }
}

.moments-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 32px);
}

.moments-header {
    margin-bottom: clamp(32px, 4.5vw, 44px);
    text-align: right;
}

/* شبكة البطاقات التحريرية ذات الإيقاع المتوازن (Editorial Grid) */
.moments-grid-editorial {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    gap: 32px;
    align-items: start;
    margin-top: 20px;
}

/* بطاقة الصورة السينمائية الفاخرة */
.moments-card-cinematic {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid rgba(28, 83, 163, 0.14);
    box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.1), 0 4px 14px rgba(28, 83, 163, 0.05);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease;
    cursor: pointer;
    outline: none;
    display: flex;
    flex-direction: column;
}

/* إزاحة رأسية إيقاعية راقية للبطاقة الثانية في شاشات الديسكتوب */
@media (min-width: 901px) {
    .moments-card--secondary {
        margin-top: 22px;
    }
}

.moments-card-cinematic:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px -8px rgba(15, 23, 42, 0.2), 0 8px 26px rgba(28, 83, 163, 0.18);
    border-color: rgba(46, 116, 212, 0.45);
}

.moments-card-cinematic:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
}

/* حاوية الصورة وإلغاء الفراغ الزائد */
.moments-image-container {
    position: relative;
    width: 100%;
    height: 390px;
    overflow: hidden;
    background: #1e293b;
    display: block;
}

.moments-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.65s ease;
    display: block;
}

.moments-img--session {
    object-position: center 25%;
}

.moments-img--volunteers {
    object-position: center 30%;
}

.moments-card-cinematic:hover .moments-img {
    transform: scale(1.04);
    filter: contrast(1.02) brightness(1.02);
}

/* تراكب التدرج اللوني السينمائي الشفاف لإبراز النصوص دون حجب الوجوه */
.moments-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.88) 0%,
        rgba(15, 23, 42, 0.45) 38%,
        rgba(15, 23, 42, 0.08) 68%,
        transparent 100%
    );
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.moments-card-cinematic:hover .moments-gradient-overlay {
    opacity: 0.95;
}

/* شارة التكبير العلوية */
.moments-zoom-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.9;
    transform: translateY(0);
    transition: all 0.35s ease;
    pointer-events: none;
}

.moments-card-cinematic:hover .moments-zoom-badge {
    opacity: 1;
    background: rgba(28, 83, 163, 0.85);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* الشريط الزجاجي العائم للنص التوضيحي المدمج */
.moments-glass-caption {
    position: absolute;
    bottom: 18px;
    inset-inline: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.moments-card-cinematic:hover .moments-glass-caption {
    background: rgba(15, 23, 42, 0.82);
    border-color: rgba(96, 165, 250, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.caption-icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(46, 116, 212, 0.9) 0%, rgba(28, 83, 163, 0.9) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(28, 83, 163, 0.4);
}

.moments-caption-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* نافذة العرض المكبر للصور (Accessible Lightbox Modal) */
.moments-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeInLightbox 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.moments-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 13, 24, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.moments-lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 960px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 24px;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
    animation: zoomInLightbox 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.moments-lightbox-close {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.moments-lightbox-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    transform: scale(1.08);
}

.moments-lightbox-img-wrap {
    width: 100%;
    max-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #070d18;
    overflow: hidden;
}

.moments-lightbox-img {
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
    display: block;
}

.moments-lightbox-caption-bar {
    width: 100%;
    padding: 16px 24px;
    background: rgba(15, 23, 42, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.lightbox-caption-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
}

.moments-lightbox-caption-text {
    color: #f1f5f9;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

@keyframes fadeInLightbox {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomInLightbox {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* الوضع الليلي لقسم لحظات من عملنا (Dark Mode) */
body.dark-mode .moments-section,
body.dark-mode .gallery {
    background: linear-gradient(180deg, #070d18 0%, #0b1528 50%, #070d18 100%);
}

body.dark-mode .moments-orb-1 {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(29, 78, 216, 0.08) 65%, transparent 100%);
    opacity: 0.6;
}

body.dark-mode .moments-orb-2 {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, rgba(3, 105, 161, 0.06) 65%, transparent 100%);
    opacity: 0.55;
}

body.dark-mode .moments-ambient-wave {
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
}

body.dark-mode .moments-card-cinematic {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

body.dark-mode .moments-card-cinematic:hover {
    border-color: rgba(96, 165, 250, 0.45);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(37, 99, 235, 0.2);
}

/* استجابة الشاشات والتجاوب (Responsive Breakpoints) */
@media (max-width: 900px) {
    .moments-grid-editorial {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .moments-image-container {
        height: 330px;
    }
}

@media (max-width: 640px) {
    .moments-section, .gallery {
        padding-block: 48px;
    }
    .moments-image-container {
        height: 270px;
    }
    .moments-glass-caption {
        bottom: 12px;
        inset-inline: 12px;
        padding: 10px 14px;
        gap: 10px;
        border-radius: 14px;
    }
    .moments-caption-title {
        font-size: 1.02rem;
    }
    .caption-icon-badge {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
        border-radius: 9px;
    }
    .moments-zoom-badge {
        top: 12px;
        left: 12px;
        padding: 4px 10px;
        font-size: 0.75rem;
    }
    .moments-lightbox {
        padding: 10px;
    }
    .moments-lightbox-content {
        border-radius: 18px;
    }
    .moments-lightbox-caption-text {
        font-size: 1rem;
    }
}

/* دعم تقليل الحركة (Prefers Reduced Motion) */
@media (prefers-reduced-motion: reduce) {
    .moments-orb-1,
    .moments-orb-2 {
        animation: none !important;
    }
    .moments-card-cinematic,
    .moments-img,
    .moments-glass-caption,
    .moments-zoom-badge,
    .moments-lightbox,
    .moments-lightbox-content {
        transition: none !important;
        transform: none !important;
        animation: none !important;
    }
}

body.dark-mode .gallery-trust-banner {
    border-color: var(--border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

body.dark-mode .gallery-trust-icon {
    background: rgba(43, 114, 186, 0.16);
    color: var(--blue-lt);
}

body.dark-mode .gallery-trust-title {
    color: var(--blue-lt);
}

body.dark-mode .gallery-trust-desc {
    color: var(--mist);
}

body.dark-mode .btn-trust-view {
    color: var(--blue-lt);
    border-color: var(--blue-mid);
}

body.dark-mode .btn-trust-view:hover {
    background: var(--blue-mid);
    color: #ffffff;
}

@media (max-width: 768px) {
    .gallery-trust-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 18px;
    }
    
    .gallery-trust-link-wrap {
        width: 100%;
    }
    
    .btn-trust-view {
        width: 100%;
        justify-content: center;
    }
}


/* ==========================================================================
   5. قسم القيم الجوهرية المطور (Core Values Editorial Section)
   ========================================================================== */

.values-section, .core-values {
    position: relative;
    padding: clamp(75px, 9vw, 110px) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
    overflow: hidden;
    direction: rtl;
    box-sizing: border-box;
    isolation: isolate;
}

/* خلفية تفاعلية حركية هادئة وفاخرة لقسم القيم الجوهرية */
.values-animated-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.values-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    will-change: transform, opacity;
}

.values-orb-1 {
    top: -10%;
    right: -8%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(29, 78, 216, 0.03) 65%, transparent 100%);
    animation: floatValuesOrb1 26s infinite alternate ease-in-out;
}

.values-orb-2 {
    bottom: -12%;
    left: -6%;
    width: 580px;
    height: 580px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, rgba(3, 105, 161, 0.02) 65%, transparent 100%);
    animation: floatValuesOrb2 30s infinite alternate ease-in-out;
}

.values-orb-3 {
    top: 45%;
    left: 20%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    animation: floatValuesOrb3 24s infinite alternate ease-in-out;
}

.values-ambient-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    filter: blur(70px);
    pointer-events: none;
}

@keyframes floatValuesOrb1 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    50% { transform: translate(-40px, 30px) scale(1.06); opacity: 1; }
    100% { transform: translate(25px, -20px) scale(0.95); opacity: 0.75; }
}

@keyframes floatValuesOrb2 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.75; }
    50% { transform: translate(35px, -35px) scale(1.08); opacity: 0.95; }
    100% { transform: translate(-30px, 20px) scale(0.92); opacity: 0.7; }
}

@keyframes floatValuesOrb3 {
    0% { transform: translate(0, 0) scale(0.9); opacity: 0.6; }
    50% { transform: translate(25px, 25px) scale(1.05); opacity: 0.85; }
    100% { transform: translate(-20px, -25px) scale(0.95); opacity: 0.55; }
}

.values-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 32px);
}

.values-header {
    margin-bottom: clamp(32px, 4.5vw, 46px);
    text-align: right;
}

/* شبكة البطاقات التحريرية لقسم القيم (Editorial Grid) */
.values-grid-editorial {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 10px;
}

/* بطاقة القيمة الفاخرة */
.value-card-premium {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(28, 83, 163, 0.12);
    border-radius: 24px;
    padding: clamp(26px, 3vw, 34px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04), 0 2px 8px rgba(28, 83, 163, 0.03);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, background 0.35s ease;
    overflow: hidden;
    cursor: default;
    outline: none;
}

.value-card-premium:hover {
    transform: translateY(-6px);
    border-color: rgba(46, 116, 212, 0.38);
    box-shadow: 0 20px 42px rgba(28, 83, 163, 0.12), 0 6px 16px rgba(15, 23, 42, 0.06);
    background: rgba(255, 255, 255, 0.98);
}

.value-card-premium:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

/* توهج تفاعلي ناعم داخل البطاقة */
.value-card-glow {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(circle at 80% 20%, rgba(46, 116, 212, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.value-card-premium:hover .value-card-glow {
    opacity: 1;
}

/* حاوية الأيقونة الفاخرة */
.value-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 22px;
    flex-shrink: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-card-premium:hover .value-icon-box {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(28, 83, 163, 0.2);
}

/* تخصيص ألوان وتدرجات الأيقونات من هوية مواجدة */
.value-icon--heart {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(28, 83, 163, 0.12) 100%);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.value-icon--dignity {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.12) 0%, rgba(28, 83, 163, 0.1) 100%);
    color: #d97706;
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.value-icon--neutrality {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.12) 0%, rgba(28, 83, 163, 0.1) 100%);
    color: #0d9488;
    border: 1px solid rgba(13, 148, 136, 0.2);
}

.value-icon--science {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12) 0%, rgba(28, 83, 163, 0.12) 100%);
    color: #4f46e5;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.value-icon--privacy {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.12) 0%, rgba(28, 83, 163, 0.12) 100%);
    color: #0284c7;
    border: 1px solid rgba(2, 132, 199, 0.2);
}

.value-icon--transparency {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(14, 165, 233, 0.12) 100%);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.value-icon--efficiency {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.12) 0%, rgba(28, 83, 163, 0.12) 100%);
    color: #ea580c;
    border: 1px solid rgba(234, 88, 12, 0.2);
}

/* بطاقة الإنسانية المحورية (Featured Primary Card) */
.value-card--featured {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 246, 255, 0.95) 100%);
    border-color: rgba(37, 99, 235, 0.22);
}

/* بطاقة الكفاءة والفاعلية الممتدة أفقياً (Anchor Card) */
@media (min-width: 1024px) {
    .value-card--anchor {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        gap: 26px;
        padding: 24px 34px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(243, 248, 255, 0.9) 100%);
        border-color: rgba(37, 99, 235, 0.2);
    }
    
    .value-card--anchor .value-icon-box {
        margin-bottom: 0;
    }
}

.value-card-content {
    flex-grow: 1;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0c2044;
    margin: 0 0 8px 0;
    line-height: 1.35;
    font-family: var(--font-heading);
}

.value-desc {
    font-size: 0.96rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
    font-weight: 500;
}

/* الوضع الليلي لقسم القيم الجوهرية (Dark Mode) */
body.dark-mode .values-section,
body.dark-mode .core-values {
    background: linear-gradient(180deg, #070d18 0%, #0b1528 50%, #070d18 100%);
}

body.dark-mode .values-orb-1 {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(29, 78, 216, 0.08) 65%, transparent 100%);
    opacity: 0.6;
}

body.dark-mode .values-orb-2 {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, rgba(3, 105, 161, 0.06) 65%, transparent 100%);
    opacity: 0.55;
}

body.dark-mode .values-orb-3 {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
    opacity: 0.5;
}

body.dark-mode .values-ambient-wave {
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
}

body.dark-mode .value-card-premium {
    background: rgba(18, 30, 52, 0.82);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

body.dark-mode .value-card-premium:hover {
    background: rgba(24, 40, 68, 0.92);
    border-color: rgba(96, 165, 250, 0.35);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.55), 0 0 20px rgba(37, 99, 235, 0.15);
}

body.dark-mode .value-card--featured,
body.dark-mode .value-card--anchor {
    background: linear-gradient(145deg, rgba(22, 38, 66, 0.9) 0%, rgba(16, 28, 48, 0.85) 100%);
    border-color: rgba(96, 165, 250, 0.2);
}

body.dark-mode .value-title {
    color: #f1f5f9;
}

body.dark-mode .value-desc {
    color: #94a3b8;
}

/* التجاوب واستجابة الشاشات (Responsive Breakpoints) */
@media (max-width: 1023px) and (min-width: 641px) {
    .values-grid-editorial {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .value-card--anchor {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .values-section, .core-values {
        padding-block: 48px;
    }
    .values-grid-editorial {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .value-card-premium {
        padding: 22px 18px;
        border-radius: 18px;
    }
    .value-icon-box {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 1.2rem;
        margin-bottom: 16px;
    }
    .value-title {
        font-size: 1.15rem;
    }
    .value-desc {
        font-size: 0.92rem;
    }
}

/* دعم تقليل الحركة (Prefers Reduced Motion) */
@media (prefers-reduced-motion: reduce) {
    .values-orb-1,
    .values-orb-2,
    .values-orb-3 {
        animation: none !important;
    }
    .value-card-premium,
    .value-icon-box,
    .value-card-glow {
        transition: none !important;
        transform: none !important;
    }
}

/* ==========================================
   قسم الأسئلة الشائعة (FAQ Section Redesign)
   ========================================== */
.faq-section {
    position: relative;
    padding: clamp(64px, 7vw, 100px) 0 clamp(70px, 8vw, 110px);
    background: linear-gradient(180deg, rgba(240, 246, 255, 0.6) 0%, rgba(255, 255, 255, 0.95) 50%, rgba(240, 246, 255, 0.5) 100%);
    overflow: hidden;
}

/* خلفية الإضاءة المحيطية التفاعلية */
.faq-animated-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.faq-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.7;
}

.faq-orb-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(28, 83, 163, 0.12) 0%, rgba(59, 130, 246, 0.04) 60%, transparent 100%);
    animation: floatFaqOrb1 26s infinite alternate ease-in-out;
}

.faq-orb-2 {
    bottom: -10%;
    left: -5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, rgba(3, 105, 161, 0.03) 65%, transparent 100%);
    animation: floatFaqOrb2 28s infinite alternate ease-in-out;
}

.faq-ambient-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

@keyframes floatFaqOrb1 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    50% { transform: translate(-30px, 25px) scale(1.05); opacity: 0.9; }
    100% { transform: translate(20px, -15px) scale(0.95); opacity: 0.65; }
}

@keyframes floatFaqOrb2 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.65; }
    50% { transform: translate(25px, -30px) scale(1.06); opacity: 0.85; }
    100% { transform: translate(-25px, 15px) scale(0.92); opacity: 0.6; }
}

.faq-container {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 32px);
}

.faq-header {
    margin-bottom: clamp(32px, 4.5vw, 48px);
    text-align: center;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 auto;
    width: 100%;
}

/* بطاقة السؤال الشائع الفاخرة */
.faq-item {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(28, 83, 163, 0.12);
    border-radius: 20px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03), 0 1px 3px rgba(28, 83, 163, 0.02);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease, background-color 0.35s ease;
    overflow: hidden;
}

.faq-item.revealed {
    animation: faqItemFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes faqItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item:hover {
    border-color: rgba(46, 116, 212, 0.35);
    box-shadow: 0 10px 28px rgba(28, 83, 163, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: rgba(46, 116, 212, 0.6);
    box-shadow: 0 14px 34px rgba(28, 83, 163, 0.12), 0 4px 12px rgba(15, 23, 42, 0.05);
    background: rgba(255, 255, 255, 0.98);
}

.faq-item-heading {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-weight: 700;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: transparent;
    border: none;
    padding: clamp(18px, 2.5vw, 24px) clamp(20px, 3vw, 28px);
    margin: 0;
    font-family: inherit;
    font-weight: 700;
    font-size: clamp(1rem, 1.15vw, 1.12rem);
    color: var(--blue-dark, #0b1f3a);
    text-align: start;
    cursor: pointer;
    gap: 16px;
    transition: color 0.25s ease;
    min-height: 56px;
    border-radius: 20px;
    outline: none;
}

.faq-question:hover {
    color: var(--blue, #1c53a3);
}

.faq-item.active .faq-question {
    color: var(--blue, #1c53a3);
}

.faq-question:focus-visible {
    outline: 2.5px solid var(--blue, #1c53a3);
    outline-offset: -2px;
}

.faq-question-text {
    flex-grow: 1;
    line-height: 1.5;
    transition: color 0.25s ease;
}

.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(28, 83, 163, 0.08);
    color: var(--blue, #1c53a3);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.faq-icon-minus {
    display: none;
}

.faq-icon-plus {
    display: block;
}

.faq-item.active .faq-icon {
    background: var(--blue, #1c53a3);
    color: #ffffff;
    transform: rotate(180deg);
}

.faq-item.active .faq-icon-plus {
    display: none;
}

.faq-item.active .faq-icon-minus {
    display: block;
}

/* محتوى الإجابة مع أنيميشن CSS Grid فائق السلاسة */
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    overflow: hidden;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
    opacity: 1;
}

.faq-answer-inner {
    min-height: 0;
    overflow: hidden;
    padding: 0 clamp(20px, 3vw, 28px);
}

.faq-answer-inner p {
    margin: 0;
    padding: 14px 0 clamp(18px, 2.5vw, 24px);
    border-top: 1px solid rgba(28, 83, 163, 0.1);
    color: var(--text-main, #334155);
    font-size: clamp(0.92rem, 1vw, 1rem);
    line-height: 1.75;
}

/* دعم الوضع الليلي (Dark Mode) */
body.dark-mode .faq-section {
    background: linear-gradient(180deg, rgba(8, 15, 30, 0.95) 0%, rgba(11, 22, 44, 0.98) 50%, rgba(8, 15, 30, 0.95) 100%);
}

body.dark-mode .faq-orb-1 {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
}

body.dark-mode .faq-orb-2 {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
}

body.dark-mode .faq-item {
    background: rgba(17, 28, 52, 0.85);
    border-color: rgba(96, 165, 250, 0.16);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .faq-item:hover {
    border-color: rgba(96, 165, 250, 0.35);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

body.dark-mode .faq-item.active {
    border-color: rgba(96, 165, 250, 0.5);
    background: rgba(22, 36, 68, 0.95);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55), 0 0 20px rgba(59, 130, 246, 0.15);
}

body.dark-mode .faq-question {
    color: #e2e8f0;
}

body.dark-mode .faq-question:hover,
body.dark-mode .faq-item.active .faq-question-text {
    color: #93c5fd;
}

body.dark-mode .faq-question:focus-visible {
    outline-color: #60a5fa;
}

body.dark-mode .faq-icon {
    background: rgba(59, 130, 246, 0.18);
    color: #93c5fd;
}

body.dark-mode .faq-item.active .faq-icon {
    background: #2563eb;
    color: #ffffff;
}

body.dark-mode .faq-answer-inner p {
    border-top-color: rgba(96, 165, 250, 0.15);
    color: #cbd5e1;
}

/* دعم تقليل الحركة (Prefers Reduced Motion) */
@media (prefers-reduced-motion: reduce) {
    .faq-orb-1,
    .faq-orb-2 {
        animation: none !important;
    }
    .faq-item,
    .faq-icon,
    .faq-answer {
        transition: none !important;
    }
}

/* التجاوب مع شاشات الهاتف */
@media (max-width: 640px) {
    .faq-question {
        padding: 16px 18px;
        min-height: 50px;
        gap: 12px;
    }

    .faq-answer-inner {
        padding: 0 18px;
    }

    .faq-answer-inner p {
        padding-bottom: 18px;
    }

    .faq-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 35px;
    margin: 50px 0;
    transition: box-shadow 0.3s ease;
}

.contact-wrapper:hover {
    box-shadow: 0 16px 40px rgba(28, 83, 163, 0.12);
}

.contact-info,
.contact-form {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.4rem;
    color: var(--blue-dark);
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 16px;
    border-radius: 40px;
    border: 1px solid var(--border);
    font-family: inherit;
    background: var(--white);
}

.contact-form button {
    background: var(--blue);
    color: white;
    width: 100%;
    padding: 14px;
    border-radius: 40px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

/* ============================================================
   CONTACT FORM — ACCESSIBLE REDESIGN (Issues #26-29, #31)
   ============================================================ */

.contact-form-header {
    margin-bottom: 20px;
}

.contact-form-header h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 6px;
}

.contact-form-sub {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}

/* Privacy notice */
.form-privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(46, 116, 212, 0.06);
    border: 1px solid rgba(46, 116, 212, 0.2);
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 18px;
    font-size: 0.83rem;
    color: var(--muted);
    line-height: 1.5;
}

.form-privacy-note svg {
    color: var(--blue);
    flex-shrink: 0;
    margin-top: 1px;
}

.privacy-link {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Field wrapper */
.cf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
    text-align: start;
}

/* Label — Issue #26 */
.cf-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink);
}

.cf-required {
    color: #ef4444;
    margin-right: 2px;
}

/* Input / Textarea */
.cf-input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--ink);
    background: var(--bg);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.cf-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(46, 116, 212, 0.15);
}

.cf-input--error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.cf-textarea {
    border-radius: 14px;
    resize: vertical;
    min-height: 120px;
}

/* Hint text */
.cf-hint {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0;
}

/* Error message — Issue #26 */
.cf-error {
    font-size: 0.82rem;
    font-weight: 600;
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Submit button */
.cf-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--blue);
    color: #ffffff;
    width: 100%;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 6px;
    min-height: 50px;
}

.cf-submit-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(46, 116, 212, 0.3);
}

.cf-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.cf-spinner {
    animation: spin 0.75s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hidden { display: none !important; }

/* Feedback message — Issue #29 */
.cf-feedback {
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: start;
}

.cf-feedback strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.cf-feedback p {
    margin: 0;
}

.cf-feedback--success {
    background: var(--color-success-bg);
    border: 1px solid var(--color-success-border);
    color: var(--color-success);
}

.cf-feedback--error {
    background: var(--color-danger-bg);
    border: 1px solid var(--color-danger-border);
    color: var(--color-danger);
}

/* Partners pending note */
.partners-pending-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 16px;
}

/* Dark mode for contact form — Issue #59 */
body.dark-mode .form-privacy-note {
    background: var(--color-info-bg);
    border-color: var(--color-info-border);
}

body.dark-mode .cf-input {
    background: var(--color-input-bg);
    border-color: var(--color-input-border);
    color: var(--color-input-text);
}

body.dark-mode .cf-input:focus {
    border-color: var(--color-border-focus);
    box-shadow: var(--shadow-focus);
}

body.dark-mode .cf-submit-btn {
    background: var(--color-cta-bg);
    color: var(--color-cta-text);
}

body.dark-mode .cf-submit-btn:hover {
    background: var(--color-cta-hover-bg);
}

body.dark-mode .cf-submit-btn:disabled {
    background: var(--color-cta-disabled-bg);
    color: var(--color-cta-disabled-text);
}

body.dark-mode .cf-feedback--success {
    background: var(--color-success-bg);
    color: var(--color-success);
    border-color: var(--color-success-border);
}

body.dark-mode .cf-feedback--error {
    background: var(--color-danger-bg);
    color: var(--color-danger);
    border-color: var(--color-danger-border);
}

.partners {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 48px;
    margin: 30px 0 60px;
    padding: 50px 20px;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.partner-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 18px;
    text-align: center;
    width: 150px;
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-card img {
    max-width: 100%;
    height: 65px;
    object-fit: contain;
    margin-bottom: 10px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 51, 107, 0.85);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeUp 0.3s ease both;
}

.modal-content {
    background: var(--white);
    border-radius: 40px;
    max-width: 450px;
    width: 90%;
    padding: 30px;
    text-align: center;
    position: relative;
    animation: modalPop 0.45s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes modalPop {
    0% {
        opacity: 0;
        transform: scale(0.85) translateY(20px);
    }

    70% {
        transform: scale(1.03) translateY(-3px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close-modal {
    position: absolute;
    inset-inline-end: 18px;
    top: 12px;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: var(--mist);
    background: none;
    border: none;
    padding: 4px 10px;
    border-radius: 10px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.close-modal:hover {
    color: var(--blue-dark);
    transform: scale(1.1);
}

.close-modal:focus-visible {
    outline: 2.5px solid var(--blue-mid) !important;
    outline-offset: 2px !important;
    color: var(--blue-dark);
}

body.dark-mode .close-modal:hover,
body.dark-mode .close-modal:focus-visible {
    color: var(--blue-lt);
    outline-color: #60a5fa !important;
}

.page-header {
    background: linear-gradient(120deg, var(--blue-lt), var(--blue-xs), var(--blue-lt));
    background-size: 200% 200%;
    padding: 32px 0 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: headerSweep 4s ease infinite alternate;
}

@keyframes headerSweep {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.page-header h1 {
    font-size: 1.85rem;
    color: var(--blue-dark);
    margin-bottom: 8px;
    animation: fadeUp 0.7s ease both;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 24px;
    border: 1px solid var(--border);
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--blue-dark);
}

.card p {
    color: var(--mist);
    font-size: 0.9rem;
}

/* =============================================
   ACTIVITIES PAGE (/activities) — Redesigned & Elevated UI
   ============================================= */
.activities-page-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    padding: clamp(40px, 6vw, 70px) 0 clamp(60px, 8vw, 100px);
    background: linear-gradient(180deg, #f8fafc 0%, #f0f7ff 50%, #ffffff 100%);
    box-sizing: border-box;
}

/* Animated Ambient Background */
.activities-page-animated-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.act-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    pointer-events: none;
    will-change: transform, opacity;
}

.act-orb-1 {
    width: clamp(320px, 35vw, 520px);
    height: clamp(320px, 35vw, 520px);
    top: -80px;
    inset-inline-end: -60px;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.45) 0%, rgba(191, 219, 254, 0.12) 70%, transparent 100%);
    animation: floatActOrb1 24s ease-in-out infinite alternate;
}

.act-orb-2 {
    width: clamp(280px, 30vw, 460px);
    height: clamp(280px, 30vw, 460px);
    bottom: 5%;
    inset-inline-start: -60px;
    background: radial-gradient(circle, rgba(199, 210, 254, 0.4) 0%, rgba(224, 231, 255, 0.12) 70%, transparent 100%);
    animation: floatActOrb2 28s ease-in-out infinite alternate;
}

.act-orb-3 {
    width: clamp(260px, 28vw, 420px);
    height: clamp(260px, 28vw, 420px);
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(186, 230, 253, 0.35) 0%, rgba(224, 242, 254, 0.1) 70%, transparent 100%);
    animation: floatActOrb3 22s ease-in-out infinite alternate;
}

.act-ambient-wave {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.45) 0%, transparent 80%);
    pointer-events: none;
}

@keyframes floatActOrb1 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.55; }
    50% { transform: translate(-35px, 40px) scale(1.06); opacity: 0.75; }
    100% { transform: translate(25px, 65px) scale(0.96); opacity: 0.5; }
}

@keyframes floatActOrb2 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(45px, -35px) scale(1.08); opacity: 0.7; }
    100% { transform: translate(-20px, -45px) scale(0.94); opacity: 0.45; }
}

@keyframes floatActOrb3 {
    0% { transform: translate(-50%, -50%) scale(0.94); opacity: 0.4; }
    50% { transform: translate(-42%, -44%) scale(1.08); opacity: 0.6; }
    100% { transform: translate(-58%, -56%) scale(1); opacity: 0.35; }
}

/* Header Section */
.activities-page-header {
    position: relative;
    z-index: 1;
    margin-bottom: clamp(36px, 5vw, 56px);
}

.activities-page-header-content {
    max-width: 720px;
    margin: 0 auto;
}

.activities-page-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #0c2044;
    margin: 0 0 12px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.activities-page-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 2vw, 1.22rem);
    color: #475569;
    margin: 0 auto;
    line-height: 1.65;
    font-weight: 500;
}

/* Activities Grid Layout */
.activities-page-main {
    position: relative;
    z-index: 1;
}

.activities-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 2.5vw, 32px);
    align-items: stretch;
}

/* Activity Card Item */
.activity-card-page {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    padding: clamp(24px, 3vw, 32px);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px);
}

.activity-card-page.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.activity-card-page:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px -4px rgba(28, 83, 163, 0.12), 0 6px 12px -2px rgba(15, 23, 42, 0.04);
    border-color: rgba(147, 197, 253, 0.9);
}

.activity-card-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    transition: opacity 0.35s ease;
}

.activity-card-page:hover .activity-card-glow {
    opacity: 1;
}

.activity-card-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.08);
    color: #1c53a3;
    font-size: 1.45rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.activity-card-page:hover .activity-card-icon-box {
    transform: scale(1.1);
    background: rgba(37, 99, 235, 0.14);
    color: #1d4ed8;
}

.activity-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-bottom: 24px;
}

.activity-card-title {
    font-family: var(--font-heading);
    font-size: 1.28rem;
    font-weight: 800;
    color: #0c2044;
    margin: 0 0 12px;
    line-height: 1.4;
}

.activity-card-desc {
    font-family: var(--font-body);
    font-size: 0.96rem;
    line-height: 1.75;
    color: #475569;
    margin: 0;
    font-weight: 400;
}

.activity-card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
}

.btn-activity-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.06);
    border: 1.5px solid rgba(37, 99, 235, 0.18);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    min-height: 46px;
}

.btn-activity-action i {
    transition: transform 0.25s ease;
    font-size: 0.9rem;
}

[dir="rtl"] .btn-activity-action:hover i,
html[dir="rtl"] .btn-activity-action:hover i,
body[dir="rtl"] .btn-activity-action:hover i {
    transform: translateX(-4px);
}

.btn-activity-action:hover {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
    box-shadow: 0 6px 16px -2px rgba(29, 78, 216, 0.3);
}

.btn-activity-action:focus-visible {
    outline: 2px solid #1d4ed8;
    outline-offset: 2px;
}

/* Modal Dialog Styling */
#activityModal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#activityModal.modal-open,
#activityModal[style*="display: flex"] {
    display: flex !important;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 32, 68, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeInModal 0.25s ease forwards;
}

.activity-modal-dialog {
    position: relative;
    z-index: 10;
    max-width: 540px;
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    padding: clamp(24px, 4vw, 36px);
    box-shadow: 0 25px 50px -12px rgba(12, 32, 68, 0.25);
    animation: zoomInModal 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    box-sizing: border-box;
}

.modal-close-x {
    position: absolute;
    top: 18px;
    inset-inline-end: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.05);
    border: none;
    color: #64748b;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close-x:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    transform: rotate(90deg);
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.modal-main-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #0c2044;
    margin: 0 0 16px;
    line-height: 1.35;
}

.modal-main-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: #334155;
    margin: 0 0 24px;
}

.modal-footer-box {
    display: flex;
    justify-content: flex-end;
    padding-top: 16px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.modal-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    background: #1d4ed8;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.modal-close-btn:hover {
    background: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomInModal {
    from { opacity: 0; transform: scale(0.94) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Responsive Grid Breakpoints */
@media (max-width: 992px) {
    .activities-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .activities-page-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .activities-page-wrapper {
        padding: 30px 0 60px;
    }
    .activity-modal-dialog {
        padding: 24px 20px;
    }
}

/* Dark Mode Overrides */
body.dark-mode .activities-page-wrapper {
    background: linear-gradient(180deg, #0b1528 0%, #0d1b33 50%, #08101e 100%);
}

body.dark-mode .act-orb-1 {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, transparent 70%);
}

body.dark-mode .act-orb-2 {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
}

body.dark-mode .act-orb-3 {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
}

body.dark-mode .activities-page-title {
    color: #f1f5f9;
}

body.dark-mode .activities-page-subtitle {
    color: #94a3b8;
}

body.dark-mode .activity-card-page {
    background: rgba(15, 28, 54, 0.85);
    border-color: rgba(51, 65, 85, 0.7);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
}

body.dark-mode .activity-card-page:hover {
    border-color: rgba(96, 165, 250, 0.6);
    box-shadow: 0 18px 36px -4px rgba(0, 0, 0, 0.6);
}

body.dark-mode .activity-card-icon-box {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

body.dark-mode .activity-card-page:hover .activity-card-icon-box {
    background: rgba(59, 130, 246, 0.25);
    color: #93c5fd;
}

body.dark-mode .activity-card-title {
    color: #f8fafc;
}

body.dark-mode .activity-card-desc {
    color: #cbd5e1;
}

body.dark-mode .activity-card-footer {
    border-color: rgba(51, 65, 85, 0.6);
}

body.dark-mode .btn-activity-action {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

body.dark-mode .btn-activity-action:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

body.dark-mode .activity-modal-dialog {
    background: #0f1c36;
    border-color: rgba(51, 65, 85, 0.8);
}

body.dark-mode .modal-close-x {
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

body.dark-mode .modal-close-x:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

body.dark-mode .modal-badge {
    background: rgba(59, 130, 246, 0.18);
    color: #93c5fd;
}

body.dark-mode .modal-main-title {
    color: #f8fafc;
}

body.dark-mode .modal-main-desc {
    color: #cbd5e1;
}

body.dark-mode .modal-footer-box {
    border-color: rgba(51, 65, 85, 0.6);
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .act-orb-1,
    .act-orb-2,
    .act-orb-3 {
        animation: none !important;
    }
    .activity-card-page {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .activity-modal-dialog,
    .modal-backdrop {
        animation: none !important;
    }
}

body.dark-mode .modal-btn-copy {
    background: var(--color-btn-secondary-bg);
    color: var(--color-btn-secondary-text);
    border-color: var(--color-btn-secondary-border);
}

body.dark-mode .modal-btn-copy:hover {
    background: var(--color-btn-secondary-hover-bg);
    color: var(--color-btn-secondary-hover-text);
}

body.dark-mode .modal-btn-close {
    color: #94a3b8;
    border-color: rgba(255, 255, 255, 0.18);
}

body.dark-mode .modal-btn-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

@media (max-width: 768px) {
    .activities-overview-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    
    .activities-stats-pill {
        width: 100%;
        flex-direction: row;
        gap: 10px;
    }

    .activity-card-actions {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   تذييل الموقع الفاخر (Premium Site Footer)
   ============================================= */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, #091322 0%, #060d18 55%, #040810 100%);
    color: #cbd5e1;
    padding: clamp(48px, 6vw, 70px) 0 clamp(30px, 4vw, 44px);
    margin-top: clamp(40px, 6vw, 80px);
    border-top: 1px solid rgba(59, 130, 246, 0.22);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    z-index: 10;
}

/* كرات الضوء المحيطية الناعمة للخلفية */
.footer-animated-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.footer-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.65;
}

.footer-orb-1 {
    top: -20%;
    right: 10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, rgba(28, 83, 163, 0.03) 65%, transparent 100%);
    animation: floatFooterOrb1 24s infinite alternate ease-in-out;
}

.footer-orb-2 {
    bottom: -15%;
    left: 8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
    animation: floatFooterOrb2 28s infinite alternate ease-in-out;
}

@keyframes floatFooterOrb1 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(-25px, 20px) scale(1.05); opacity: 0.8; }
    100% { transform: translate(20px, -15px) scale(0.95); opacity: 0.55; }
}

@keyframes floatFooterOrb2 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.55; }
    50% { transform: translate(20px, -25px) scale(1.06); opacity: 0.75; }
    100% { transform: translate(-20px, 15px) scale(0.92); opacity: 0.5; }
}

.footer-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 32px);
}

.footer-main-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
    flex-wrap: wrap;
}

/* الجانب الأيمن: الهوية وحقوق النشر */
.footer-brand-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 260px;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-brand-link:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.footer-logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.4));
    background: transparent !important;
    border: none !important;
}

.footer-brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
    font-family: inherit;
}

.footer-copy {
    margin: 0;
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* الوسط: بيانات التواصل والتطوع */
.footer-contact-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    flex: 1;
    min-width: 280px;
}

.footer-contact-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-contact-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.footer-contact-card:hover {
    background: rgba(37, 99, 235, 0.18);
    border-color: rgba(96, 165, 250, 0.45);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
}

.footer-contact-card:focus-visible {
    outline: 2.5px solid #60a5fa;
    outline-offset: 2px;
}

.footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    font-size: 0.82rem;
}

.footer-contact {
    margin: 0;
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.footer-contact a {
    color: #93c5fd;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
    font-weight: 600;
}

.footer-contact a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-contact a:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
    border-radius: 4px;
}

/* الجانب الأيسر: الإجراءات وزر العودة للأعلى */
.footer-action-column {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* زر العودة للأعلى الفاخر */
.back-to-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 99;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.15rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.9);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background 0.35s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.5), 0 0 16px rgba(96, 165, 250, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #ffffff;
}

.back-to-top:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 3px;
}

/* الوضع الليلي لتذييل الموقع */
body.dark-mode .site-footer {
    background: linear-gradient(180deg, #050a14 0%, #03060c 60%, #020408 100%);
    border-top-color: rgba(59, 130, 246, 0.18);
}

body.dark-mode .footer-contact-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .footer-contact-card:hover {
    background: rgba(37, 99, 235, 0.22);
    border-color: rgba(96, 165, 250, 0.4);
}

/* التجاوب مع مختلف الشاشات */
@media (max-width: 900px) {
    .footer-main-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }
    
    .footer-brand-column {
        align-items: center;
    }

    .footer-action-column {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding-bottom: 90px;
    }

    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 46px;
        height: 46px;
        font-size: 1.05rem;
    }

    .footer-contact-badges {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .footer-contact-card {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
    }

    .footer-contact {
        font-size: 0.86rem;
        line-height: 1.7;
    }
}

/* دعم تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
    .footer-orb-1,
    .footer-orb-2 {
        animation: none !important;
    }
    .back-to-top,
    .footer-contact-card {
        transition: none !important;
    }
}


body.dark-mode .footer-contact-icon {
    color: var(--blue-mid);
}

body.dark-mode .footer-action-badge {
    background: rgba(58, 123, 213, 0.25);
    color: var(--blue-lt);
}

body.dark-mode .footer-contact-link:hover .footer-action-badge {
    background: var(--blue);
    color: #ffffff;
}

/* =============================================
   CONTACT PAGE (Interactive Cards & Action Buttons)
   ============================================= */
.contact-section-header {
    margin-bottom: 24px;
}

.contact-section-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 6px;
}

.contact-sub {
    color: var(--mist);
    font-size: 0.92rem;
    margin: 0;
}

.contact-cards-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.contact-item-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 16px 20px;
    transition: all 0.25s ease;
}

.contact-item-card:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(28, 83, 163, 0.1);
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon.phone {
    background: rgba(28, 83, 163, 0.1);
    color: var(--blue);
}

.contact-item-icon.email {
    background: rgba(46, 116, 212, 0.1);
    color: var(--blue-mid);
}

.contact-item-icon.location {
    background: rgba(234, 242, 253, 0.9);
    color: var(--blue-dark);
}

.contact-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-item-label {
    font-size: 0.78rem;
    color: var(--mist);
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-item-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item-value:hover {
    color: var(--blue);
    text-decoration: underline;
}

.contact-item-text {
    font-size: 0.9rem;
    color: var(--ink);
    font-weight: 500;
}

.contact-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-action-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 40px;
}

.btn-action-pill:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.btn-action-pill.call-pill {
    background: var(--blue);
    color: #ffffff !important;
}

.btn-action-pill.call-pill:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(28, 83, 163, 0.25);
}

.btn-action-pill.whatsapp-pill {
    background: #25D366;
    color: #ffffff !important;
}

.btn-action-pill.whatsapp-pill:hover {
    background: #1eb956;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-action-pill.email-pill {
    background: var(--blue-xs);
    color: var(--blue) !important;
    border: 1px solid var(--border);
}

.btn-action-pill.email-pill:hover {
    background: var(--blue);
    color: #ffffff !important;
    border-color: var(--blue);
    transform: translateY(-1px);
}

.btn-action-pill.copy-pill {
    background: var(--cream);
    color: var(--ink);
    border: 1px solid var(--border);
}

.btn-action-pill.copy-pill:hover {
    background: var(--white);
    border-color: var(--blue);
    color: var(--blue);
}

.btn-action-pill.copy-pill.copied {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

/* Vodafone Cash Donation Card on Contact Page */
.contact-donation-box {
    background: linear-gradient(135deg, rgba(234, 242, 253, 0.8) 0%, rgba(208, 226, 247, 0.4) 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 20px;
}

.donation-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.donation-box-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.donation-box-header h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin: 0 0 3px 0;
}

.donation-box-header p {
    font-size: 0.82rem;
    color: var(--mist);
    margin: 0;
}

.donation-number-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 10px 16px;
    gap: 12px;
    flex-wrap: wrap;
}

.vodafone-number {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--blue-dark);
    letter-spacing: 1px;
}

.donation-actions-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.dark-mode .contact-item-card {
    background: var(--color-surface);
    border-color: var(--color-border);
}

body.dark-mode .contact-item-card:hover {
    border-color: var(--color-border-focus);
}

body.dark-mode .contact-section-header h3,
body.dark-mode .contact-item-value,
body.dark-mode .donation-box-header h4,
body.dark-mode .vodafone-number {
    color: var(--color-text-primary);
}

body.dark-mode .contact-item-text {
    color: var(--color-text-secondary);
}

body.dark-mode .contact-donation-box {
    background: var(--color-surface-subtle);
    border-color: var(--color-border);
}

body.dark-mode .donation-number-row {
    background: var(--color-surface);
    border-color: var(--color-border);
}

body.dark-mode .btn-action-pill.email-pill {
    background: var(--color-btn-secondary-bg);
    border-color: var(--color-btn-secondary-border);
    color: var(--color-btn-secondary-text) !important;
}

body.dark-mode .btn-action-pill.email-pill:hover {
    background: var(--color-btn-secondary-hover-bg);
    color: var(--color-btn-secondary-hover-text) !important;
}

body.dark-mode .btn-action-pill.copy-pill {
    background: var(--color-surface-subtle);
    border-color: var(--color-border);
    color: var(--color-text-primary);
}

body.dark-mode .btn-action-pill.copy-pill:hover {
    background: var(--color-surface);
    border-color: var(--color-border-focus);
    color: var(--color-info);
}

@media (max-width: 767px) {
    .contact-item-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-item-actions {
        width: 100%;
        justify-content: flex-start;
    }
    .donation-number-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .donation-actions-group {
        width: 100%;
        justify-content: flex-start;
    }
}

/* =============================================
   DONATE PAGE (/donate) — Redesigned & Elevated UI
   ============================================= */
.donate-page-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    padding: clamp(40px, 6vw, 70px) 0 clamp(60px, 8vw, 100px);
    background: linear-gradient(180deg, #f8fafc 0%, #f0f7ff 50%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Animated Ambient Background */
.donate-page-animated-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.don-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    pointer-events: none;
    will-change: transform, opacity;
}

.don-orb-1 {
    width: clamp(320px, 35vw, 500px);
    height: clamp(320px, 35vw, 500px);
    top: -60px;
    inset-inline-end: -40px;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.45) 0%, rgba(191, 219, 254, 0.12) 70%, transparent 100%);
    animation: floatDonOrb1 24s ease-in-out infinite alternate;
}

.don-orb-2 {
    width: clamp(280px, 30vw, 440px);
    height: clamp(280px, 30vw, 440px);
    bottom: -40px;
    inset-inline-start: -40px;
    background: radial-gradient(circle, rgba(199, 210, 254, 0.4) 0%, rgba(224, 231, 255, 0.12) 70%, transparent 100%);
    animation: floatDonOrb2 28s ease-in-out infinite alternate;
}

.don-orb-3 {
    width: clamp(250px, 28vw, 400px);
    height: clamp(250px, 28vw, 400px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(186, 230, 253, 0.35) 0%, rgba(224, 242, 254, 0.1) 70%, transparent 100%);
    animation: floatDonOrb3 22s ease-in-out infinite alternate;
}

.don-ambient-wave {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.45) 0%, transparent 80%);
    pointer-events: none;
}

@keyframes floatDonOrb1 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.55; }
    50% { transform: translate(-30px, 35px) scale(1.06); opacity: 0.75; }
    100% { transform: translate(25px, 60px) scale(0.96); opacity: 0.5; }
}

@keyframes floatDonOrb2 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(40px, -30px) scale(1.08); opacity: 0.7; }
    100% { transform: translate(-20px, -40px) scale(0.94); opacity: 0.45; }
}

@keyframes floatDonOrb3 {
    0% { transform: translate(-50%, -50%) scale(0.94); opacity: 0.4; }
    50% { transform: translate(-44%, -44%) scale(1.08); opacity: 0.6; }
    100% { transform: translate(-56%, -56%) scale(1); opacity: 0.35; }
}

/* Master Donation Container */
.donate-main-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

/* Premium Main Card */
.donate-card-premium {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 28px;
    padding: clamp(32px, 5vw, 52px);
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.donate-card-premium:hover {
    box-shadow: 0 20px 45px -5px rgba(28, 83, 163, 0.12), 0 8px 16px -2px rgba(15, 23, 42, 0.04);
}

/* Hero Header */
.donate-hero-header {
    text-align: center;
    margin-bottom: clamp(28px, 4vw, 40px);
}

.donate-header-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(37, 99, 235, 0.08);
    color: #1c53a3;
    font-size: 1.85rem;
    margin-bottom: 18px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.donate-card-premium:hover .donate-header-icon-box {
    transform: scale(1.08);
    background: rgba(37, 99, 235, 0.14);
    color: #1d4ed8;
}

.donate-main-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.8vw, 2.6rem);
    font-weight: 800;
    color: #0c2044;
    margin: 0 0 12px;
    line-height: 1.25;
}

.donate-main-desc {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: #475569;
    margin: 0 auto;
    max-width: 600px;
    line-height: 1.7;
    font-weight: 500;
}

/* Highlighted Number Section */
.donate-number-section {
    margin-bottom: clamp(32px, 4.5vw, 44px);
}

.donate-number-card {
    background: linear-gradient(135deg, rgba(240, 247, 255, 0.95) 0%, rgba(224, 242, 254, 0.65) 100%);
    border: 1.5px solid rgba(147, 197, 253, 0.85);
    border-radius: 22px;
    padding: clamp(24px, 3.5vw, 32px) 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px -2px rgba(28, 83, 163, 0.06);
    transition: all 0.3s ease;
}

.donate-number-card:hover {
    border-color: rgba(96, 165, 250, 1);
    box-shadow: 0 8px 24px -2px rgba(28, 83, 163, 0.12);
    transform: translateY(-2px);
}

.donate-number-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
    font-size: 0.88rem;
    font-weight: 800;
    border-radius: 9999px;
    margin-bottom: 16px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.donate-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 900;
    color: #0c2044;
    letter-spacing: 2px;
    line-height: 1.2;
    margin: 4px 0 20px;
}

.donate-number i {
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    color: #2563eb;
}

.btn-donate-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    background: #1d4ed8;
    border: 1.5px solid #1d4ed8;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.28);
    min-height: 48px;
}

.btn-donate-copy:hover {
    background: #1e40af;
    border-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.38);
}

.btn-donate-copy.copied {
    background: #16a34a !important;
    border-color: #16a34a !important;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3) !important;
}

.btn-donate-copy:focus-visible {
    outline: 2px solid #1d4ed8;
    outline-offset: 2px;
}

/* Steps Section */
.donate-steps {
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    padding: clamp(22px, 3.5vw, 30px);
    text-align: start;
}

.donate-steps-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.donate-steps-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.donate-steps-title {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 800;
    color: #0c2044;
    margin: 0;
    line-height: 1.35;
}

.donate-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.donate-step-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 14px;
    padding: 14px 18px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.donate-step-item:hover {
    transform: translateX(-4px);
    border-color: rgba(147, 197, 253, 0.9);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.step-num-bubble {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content-text {
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 500;
    color: #334155;
    line-height: 1.6;
    margin: 0;
}

.step-content-text strong {
    color: #1d4ed8;
    font-weight: 800;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .donate-card-premium {
        padding: 24px 18px;
        border-radius: 20px;
    }
    .donate-number {
        font-size: 1.75rem;
        gap: 8px;
        letter-spacing: 1px;
    }
    .btn-donate-copy {
        width: 100%;
    }
    .donate-step-item {
        padding: 12px 14px;
        gap: 10px;
    }
    .step-content-text {
        font-size: 0.9rem;
    }
}

/* Dark Mode Overrides */
body.dark-mode .donate-page-wrapper {
    background: linear-gradient(180deg, #0b1528 0%, #0d1b33 50%, #08101e 100%);
}

body.dark-mode .don-orb-1 {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, transparent 70%);
}

body.dark-mode .don-orb-2 {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
}

body.dark-mode .don-orb-3 {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
}

body.dark-mode .donate-card-premium {
    background: rgba(15, 28, 54, 0.88);
    border-color: rgba(51, 65, 85, 0.75);
    box-shadow: 0 10px 35px -5px rgba(0, 0, 0, 0.5);
}

body.dark-mode .donate-header-icon-box {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

body.dark-mode .donate-main-title {
    color: #f1f5f9;
}

body.dark-mode .donate-main-desc {
    color: #94a3b8;
}

body.dark-mode .donate-number-card {
    background: rgba(18, 35, 68, 0.7);
    border-color: rgba(59, 130, 246, 0.35);
}

body.dark-mode .donate-number-badge {
    background: rgba(59, 130, 246, 0.18);
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.3);
}

body.dark-mode .donate-number {
    color: #f8fafc;
}

body.dark-mode .donate-number i {
    color: #60a5fa;
}

body.dark-mode .btn-donate-copy {
    background: #2563eb;
    border-color: #2563eb;
}

body.dark-mode .btn-donate-copy:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

body.dark-mode .donate-steps {
    background: rgba(11, 22, 44, 0.6);
    border-color: rgba(51, 65, 85, 0.6);
}

body.dark-mode .donate-steps-icon-wrap {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

body.dark-mode .donate-steps-title {
    color: #f8fafc;
}

body.dark-mode .donate-step-item {
    background: rgba(15, 28, 54, 0.75);
    border-color: rgba(51, 65, 85, 0.6);
}

body.dark-mode .donate-step-item:hover {
    border-color: rgba(96, 165, 250, 0.5);
}

body.dark-mode .step-num-bubble {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

body.dark-mode .step-content-text {
    color: #cbd5e1;
}

body.dark-mode .step-content-text strong {
    color: #60a5fa;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .don-orb-1,
    .don-orb-2,
    .don-orb-3 {
        animation: none !important;
    }
    .donate-step-item,
    .donate-card-premium,
    .btn-donate-copy {
        transition: none !important;
    }
}

.donate-phone-selectable {
    user-select: all;
    -webkit-user-select: all;
    -moz-user-select: all;
    cursor: copy;
}

.mobile-longpress-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 6px;
    font-weight: 500;
}

.copy-feedback-banner {
    min-height: 24px;
    margin-top: 14px;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #065f46;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.copy-feedback-banner.show {
    display: flex;
}

.copy-feedback-banner.show.error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #991b1b;
}

/* Manual Copy Fallback */
.manual-copy-fallback {
    margin-top: 16px;
    padding: 14px 18px;
    background: rgba(46, 116, 212, 0.05);
    border: 1px dashed var(--blue-mid);
    border-radius: 14px;
    text-align: start;
}

.fallback-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.fallback-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fallback-input {
    flex-grow: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--blue);
    background: var(--bg);
    outline: none;
    text-align: center;
}

.btn-fallback-select {
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--blue);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.btn-fallback-select:hover {
    background: var(--blue-dark);
}

/* Floating Copy Toast */
.copy-toast {
    position: fixed;
    top: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(-50px);
    background: #ffffff;
    border: 1.5px solid #10b981;
    border-radius: 20px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15), 0 4px 14px rgba(16, 185, 129, 0.2);
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 90vw;
    width: auto;
    text-align: start;
}

.copy-toast.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.toast-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toast-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #065f46;
}

.toast-desc {
    font-size: 0.84rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
}

.toast-number {
    font-weight: 800;
    color: #10b981;
}

.toast-close-btn {
    background: none;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
    padding: 0 4px;
    margin-right: -4px;
    transition: color 0.2s ease;
}

.toast-close-btn:hover {
    color: var(--ink);
}

.steps-ordered-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.steps-ordered-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-align: start;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 14px 18px;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--blue);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inline-phone-link {
    display: inline-block;
    color: var(--blue);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.inline-phone-link:hover {
    color: var(--blue-dark);
}

/* Official Beneficiary Box */
.beneficiary-official-box {
    margin: 16px 0 20px 0;
    padding: 16px 20px;
    background: rgba(46, 116, 212, 0.06);
    border: 1px solid rgba(46, 116, 212, 0.2);
    border-radius: 16px;
    text-align: center;
}

.beneficiary-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 4px;
}

.beneficiary-name {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 6px;
}

.beneficiary-hint {
    font-size: 0.84rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

/* Pre-Transfer Verification Alert */
.pre-transfer-alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 24px;
    padding: 16px 20px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 16px;
    text-align: start;
}

.alert-icon-wrap {
    color: #d97706;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-content strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #b45309;
    margin-bottom: 4px;
}

.alert-content p {
    font-size: 0.86rem;
    color: var(--ink);
    margin: 0;
    line-height: 1.6;
}

/* ============================================================
   VODAFONE CASH INSTRUCTIONS & POST-TRANSFER ACTION CTAS (ISSUE #23)
   ============================================================ */

/* Vodafone Cash Instructions List */
.donate-vodafone-instructions {
    margin-top: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px 26px;
    text-align: start;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.donate-vodafone-instructions h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 16px 0;
}

.vodafone-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vodafone-steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(46, 116, 212, 0.03);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 16px;
}

.vodafone-steps-list li p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--ink);
    line-height: 1.6;
}

/* Post-Transfer Action CTAs Box */
.post-transfer-action-box {
    margin-top: 32px;
    background: linear-gradient(180deg, var(--surface) 0%, rgba(46, 116, 212, 0.04) 100%);
    border: 2px solid var(--blue-mid);
    border-radius: 24px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(46, 116, 212, 0.1);
    position: relative;
}

.action-box-header {
    margin-bottom: 24px;
}

.action-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 16px;
    background: var(--blue);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(46, 116, 212, 0.25);
}

.action-box-header h2 {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
}

.action-box-subtitle {
    font-size: 0.95rem;
    color: var(--muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Post-Transfer Buttons Grid */
.post-transfer-buttons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.btn-post-action {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 18px;
    text-decoration: none;
    text-align: start;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid var(--border);
    position: relative;
    background: var(--surface);
    cursor: pointer;
}

.btn-post-action:hover {
    transform: translateY(-3px);
}

.btn-action-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-action-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.btn-action-title {
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.4;
}

.btn-action-desc {
    font-size: 0.82rem;
    line-height: 1.45;
}

.btn-action-arrow {
    font-size: 1.2rem;
    font-weight: 800;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.btn-post-action:hover .btn-action-arrow {
    transform: translateX(-4px);
}

/* Specific button styles */
.btn-post-whatsapp {
    background: rgba(37, 211, 102, 0.08);
    border-color: rgba(37, 211, 102, 0.4);
    color: #128c7e;
}

.btn-post-whatsapp .btn-action-icon {
    background: #25d366;
    color: #ffffff;
}

.btn-post-whatsapp .btn-action-title {
    color: #075e54;
}

.btn-post-whatsapp .btn-action-desc {
    color: #128c7e;
}

.btn-post-whatsapp:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: #25d366;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.2);
}

.btn-post-form {
    background: var(--blue-xs);
    border-color: var(--blue-mid);
    color: var(--blue);
}

.btn-post-form .btn-action-icon {
    background: var(--blue);
    color: #ffffff;
}

.btn-post-form .btn-action-title {
    color: var(--blue-dark);
}

.btn-post-form .btn-action-desc {
    color: var(--blue);
}

.btn-post-form:hover {
    background: rgba(46, 116, 212, 0.12);
    border-color: var(--blue);
    box-shadow: 0 8px 22px rgba(46, 116, 212, 0.2);
}

.btn-post-hotline {
    background: var(--surface);
    border-color: var(--border);
    color: var(--ink);
}

.btn-post-hotline .btn-action-icon {
    background: rgba(46, 116, 212, 0.1);
    color: var(--blue);
}

.btn-post-hotline .btn-action-title {
    color: var(--ink);
}

.btn-post-hotline .btn-action-desc {
    color: var(--muted);
}

.btn-post-hotline:hover {
    border-color: var(--blue);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

/* Required Data Notice & Security Guarantee */
.required-data-notice {
    margin-top: 26px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px 24px;
    text-align: start;
}

.notice-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.notice-icon-box {
    color: #10b981;
    display: flex;
    align-items: center;
}

.notice-header-row h4 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--ink);
}

.notice-columns-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.notice-col-title {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--ink);
}

.clean-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.clean-bullet-list li {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
    position: relative;
    padding-right: 16px;
}

.clean-bullet-list li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: #10b981;
    font-weight: 800;
}

.clean-bullet-list.danger li::before {
    content: "•";
    color: #ef4444;
}

/* 3-Stage Donation Journey Timeline */
.donation-journey-timeline {
    margin-top: 50px;
    text-align: center;
}

.journey-header {
    margin-bottom: 32px;
}

.journey-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--blue-xs);
    color: var(--blue);
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 12px;
}

.journey-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
}

.journey-subhead {
    font-size: 1rem;
    color: var(--muted);
    max-width: 650px;
    margin: 0 auto;
}

.journey-stages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 28px;
}

.journey-stage-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.journey-stage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(46, 116, 212, 0.12);
}

.journey-stage-card.active-flow {
    border-color: var(--blue-mid);
    background: linear-gradient(180deg, var(--surface) 0%, rgba(46, 116, 212, 0.03) 100%);
}

.stage-step-pill {
    position: absolute;
    top: -12px;
    background: var(--blue);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
}

.stage-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--blue-xs);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0 16px 0;
}

.journey-stage-card h3 {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 12px;
}

.journey-stage-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 18px 0;
    flex-grow: 1;
}

.stage-meta {
    width: 100%;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--blue);
}

/* On-Page Donation Confirmation Form */
.donation-confirm-section {
    margin-top: 50px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.confirm-box-header {
    text-align: center;
    margin-bottom: 28px;
}

.confirm-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 10px;
}

.confirm-box-header h3 {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
}

.confirm-box-header p {
    font-size: 0.92rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

.donation-confirm-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: start;
}

.form-field label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink);
}

.required-mark {
    color: #ef4444;
    margin-right: 2px;
}

.optional-hint {
    font-size: 0.8rem;
    font-weight: normal;
    color: var(--muted);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    color: var(--ink);
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(46, 116, 212, 0.15);
}

.form-checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.form-checkbox-wrap input[type="checkbox"] {
    width: 17px;
    height: 17px;
    cursor: pointer;
    accent-color: var(--blue);
}

.form-checkbox-wrap label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    margin: 0;
}

.form-actions-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.btn-submit-donation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--blue);
    color: #ffffff;
    padding: 14px 28px;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit-donation:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(46, 116, 212, 0.3);
}

.btn-whatsapp-receipt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(37, 211, 102, 0.12);
    color: #128c7e;
    border: 1px solid rgba(37, 211, 102, 0.3);
    padding: 13px 22px;
    border-radius: 14px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-whatsapp-receipt:hover {
    background: #25d366;
    color: #ffffff;
    transform: translateY(-2px);
}

.donation-form-feedback {
    margin-top: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    display: none;
    font-size: 0.92rem;
    line-height: 1.6;
    text-align: start;
}

.donation-form-feedback.success {
    display: block;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #065f46;
}

.donation-form-feedback.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #991b1b;
}

.feedback-success-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #047857;
}

.receipt-code {
    background: rgba(6, 95, 70, 0.15);
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    font-family: monospace;
    font-weight: 800;
}

/* Mistake Recovery Guide */
.donation-mistake-guide {
    margin-top: 50px;
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 24px;
    padding: 32px 28px;
    text-align: start;
}

.guide-header {
    text-align: center;
    margin-bottom: 24px;
}

.guide-icon-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 10px;
}

.guide-header h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 6px;
}

.guide-header p {
    font-size: 0.92rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

.mistake-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mistake-step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    position: relative;
}

.mistake-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #d97706;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.mistake-step-card h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
}

.mistake-step-card p {
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

.mistake-phone-link {
    color: var(--blue);
    font-weight: 700;
    text-decoration: underline;
}

/* Trust, Transparency & Privacy Grid */
.trust-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.trust-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 26px 22px;
    text-align: start;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.trust-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--blue-xs);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.trust-card h4 {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 10px;
}

.trust-card p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* Support Pre-Transfer Banner */
.donation-support-banner {
    margin-top: 50px;
    background: linear-gradient(135deg, rgba(46, 116, 212, 0.08) 0%, rgba(46, 116, 212, 0.02) 100%);
    border: 1px solid rgba(46, 116, 212, 0.25);
    border-radius: 24px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    text-align: start;
}

.support-banner-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 6px;
}

.support-banner-content p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
}

.support-banner-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-support-call,
.btn-support-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.btn-support-call {
    background: var(--blue);
    color: #ffffff;
}

.btn-support-call:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
}

.btn-support-whatsapp {
    background: rgba(37, 211, 102, 0.15);
    color: #128c7e;
    border: 1px solid rgba(37, 211, 102, 0.35);
}

.btn-support-whatsapp:hover {
    background: #25d366;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ============================================================
   ISSUE #25 — DONATION PAGE SPACING & NEW SECTIONS
   ============================================================ */

/* Adjust section top-margins to be consistent at 40px instead of 50px */
.donation-journey-timeline,
.donation-confirm-section,
.donation-mistake-guide,
.trust-grid,
.donation-support-banner {
    margin-top: 40px;
}

/* === Donation Allocation / Transparency Section === */
.donation-allocation-section {
    margin-top: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.04);
}

.allocation-header {
    text-align: center;
    margin-bottom: 30px;
}

.allocation-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    background: rgba(46, 116, 212, 0.1);
    color: var(--blue);
    font-size: 0.84rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 12px;
}

.allocation-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
}

.allocation-subtitle {
    font-size: 0.95rem;
    color: var(--muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Progress bar */
.allocation-progress-wrapper {
    margin-bottom: 26px;
}

.allocation-progress-bar {
    display: flex;
    height: 38px;
    border-radius: 14px;
    overflow: hidden;
    gap: 3px;
    margin-bottom: 20px;
}

.progress-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: #ffffff;
    border-radius: 10px;
    transition: flex-basis 0.4s ease;
}

.segment-sessions   { background: linear-gradient(90deg, #1c53a3 0%, #2e74d4 100%); }
.segment-workshops  { background: linear-gradient(90deg, #0d7bc4 0%, #2196f3 100%); }
.segment-awareness  { background: linear-gradient(90deg, #0ea5e9 0%, #38bdf8 100%); }

.segment-pct {
    pointer-events: none;
}

/* Legend */
.progress-legend {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.legend-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.legend-color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}

.dot-sessions   { background: #1c53a3; }
.dot-workshops  { background: #2196f3; }
.dot-awareness  { background: #38bdf8; }

.legend-info strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 3px;
}

.legend-info p {
    font-size: 0.86rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}

/* Impact Tiers */
.impact-tiers-block {
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
}

.impact-tiers-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 20px;
    text-align: center;
}

.impact-tiers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.impact-tier-card {
    background: rgba(46, 116, 212, 0.04);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px 18px;
    text-align: center;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.impact-tier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(46, 116, 212, 0.12);
}

.impact-tier-card.featured {
    background: linear-gradient(180deg, rgba(46, 116, 212, 0.08) 0%, rgba(46, 116, 212, 0.03) 100%);
    border-color: var(--blue-mid);
}

.tier-featured-pill {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.tier-amount-badge {
    display: inline-block;
    background: var(--blue-xs);
    color: var(--blue);
    font-size: 1.1rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.impact-tier-card h4 {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
}

.impact-tier-card p {
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

/* === Donation Trust FAQ Section === */
.donation-trust-faq {
    margin-top: 40px;
    padding: 36px 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.04);
}

.trust-faq-header {
    text-align: center;
    margin-bottom: 28px;
}

.trust-faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    font-size: 0.84rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 12px;
}

.trust-faq-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
}

.trust-faq-subtitle {
    font-size: 0.95rem;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.trust-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.trust-faq-item {
    background: rgba(16, 185, 129, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 18px;
    padding: 22px 20px;
}

.faq-question-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.faq-q-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    font-size: 1.1rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.faq-question-row h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
    margin: 0;
    line-height: 1.45;
}

.faq-answer {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
    padding-right: 40px;
}

/* === Donation Bottom CTA Bar === */
.donation-bottom-cta {
    margin-top: 40px;
    background: linear-gradient(135deg, var(--blue) 0%, #1c53a3 100%);
    border-radius: 24px;
    padding: 40px 36px;
    margin-bottom: 8px;
    box-shadow: 0 12px 40px rgba(28, 83, 163, 0.25);
    overflow: hidden;
    position: relative;
}

.donation-bottom-cta::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.bottom-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    position: relative;
    z-index: 1;
}

.bottom-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 12px;
}

.bottom-cta-content h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.35;
}

.bottom-cta-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 580px;
    line-height: 1.7;
}

.bottom-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    min-width: 240px;
}

.btn-bottom-wallet,
.btn-bottom-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
    text-align: center;
}

.btn-bottom-wallet {
    background: rgba(255, 255, 255, 0.95);
    color: var(--blue-dark);
}

.btn-bottom-wallet:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

.btn-bottom-whatsapp {
    background: #25d366;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-bottom-whatsapp:hover {
    background: #22c55e;
    transform: translateY(-2px);
}

/* Dark Mode Overrides — Issue #59 */
body.dark-mode .donate-card-highlight {
    background: var(--color-surface);
    border-color: var(--color-border-focus);
}

body.dark-mode .wallet-badge {
    background: var(--color-info-bg);
    color: var(--color-info);
}

body.dark-mode .donate-phone-link {
    color: var(--color-info);
}

body.dark-mode .btn-donate-secondary.call {
    background: var(--color-btn-secondary-bg);
    border-color: var(--color-btn-secondary-border);
    color: var(--color-btn-secondary-text);
}

body.dark-mode .btn-donate-secondary.call:hover {
    background: var(--color-btn-secondary-hover-bg);
    color: var(--color-btn-secondary-hover-text);
}

body.dark-mode .beneficiary-official-box {
    background: var(--color-info-bg);
    border-color: var(--color-info-border);
}

body.dark-mode .beneficiary-name {
    color: var(--color-text-primary);
}

body.dark-mode .pre-transfer-alert {
    background: var(--color-warning-bg);
    border-color: var(--color-warning-border);
}

body.dark-mode .alert-content strong {
    color: var(--color-warning);
}

body.dark-mode .journey-stage-card,
body.dark-mode .donation-confirm-section,
body.dark-mode .mistake-step-card,
body.dark-mode .trust-card {
    background: var(--color-surface);
    border-color: var(--color-border);
}

body.dark-mode .journey-stage-card.active-flow {
    background: var(--color-surface-elevated);
    border-color: var(--color-border-focus);
}

body.dark-mode .form-input,
body.dark-mode .form-select,
body.dark-mode .form-textarea {
    background: var(--color-input-bg);
    border-color: var(--color-input-border);
    color: var(--color-input-text);
}

body.dark-mode .form-input:focus,
body.dark-mode .form-select:focus,
body.dark-mode .form-textarea:focus {
    border-color: var(--color-border-focus);
    box-shadow: var(--shadow-focus);
}

body.dark-mode .btn-donate-primary,
body.dark-mode .btn-submit-donation {
    background: var(--color-cta-bg);
    color: var(--color-cta-text);
}

body.dark-mode .btn-donate-primary:hover,
body.dark-mode .btn-submit-donation:hover {
    background: var(--color-cta-hover-bg);
}

body.dark-mode .btn-donate-primary:disabled,
body.dark-mode .btn-submit-donation:disabled {
    background: var(--color-cta-disabled-bg);
    color: var(--color-cta-disabled-text);
    cursor: not-allowed;
}

body.dark-mode .donation-mistake-guide {
    background: var(--color-warning-bg);
    border-color: var(--color-warning-border);
}

body.dark-mode .guide-icon-pill {
    background: var(--color-warning-border);
    color: var(--color-warning);
}

body.dark-mode .donation-support-banner {
    background: var(--color-surface-subtle);
    border-color: var(--color-border);
}

body.dark-mode .donation-form-feedback.success {
    background: var(--color-success-bg);
    color: var(--color-success);
    border: 1px solid var(--color-success-border);
}

body.dark-mode .receipt-code {
    background: var(--color-surface-subtle);
    color: var(--color-success);
    border: 1px solid var(--color-success-border);
}

body.dark-mode .donate-vodafone-instructions {
    background: var(--color-surface-subtle);
    border-color: var(--color-border);
}

body.dark-mode .vodafone-steps-list li {
    background: var(--color-surface);
    border-color: var(--color-border);
}

body.dark-mode .post-transfer-action-box {
    background: var(--color-surface-elevated);
    border-color: var(--color-border);
}

body.dark-mode .btn-post-action {
    background: var(--color-surface);
    border-color: var(--color-border);
}

body.dark-mode .btn-post-action:hover {
    background: var(--color-surface-subtle);
    border-color: var(--color-border-focus);
}

body.dark-mode .btn-post-whatsapp {
    background: rgba(37, 211, 102, 0.12);
    border-color: rgba(37, 211, 102, 0.35);
}

body.dark-mode .btn-post-whatsapp .btn-action-title {
    color: #34d399;
}

body.dark-mode .btn-post-whatsapp .btn-action-desc {
    color: #6ee7b7;
}

body.dark-mode .btn-post-form {
    background: var(--color-btn-secondary-bg);
    border-color: var(--color-btn-secondary-border);
}

body.dark-mode .btn-post-form .btn-action-title {
    color: var(--color-btn-secondary-text);
}

body.dark-mode .btn-post-form .btn-action-desc {
    color: var(--color-info);
}

body.dark-mode .btn-post-hotline .btn-action-title {
    color: var(--color-text-primary);
}

body.dark-mode .required-data-notice {
    background: var(--color-surface-subtle);
    border-color: var(--color-border);
}

body.dark-mode .copy-feedback-banner {
    background: var(--color-success-bg);
    color: var(--color-success);
    border-color: var(--color-success-border);
}

body.dark-mode .copy-toast {
    background: var(--color-surface-elevated);
    border-color: var(--color-success);
    box-shadow: var(--shadow-lg);
}

body.dark-mode .toast-title {
    color: var(--color-success);
}

body.dark-mode .manual-copy-fallback {
    background: var(--color-surface-subtle);
    border-color: var(--color-border);
}

/* Responsive adjustments for Donate Page */
@media (max-width: 768px) {
    .post-transfer-buttons-grid,
    .notice-columns-grid,
    .journey-stages-grid,
    .form-row-grid,
    .mistake-steps-grid,
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .btn-post-action {
        padding: 14px 16px;
    }

    .post-transfer-action-box {
        padding: 24px 18px;
    }

    .form-actions-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-submit-donation,
    .btn-whatsapp-receipt {
        width: 100%;
    }

    .donation-support-banner {
        flex-direction: column;
        text-align: center;
    }

    .support-banner-actions {
        width: 100%;
        flex-direction: column;
    }

    .btn-support-call,
    .btn-support-whatsapp {
        width: 100%;
        justify-content: center;
    }

    .donation-confirm-section {
        padding: 24px 18px;
    }

    /* New sections responsive */
    .impact-tiers-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .trust-faq-grid {
        grid-template-columns: 1fr;
    }

    .donation-allocation-section,
    .donation-trust-faq {
        padding: 24px 18px;
    }

    .bottom-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .bottom-cta-actions {
        width: 100%;
    }

    .btn-bottom-wallet,
    .btn-bottom-whatsapp {
        width: 100%;
        justify-content: center;
    }
}

/* Dark mode for new sections (Issue #25) */
body.dark-mode .donation-allocation-section,
body.dark-mode .donation-trust-faq {
    background: rgba(18, 30, 48, 0.75);
    border-color: var(--border);
}

body.dark-mode .impact-tier-card {
    background: rgba(18, 30, 48, 0.65);
    border-color: var(--border);
}

body.dark-mode .impact-tier-card.featured {
    background: linear-gradient(180deg, rgba(46, 116, 212, 0.15) 0%, rgba(18, 30, 48, 0.7) 100%);
    border-color: var(--blue-mid);
}

body.dark-mode .tier-amount-badge {
    background: rgba(58, 123, 213, 0.2);
    color: var(--blue-lt);
}

body.dark-mode .trust-faq-item {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.25);
}

body.dark-mode .trust-faq-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

body.dark-mode .faq-q-icon {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

/* Particles */
.hero .container {
    position: relative;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 116, 212, 0.35) 0%, transparent 70%);
    animation: particleDrift linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes particleDrift {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-120vh) scale(1.4);
        opacity: 0;
    }
}

/* Scroll reveal base — Graceful Enhancement */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s cubic-bezier(.22, 1, .36, 1), transform 0.7s cubic-bezier(.22, 1, .36, 1);
}

.js-loaded .reveal:not(.visible) {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.reveal-stagger>* {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s cubic-bezier(.22, 1, .36, 1), transform 0.6s cubic-bezier(.22, 1, .36, 1);
}

.js-loaded .reveal-stagger:not(.visible)>* {
    opacity: 0;
    transform: translateY(25px);
}

.reveal-stagger.visible>* {
    opacity: 1 !important;
    transform: none !important;
}

.reveal-stagger.visible>*:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible>*:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger.visible>*:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible>*:nth-child(4) { transition-delay: 0.20s; }
.reveal-stagger.visible>*:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.visible>*:nth-child(6) { transition-delay: 0.30s; }

@media (prefers-reduced-motion: reduce), print {
    .reveal,
    .reveal-stagger>*,
    .reveal.visible,
    .reveal-stagger.visible>*,
    .js-loaded .reveal:not(.visible),
    .js-loaded .reveal-stagger:not(.visible)>* {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Ripple effect */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn .ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

/* Scroll shadow */
header.scrolled {
    box-shadow: 0 4px 24px rgba(28, 83, 163, 0.15);
    border-bottom-color: var(--blue-mid);
}

body.dark-mode header.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    border-bottom-color: var(--border);
}

/* Scroll to top button */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    inset-inline-end: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-mid));
    color: white;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(.22, 1, .36, 1);
    z-index: 999;
    box-shadow: 0 8px 20px rgba(28, 83, 163, 0.3);
}

#scrollTopBtn.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

#scrollTopBtn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 12px 28px rgba(28, 83, 163, 0.4);
}

/* Donate pulse */
@keyframes donatePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(28, 83, 163, 0.15);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(28, 83, 163, 0);
    }
}

.donate-container {
    animation: donatePulse 3s ease-in-out infinite, fadeUp 0.8s ease both;
    transition: transform 0.3s ease;
}

.donate-container:hover {
    transform: translateY(-5px);
}

.donate-number {
    position: relative;
    overflow: hidden;
}

.donate-number::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2.5s ease-in-out infinite;
    border-radius: 60px;
}

@keyframes shimmer {
    0% {
        transform: translateX(100%) skewX(-12deg);
    }

    100% {
        transform: translateX(-200%) skewX(-12deg);
    }
}

/* =============================================
   UNIFIED CONTENT-DRIVEN RESPONSIVE ARCHITECTURE
   Breakpoints:
   - Wide Desktop: >= 1281px
   - Desktop: 1025px - 1280px
   - Tablets & Medium Screens: 768px - 1024px (Balanced 2-3 col layouts)
   - Phablets / Large Phones: 480px - 767px
   - Compact Mobile: < 480px
   ============================================= */

/* 1. Global Fluid Typography & Spacing Foundations */
:root {
    --container-padding: clamp(16px, 3.5vw, 32px);
    --section-spacing: clamp(40px, 6vw, 80px);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section, .about, .activities-list, .core-values, .gallery, .faq-section {
    padding: var(--section-spacing) 0;
}

.section-title {
    font-size: clamp(1.45rem, 2.5vw + 0.75rem, 2.25rem);
    margin-bottom: clamp(24px, 4vw, 42px);
}

.page-header {
    padding: clamp(36px, 6vw, 60px) 0;
}

.page-header h1 {
    font-size: clamp(1.6rem, 3.5vw + 0.8rem, 2.5rem);
}

/* 2. Tablets & Medium Screens (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .navbar {
        padding: 12px 0;
    }

    .about-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .services-pillars-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .about-card {
        padding: 24px;
    }

    .about-card h3 {
        font-size: 1.4rem;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .stat-card {
        padding: 20px 16px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .activities-grid,
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .value-card {
        padding: 18px 14px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .gallery-image-wrapper,
    .gallery-card img {
        height: 200px;
    }

    .contact-wrapper {
        flex-direction: row;
        padding: 30px;
        gap: 30px;
        margin: 36px 0;
    }

    .contact-info,
    .contact-form {
        flex: 1;
        min-width: 0;
    }

    .donate-card-highlight {
        max-width: 680px;
        margin: 0 auto 30px;
        padding: 28px 24px;
    }

    .donate-actions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: start;
    }

    .footer-contact-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 14px;
    }

    .partner-card {
        width: 130px;
    }
}

/* 3. Phablets & Large Phones (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-card {
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-card {
        padding: 16px 12px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .activities-grid,
    .cards-grid,
    .services-pillars-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .gallery-image-wrapper,
    .gallery-card img {
        height: 190px;
    }

    .contact-wrapper {
        flex-direction: column;
        padding: 24px;
        margin: 28px 0;
        gap: 24px;
    }

    .donate-actions-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .donate-card-highlight {
        padding: 24px 18px;
    }

    .footer-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 20px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-contact-block {
        align-items: center;
    }

    .footer-contact-links {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .footer-contact-link {
        width: 100%;
        justify-content: center;
    }

    .partner-card {
        width: 120px;
    }
}

/* 4. Compact Mobile (< 480px) */
@media (max-width: 479px) {
    .navbar {
        padding: 10px 0;
    }

    .logo img {
        width: 36px;
        height: 36px;
    }

    .logo-title {
        font-size: 1.15rem;
    }

    .logo-badge {
        font-size: 0.65rem;
    }

    .mobile-quick-support-btn {
        padding: 6px 10px;
        font-size: 0.78rem;
    }

    .about-grid,
    .activities-grid,
    .cards-grid,
    .gallery-grid,
    .services-pillars-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-card,
    .pillar-card {
        padding: 18px 14px;
    }

    .about-scope-notice {
        flex-direction: column;
        gap: 10px;
        padding: 16px 14px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 14px 10px;
        border-radius: 20px;
    }

    .stat-number {
        font-size: 1.45rem;
    }

    .stat-label {
        font-size: 0.78rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .value-card {
        padding: 16px;
        border-radius: 18px;
    }

    .contact-wrapper {
        flex-direction: column;
        padding: 18px 14px;
        margin: 20px 0;
        border-radius: 24px;
        gap: 20px;
    }

    .contact-form {
        padding: 16px 12px;
        border-radius: 20px;
    }

    .contact-item-card {
        padding: 16px 12px;
        flex-direction: column;
        align-items: stretch;
    }

    .contact-item-actions {
        width: 100%;
        flex-direction: column;
    }

    .btn-action-pill {
        width: 100%;
        justify-content: center;
    }

    .donation-number-row {
        flex-direction: column;
        align-items: stretch;
    }

    .donation-actions-group {
        width: 100%;
        flex-direction: column;
    }

    .donate-actions-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .donate-phone-link {
        font-size: 1.5rem;
    }

    .btn-donate-primary,
    .btn-donate-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
    }

    .footer-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 18px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-contact-links {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .footer-contact-link {
        width: 100%;
        justify-content: center;
        padding: 12px 14px;
    }

    .gallery-image-wrapper,
    .gallery-card img {
        height: 160px;
    }

    .partner-card {
        width: 100px;
    }

    .partner-card img {
        height: 44px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.88rem;
    }
}

/* 5. Wide Desktops (>= 1281px) */
@media (min-width: 1281px) {
    .container {
        max-width: 1280px;
    }

    .stats-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========== REDESIGNED PREMIUM HERO SECTION (Calm, Trustworthy, Modern) ========== */
.hero-wrapper {
    position: relative;
    width: 100%;
    min-height: auto;
    padding-block: clamp(68px, 11vh, 116px) clamp(64px, 10vh, 104px);
    overflow: hidden;
    background: radial-gradient(ellipse 130% 90% at 50% -10%, #050d18 0%, #08162b 45%, #0b1f3c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
    box-sizing: border-box;
}

@media (min-width: 1025px) {
    .hero-wrapper {
        min-height: clamp(500px, 65vh, 660px);
        padding-block: clamp(76px, 12vh, 124px) clamp(72px, 10vh, 108px);
    }
}

/* Subtle Ambient Glow Layers for Emotional Depth & Safety */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(50px);
    -webkit-filter: blur(50px);
}

.hero-glow-primary {
    width: clamp(280px, 50vw, 680px);
    height: clamp(280px, 50vw, 680px);
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(28, 83, 163, 0.08) 55%, transparent 75%);
    animation: glowBreathing 9s ease-in-out infinite alternate;
}

.hero-glow-secondary {
    width: clamp(200px, 35vw, 440px);
    height: clamp(200px, 35vw, 440px);
    top: 32%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0%, transparent 65%);
}

@keyframes glowBreathing {
    0% {
        opacity: 0.65;
        transform: translate(-50%, -50%) scale(0.94);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.08);
    }
}

/* Large, Rich Illuminated Lower Horizon Glow */
.hero-lower-horizon {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: clamp(200px, 38vh, 360px);
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(ellipse 85% 65% at 50% 100%, rgba(37, 99, 235, 0.42) 0%, rgba(29, 78, 216, 0.26) 38%, rgba(11, 31, 60, 0.10) 70%, transparent 100%);
    filter: blur(16px);
    -webkit-filter: blur(16px);
    animation: horizonShimmer 10s ease-in-out infinite alternate;
}

@keyframes horizonShimmer {
    0% {
        opacity: 0.85;
        transform: scaleY(0.95);
    }
    100% {
        opacity: 1;
        transform: scaleY(1.06);
    }
}

/* Subtle Wave Decorative Layer */
.hero-subtle-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: clamp(70px, 12vw, 135px);
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.95;
}

.hero-subtle-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Hero Central Content Layout */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-inline: clamp(16px, 4vw, 32px);
    max-width: 820px;
    margin-inline: auto;
    width: 100%;
    box-sizing: border-box;
}

/* Mowagda Transparent Logo Emblem */
.hero-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.hero-emblem-img {
    width: auto;
    height: clamp(52px, 7vw, 70px);
    max-width: 100%;
    object-fit: contain;
    background: transparent !important;
    filter: drop-shadow(0 4px 18px rgba(37, 99, 235, 0.45));
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-emblem-img:hover {
    transform: scale(1.05);
}

/* Brand Identity Tag */
.hero-brand-tag {
    font-family: 'Cinzel', 'Cairo', serif;
    font-size: clamp(0.85rem, 1.3vw, 1.05rem);
    font-weight: 700;
    letter-spacing: 5px;
    color: #93c5fd;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.95;
    text-shadow: 0 0 12px rgba(37, 99, 235, 0.35);
}

/* Main Title: "من أجل الإنسانية" */
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 16px 0;
    letter-spacing: -0.3px;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.55), 0 0 40px rgba(37, 99, 235, 0.3);
    max-width: 95%;
}

/* Subtitle: "مساحة آمنة للدعم النفسي والنمو الشخصي" */
.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 500;
    color: #cbd5e1;
    line-height: 1.8;
    margin: 0 0 34px 0;
    max-width: 620px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

/* Premium Inviting CTA Button: "ابدأ رحلتك" */
.hero-cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 4px;
    z-index: 5;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
    border: 1.5px solid rgba(224, 242, 254, 0.65);
    color: #ffffff !important;
    padding: 15px 44px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 28px -4px rgba(37, 99, 235, 0.6), 0 4px 12px rgba(15, 23, 42, 0.4), inset 0 1.5px 1px rgba(255, 255, 255, 0.5);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s ease, border-color 0.25s ease;
    min-height: 54px;
    box-sizing: border-box;
}

.hero-cta-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    border-color: #ffffff;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 14px 38px -4px rgba(37, 99, 235, 0.75), 0 6px 18px rgba(15, 23, 42, 0.45), inset 0 2px 2px rgba(255, 255, 255, 0.7);
}

.hero-cta-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
}

.hero-cta-btn i {
    font-size: 0.95rem;
    transition: transform 0.25s ease;
}

.hero-cta-btn:hover i {
    transform: translateY(3px);
}

.hero-cta-btn:focus-visible {
    outline: 3px solid #60a5fa !important;
    outline-offset: 3px !important;
}

/* Mobile & Tablet Fine-tuning */
@media (max-width: 640px) {
    .hero-wrapper {
        padding-block: 56px 52px;
    }
    .hero-content {
        gap: 0;
    }
    .hero-title {
        font-size: 1.85rem;
        margin-bottom: 12px;
    }
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 28px;
    }
    .hero-cta-btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 32px;
        font-size: 1.05rem;
    }
}



body.dark-mode .hero-wrapper {
    background: linear-gradient(180deg, #050e1a 0%, #081325 50%, #0b1a30 100%);
}

body.dark-mode .hero-btn-primary {
    background: #ffffff;
    color: #061329;
    border: 2px solid #ffffff;
}

body.dark-mode .hero-btn-primary:hover {
    background: #dbeafe;
    border-color: #dbeafe;
    color: #061329;
}

body.dark-mode .hero-overlay {
    background: radial-gradient(ellipse at 50% 45%, rgba(11, 19, 32, 0.75) 0%, rgba(15, 23, 42, 0.9) 100%);
}

body.dark-mode .bg-white {
    background-color: var(--color-surface) !important;
}

body.dark-mode .bg-slate-50 {
    background-color: var(--color-surface-subtle) !important;
}

body.dark-mode .bg-gradient-to-br.from-blue-100 {
    --tw-gradient-from: var(--color-surface);
    --tw-gradient-to: var(--color-surface-subtle);
}

body.dark-mode .text-slate-900 {
    color: var(--color-text-primary) !important;
}

body.dark-mode .text-slate-800 {
    color: var(--color-text-primary) !important;
}

body.dark-mode .text-slate-700 {
    color: var(--color-text-secondary) !important;
}

body.dark-mode .text-slate-600 {
    color: var(--color-text-secondary) !important;
}

body.dark-mode .text-slate-500 {
    color: var(--color-text-secondary) !important;
}

body.dark-mode .text-slate-400 {
    color: var(--color-text-muted) !important;
}

body.dark-mode .border-slate-200,
body.dark-mode .border-slate-100 {
    border-color: var(--color-border) !important;
}

body.dark-mode .hover\:border-slate-300:hover {
    border-color: var(--color-border-focus) !important;
}

body.dark-mode .hover\:shadow-md:hover {
    box-shadow: var(--shadow-md) !important;
}

body.dark-mode .bg-slate-100 {
    background-color: var(--color-surface-subtle) !important;
}

body.dark-mode .bg-blue-50 {
    background-color: var(--color-info-bg) !important;
}

body.dark-mode .text-blue-dark {
    color: var(--color-info) !important;
}

body.dark-mode .border-blue-100,
body.dark-mode .border-blue-200 {
    border-color: var(--color-info-border) !important;
}

body.dark-mode .from-blue-50 {
    --tw-gradient-from: var(--color-surface) !important;
}

body.dark-mode .to-blue-100 {
    --tw-gradient-to: var(--color-surface-subtle) !important;
}

body.dark-mode .from-slate-100 {
    --tw-gradient-from: var(--color-surface-subtle) !important;
}

body.dark-mode .to-blue-50 {
    --tw-gradient-to: var(--color-info-bg) !important;
}

body.dark-mode .via-slate-50 {
    --tw-gradient-via: var(--color-surface) !important;
}

body.dark-mode .hover\:bg-slate-50:hover {
    background-color: var(--color-surface-subtle) !important;
}

body.dark-mode .shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

body.dark-mode .hover\:shadow-md:hover {
    box-shadow: var(--shadow-md) !important;
}

body.dark-mode .prose,
body.dark-mode .prose-slate {
    color: var(--color-text-primary);
}

body.dark-mode .prose-p\:text-slate-700 p,
body.dark-mode .article-rich-body p {
    color: var(--color-text-secondary) !important;
}

body.dark-mode .prose-strong\:text-slate-900 strong,
body.dark-mode .article-rich-body strong {
    color: var(--color-text-primary) !important;
}

body.dark-mode .prose-li\:text-slate-700 li,
body.dark-mode .article-rich-body li {
    color: var(--color-text-secondary) !important;
}

/* Blog Specific Dark Mode Components — Issue #59 */
body.dark-mode .article-share-bar-top {
    background-color: var(--color-surface-subtle) !important;
    border-color: var(--color-border) !important;
    box-shadow: var(--shadow-sm);
}

body.dark-mode #articleTocContainer {
    background-color: var(--color-surface-subtle) !important;
    border-color: var(--color-border) !important;
    box-shadow: var(--shadow-sm);
}

body.dark-mode #articleTocContainer a {
    color: var(--color-text-secondary) !important;
}

body.dark-mode #articleTocContainer a:hover {
    color: var(--color-info) !important;
}

body.dark-mode .article-scientific-review,
body.dark-mode section[aria-label*="المراجعة العلمية"] {
    background: var(--color-surface) !important;
    border-color: var(--color-border) !important;
}

body.dark-mode .empty-state-card {
    background: var(--color-surface) !important;
    border-color: var(--color-border) !important;
    box-shadow: var(--shadow-sm);
}

body.dark-mode .empty-state-title {
    color: var(--color-text-primary) !important;
}

body.dark-mode .empty-state-desc {
    color: var(--color-text-secondary) !important;
}

body.dark-mode .empty-state-icon-wrap {
    background: var(--color-surface-subtle) !important;
    color: var(--color-info) !important;
}

body.dark-mode .article-breadcrumb a {
    color: var(--color-text-secondary) !important;
}

body.dark-mode .article-breadcrumb a:hover {
    color: var(--color-info) !important;
}

/* Numeric Pagination & Reading CTAs in Dark Mode */
body.dark-mode nav[aria-label*="صفحات المقالات"] a {
    background-color: var(--color-surface) !important;
    border-color: var(--color-border) !important;
    color: var(--color-text-primary) !important;
}

body.dark-mode nav[aria-label*="صفحات المقالات"] a:hover {
    background-color: var(--color-surface-subtle) !important;
    color: var(--color-info) !important;
}

body.dark-mode nav[aria-label*="صفحات المقالات"] span[aria-disabled="true"] {
    background-color: var(--color-surface-subtle) !important;
    border-color: var(--color-border) !important;
    color: var(--color-text-muted) !important;
}

body.dark-mode a[aria-label*="اقرأ المقال"] {
    background-color: var(--color-info-bg) !important;
    border-color: var(--color-info-border) !important;
    color: var(--color-info) !important;
}

body.dark-mode a[aria-label*="اقرأ المقال"]:hover {
    background-color: var(--color-btn-secondary-hover-bg) !important;
    color: var(--color-text-primary) !important;
}

/* Reading progress bar */
#reading-progress {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--blue-mid));
    z-index: 9999;
    transition: width 0.1s linear;
}

body.dark-mode #reading-progress {
    background: linear-gradient(90deg, var(--blue-mid), var(--blue-lt));
}

/* Support page specific */
.support-hero {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-mid) 100%);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.support-hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2.5rem;
    border-radius: 60px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.3);
}

.reassure-box {
    background: rgba(28, 83, 163, 0.08);
    border-inline-start: 4px solid var(--blue-mid);
    padding: 1.5rem;
    border-radius: 20px;
    margin: 2rem 0;
    text-align: center;
}

.service-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.service-badge {
    background: var(--blue-xs);
    color: var(--blue-dark);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 500;
    transition: 0.2s;
}

body.dark-mode .service-badge {
    background: rgba(58, 123, 213, 0.25);
    color: var(--blue-lt);
    border: 1px solid rgba(90, 155, 224, 0.3);
}

body.dark-mode .reassure-box {
    background: rgba(58, 123, 213, 0.1);
}

body.dark-mode .about-services-title {
    color: var(--ink);
}

body.dark-mode .about-services-subtitle {
    color: var(--mist);
}

body.dark-mode .pillar-card {
    background: var(--card-bg);
    border-color: var(--border);
}

body.dark-mode .pillar-card:hover {
    border-color: var(--blue-mid);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

body.dark-mode .pillar-icon {
    background: rgba(46, 116, 212, 0.18);
    color: var(--blue-mid);
}

body.dark-mode .pillar-card:hover .pillar-icon {
    background: var(--blue-mid);
    color: #061329;
}

body.dark-mode .pillar-card h4 {
    color: var(--ink);
}

body.dark-mode .pillar-card p {
    color: var(--mist);
}

body.dark-mode .pillar-link {
    color: var(--blue-mid);
}

body.dark-mode .pillar-link:hover {
    color: #ffffff;
}

body.dark-mode .about-scope-notice {
    background: rgba(18, 30, 48, 0.85);
    border-color: rgba(96, 165, 250, 0.3);
}

body.dark-mode .about-scope-notice .notice-icon {
    color: #60a5fa;
}

body.dark-mode .about-scope-notice .notice-text {
    color: #cbd5e1;
}

body.dark-mode .about-scope-notice .notice-text strong {
    color: #93c5fd;
}

body.dark-mode .stats-date-pill {
    background: rgba(46, 116, 212, 0.2);
    border-color: rgba(96, 165, 250, 0.3);
    color: #93c5fd;
}

body.dark-mode .stats-date-pill .ui-svg-icon {
    color: #60a5fa;
}

body.dark-mode .stats-source-note {
    color: var(--mist);
}

body.dark-mode .stat-icon {
    background: rgba(46, 116, 212, 0.2);
    color: var(--blue-mid);
}

body.dark-mode .stat-card:hover .stat-icon {
    background: var(--blue-mid);
    color: #061329;
}

body.dark-mode .stat-source {
    border-top-color: var(--border);
    color: var(--mist);
}

body.dark-mode .stats-methodology-footer {
    background: rgba(18, 30, 48, 0.75);
    border-color: var(--border);
    color: #cbd5e1;
}

body.dark-mode .stats-methodology-footer .ui-svg-icon {
    color: #60a5fa;
}

body.dark-mode .activity-top-row h3 {
    color: var(--ink);
}

body.dark-mode .activity-desc {
    color: var(--ink);
}

body.dark-mode .activity-meta-list {
    background: var(--color-surface-subtle);
    border-color: var(--color-border);
}

body.dark-mode .activity-meta-item .meta-icon {
    color: var(--color-info);
}

body.dark-mode .activity-meta-item .meta-label {
    color: var(--color-text-primary);
}

body.dark-mode .activity-meta-item .meta-val {
    color: var(--color-text-secondary);
}

body.dark-mode .btn-activity-details {
    border-color: var(--color-btn-secondary-border);
    color: var(--color-btn-secondary-text);
    background: var(--color-btn-secondary-bg);
}

body.dark-mode .btn-activity-details:hover {
    background: var(--color-btn-secondary-hover-bg);
    color: var(--color-btn-secondary-hover-text);
}

body.dark-mode .btn-activity-register {
    background: var(--color-cta-bg);
    color: var(--color-cta-text) !important;
    box-shadow: var(--shadow-sm);
}

body.dark-mode .btn-activity-register:hover {
    background: var(--color-cta-hover-bg);
    box-shadow: var(--shadow-md);
}

/* ==================== Unified SVG Icon System & Component Alignments ==================== */
.ui-svg-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    transition: transform 0.2s ease, stroke 0.2s ease;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-badge .ui-svg-icon {
    color: var(--blue-mid);
}

body.dark-mode .service-badge .ui-svg-icon {
    color: var(--blue-lt);
}

.activity-item h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity-item h3 .ui-svg-icon {
    color: var(--blue-mid);
}

.card-icon-header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--blue-xs);
    color: var(--blue-mid);
    margin-bottom: 16px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.card:hover .card-icon-header {
    transform: scale(1.08);
    background: rgba(46, 116, 212, 0.15);
    color: var(--blue-dark);
}

body.dark-mode .card-icon-header {
    background: rgba(58, 123, 213, 0.2);
    color: var(--blue-lt);
}

body.dark-mode .card:hover .card-icon-header {
    background: rgba(58, 123, 213, 0.35);
    color: #ffffff;
}

.btn-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.donate-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.donate-header-badge .ui-svg-icon {
    color: var(--blue-mid);
}

.donate-steps h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.donate-steps-icon {
    color: var(--blue-mid);
}

.footer-brand-icon {
    color: var(--blue-mid);
    vertical-align: middle;
}

/* ==================== WCAG Accessible Focus Visible System (Level AA/AAA) — Issue #59 ==================== */
/* 1. Global High-Contrast Keyboard Focus Indicator */
:focus-visible {
    outline: 3px solid var(--color-border-focus) !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 2px var(--color-surface), 0 0 10px rgba(28, 83, 163, 0.45) !important;
    border-radius: 6px;
}

body.dark-mode :focus-visible {
    outline: 3px solid var(--color-border-focus) !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 2px var(--color-surface), 0 0 12px rgba(96, 165, 250, 0.6) !important;
}

/* 2. Suppress outline only on pointer/mouse focus, preserving keyboard focus-visible */
:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none;
}

/* 3. Rounded & Pill Buttons Focus Rings (inheriting border radius & proper offset) */
.btn:focus-visible,
.btn-card:focus-visible,
.header-cta:focus-visible,
.mobile-cta-btn:focus-visible,
.mobile-drawer-cta:focus-visible,
.theme-toggle:focus-visible,
.menu-toggle:focus-visible,
.copy-trigger-btn:focus-visible,
.share-action-btn:focus-visible,
.modal-close-btn:focus-visible,
.whatsapp-btn:focus-visible,
.btn-donate-primary:focus-visible,
.btn-donate-secondary:focus-visible,
.hero-btn:focus-visible,
.btn-activity-details:focus-visible,
.btn-activity-register:focus-visible {
    outline: 3px solid var(--color-border-focus) !important;
    outline-offset: 4px !important;
    border-radius: inherit !important;
}

body.dark-mode .btn:focus-visible,
body.dark-mode .btn-card:focus-visible,
body.dark-mode .header-cta:focus-visible,
body.dark-mode .mobile-cta-btn:focus-visible,
body.dark-mode .mobile-drawer-cta:focus-visible,
body.dark-mode .theme-toggle:focus-visible,
body.dark-mode .menu-toggle:focus-visible,
body.dark-mode .copy-trigger-btn:focus-visible,
body.dark-mode .share-action-btn:focus-visible,
body.dark-mode .modal-close-btn:focus-visible,
body.dark-mode .whatsapp-btn:focus-visible,
body.dark-mode .btn-donate-primary:focus-visible,
body.dark-mode .btn-donate-secondary:focus-visible,
body.dark-mode .hero-btn:focus-visible,
body.dark-mode .btn-activity-details:focus-visible,
body.dark-mode .btn-activity-register:focus-visible {
    outline: 3px solid var(--color-border-focus) !important;
    box-shadow: 0 0 0 2px var(--color-surface), 0 0 14px rgba(147, 197, 253, 0.7) !important;
}

/* 4. Navigation Links, Drawer Links, Cards, and Footer Links */
.nav-link:focus-visible,
.mobile-nav-item:focus-visible,
.mobile-secondary-card:focus-visible,
.footer-contact-link:focus-visible,
.footer-links a:focus-visible,
.donate-phone-link:focus-visible,
.inline-phone-link:focus-visible,
.contact-item-card a:focus-visible,
.pillar-link:focus-visible {
    outline: 2.5px solid var(--color-border-focus) !important;
    outline-offset: 3px !important;
    border-radius: 8px !important;
}

body.dark-mode .nav-link:focus-visible,
body.dark-mode .mobile-nav-item:focus-visible,
body.dark-mode .mobile-secondary-card:focus-visible,
body.dark-mode .footer-contact-link:focus-visible,
body.dark-mode .footer-links a:focus-visible,
body.dark-mode .donate-phone-link:focus-visible,
body.dark-mode .inline-phone-link:focus-visible,
body.dark-mode .contact-item-card a:focus-visible,
body.dark-mode .pillar-link:focus-visible {
    outline: 2.5px solid var(--color-border-focus) !important;
}

/* 5. Accessible Form Fields & Controls */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-border-focus) !important;
    outline-offset: 1px !important;
    border-color: var(--color-border-focus) !important;
    box-shadow: var(--shadow-focus) !important;
}

body.dark-mode input:focus-visible,
body.dark-mode textarea:focus-visible,
body.dark-mode select:focus-visible {
    outline: 2px solid var(--color-border-focus) !important;
    border-color: var(--color-border-focus) !important;
    box-shadow: var(--shadow-focus) !important;
}

/* 6. Contextual Elevation on Interactive Cards When Keyboard-Focused */
.card:focus-within,
.value-card:focus-within,
.activity-item:focus-within,
.contact-item-card:focus-within,
.pillar-card:focus-within {
    border-color: var(--color-border-focus);
    box-shadow: var(--shadow-md);
}

body.dark-mode .card:focus-within,
body.dark-mode .value-card:focus-within,
body.dark-mode .activity-item:focus-within,
body.dark-mode .contact-item-card:focus-within,
body.dark-mode .pillar-card:focus-within {
    border-color: var(--color-border-focus);
    box-shadow: var(--shadow-md);
}

/* 7. Unified Disabled State for All Buttons & Controls — Issue #59 */
button:disabled,
input:disabled,
select:disabled,
textarea:disabled,
.btn:disabled,
.hero-btn:disabled,
.btn-donate-primary:disabled,
.btn-submit-donation:disabled,
.cf-submit-btn:disabled,
[aria-disabled="true"] {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ============================================================
   ARTICLE READING & VISUAL HARMONY (Issues #46, #47, #58)
   ============================================================ */

/* Reading progress bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #2e74d4 0%, #059669 100%);
    z-index: 99999;
    transition: width 0.1s ease-out;
}

/* Article rich body typography & Bilingual consistency (Issue #47) */
.article-rich-body {
    font-size: 1.05rem;
    line-height: 1.95;
    color: var(--ink);
    direction: rtl;
    text-align: start;
}

.article-rich-body h2 {
    font-family: var(--font-heading), system-ui, sans-serif;
    font-size: clamp(1.25rem, 2vw + 0.8rem, 1.6rem);
    font-weight: 800;
    color: var(--ink);
    margin-top: 2.5rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 88px;
    line-height: 1.45;
}

.article-rich-body h3 {
    font-family: var(--font-heading), system-ui, sans-serif;
    font-size: clamp(1.1rem, 1.5vw + 0.7rem, 1.3rem);
    font-weight: 700;
    color: var(--blue-dark);
    margin-top: 1.8rem;
    margin-bottom: 0.9rem;
    scroll-margin-top: 88px;
    line-height: 1.45;
}

.article-rich-body p {
    margin-bottom: 1.4rem;
    text-align: justify;
    text-justify: inter-word;
}

.article-rich-body .lead {
    font-size: clamp(1.05rem, 1.2vw + 0.8rem, 1.2rem);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.85;
    margin-bottom: 1.8rem;
    padding-bottom: 0.5rem;
}

.article-rich-body ul,
.article-rich-body ol {
    padding-inline-start: 28px;
    margin-bottom: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.article-rich-body li {
    line-height: 1.8;
}

.article-rich-body blockquote {
    border-inline-start: 4px solid var(--blue);
    padding: 14px 20px;
    margin: 1.6rem 0;
    background: rgba(46, 116, 212, 0.05);
    border-radius: var(--radius-md);
    font-style: italic;
    color: var(--muted);
}

/* Mixed Arabic/English Direction & Typography Isolation */
.article-rich-body bdi,
.article-rich-body .english-term {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    color: var(--blue-mid);
    margin-inline: 3px;
    letter-spacing: -0.01em;
}

.article-rich-body h2 bdi,
.article-rich-body h2 .english-term,
.article-rich-body h3 bdi,
.article-rich-body h3 .english-term {
    font-weight: 700;
    color: inherit;
    opacity: 0.92;
}

body.dark-mode .article-rich-body bdi,
body.dark-mode .article-rich-body .english-term {
    color: #60a5fa;
}

body.dark-mode .article-rich-body blockquote {
    background: rgba(255, 255, 255, 0.03);
    border-inline-start-color: var(--blue-mid);
}

/* Breadcrumb Navigation — Issue #50 */
.article-breadcrumb ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-breadcrumb a {
    text-decoration: none;
    border-radius: 4px;
    padding: 2px 4px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.article-breadcrumb a:focus-visible {
    outline: 2px solid var(--blue-mid, #2e74d4) !important;
    outline-offset: 2px !important;
}

body.dark-mode .article-breadcrumb a {
    color: #94a3b8;
}

body.dark-mode .article-breadcrumb a:hover {
    color: #60a5fa;
}

body.dark-mode .article-breadcrumb [aria-current="page"] {
    color: #f1f5f9;
}

body.dark-mode .article-breadcrumb [aria-hidden="true"] svg {
    color: #64748b;
}

/* Calming, empathetic visual harmony — Issue #58 */
:root {
    --calm-teal: #0d9488;
    --calm-soft-blue: #3b82f6;
    --calm-warm-bg: #fbfbfd;
}

body.dark-mode {
    --bg: #0d1522;
    --card-bg: rgba(18, 30, 48, 0.85);
    --border: rgba(255, 255, 255, 0.09);
    --ink: #e6edf8;
    --mist: #9bb0cb;
    --muted: #8ca3c3;
}

/* Smooth transitions */
body {
    background-color: var(--bg);
    color: var(--ink);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ==========================================================================
   Site Footer — Issue #53 (4-Column Layout, Navigation, Social, Legal & Emergency)
   ========================================================================== */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-top: auto;
}

body.dark-mode .site-footer {
    background: #090e17;
    border-top-color: rgba(255, 255, 255, 0.05);
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Emergency Helpline Strip (Issue #57) */
.footer-emergency-strip {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    padding: 16px 22px;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.emergency-strip-content {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    width: 100%;
}

.emergency-badge {
    background: #dc2626;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 50px;
    white-space: nowrap;
}

.footer-emergency-strip p {
    margin: 0;
    font-size: 0.88rem;
    color: #fecaca;
    line-height: 1.6;
    flex: 1;
}

/* Brand Banner Row */
.footer-brand-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand-info {
    max-width: 480px;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-mini-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    font-family: var(--font-heading);
    color: #ffffff;
}

.footer-desc {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.footer-brand-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 8px 18px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-contact-pill:hover {
    background: rgba(46, 116, 212, 0.25);
    border-color: #3b82f6;
    transform: translateY(-2px);
    color: #ffffff;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-btn:hover {
    color: #ffffff;
    background: #3b82f6;
    border-color: #3b82f6;
    transform: translateY(-2px);
}

/* 4-Column Grid Navigation */
.footer-grid-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

@media (max-width: 900px) {
    .footer-grid-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 540px) {
    .footer-grid-nav {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 16px;
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 2px;
    background: #3b82f6;
    border-radius: 2px;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-list a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
}

.footer-nav-list a:hover {
    color: #60a5fa;
    transform: translateX(-3px);
}

/* Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.82rem;
    color: #64748b;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-legal-links a:hover {
    color: #60a5fa;
}

.footer-update-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.04);
    padding: 3px 10px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==================== Issue #56: Unified Loading, Skeleton, Retry & Empty States ==================== */
.img-skeleton-loader {
    position: relative;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%) !important;
    background-size: 200% 100% !important;
    animation: skeletonShimmer 1.5s infinite linear !important;
}

@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

body.dark-mode .img-skeleton-loader {
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%) !important;
    background-size: 200% 100% !important;
}

/* Retry Button */
.btn-retry-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #ffffff;
    border: 1.5px solid #ef4444;
    color: #dc2626;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-retry-action:hover {
    background: #fef2f2;
    transform: translateY(-1px);
}

body.dark-mode .btn-retry-action {
    background: #1e293b;
    border-color: #f87171;
    color: #fca5a5;
}

body.dark-mode .btn-retry-action:hover {
    background: #2d3748;
}

/* State Spinner Animation */
.state-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: stateSpin 0.7s infinite linear;
    vertical-align: middle;
}

@keyframes stateSpin {
    to { transform: rotate(360deg); }
}

/* Empty State Card */
.empty-state-card {
    text-align: center;
    padding: 48px 24px;
    background: var(--card-bg, #f8fafc);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.empty-state-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(46, 116, 212, 0.1);
    color: var(--blue, #1c53a3);
    margin-bottom: 18px;
}

.empty-state-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ink, #0f172a);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.empty-state-desc {
    font-size: 0.95rem;
    color: var(--muted, #64748b);
    max-width: 520px;
    margin: 0 auto 20px;
    line-height: 1.65;
}

.empty-state-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== Issue #57: Emergency Pathways & Crisis Referral System ==================== */

/* 1. Support Page Hero Safety Alert Banner */
.support-safety-alert-banner {
    background: rgba(254, 242, 242, 0.95);
    border: 1.5px solid #fca5a5;
    border-radius: 16px;
    padding: 16px 20px;
    margin: 20px auto 24px;
    max-width: 780px;
    text-align: right;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.08);
}

body.dark-mode .support-safety-alert-banner {
    background: var(--color-danger-bg);
    border-color: var(--color-danger-border);
}

.safety-alert-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.safety-alert-icon {
    color: #dc2626;
    flex-shrink: 0;
    margin-top: 2px;
}

body.dark-mode .safety-alert-icon {
    color: var(--color-danger);
}

.safety-alert-text {
    flex-grow: 1;
}

.safety-alert-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #991b1b;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

body.dark-mode .safety-alert-title {
    color: var(--color-danger);
}

.safety-alert-desc {
    font-size: 0.85rem;
    color: #7f1d1d;
    line-height: 1.6;
    margin: 0;
}

body.dark-mode .safety-alert-desc {
    color: var(--color-text-primary);
}

.safety-alert-quick-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(220, 38, 38, 0.15);
}

.btn-safety-call {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #dc2626;
    color: #ffffff !important;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
}

.btn-safety-call:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

.btn-safety-guide {
    font-size: 0.82rem;
    font-weight: 700;
    color: #991b1b !important;
    text-decoration: underline;
    margin-inline-start: auto;
    transition: opacity 0.2s;
}

body.dark-mode .btn-safety-guide {
    color: var(--color-danger) !important;
}

.btn-safety-guide:hover {
    opacity: 0.85;
}

/* 2. Homepage Emergency Strip */
.home-emergency-strip {
    background: #fff1f2;
    border-bottom: 1px solid #fecdd3;
    padding: 14px 0;
    position: relative;
    z-index: 10;
}

body.dark-mode .home-emergency-strip {
    background: var(--color-danger-bg);
    border-bottom-color: var(--color-danger-border);
}

.emergency-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.emergency-strip-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffe4e6;
    color: #e11d48;
    flex-shrink: 0;
}

body.dark-mode .emergency-strip-icon-wrap {
    background: var(--color-danger-border);
    color: var(--color-danger);
}

.emergency-strip-content {
    flex: 1 1 320px;
}

.emergency-strip-title {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
    color: #9f1239;
    margin-bottom: 2px;
}

body.dark-mode .emergency-strip-title {
    color: var(--color-danger);
}

.emergency-strip-text {
    font-size: 0.82rem;
    color: #881337;
    margin: 0;
    line-height: 1.5;
}

body.dark-mode .emergency-strip-text {
    color: var(--color-text-primary);
}

.emergency-strip-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.btn-strip-emergency {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: #e11d48;
    color: #ffffff !important;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(225, 29, 72, 0.2);
    transition: all 0.2s;
}

.btn-strip-emergency:hover {
    background: #be123c;
    transform: translateY(-1px);
}

.btn-strip-helpline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #ffffff;
    color: #e11d48 !important;
    border: 1px solid #fda4af;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

body.dark-mode .btn-strip-helpline {
    background: var(--color-surface);
    border-color: var(--color-danger-border);
    color: var(--color-danger) !important;
}

.btn-strip-helpline:hover {
    background: #ffe4e6;
}

body.dark-mode .btn-strip-helpline:hover {
    background: var(--color-surface-subtle);
}

.btn-strip-guide {
    font-size: 0.8rem;
    font-weight: 700;
    color: #9f1239 !important;
    text-decoration: underline;
    margin-inline-start: 4px;
}

body.dark-mode .btn-strip-guide {
    color: var(--color-danger) !important;
}

@media (max-width: 640px) {
    .emergency-strip-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .emergency-strip-actions {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .btn-strip-emergency,
    .btn-strip-helpline {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
        text-align: center;
    }
    .btn-strip-guide {
        width: 100%;
        text-align: center;
        margin-top: 4px;
    }
}

/* 3. Article Crisis Safety Alert */
.article-crisis-safety-alert {
    background: var(--color-warning-bg);
    border: 1.5px solid var(--color-warning-border);
    border-radius: 14px;
    padding: 16px 20px;
    margin: 24px auto;
}

body.dark-mode .article-crisis-safety-alert {
    background: var(--color-warning-bg);
    border-color: var(--color-warning-border);
    color: var(--color-text-primary);
}

body.dark-mode .article-crisis-safety-alert strong {
    color: var(--color-warning) !important;
}

body.dark-mode .article-crisis-safety-alert p {
    color: var(--color-text-primary) !important;
}

/* 4. Support Page Emergency Directory & Country Cards */
.support-emergency-directory {
    margin-top: 48px;
    padding: 40px 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.emergency-directory-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px;
}

.emergency-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--color-danger-bg);
    color: var(--color-danger);
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 12px;
}

body.dark-mode .emergency-badge {
    background: var(--color-danger-bg);
    color: var(--color-danger);
}

.emergency-directory-header h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.emergency-directory-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin: 0;
}

.emergency-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.emergency-country-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

body.dark-mode .emergency-country-card {
    background: var(--color-surface);
    border-color: var(--color-border);
}

.country-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 14px;
}

.country-flag {
    font-size: 1.5rem;
}

.country-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin: 0;
}

.country-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
}

.country-service-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--color-border-subtle);
}

.country-service-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.service-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.service-note {
    font-size: 0.78rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.service-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-country-call {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--color-surface-subtle);
    color: var(--color-info) !important;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s;
}

body.dark-mode .btn-country-call {
    background: var(--color-surface-subtle);
    border-color: var(--color-border);
    color: var(--color-btn-secondary-text) !important;
}

.btn-country-call:hover {
    background: var(--color-cta-bg);
    color: var(--color-cta-text) !important;
    border-color: var(--color-cta-bg);
}

body.dark-mode .btn-country-call:hover {
    background: var(--color-cta-hover-bg);
    color: var(--color-cta-text) !important;
    border-color: var(--color-cta-hover-bg);
}

.btn-country-call--alt {
    background: transparent;
}

.btn-country-web {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    background: var(--color-info-bg);
    color: var(--color-info) !important;
    border: 1px solid var(--color-info-border);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

body.dark-mode .btn-country-web {
    background: var(--color-btn-secondary-bg);
    border-color: var(--color-btn-secondary-border);
    color: var(--color-btn-secondary-text) !important;
}

.btn-country-web:hover {
    background: var(--color-btn-secondary-hover-bg);
    color: var(--color-btn-secondary-hover-text) !important;
}

.emergency-safety-statement {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--color-surface-subtle);
    border: 1.5px solid var(--color-border);
    border-radius: 16px;
    padding: 20px 24px;
    color: var(--color-text-primary);
}

body.dark-mode .emergency-safety-statement {
    background: var(--color-surface-subtle);
    border-color: var(--color-border);
    color: var(--color-text-primary);
}

.statement-icon {
    color: var(--color-text-secondary);
    flex-shrink: 0;
    margin-top: 3px;
}

body.dark-mode .statement-icon {
    color: var(--color-text-secondary);
}

.statement-content strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.statement-content p {
    font-size: 0.86rem;
    line-height: 1.65;
    color: var(--color-text-secondary);
    margin: 0;
}

body.dark-mode .statement-content p {
    color: var(--color-text-secondary);
}

/* ==========================================================================
   Issue #60: Tablet & Touch Screen Responsiveness & Touch Target Sizing
   ========================================================================== */

/* 1. Standard Touch Target Sizes (Minimum 44px x 44px for WCAG 2.5.5 / 2.5.8 on touch controls) */
.mobile-nav-item {
    min-height: 44px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.mobile-secondary-card {
    min-height: 44px;
    box-sizing: border-box;
}

.site-header .nav-item {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
}

.btn-primary-support {
    min-height: 40px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
}

.theme-toggle,
.mobile-theme-toggle {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
}

.menu-toggle {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
}

.mobile-quick-support-btn {
    min-height: 44px !important;
    padding: 8px 16px !important;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
}

.footer-social-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
}

.toast-close-btn {
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.close-modal {
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.btn-strip-emergency,
.btn-strip-helpline,
.btn-safety-call,
.btn-country-call {
    min-height: 44px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-strip-guide,
.btn-safety-guide {
    min-height: 44px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
}

.btn-activity-details,
.btn-activity-register,
.btn-submit-donation,
.btn-donate-primary,
.cf-submit-btn {
    min-height: 44px !important;
    box-sizing: border-box;
}

/* 2. Mobile & Tablet Form Input Optimization (Prevent iOS Auto-Zoom) */
@media (max-width: 1024px) {
    input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
    select,
    textarea,
    .form-input,
    .form-select,
    .form-textarea,
    .cf-input,
    .cf-textarea {
        font-size: 16px !important;
    }
}

/* 3. Tablet (768px - 1024px) Layout & Modal Adaptations */
@media (min-width: 768px) and (max-width: 1024px) {
    .activity-modal-content {
        max-width: 720px;
        width: 90%;
        max-height: 88vh;
        overflow-y: auto;
    }

    .modal-decision-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px;
    }

    .contact-wrapper {
        padding: 24px;
        gap: 24px;
    }

    .donate-card-highlight {
        max-width: 100%;
        padding: 24px;
    }
}

/* 4. Landscape Mobile/Tablet (max-height: 500px) Modal Optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .activity-modal-content {
        max-height: 94vh !important;
        padding: 16px 20px !important;
        margin: 10px auto !important;
    }

    .modal-decision-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
    }
}

/* ==========================================================================
   Comprehensive Audit Component Enhancements (Issues #1, #4, #7, #8, #12, #59)
   ========================================================================== */

/* Shimmer Skeleton Loader for Article and Card Images */
.img-skeleton-loader {
    position: relative;
    overflow: hidden;
    background-color: var(--color-surface-subtle);
}

.img-skeleton-loader::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 1.6s infinite;
}

body.dark-mode .img-skeleton-loader::after {
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0) 100%
    );
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Selected Activity Pre-fill Banner in Contact Form */
.selected-activity-banner {
    background: var(--color-info-bg) !important;
    border: 1.5px solid var(--color-info-border) !important;
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-lg);
    transition: var(--transition-normal);
}

body.dark-mode .selected-activity-banner {
    background: rgba(37, 99, 235, 0.15) !important;
    border-color: rgba(96, 165, 250, 0.4) !important;
}

/* Docs and Governance Banner */
.docs-governance-banner {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-2xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

body.dark-mode .docs-governance-banner {
    background: var(--color-surface) !important;
    border-color: var(--color-border) !important;
}

/* Report Cards */
.report-card {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.report-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

body.dark-mode .report-card {
    background: var(--color-surface) !important;
    border-color: var(--color-border) !important;
}

/* Stat Source Annotation */
.stat-source {
    font-size: 0.76rem;
    color: var(--color-text-muted);
    margin-top: 6px;
    border-top: 1px dashed var(--color-border);
    padding-top: 6px;
    width: 100%;
    text-align: center;
}

/* Inline Contact & Donation Form Error & Feedback States */
.cf-input--error {
    border-color: var(--color-danger) !important;
    box-shadow: 0 0 0 3px var(--color-danger-bg) !important;
}

.cf-hint-error {
    color: var(--color-danger) !important;
    font-size: 0.82rem;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cf-feedback--success {
    background: var(--color-success-bg) !important;
    border: 1.5px solid var(--color-success-border) !important;
    color: var(--color-text-primary) !important;
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    margin-top: var(--space-md);
}

.cf-feedback--error {
    background: var(--color-danger-bg) !important;
    border: 1.5px solid var(--color-danger-border) !important;
    color: var(--color-text-primary) !important;
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    margin-top: var(--space-md);
}

/* ==========================================================================
   24. Contact & Partnership Page Redesign ("تواصل معنا وكن شريكاً")
   ========================================================================== */

.contact-page-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    padding-bottom: var(--space-3xl, 60px);
}

/* 24.1 Animated Background & Floating Ambient Orbs */
.contact-page-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.contact-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    animation: contactOrbFloat 16s ease-in-out infinite alternate;
}

.contact-bg-orb-1 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(28, 83, 163, 0.22) 0%, rgba(59, 130, 246, 0.05) 70%, transparent 100%);
    top: -100px;
    right: -100px;
    animation-duration: 18s;
}

.contact-bg-orb-2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, rgba(96, 165, 250, 0.04) 70%, transparent 100%);
    top: 35%;
    left: -120px;
    animation-duration: 22s;
    animation-delay: -5s;
}

.contact-bg-orb-3 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(28, 83, 163, 0.03) 70%, transparent 100%);
    bottom: 5%;
    right: 15%;
    animation-duration: 26s;
    animation-delay: -10s;
}

.contact-bg-mesh {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(28, 83, 163, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.7;
}

@keyframes contactOrbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -25px) scale(1.08);
    }
    100% {
        transform: translate(-20px, 35px) scale(0.95);
    }
}

/* 24.2 Contact Page Header */
.contact-page-header {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 50px 20px 40px;
    background: transparent !important;
}

.contact-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(28, 83, 163, 0.08);
    border: 1px solid rgba(28, 83, 163, 0.2);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-primary, #1c53a3);
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
}

.contact-page-title {
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 800;
    color: var(--color-text-primary, #1e293b);
    line-height: 1.25;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
}

.contact-header-accent {
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, #1c53a3, #38bdf8);
    border-radius: 999px;
    margin: 0 auto 16px;
}

.contact-page-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--color-text-secondary, #475569);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* 24.3 Main Container & Master Card */
.contact-main-container {
    position: relative;
    z-index: 1;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-master-card {
    background: var(--color-surface, #ffffff);
    border: 1px solid var(--color-border, rgba(226, 232, 240, 0.8));
    border-radius: 24px;
    box-shadow: 0 20px 45px -15px rgba(28, 83, 163, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
    padding: 40px;
    position: relative;
    backdrop-filter: blur(16px);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-master-card:hover {
    box-shadow: 0 24px 50px -12px rgba(28, 83, 163, 0.12), 0 8px 20px rgba(0, 0, 0, 0.04);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 40px;
    align-items: start;
}

/* 24.4 Right Column: Contact Info Panel */
.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-section-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary, #1e293b);
    margin: 0;
}

.heading-icon-badge {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(28, 83, 163, 0.12), rgba(59, 130, 246, 0.06));
    color: var(--color-primary, #1c53a3);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.heading-icon-badge.donation-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.08));
    color: #10b981;
}

.contact-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--color-bg-alt, #f8fafc);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 14px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-item-card:hover {
    transform: translateX(-4px);
    border-color: rgba(28, 83, 163, 0.3);
    box-shadow: 0 4px 14px rgba(28, 83, 163, 0.06);
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.contact-item-icon.email-icon {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.contact-item-icon.phone-icon {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.contact-item-icon.location-icon {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.contact-item-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
    text-align: right;
}

.contact-item-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text-muted, #64748b);
    text-align: right;
}

.contact-item-value {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--color-text-primary, #1e293b);
    text-decoration: none;
    transition: color 0.2s ease;
    text-align: right;
}

.contact-item-value.ltr-link {
    font-family: system-ui, -apple-system, sans-serif;
    letter-spacing: 0.3px;
    direction: ltr;
    text-align: right;
    unicode-bidi: isolate;
}

a.contact-item-value:hover {
    color: var(--color-primary, #1c53a3);
    text-decoration: underline;
}

.btn-copy-mini {
    background: rgba(28, 83, 163, 0.08);
    border: 1px solid rgba(28, 83, 163, 0.15);
    color: var(--color-primary, #1c53a3);
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.88rem;
    font-family: inherit;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-inline-start: auto;
}

.btn-copy-mini:hover {
    background: var(--color-primary, #1c53a3);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-copy-mini.copied {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}

.contact-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border, #e2e8f0), transparent);
    margin: 4px 0;
}

/* 24.5 Donations Section in Contact Page */
.contact-donation-box {
    background: linear-gradient(135deg, rgba(28, 83, 163, 0.04), rgba(16, 185, 129, 0.04));
    border: 1.5px dashed rgba(28, 83, 163, 0.25);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.contact-donation-box:hover {
    border-color: var(--color-primary, #1c53a3);
    background: linear-gradient(135deg, rgba(28, 83, 163, 0.06), rgba(16, 185, 129, 0.06));
}

.donation-vf-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.donation-vf-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
}

.donation-vf-label {
    color: var(--color-text-primary, #1e293b);
}

.donation-vf-number {
    font-family: system-ui, -apple-system, sans-serif;
    font-weight: 700;
    color: var(--color-primary, #1c53a3);
    font-size: 1.15rem;
    letter-spacing: 0.5px;
}

.donation-vf-desc {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--color-text-secondary, #475569);
    margin: 0;
}

/* 24.6 Left Column: Modern Contact Form */
.contact-form-panel {
    background: var(--color-bg-alt, #f8fafc);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 18px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-header {
    border-bottom: 1px solid var(--color-border, #e2e8f0);
    padding-bottom: 14px;
}

.contact-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary, #1e293b);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.contact-form-title i {
    color: var(--color-primary, #1c53a3);
    font-size: 1.1rem;
}

.contact-form-styled {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label-modern {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text-primary, #1e293b);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-label-modern i {
    color: var(--color-primary, #1c53a3);
    font-size: 0.88rem;
}

.required-star {
    color: #ef4444;
    font-weight: 700;
}

.input-wrapper-modern {
    position: relative;
    width: 100%;
}

.form-control-modern {
    width: 100%;
    padding: 13px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--color-text-primary, #1e293b);
    background: var(--color-surface, #ffffff);
    border: 1.5px solid var(--color-border, #cbd5e1);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    box-sizing: border-box;
}

.form-control-modern:focus {
    border-color: var(--color-primary, #1c53a3);
    box-shadow: 0 0 0 4px rgba(28, 83, 163, 0.12);
    background: var(--color-surface, #ffffff);
}

.form-control-modern::placeholder {
    color: var(--color-text-muted, #94a3b8);
}

.textarea-modern {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.form-submit-wrapper {
    margin-top: 4px;
}

.btn-contact-submit {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--color-primary, #1c53a3) 0%, #174284 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 20px -4px rgba(28, 83, 163, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-contact-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -4px rgba(28, 83, 163, 0.45);
    background: linear-gradient(135deg, #2563eb 0%, #1c53a3 100%);
}

.btn-contact-submit:active:not(:disabled) {
    transform: translateY(0);
}

.btn-contact-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-feedback-alert {
    display: none;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.92rem;
    line-height: 1.5;
    animation: fadeInSlideUp 0.3s ease-out;
}

.form-feedback-alert.show-success {
    display: block;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #065f46;
}

.form-feedback-alert.show-error {
    display: block;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #991b1b;
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   25. Strategic Partners Showcase Section ("شركاؤنا الاستراتيجيون")
   ========================================================================== */

.partners-showcase-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0 90px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, rgba(241, 245, 249, 0.85) 100%);
    border-top: 1px solid rgba(226, 232, 240, 0.7);
    margin-top: 50px;
}

/* 25.1 Ambient Background & Network Motifs */
.partners-ambient-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.partners-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: partnerOrbFloat 20s ease-in-out infinite alternate;
}

.partners-orb-1 {
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(28, 83, 163, 0.18) 0%, rgba(56, 189, 248, 0.04) 70%, transparent 100%);
    top: -80px;
    right: 10%;
}

.partners-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.14) 0%, rgba(37, 99, 235, 0.03) 70%, transparent 100%);
    bottom: -60px;
    left: 8%;
    animation-duration: 24s;
    animation-delay: -6s;
}

.partners-network-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    height: 100%;
    opacity: 0.7;
    pointer-events: none;
}

@keyframes partnerOrbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(25px, -20px) scale(1.06);
    }
    100% {
        transform: translate(-20px, 25px) scale(0.96);
    }
}

/* 25.2 Section Header & Title */
.partners-container {
    position: relative;
    z-index: 1;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.partners-showcase-header {
    text-align: center;
    margin-bottom: 52px;
}

.partners-showcase-title {
    font-size: clamp(2.1rem, 4.2vw, 2.75rem);
    font-weight: 800;
    color: var(--color-text-primary, #1e293b);
    line-height: 1.25;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.partners-title-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
}

.partners-accent-bar {
    width: 48px;
    height: 3.5px;
    background: linear-gradient(90deg, #1c53a3, #38bdf8);
    border-radius: 999px;
}

.partners-accent-dot {
    width: 7px;
    height: 7px;
    background: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

/* 25.3 Partners Grid Layout */
.partners-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    max-width: 860px;
    margin: 0 auto;
    justify-content: center;
}

/* 25.4 Partner Card Design */
.partner-showcase-card {
    position: relative;
    background: var(--color-surface, #ffffff);
    border: 1.5px solid var(--color-border, rgba(226, 232, 240, 0.9));
    border-radius: 26px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 12px 32px -8px rgba(28, 83, 163, 0.08), 0 4px 12px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s ease, border-color 0.32s ease;
    opacity: 0;
    transform: translateY(24px);
    cursor: default;
}

.partner-showcase-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.partner-card-ambient-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.partner-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 45px -10px rgba(28, 83, 163, 0.18), 0 8px 20px rgba(0, 0, 0, 0.04);
    border-color: rgba(28, 83, 163, 0.4);
}

.partner-showcase-card:hover .partner-card-ambient-glow {
    opacity: 1;
}

.partner-card-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 25.5 Logo Container Presentation */
.partner-logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.partner-logo-wrapper {
    background: linear-gradient(135deg, rgba(28, 83, 163, 0.04), rgba(59, 130, 246, 0.02));
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 16px 28px;
    width: 100%;
    max-width: 290px;
    height: 115px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease;
}

.partner-showcase-card:hover .partner-logo-wrapper {
    background: linear-gradient(135deg, rgba(28, 83, 163, 0.07), rgba(56, 189, 248, 0.05));
    border-color: rgba(28, 83, 163, 0.25);
    transform: scale(1.02);
}

.partner-logo-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-showcase-card:hover .partner-logo-image {
    transform: scale(1.03);
}

/* 25.6 Partner Information Hierarchy */
.partner-info-box {
    width: 100%;
    text-align: center;
}

.partner-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-text-primary, #1e293b);
    line-height: 1.45;
    margin: 0;
    transition: color 0.25s ease;
}

.partner-showcase-card:hover .partner-title {
    color: var(--color-primary, #1c53a3);
}

/* 25.7 Dark Mode Support */
body.dark-mode .partners-showcase-section {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(10, 16, 30, 0.98) 100%);
    border-top-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .partners-orb-1 {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(28, 83, 163, 0.04) 70%, transparent 100%);
}

body.dark-mode .partners-orb-2 {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(99, 102, 241, 0.03) 70%, transparent 100%);
}

body.dark-mode .partners-showcase-title {
    color: #f8fafc;
}

body.dark-mode .partner-showcase-card {
    background: rgba(15, 23, 42, 0.78);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.5);
}

body.dark-mode .partner-showcase-card:hover {
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 24px 45px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(59, 130, 246, 0.12);
}

body.dark-mode .partner-card-ambient-glow {
    background: radial-gradient(circle at 50% 30%, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
}

body.dark-mode .partner-logo-wrapper {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2);
}

body.dark-mode .partner-showcase-card:hover .partner-logo-wrapper {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(59, 130, 246, 0.3);
}

body.dark-mode .partner-title {
    color: #f1f5f9;
}

body.dark-mode .partner-showcase-card:hover .partner-title {
    color: #60a5fa;
}

/* 25.8 Responsive Layout Breakpoints */
@media (max-width: 991px) {
    .contact-master-card {
        padding: 30px 24px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-info-panel {
        order: 1;
    }

    .contact-form-panel {
        order: 2;
    }
}

@media (max-width: 820px) {
    .partners-showcase-section {
        padding: 75px 0 70px;
    }

    .partners-showcase-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        gap: 24px;
    }

    .partner-showcase-card {
        padding: 32px 24px;
        border-radius: 22px;
    }
}

@media (max-width: 600px) {
    .contact-page-header {
        padding: 35px 16px 25px;
    }

    .contact-main-container {
        padding: 0 12px;
    }

    .contact-master-card {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .contact-form-panel {
        padding: 20px 16px;
        border-radius: 14px;
    }

    .contact-item-card {
        padding: 12px 14px;
    }

    .donation-vf-row {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .partners-showcase-section {
        padding: 60px 0 55px;
    }

    .partners-showcase-header {
        margin-bottom: 36px;
    }

    .partner-showcase-card {
        padding: 26px 18px;
        border-radius: 20px;
    }

    .partner-logo-wrapper {
        height: 100px;
        padding: 12px 18px;
    }

    .partner-title {
        font-size: 1.15rem;
    }
}

/* ==========================================================================
   26. Mental Support Page Redesign ("إيدنا في إيدك")
   ========================================================================== */

.support-page-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    padding-bottom: 80px;
}

/* 26.1 Calming Ambient Background & Breathing Orbs */
.support-ambient-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.support-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(85px);
    opacity: 0.38;
    animation: supportBreatheGlow 14s ease-in-out infinite alternate;
}

.support-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(28, 83, 163, 0.22) 0%, rgba(56, 189, 248, 0.05) 70%, transparent 100%);
    top: 50px;
    right: -120px;
    animation-duration: 16s;
}

.support-orb-2 {
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, rgba(14, 165, 233, 0.04) 70%, transparent 100%);
    top: 45%;
    left: -100px;
    animation-duration: 20s;
    animation-delay: -5s;
}

.support-orb-3 {
    width: 540px;
    height: 540px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(28, 83, 163, 0.03) 70%, transparent 100%);
    bottom: 5%;
    right: 20%;
    animation-duration: 22s;
    animation-delay: -9s;
}

.support-bg-mesh {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(28, 83, 163, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.7;
}

@keyframes supportBreatheGlow {
    0% {
        transform: scale(1) translateY(0);
        opacity: 0.35;
    }
    50% {
        transform: scale(1.12) translateY(-25px);
        opacity: 0.52;
    }
    100% {
        transform: scale(0.96) translateY(20px);
        opacity: 0.38;
    }
}

/* 26.2 Hero Section */
.support-page-hero {
    position: relative;
    z-index: 1;
    padding: 70px 20px 65px;
    text-align: center;
    background: linear-gradient(135deg, #091930 0%, #0e2b54 50%, #174284 100%);
    color: #ffffff;
    overflow: hidden;
    margin-bottom: 45px;
    box-shadow: 0 10px 30px -10px rgba(9, 25, 48, 0.4);
}

.support-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(56, 189, 248, 0.2) 0%, rgba(28, 83, 163, 0.05) 60%, transparent 100%);
    filter: blur(50px);
    pointer-events: none;
}

.support-hero-emblem-box {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.95rem;
    color: #38bdf8;
    margin-bottom: 18px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.25);
    transition: transform 0.3s ease;
}

.support-hero-emblem-box:hover {
    transform: scale(1.06);
}

.support-hero-title {
    font-size: clamp(2.3rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.support-hero-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 18px;
}

.support-accent-line {
    width: 46px;
    height: 3.5px;
    background: linear-gradient(90deg, transparent, #38bdf8);
    border-radius: 999px;
}

.support-hero-accent .support-accent-line:last-child {
    background: linear-gradient(90deg, #38bdf8, transparent);
}

.support-accent-dot {
    width: 7px;
    height: 7px;
    background: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 10px #38bdf8;
}

.support-hero-subtitle {
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.92);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 500;
}

/* 26.3 Main Container */
.support-main-container {
    position: relative;
    z-index: 1;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* 26.4 Emotional Comfort Card (Introduction) */
.support-emotional-card {
    position: relative;
    background: var(--color-surface, #ffffff);
    border: 1.5px solid var(--color-border, rgba(226, 232, 240, 0.9));
    border-radius: 26px;
    padding: 40px 48px;
    box-shadow: 0 16px 36px -10px rgba(28, 83, 163, 0.08), 0 4px 12px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-emotional-card:hover {
    box-shadow: 0 20px 45px -10px rgba(28, 83, 163, 0.12), 0 6px 18px rgba(0, 0, 0, 0.03);
}

.emotional-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(56, 189, 248, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.emotional-card-icon-watermark {
    position: absolute;
    left: 30px;
    bottom: 20px;
    font-size: 7rem;
    color: rgba(28, 83, 163, 0.03);
    pointer-events: none;
    line-height: 1;
}

.emotional-card-content {
    position: relative;
    z-index: 1;
}

.emotional-lead-text {
    font-size: 1.15rem;
    line-height: 1.88;
    color: var(--color-text-secondary, #334155);
    margin: 0;
    font-weight: 500;
}

.emotional-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border, #e2e8f0), transparent);
    margin: 22px 0;
}

.emotional-highlight-text {
    font-size: 1.18rem;
    line-height: 1.82;
    color: var(--color-primary, #1c53a3);
    font-weight: 700;
    margin: 0;
    border-inline-start: 4px solid var(--color-primary, #1c53a3);
    padding-inline-start: 18px;
}

.emotional-card-bottom-icon {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    font-size: 2.1rem;
    color: #38bdf8;
    position: relative;
    z-index: 1;
}

/* 26.5 Support Services Grid (3 Equal Cards) */
.support-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.support-service-card {
    background: var(--color-surface, #ffffff);
    border: 1.5px solid var(--color-border, rgba(226, 232, 240, 0.9));
    border-radius: 22px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    box-shadow: 0 10px 25px -6px rgba(28, 83, 163, 0.06);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.support-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 36px -8px rgba(28, 83, 163, 0.16), 0 4px 14px rgba(0, 0, 0, 0.03);
    border-color: rgba(28, 83, 163, 0.4);
}

.service-card-ambient-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.support-service-card:hover .service-card-ambient-glow {
    opacity: 1;
}

.support-service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(28, 83, 163, 0.1), rgba(56, 189, 248, 0.06));
    color: var(--color-primary, #1c53a3);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.support-service-card:hover .support-service-icon-box {
    transform: scale(1.08);
    background: var(--color-primary, #1c53a3);
    color: #ffffff;
}

.support-service-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-primary, #1e293b);
    margin: 0;
    line-height: 1.4;
    transition: color 0.25s ease;
}

.support-service-card:hover .support-service-name {
    color: var(--color-primary, #1c53a3);
}

/* 26.6 The Road to Support (الطريق إلى الدعم) - Guided Journey Timeline */
.support-journey-section {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: clamp(40px, 5.5vw, 64px) clamp(20px, 4vw, 44px);
    background: linear-gradient(165deg, rgba(248, 250, 252, 0.88) 0%, rgba(240, 246, 255, 0.78) 50%, rgba(234, 242, 253, 0.65) 100%);
    border: 1.5px solid rgba(28, 83, 163, 0.12);
    box-shadow: 0 20px 48px -12px rgba(28, 83, 163, 0.07);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 16px;
}

.journey-ambient-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.journey-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.5;
    animation: journeyOrbFloat 14s ease-in-out infinite alternate;
}

.journey-orb-1 {
    width: 320px;
    height: 320px;
    top: -40px;
    right: -40px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(28, 83, 163, 0.08) 70%, transparent 100%);
}

.journey-orb-2 {
    width: 280px;
    height: 280px;
    bottom: -30px;
    left: -30px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(56, 189, 248, 0.08) 70%, transparent 100%);
    animation-delay: -7s;
}

@keyframes journeyOrbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(25px, 20px) scale(1.08);
    }
}

.support-steps-header {
    position: relative;
    z-index: 1;
}

.journey-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(28, 83, 163, 0.08);
    border: 1px solid rgba(28, 83, 163, 0.2);
    color: #1c53a3;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(28, 83, 163, 0.06);
}

.support-steps-title {
    font-size: clamp(1.8rem, 3.5vw, 2.3rem);
    font-weight: 800;
    color: var(--color-text-primary, #1e293b);
    margin: 0 0 10px;
}

.support-steps-subtitle {
    font-size: 1.08rem;
    color: var(--color-text-secondary, #64748b);
    margin: 10px 0 0;
}

/* Connected 3-Step Journey Timeline */
.journey-timeline-wrapper {
    position: relative;
    z-index: 1;
    margin: 8px 0;
}

.journey-connecting-track {
    position: absolute;
    top: 58px;
    left: 12%;
    right: 12%;
    height: 4px;
    background: rgba(28, 83, 163, 0.12);
    border-radius: 4px;
    z-index: 0;
    pointer-events: none;
}

.journey-progress-line {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #1c53a3 0%, #0ea5e9 50%, #10b981 100%);
    opacity: 0.7;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.support-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    position: relative;
    z-index: 1;
}

.support-step-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1.5px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    padding: 30px 24px 26px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: right;
    gap: 16px;
    box-shadow: 0 12px 30px -8px rgba(28, 83, 163, 0.06), 0 2px 8px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
    backdrop-filter: blur(8px);
}

.support-step-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 42px -10px rgba(28, 83, 163, 0.16), 0 6px 16px rgba(56, 189, 248, 0.12);
    border-color: rgba(28, 83, 163, 0.38);
}

.step-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 15%, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.support-step-card:hover .step-card-glow {
    opacity: 1;
}

.step-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.support-step-badge {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1c53a3 0%, #0ea5e9 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
    font-family: var(--font-heading, inherit);
    box-shadow: 0 8px 18px rgba(28, 83, 163, 0.28);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-step-card:hover .support-step-badge {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 12px 24px rgba(28, 83, 163, 0.38);
}

.step-number-digit {
    line-height: 1;
}

.step-icon-bubble {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(28, 83, 163, 0.08);
    color: #1c53a3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.support-step-card:hover .step-icon-bubble {
    background: rgba(56, 189, 248, 0.16);
    color: #0284c7;
    transform: scale(1.08);
}

.step-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.support-step-heading {
    font-size: 1.26rem;
    font-weight: 800;
    color: var(--color-text-primary, #1e293b);
    margin: 0;
    line-height: 1.4;
    transition: color 0.25s ease;
}

.support-step-card:hover .support-step-heading {
    color: var(--color-primary, #1c53a3);
}

.support-step-desc {
    font-size: 0.96rem;
    line-height: 1.72;
    color: var(--color-text-secondary, #475569);
    margin: 0;
}

.step-card-footer-indicator {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 14px;
    border-top: 1px dashed rgba(226, 232, 240, 0.9);
    margin-top: auto;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
    transition: all 0.3s ease;
    position: relative;
}

.support-step-card:hover .step-dot {
    background: #0ea5e9;
    box-shadow: 0 0 10px #0ea5e9;
    transform: scale(1.35);
}

/* 26.7 Call To Action (WhatsApp Direct Connection) */
.support-cta-wrapper {
    margin: 8px 0 4px;
    position: relative;
    z-index: 2;
}

.btn-support-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    border-radius: 20px;
    font-size: 1.14rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 28px -4px rgba(37, 211, 102, 0.42), 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-support-whatsapp:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 38px -4px rgba(37, 211, 102, 0.55), 0 8px 16px rgba(18, 140, 126, 0.25);
    background: linear-gradient(135deg, #2ee572 0%, #16a085 100%);
    color: #ffffff;
}

.btn-whatsapp-icon {
    font-size: 1.4rem;
}

/* 26.8 Confidentiality & Reassurance Box */
.support-reassurance-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(240, 249, 255, 0.9) 100%);
    border: 1.5px solid rgba(56, 189, 248, 0.25);
    border-radius: 22px;
    padding: 22px 32px;
    display: flex;
    align-items: center;
    gap: 22px;
    text-align: right;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 24px -6px rgba(28, 83, 163, 0.05);
    position: relative;
    z-index: 2;
}

.reassurance-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(28, 83, 163, 0.12), rgba(56, 189, 248, 0.18));
    color: var(--color-primary, #1c53a3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(28, 83, 163, 0.08);
}

.reassurance-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reassurance-primary-text {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--color-text-primary, #0f172a);
    margin: 0;
}

.reassurance-secondary-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary, #475569);
    margin: 0;
    font-weight: 500;
}

/* 26.9 Closing Motivational Note */
.support-closing-wrapper {
    margin: 2px 0 10px;
    position: relative;
    z-index: 2;
}

.support-closing-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: rgba(28, 83, 163, 0.06);
    border: 1.5px solid rgba(28, 83, 163, 0.18);
    border-radius: 999px;
    color: var(--color-primary, #1c53a3);
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 4px 14px rgba(28, 83, 163, 0.04);
}

.support-closing-text {
    margin: 0;
}

/* 26.10 Dark Mode Support for Support Page */
body.dark-mode .support-orb-1 {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(28, 83, 163, 0.04) 70%, transparent 100%);
}

body.dark-mode .support-orb-2 {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(99, 102, 241, 0.03) 70%, transparent 100%);
}

body.dark-mode .support-orb-3 {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(28, 83, 163, 0.03) 70%, transparent 100%);
}

body.dark-mode .support-journey-section {
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 41, 59, 0.78) 50%, rgba(15, 23, 42, 0.92) 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
}

body.dark-mode .journey-orb-1 {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(28, 83, 163, 0.03) 70%, transparent 100%);
}

body.dark-mode .journey-orb-2 {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(56, 189, 248, 0.03) 70%, transparent 100%);
}

body.dark-mode .journey-badge {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.35);
    color: #93c5fd;
}

body.dark-mode .journey-connecting-track {
    background: rgba(255, 255, 255, 0.08);
}

body.dark-mode .support-emotional-card,
body.dark-mode .support-service-card,
body.dark-mode .support-step-card {
    background: rgba(15, 23, 42, 0.82);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.55);
}

body.dark-mode .support-service-card:hover,
body.dark-mode .support-step-card:hover {
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 24px 48px -10px rgba(0, 0, 0, 0.7), 0 0 24px rgba(56, 189, 248, 0.15);
}

body.dark-mode .step-icon-bubble {
    background: rgba(59, 130, 246, 0.18);
    color: #60a5fa;
}

body.dark-mode .step-card-footer-indicator {
    border-top-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .emotional-lead-text {
    color: #cbd5e1;
}

body.dark-mode .emotional-highlight-text {
    color: #60a5fa;
    border-inline-start-color: #3b82f6;
}

body.dark-mode .emotional-divider {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

body.dark-mode .support-service-name,
body.dark-mode .support-step-heading,
body.dark-mode .reassurance-primary-text,
body.dark-mode .support-steps-title {
    color: #f8fafc;
}

body.dark-mode .support-step-desc,
body.dark-mode .support-steps-subtitle,
body.dark-mode .reassurance-secondary-text {
    color: #94a3b8;
}

body.dark-mode .support-service-icon-box {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

body.dark-mode .support-service-card:hover .support-service-icon-box {
    background: #2563eb;
    color: #ffffff;
}

body.dark-mode .support-service-card:hover .support-service-name {
    color: #60a5fa;
}

body.dark-mode .support-reassurance-panel {
    background: rgba(30, 41, 59, 0.72);
    border-color: rgba(56, 189, 248, 0.25);
}

body.dark-mode .reassurance-icon-wrapper {
    background: rgba(56, 189, 248, 0.15);
    color: #67e8f9;
}

body.dark-mode .support-closing-badge {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.35);
    color: #93c5fd;
}

/* 26.11 Responsive Layout Breakpoints */
@media (max-width: 900px) {
    .support-emotional-card {
        padding: 32px 28px;
    }

    .support-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .journey-connecting-track {
        display: none;
    }

    .support-steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 650px) {
    .support-page-hero {
        padding: 50px 16px 45px;
        margin-bottom: 30px;
    }

    .support-main-container {
        padding: 0 14px;
        gap: 36px;
    }

    .support-emotional-card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .emotional-lead-text {
        font-size: 1.05rem;
    }

    .emotional-highlight-text {
        font-size: 1.05rem;
    }

    .support-services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .support-journey-section {
        padding: 32px 18px;
        border-radius: 24px;
        gap: 28px;
    }

    .support-service-card,
    .support-step-card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .btn-support-whatsapp {
        width: 100%;
        padding: 16px 20px;
        font-size: 1.05rem;
    }

    .support-reassurance-panel {
        padding: 20px 18px;
        gap: 16px;
        flex-direction: column;
        text-align: center;
    }

    .reassurance-content {
        text-align: center;
    }

    .support-closing-badge {
        font-size: 0.95rem;
        padding: 10px 20px;
    }
}

/* --------------------------------------------------------------------------
   27. MOWAGDA DYNAMIC BLOG CMS & ADMIN STYLES
   -------------------------------------------------------------------------- */
.category-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.category-filter-btn:hover {
    transform: translateY(-1px);
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 500px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}

.admin-stat-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    padding: 18px 14px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(28, 83, 163, 0.08);
}

.admin-filter-bar {
    display: block;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.admin-filter-bar select,
.admin-filter-bar input[type="text"] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    height: 42px;
    font-size: 0.875rem;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
}

.admin-filter-bar select:focus,
.admin-filter-bar input[type="text"]:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.admin-table-container {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

body.dark-mode .category-filter-btn:not(.bg-blue) {
    background: rgba(30, 41, 59, 0.7);
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .category-filter-btn:not(.bg-blue):hover {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.3);
}

body.dark-mode .admin-stat-card,
body.dark-mode .admin-filter-bar,
body.dark-mode .admin-table-container {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   SECTION 28: ADMIN AUTHENTICATION PORTAL (تسجيل دخول المشرفين)
   ========================================================================== */

.admin-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b1329;
    background: radial-gradient(ellipse at 50% 0%, #172a54 0%, #0c1833 45%, #070d1e 100%);
    position: relative;
    overflow: hidden;
    padding: 32px 16px;
    font-family: var(--font-heading);
}

/* Ambient Lighting & Particles */
.admin-auth-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.admin-ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: ambientBreathe 14s ease-in-out infinite alternate;
}

.admin-ambient-glow.glow-top {
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, rgba(28, 83, 163, 0.15) 60%, transparent 80%);
}

.admin-ambient-glow.glow-bottom-left {
    bottom: -15%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, rgba(30, 58, 138, 0.08) 60%, transparent 80%);
    animation-delay: -5s;
}

.admin-ambient-glow.glow-bottom-right {
    bottom: -10%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
    animation-delay: -9s;
}

.admin-ambient-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
    opacity: 0.7;
}

@keyframes ambientBreathe {
    0% {
        transform: scale(0.95) translate(0, 0);
        opacity: 0.35;
    }
    50% {
        transform: scale(1.08) translate(15px, -10px);
        opacity: 0.5;
    }
    100% {
        transform: scale(0.98) translate(-10px, 15px);
        opacity: 0.38;
    }
}

/* Auth Container */
.admin-auth-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    animation: adminPortalFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes adminPortalFadeIn {
    0% {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Brand Area */
.admin-auth-brand {
    text-align: center;
    margin-bottom: 28px;
}

.admin-auth-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 14px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
}

.admin-auth-logo-wrap:hover {
    transform: scale(1.04);
}

.admin-auth-logo {
    height: 54px;
    width: auto;
    object-fit: contain;
    background: transparent !important;
    filter: drop-shadow(0 6px 18px rgba(37, 99, 235, 0.4));
}

.admin-auth-brand-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    line-height: 1.2;
}

.admin-auth-brand-subtitle {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 400;
    line-height: 1.6;
    max-width: 380px;
    margin: 0 auto;
}

/* Auth Card */
.admin-auth-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 20px 40px -15px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.05);
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.admin-auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1c53a3, #2563eb, #0ea5e9);
}

/* Security Badge inside Card */
.admin-auth-security-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #1d4ed8;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 16px;
}

.admin-auth-security-badge i {
    font-size: 0.8rem;
    color: #2563eb;
}

/* Card Header */
.admin-auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.admin-auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 6px;
}

.admin-auth-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Alert Box */
.admin-auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 20px;
    animation: alertSlideDown 0.3s ease-out;
}

.admin-auth-alert.alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.admin-auth-alert.alert-notice {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

@keyframes alertSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Fields */
.admin-auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.admin-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-field-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
}

.admin-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.admin-input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 2;
}

.admin-input-control {
    width: 100%;
    height: 48px;
    padding: 0 46px 0 16px;
    font-size: 0.925rem;
    font-family: inherit;
    color: #0f172a;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    outline: none;
    transition: all 0.2s ease;
    direction: rtl;
    text-align: right;
}

.admin-input-control.has-toggle {
    padding-left: 46px;
}

.admin-input-control::placeholder {
    color: #94a3b8;
    font-size: 0.85rem;
}

.admin-input-control:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.admin-input-control:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.admin-input-wrapper:focus-within .admin-input-icon {
    color: #2563eb;
}

/* Password Toggle Button */
.admin-password-toggle {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: color 0.2s ease, background-color 0.2s ease;
    z-index: 3;
}

.admin-password-toggle:hover {
    color: #1e293b;
    background: #f1f5f9;
}

.admin-password-toggle:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Form Options: Remember Me & Forgot Password */
.admin-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -2px;
    margin-bottom: 4px;
}

.admin-remember-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    transition: color 0.2s ease;
}

.admin-remember-label:hover {
    color: #0f172a;
}

.admin-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
    cursor: pointer;
    position: relative;
    outline: none;
    transition: all 0.2s ease;
    display: inline-grid;
    place-content: center;
}

.admin-checkbox:hover {
    border-color: #94a3b8;
}

.admin-checkbox:checked {
    background: #1c53a3;
    border-color: #1c53a3;
}

.admin-checkbox:checked::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    color: #ffffff;
}

.admin-checkbox:focus-visible {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
    border-color: #2563eb;
}

.admin-forgot-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.admin-forgot-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Submit Button */
.admin-auth-submit-btn {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #1c53a3 0%, #2563eb 100%);
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 8px 20px -4px rgba(28, 83, 163, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 6px;
}

.admin-auth-submit-btn:hover {
    background: linear-gradient(135deg, #164384 0%, #1d4ed8 100%);
    box-shadow: 0 12px 24px -4px rgba(28, 83, 163, 0.45);
    transform: translateY(-2px);
}

.admin-auth-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px -2px rgba(28, 83, 163, 0.3);
}

.admin-auth-submit-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.4), 0 8px 20px -4px rgba(28, 83, 163, 0.35);
}

.admin-auth-submit-btn.is-loading {
    pointer-events: none;
    opacity: 0.85;
}

.admin-auth-submit-btn .btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spinnerRotate 0.7s linear infinite;
}

.admin-auth-submit-btn.is-loading .btn-spinner {
    display: inline-block;
}

@keyframes spinnerRotate {
    to {
        transform: rotate(360deg);
    }
}

/* Card Footer Links */
.admin-auth-footer-links {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-back-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.admin-back-home-link:hover {
    color: #0f172a;
    transform: translateX(-2px);
}

/* Security Trust Bar */
.admin-auth-security-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    color: #64748b;
    font-size: 0.75rem;
    text-align: center;
}

.admin-auth-security-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.admin-auth-security-item i {
    color: #3b82f6;
}

.admin-auth-copyright {
    text-align: center;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 16px;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .admin-auth-page {
        padding: 24px 16px;
    }

    .admin-auth-card {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .admin-auth-brand-name {
        font-size: 1.5rem;
    }

    .admin-auth-title {
        font-size: 1.35rem;
    }

    .admin-auth-options {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .admin-ambient-glow,
    .admin-auth-container,
    .admin-auth-alert,
    .admin-auth-submit-btn {
        animation: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   SECTION 29: ENTERPRISE CMS ARTICLES EDITOR, MODALS & TOAST NOTIFICATIONS
   ========================================================================== */

/* 1. Unified Toast Notification System */
.cms-toast-container {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    width: calc(100% - 48px);
    pointer-events: none;
}

.cms-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(15, 23, 42, 0.05);
    border-right: 4px solid #1c53a3;
    animation: toastSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.3s ease;
    direction: rtl;
    text-align: right;
    font-family: var(--font-heading);
}

.cms-toast.toast-hiding {
    animation: toastFadeOut 0.3s ease forwards;
}

.cms-toast.toast-success {
    border-right-color: #059669;
    background: #ffffff;
}
.cms-toast.toast-success .cms-toast-icon {
    color: #059669;
    background: #ecfdf5;
}

.cms-toast.toast-error {
    border-right-color: #dc2626;
    background: #ffffff;
}
.cms-toast.toast-error .cms-toast-icon {
    color: #dc2626;
    background: #fef2f2;
}

.cms-toast.toast-warning {
    border-right-color: #d97706;
    background: #ffffff;
}
.cms-toast.toast-warning .cms-toast-icon {
    color: #d97706;
    background: #fffbeb;
}

.cms-toast.toast-info {
    border-right-color: #2563eb;
    background: #ffffff;
}
.cms-toast.toast-info .cms-toast-icon {
    color: #2563eb;
    background: #eff6ff;
}

.cms-toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cms-toast-content {
    flex-grow: 1;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

.cms-toast-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cms-toast-close:hover {
    color: #0f172a;
    background: #f1f5f9;
}

@keyframes toastSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastFadeOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }
}

/* 2. Custom Delete Confirmation Modal */
/* Admin Filter Bar Grid Layout */
.admin-filter-bar form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: center;
    width: 100%;
}

@media (min-width: 640px) {
    .admin-filter-bar form {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .admin-filter-bar form {
        grid-template-columns: 3.5fr 2fr 2fr 2fr 1.5fr;
    }
}

.cms-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cms-modal-backdrop.is-active {
    opacity: 1;
    visibility: visible;
}

.cms-modal-dialog {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 440px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transform: scale(0.92) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    direction: rtl;
    font-family: var(--font-heading);
}

.cms-modal-backdrop.is-active .cms-modal-dialog {
    transform: scale(1) translateY(0);
}

.cms-modal-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fee2e2;
    color: #ef4444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 20px;
    box-shadow: 0 0 0 8px #fef2f2;
}

.cms-modal-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.cms-modal-message {
    font-size: 0.925rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 28px;
}

.cms-modal-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.cms-modal-btn-delete {
    flex: 1;
    height: 46px;
    background: #dc2626;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.cms-modal-btn-delete:hover {
    background: #b91c1c;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.4);
    transform: translateY(-1px);
}

.cms-modal-btn-cancel {
    flex: 1;
    height: 46px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cms-modal-btn-cancel:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* 3. Two-Column Article Editor Layout */
.cms-editor-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
    margin-bottom: 90px; /* Space for sticky bar */
}

@media (max-width: 1024px) {
    .cms-editor-grid {
        grid-template-columns: 1fr;
    }
}

.cms-editor-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cms-editor-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 88px;
}

.cms-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.cms-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.cms-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cms-card-title i {
    color: #2563eb;
    font-size: 0.95rem;
}

/* Title Input with Character Counter */
.cms-title-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cms-title-input {
    width: 100%;
    font-size: 1.35rem;
    font-weight: 800;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
    direction: rtl;
}

.cms-title-input:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.cms-char-counter {
    font-size: 0.775rem;
    color: #94a3b8;
    font-weight: 600;
    text-align: left;
    margin-top: 4px;
}

.cms-char-counter.is-warning {
    color: #d97706;
}

.cms-char-counter.is-limit {
    color: #dc2626;
}

/* Drag & Drop Image Upload Component */
.cms-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: 18px;
    background: #f8fafc;
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.cms-dropzone:hover,
.cms-dropzone.is-dragover {
    border-color: #2563eb;
    background: #eff6ff;
}

.cms-dropzone-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.cms-dropzone-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
}

.cms-dropzone-hint {
    font-size: 0.8rem;
    color: #64748b;
}

/* Image Preview Container */
.cms-preview-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.cms-preview-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    position: relative;
    overflow: hidden;
}

.cms-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cms-preview-meta {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.cms-preview-file-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cms-preview-filename {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cms-preview-filesize {
    font-size: 0.75rem;
    color: #64748b;
}

.cms-preview-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cms-preview-btn {
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.825rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.cms-preview-btn.btn-replace {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
}
.cms-preview-btn.btn-replace:hover {
    background: #dbeafe;
}

.cms-preview-btn.btn-remove {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fee2e2;
}
.cms-preview-btn.btn-remove:hover {
    background: #fee2e2;
}

/* 4. Sticky Bottom Action Bar */
.cms-sticky-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -10px 25px rgba(15, 23, 42, 0.08);
    padding: 14px 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cms-sticky-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cms-action-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cms-btn-primary {
    height: 44px;
    padding: 0 24px;
    background: linear-gradient(135deg, #1c53a3 0%, #2563eb 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.925rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(28, 83, 163, 0.3);
    transition: all 0.2s ease;
}

.cms-btn-primary:hover {
    background: linear-gradient(135deg, #164384 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(28, 83, 163, 0.4);
}

.cms-btn-primary:active {
    transform: translateY(0);
}

.cms-btn-primary.is-loading,
.cms-btn-secondary.is-loading {
    pointer-events: none;
    opacity: 0.8;
}

.cms-btn-primary .btn-spinner,
.cms-btn-secondary .btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spinnerRotate 0.6s linear infinite;
}

.cms-btn-primary.is-loading .btn-spinner,
.cms-btn-secondary.is-loading .btn-spinner {
    display: inline-block;
}

.cms-btn-secondary {
    height: 44px;
    padding: 0 20px;
    background: #f8fafc;
    color: #334155;
    font-weight: 700;
    font-size: 0.925rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.cms-btn-secondary:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

.cms-btn-cancel {
    height: 44px;
    padding: 0 18px;
    background: transparent;
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.cms-btn-cancel:hover {
    background: #f1f5f9;
    color: #0f172a;
}

@media (max-width: 640px) {
    .cms-sticky-action-bar {
        padding: 10px 12px;
    }

    .cms-action-buttons {
        gap: 8px;
    }

    .cms-btn-primary {
        height: 38px;
        padding: 0 12px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .cms-btn-secondary {
        height: 38px;
        padding: 0 10px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .cms-btn-cancel {
        height: 38px;
        padding: 0 8px;
        font-size: 0.8rem;
    }
}

/* 5. Trix / Rich Text Area Overrides */
trix-editor {
    min-height: 420px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 20px !important;
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
    direction: rtl !important;
    text-align: right !important;
    background: #ffffff !important;
}

trix-editor:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
}

trix-toolbar {
    margin-bottom: 12px !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    padding: 8px !important;
}

/* 6. Skeleton Loading Components */
.cms-skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeletonShimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
