/*
Theme Name: OCOAD - Optimism Charity
Theme URI: https://ocoad.org
Author: OCOAD Development Team
Author URI: https://ocoad.org
Description: Custom WordPress theme for Optimism Charity Organization for Aid and Development (OCOAD). A bilingual (Arabic/English) RTL-ready theme designed for humanitarian and development organizations. Features include program showcase, donation integration, success stories, and responsive design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wp-optimisim-org
Domain Path: /languages
Tags: rtl-language-support, translation-ready, custom-menu, custom-logo, featured-images, theme-options, one-column, two-columns, right-sidebar, footer-widgets, full-width-template

منظمة التفاؤل الخيرية للعون والتنمية
نزرع الأمل، ونمد يد العون
Spreading hope and extending aid
*/

/* ===================================
   CSS Variables & Root Styles
   Refactoring UI Design System
   =================================== */
:root {
    /* =============================================
       COLOR SYSTEM (HSL for intuitive manipulation)
       ============================================= */
    
    /* Primary Colors - Green (Hope & Growth)
       10 shades from light to dark */
    --primary-50: hsl(122, 39%, 96%);
    --primary-100: hsl(122, 38%, 89%);
    --primary-200: hsl(122, 37%, 76%);
    --primary-300: hsl(122, 36%, 60%);
    --primary-400: hsl(122, 39%, 49%);
    --primary-500: hsl(122, 39%, 41%);  /* Main primary */
    --primary-600: hsl(122, 44%, 33%);
    --primary-700: hsl(122, 47%, 26%);
    --primary-800: hsl(122, 47%, 20%);
    --primary-900: hsl(122, 50%, 14%);
    
    /* Secondary Colors - Blue (Trust & Aid)
       10 shades from light to dark */
    --secondary-50: hsl(211, 68%, 96%);
    --secondary-100: hsl(211, 65%, 90%);
    --secondary-200: hsl(211, 60%, 78%);
    --secondary-300: hsl(211, 55%, 65%);
    --secondary-400: hsl(211, 60%, 52%);
    --secondary-500: hsl(211, 69%, 42%);  /* Main secondary */
    --secondary-600: hsl(211, 75%, 35%);
    --secondary-700: hsl(211, 78%, 28%);
    --secondary-800: hsl(211, 80%, 22%);
    --secondary-900: hsl(211, 82%, 16%);
    
    /* Accent Colors - Amber/Gold (Optimism)
       10 shades from light to dark */
    --accent-50: hsl(45, 100%, 96%);
    --accent-100: hsl(45, 96%, 88%);
    --accent-200: hsl(45, 94%, 76%);
    --accent-300: hsl(45, 92%, 65%);
    --accent-400: hsl(45, 93%, 52%);
    --accent-500: hsl(40, 96%, 50%);   /* Main accent */
    --accent-600: hsl(36, 96%, 45%);
    --accent-700: hsl(32, 94%, 40%);
    --accent-800: hsl(28, 90%, 35%);
    --accent-900: hsl(24, 88%, 28%);
    
    /* Grey Scale (slightly warm-tinted for friendliness)
       10 shades - avoid pure black, use dark grey */
    --grey-50: hsl(210, 20%, 98%);
    --grey-100: hsl(210, 16%, 94%);
    --grey-200: hsl(210, 14%, 87%);
    --grey-300: hsl(210, 11%, 75%);
    --grey-400: hsl(210, 9%, 58%);
    --grey-500: hsl(210, 8%, 46%);
    --grey-600: hsl(210, 10%, 37%);
    --grey-700: hsl(210, 14%, 28%);
    --grey-800: hsl(210, 18%, 20%);
    --grey-900: hsl(210, 24%, 14%);
    
    /* Semantic Colors with proper shade ranges */
    /* Success - Green tones */
    --success-50: hsl(145, 65%, 95%);
    --success-100: hsl(145, 60%, 85%);
    --success-500: hsl(145, 63%, 42%);
    --success-600: hsl(145, 65%, 35%);
    --success-700: hsl(145, 68%, 28%);
    
    /* Warning - Orange tones */
    --warning-50: hsl(36, 100%, 95%);
    --warning-100: hsl(36, 95%, 85%);
    --warning-500: hsl(36, 100%, 50%);
    --warning-600: hsl(30, 100%, 45%);
    --warning-700: hsl(24, 95%, 40%);
    
    /* Error/Destructive - Red tones */
    --error-50: hsl(0, 85%, 97%);
    --error-100: hsl(0, 80%, 90%);
    --error-500: hsl(4, 90%, 58%);
    --error-600: hsl(0, 85%, 50%);
    --error-700: hsl(0, 80%, 42%);
    
    /* Info - Blue tones */
    --info-50: hsl(206, 100%, 96%);
    --info-100: hsl(206, 95%, 88%);
    --info-500: hsl(206, 90%, 55%);
    --info-600: hsl(206, 85%, 48%);
    --info-700: hsl(206, 80%, 40%);

    /* Legacy color mappings for backward compatibility */
    --color-primary: var(--primary-500);
    --color-primary-dark: var(--primary-700);
    --color-primary-light: var(--primary-300);
    --color-secondary: var(--secondary-500);
    --color-secondary-dark: var(--secondary-700);
    --color-secondary-light: var(--secondary-300);
    --color-accent: var(--accent-400);
    --color-accent-dark: var(--accent-600);
    --color-white: hsl(0, 0%, 100%);
    --color-light: var(--grey-50);
    --color-gray-100: var(--grey-200);
    --color-gray-200: var(--grey-300);
    --color-gray-300: var(--grey-400);
    --color-gray-400: var(--grey-500);
    --color-gray-500: var(--grey-600);
    --color-dark: var(--grey-900);
    --color-black: var(--grey-900);
    --color-success: var(--success-500);
    --color-warning: var(--warning-500);
    --color-error: var(--error-500);
    --color-info: var(--info-500);
    
    /* =============================================
       TYPOGRAPHY SYSTEM (Hand-crafted scale)
       ============================================= */
    --font-primary: 'SaudiaSans', 'Segoe UI', Tahoma, sans-serif;
    --font-secondary: 'SaudiaSans', 'Arial', sans-serif;
    --font-english: 'SaudiaSans', 'Segoe UI', sans-serif;
    
    /* Type Scale (non-linear, hand-picked for visual harmony) */
    --text-xs: 0.75rem;      /* 12px - Captions, labels */
    --text-sm: 0.8125rem;    /* 13px - Small text, metadata */
    --text-base: 0.9375rem;  /* 15px - Body text (slightly larger for Arabic) */
    --text-md: 1rem;         /* 16px - Default browser size */
    --text-lg: 1.125rem;     /* 18px - Lead paragraphs */
    --text-xl: 1.3125rem;    /* 21px - Section intros */
    --text-2xl: 1.5rem;      /* 24px - H5, card titles */
    --text-3xl: 1.875rem;    /* 30px - H4 */
    --text-4xl: 2.25rem;     /* 36px - H3 */
    --text-5xl: 2.75rem;     /* 44px - H2 */
    --text-6xl: 3.5rem;      /* 56px - H1, Hero */
    
    /* Legacy font sizes */
    --font-size-xs: var(--text-xs);
    --font-size-sm: var(--text-sm);
    --font-size-base: var(--text-base);
    --font-size-lg: var(--text-lg);
    --font-size-xl: var(--text-xl);
    --font-size-2xl: var(--text-2xl);
    --font-size-3xl: var(--text-3xl);
    --font-size-4xl: var(--text-4xl);
    --font-size-5xl: var(--text-5xl);
    
    /* Font Weights (limited for consistency) */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    
    /* Line Heights (inverse relationship with font size) */
    --leading-none: 1;
    --leading-tight: 1.25;      /* Headlines */
    --leading-snug: 1.375;      /* Subheadings */
    --leading-normal: 1.5;      /* Short paragraphs */
    --leading-relaxed: 1.625;   /* Body text */
    --leading-loose: 1.75;      /* Arabic text, long reads */
    
    /* Letter Spacing */
    --tracking-tighter: -0.03em;
    --tracking-tight: -0.015em;
    --tracking-normal: 0;
    --tracking-wide: 0.015em;
    --tracking-wider: 0.03em;
    
    /* =============================================
       SPACING SYSTEM (Non-linear, ~25% increments)
       Base unit: 4px
       ============================================= */
    --space-0: 0;
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */
    --space-32: 8rem;     /* 128px */
    
    /* Legacy spacing mappings */
    --spacing-xs: var(--space-1);
    --spacing-sm: var(--space-2);
    --spacing-md: var(--space-4);
    --spacing-lg: var(--space-6);
    --spacing-xl: var(--space-8);
    --spacing-2xl: var(--space-12);
    --spacing-3xl: var(--space-16);
    
    /* =============================================
       BORDER RADIUS SYSTEM
       ============================================= */
    --radius-none: 0;
    --radius-sm: 0.25rem;     /* 4px - Subtle rounding */
    --radius-md: 0.5rem;      /* 8px - Buttons, inputs */
    --radius-lg: 0.75rem;     /* 12px - Cards */
    --radius-xl: 1rem;        /* 16px - Large cards */
    --radius-2xl: 1.5rem;     /* 24px - Modals, hero sections */
    --radius-full: 9999px;    /* Pill shapes, avatars */
    
    /* =============================================
       SHADOW SYSTEM (5 elevation levels)
       Two-part shadows: soft ambient + sharp edge
       ============================================= */
    --shadow-xs: 
        0 1px 2px hsla(210, 24%, 16%, 0.05);
    --shadow-sm: 
        0 1px 3px hsla(210, 24%, 16%, 0.06),
        0 1px 2px hsla(210, 24%, 16%, 0.08);
    --shadow-md: 
        0 4px 6px hsla(210, 24%, 16%, 0.05),
        0 2px 4px hsla(210, 24%, 16%, 0.08);
    --shadow-lg: 
        0 10px 15px hsla(210, 24%, 16%, 0.04),
        0 4px 6px hsla(210, 24%, 16%, 0.08);
    --shadow-xl: 
        0 20px 25px hsla(210, 24%, 16%, 0.06),
        0 8px 10px hsla(210, 24%, 16%, 0.08);
    --shadow-2xl: 
        0 25px 50px hsla(210, 24%, 16%, 0.12);
    
    /* Colored shadows for interactive elements */
    --shadow-primary: 
        0 4px 14px hsla(122, 39%, 41%, 0.35);
    --shadow-secondary: 
        0 4px 14px hsla(211, 69%, 42%, 0.35);
    --shadow-accent: 
        0 4px 14px hsla(45, 93%, 52%, 0.35);
    
    /* Inner shadows for inputs */
    --shadow-inner: inset 0 2px 4px hsla(210, 24%, 16%, 0.06);
    
    /* Focus ring shadow */
    --shadow-focus: 0 0 0 3px hsla(122, 39%, 41%, 0.4);
    --shadow-focus-error: 0 0 0 3px hsla(0, 85%, 50%, 0.4);
    
    /* =============================================
       TRANSITIONS & ANIMATIONS
       ============================================= */
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    --duration-75: 75ms;
    --duration-100: 100ms;
    --duration-150: 150ms;
    --duration-200: 200ms;
    --duration-300: 300ms;
    --duration-500: 500ms;
    
    --transition-fast: var(--duration-150) var(--ease-out);
    --transition-base: var(--duration-200) var(--ease-in-out);
    --transition-slow: var(--duration-300) var(--ease-in-out);
    --transition-slower: var(--duration-500) var(--ease-in-out);
    
    /* =============================================
       LAYOUT & CONTAINER
       ============================================= */
    --container-xs: 480px;
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1200px;
    --container-2xl: 1400px;
    --container-max: var(--container-xl);
    --container-padding: clamp(1rem, 4vw, 2rem);
    
    /* =============================================
       Z-INDEX SCALE
       ============================================= */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 500;
    --z-modal-backdrop: 900;
    --z-modal: 1000;
    --z-tooltip: 1100;
    --z-notification: 1200;
}

/* ===================================
   Reset & Base Styles
   =================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--font-normal);
    line-height: var(--leading-relaxed);
    color: var(--grey-800);
    background-color: var(--color-white);
    overflow-x: hidden;
    letter-spacing: var(--tracking-normal);
}

/* Better text selection */
::selection {
    background-color: var(--primary-200);
    color: var(--primary-900);
}

/* RTL Support */
html[dir="rtl"] body,
body.rtl {
    direction: rtl;
    text-align: right;
}

/* ===================================
   Material Icons Styles
   =================================== */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    vertical-align: middle;
    font-variation-settings: 
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}

/* Icon Size Variations */
.material-symbols-outlined.icon-sm {
    font-size: 18px;
}

.material-symbols-outlined.icon-md {
    font-size: 24px;
}

.material-symbols-outlined.icon-lg {
    font-size: 32px;
}

.material-symbols-outlined.icon-xl {
    font-size: 48px;
}

/* Icon in buttons and links */
.btn .material-symbols-outlined,
a .material-symbols-outlined,
button .material-symbols-outlined {
    font-size: 1.2em;
    margin-inline-end: var(--spacing-xs);
}

/* Arrow icons in RTL - auto flip */
.arrow-icon {
    transition: transform var(--transition-fast);
}

/* Material Icons handles RTL automatically */
[dir="rtl"] .material-symbols-outlined[class*="arrow"],
[dir="rtl"] .material-symbols-outlined[class*="chevron"] {
    transform: scaleX(-1);
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-4);
    color: var(--grey-900);
    letter-spacing: var(--tracking-tight);
}

h1 { 
    font-size: var(--text-6xl); 
    line-height: 1.1;
    letter-spacing: var(--tracking-tighter);
}
h2 { 
    font-size: var(--text-5xl); 
    line-height: var(--leading-tight);
}
h3 { 
    font-size: var(--text-4xl); 
    line-height: var(--leading-snug);
}
h4 { 
    font-size: var(--text-3xl); 
    font-weight: var(--font-semibold);
}
h5 { 
    font-size: var(--text-2xl); 
    font-weight: var(--font-semibold);
}
h6 { 
    font-size: var(--text-xl); 
    font-weight: var(--font-semibold);
}

p {
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
}

/* Lead text - larger paragraphs */
.lead, 
.text-lead {
    font-size: var(--text-lg);
    line-height: var(--leading-loose);
    color: var(--grey-600);
}

/* Small text */
small,
.text-sm {
    font-size: var(--text-sm);
}

.text-xs {
    font-size: var(--text-xs);
}

/* Text colors */
.text-muted {
    color: var(--grey-500);
}

.text-primary {
    color: var(--primary-600);
}

.text-secondary {
    color: var(--secondary-600);
}

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

a:hover {
    color: var(--primary-700);
}

a:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Improved focus states for accessibility */
:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

/* Remove outline for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}

/* ===================================
   Layout & Container
   =================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.container--narrow {
    max-width: var(--container-md);
}

.container--wide {
    max-width: var(--container-2xl);
}

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

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

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

.section--primary {
    background-color: var(--primary-600);
    color: var(--color-white);
}

.section--light {
    background-color: var(--grey-50);
}

.section--dark {
    background-color: var(--grey-900);
    color: var(--grey-100);
}

/* Section Title Component */
.section-title {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-title h2 {
    margin-bottom: var(--space-3);
    position: relative;
    display: inline-block;
}

.section-title p {
    font-size: var(--text-lg);
    color: var(--grey-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--leading-relaxed);
}

/* ===================================
   About Section - Home Page
   =================================== */
.about-section {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--grey-50) 100%);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

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

.about-text > p {
    font-size: var(--text-lg);
    line-height: var(--leading-loose);
    color: var(--grey-600);
    margin-bottom: var(--space-10);
}

.about-vision-mission {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    margin-bottom: var(--space-10);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.vision-box,
.mission-box {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    border: 1px solid var(--grey-100);
}

.vision-box:hover,
.mission-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.vision-box::before,
.mission-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
}

.vision-box::before {
    background: linear-gradient(90deg, var(--primary-400), var(--primary-600));
}

.mission-box::before {
    background: linear-gradient(90deg, var(--secondary-400), var(--secondary-600));
}

.vision-box h3,
.mission-box h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-3);
    color: var(--grey-800);
}

.vision-box h3 .material-symbols-outlined,
.mission-box h3 .material-symbols-outlined {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 1.4rem;
}

.vision-box h3 .material-symbols-outlined {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: var(--color-white);
    box-shadow: var(--shadow-primary);
}

.mission-box h3 .material-symbols-outlined {
    background: linear-gradient(135deg, var(--secondary-500), var(--secondary-600));
    color: var(--color-white);
    box-shadow: var(--shadow-secondary);
}

.vision-box p,
.mission-box p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--grey-600);
    margin: 0;
}

/* Responsive: Stack on mobile */
@media (max-width: 640px) {
    .about-vision-mission {
        grid-template-columns: 1fr;
    }
    
    .vision-box,
    .mission-box {
        padding: var(--space-6);
    }
}

/* ===================================
   Header
   =================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10000;
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-top {
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-800) 100%);
    color: var(--color-white);
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.header-top a {
    color: var(--primary-100);
    transition: color var(--transition-fast);
}

.header-top a:hover {
    color: var(--accent-300);
}

.header-main {
    padding: var(--space-4) 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-6);
}

.site-branding {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

/* Header Logo */
.custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.custom-logo {
    height: 70px;
    width: auto;
    transition: transform var(--transition-fast);
}

.custom-logo-link:hover .custom-logo {
    transform: scale(1.05);
}

/* Hide site title/description in header - logo is sufficient */
.site-branding .site-title,
.site-branding .site-description {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-logo img {
    height: 56px;
    width: auto;
    transition: transform var(--transition-fast);
}

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

.site-title {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    margin: 0;
    color: var(--primary-700);
    letter-spacing: var(--tracking-tight);
}

.site-description {
    font-size: var(--text-sm);
    color: var(--grey-500);
    margin: 0;
}

/* ===================================
   Navigation
   =================================== */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-1);
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: var(--space-2) var(--space-3);
    color: var(--grey-700);
    font-weight: var(--font-medium);
    font-size: var(--text-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--primary-600);
    background-color: var(--primary-50);
}

.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
    color: var(--primary-600);
    background-color: var(--primary-50);
}

/* Dropdown */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background-color: var(--color-white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition-fast);
    z-index: var(--z-dropdown);
    padding: var(--space-2);
    border: 1px solid var(--grey-100);
}

html[dir="ltr"] .nav-menu .sub-menu {
    right: auto;
    left: 0;
}

.nav-menu li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu a {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--grey-600);
}

.nav-menu .sub-menu a:hover {
    background-color: var(--primary-50);
    color: var(--primary-600);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: var(--space-2);
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast);
}

.menu-toggle:hover {
    background-color: var(--grey-100);
}

.menu-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--grey-700);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all var(--transition-fast);
    border-radius: var(--radius-full);
}

.menu-toggle__bar:nth-child(1) { top: 14px; }
.menu-toggle__bar:nth-child(2) { top: 21px; }
.menu-toggle__bar:nth-child(3) { top: 28px; }

.menu-toggle.active .menu-toggle__bar:nth-child(1) {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
}

.menu-toggle.active .menu-toggle__bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
}

.menu-toggle.active .menu-toggle__bar:nth-child(3) {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
}

/* ===================================
   Enhanced Header Top Bar
   =================================== */
.header-top__contact {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-white);
    font-size: var(--text-xs);
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.contact-item .material-symbols-outlined {
    font-size: 1rem;
    opacity: 0.85;
}

.contact-item:hover {
    color: var(--accent-300);
}

.contact-item i {
    font-size: 0.875rem;
}

.contact-item--whatsapp:hover {
    color: #25D366;
}

.contact-item--hours {
    opacity: 0.9;
}

.contact-item--location {
    opacity: 0.9;
}

.header-top__actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

/* Language Switch Button - Simple toggle for 2 languages */
.lang-switch-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-primary);
    text-decoration: none;
}

.lang-switch-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--color-white);
    transform: translateY(-1px);
}

.lang-switch-btn .material-symbols-outlined {
    font-size: 1.125rem;
}

/* Legacy Language Switcher (kept for compatibility) */
.language-switcher {
    position: relative;
}

.language-switcher__toggle {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-primary);
}

.language-switcher__toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.language-switcher__toggle i.fa-chevron-down {
    font-size: 0.625rem;
    transition: transform var(--transition-fast);
}

.language-switcher__toggle[aria-expanded="true"] i.fa-chevron-down {
    transform: rotate(180deg);
}

.language-switcher__menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: var(--spacing-xs);
    background: var(--color-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    list-style: none;
    padding: var(--spacing-xs) 0;
    z-index: 100;
}

html[dir="ltr"] .language-switcher__menu {
    right: auto;
    left: 0;
}

.language-switcher.active .language-switcher__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-switcher__menu li {
    list-style: none;
}

.language-switcher__menu a,
.language-switcher__menu li a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--color-dark);
    font-size: var(--font-size-sm);
    transition: background var(--transition-fast);
}

.language-switcher__menu a:hover,
.language-switcher__menu a.active,
.language-switcher__menu li a:hover,
.language-switcher__menu li.current-lang a {
    background: var(--color-light);
    color: var(--color-primary);
}

/* Social Links in Top Bar */
.header-top__social .social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.header-top__social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    transition: all var(--transition-fast);
}

.header-top__social .social-link:hover {
    background: var(--color-accent);
    color: var(--color-dark);
    transform: translateY(-2px);
}

/* Social Link Brand Colors - Header */
.header-top__social .social-facebook:hover { background: #1877F2; color: white; }
.header-top__social .social-x-twitter:hover { background: #000000; color: white; }
.header-top__social .social-instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.header-top__social .social-linkedin:hover { background: #0A66C2; color: white; }
.header-top__social .social-youtube:hover { background: #FF0000; color: white; }
.header-top__social .social-tiktok:hover { background: #000000; color: white; }
.header-top__social .social-telegram:hover { background: #0088cc; color: white; }
.header-top__social .social-whatsapp:hover { background: #25D366; color: white; }

/* ===================================
   Header Actions (Search & CTA)
   =================================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.header-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    color: var(--color-dark);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.header-search-toggle:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.header-cta {
    display: flex;
    gap: var(--spacing-sm);
}

.btn--sm {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
}

.header-cta__volunteer {
    display: none;
}

@media (min-width: 1100px) {
    .header-cta__volunteer {
        display: inline-flex;
    }
}

/* ===================================
   News Ticker - Under Header
   Modern, Clean, Pixel-Perfect Design
   =================================== */
.news-ticker {
    background: linear-gradient(90deg, 
        var(--primary-700) 0%, 
        var(--primary-600) 25%,
        var(--secondary-600) 75%,
        var(--secondary-700) 100%
    );
    color: var(--color-white);
    padding: 0;
    overflow: hidden;
    position: relative;
    z-index: 100;
    box-shadow: 
        0 2px 8px hsla(210, 24%, 16%, 0.15),
        inset 0 1px 0 hsla(0, 0%, 100%, 0.1);
}

.news-ticker .container {
    padding: 0;
    max-width: 100%;
}

.news-ticker__wrapper {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-height: 44px;
}

/* Label with animated gradient background */
.news-ticker__label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: linear-gradient(135deg, 
        var(--accent-400) 0%, 
        var(--accent-500) 50%,
        var(--accent-600) 100%
    );
    color: var(--grey-900);
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 
        2px 0 12px hsla(40, 96%, 40%, 0.3),
        inset 0 1px 0 hsla(45, 100%, 80%, 0.4);
}

.news-ticker__label .material-symbols-outlined {
    font-size: 1.25rem;
    animation: ticker-pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 1px 2px hsla(0, 0%, 0%, 0.2));
}

@keyframes ticker-pulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 1;
    }
    25% { 
        transform: scale(1.15) rotate(-5deg); 
        opacity: 1;
    }
    50% { 
        transform: scale(1) rotate(0deg); 
        opacity: 0.9;
    }
    75% { 
        transform: scale(1.1) rotate(5deg); 
        opacity: 1;
    }
}

/* Diagonal cut edge for label */
.news-ticker__label::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -20px;
    width: 20px;
    background: var(--accent-500);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

[dir="ltr"] .news-ticker__label::after {
    left: auto;
    right: -20px;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
}

/* Live indicator dot */
.news-ticker__label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--error-500);
    border-radius: 50%;
    animation: live-pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 0 0 hsla(0, 85%, 50%, 0.7);
    margin-inline-end: var(--space-1);
}

@keyframes live-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 hsla(0, 85%, 50%, 0.7);
    }
    50% {
        box-shadow: 0 0 0 6px hsla(0, 85%, 50%, 0);
    }
}

/* Ticker content area with fade edges */
.news-ticker__content {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(
        to left,
        transparent 0%,
        black 3%,
        black 97%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to left,
        transparent 0%,
        black 3%,
        black 97%,
        transparent 100%
    );
}

[dir="ltr"] .news-ticker__content {
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 3%,
        black 97%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 3%,
        black 97%,
        transparent 100%
    );
}

/* Scrolling track */
.news-ticker__track {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    animation: ticker-scroll-ltr 35s linear infinite;
    width: max-content;
    padding: var(--space-2) var(--space-6);
}

/* LTR (default): scroll from right to left (content enters from right, exits left) */
@keyframes ticker-scroll-ltr {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* RTL: scroll from left to right (content enters from left, exits right) */
[dir="rtl"] .news-ticker__track {
    animation-name: ticker-scroll-rtl;
}

@keyframes ticker-scroll-rtl {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

/* Pause on hover with smooth transition */
.news-ticker:hover .news-ticker__track,
.news-ticker:focus-within .news-ticker__track {
    animation-play-state: paused;
}

/* Individual ticker items */
.news-ticker__item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-white);
    text-decoration: none;
    white-space: nowrap;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    font-size: var(--text-sm);
    background: hsla(0, 0%, 100%, 0.05);
    border: 1px solid hsla(0, 0%, 100%, 0.08);
}

.news-ticker__item:hover {
    background: hsla(0, 0%, 100%, 0.15);
    border-color: hsla(0, 0%, 100%, 0.2);
    color: var(--accent-300);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px hsla(0, 0%, 0%, 0.2);
}

.news-ticker__item:focus-visible {
    outline: 2px solid var(--accent-400);
    outline-offset: 2px;
    background: hsla(0, 0%, 100%, 0.15);
}

/* Icon container with colored backgrounds based on type */
.news-ticker__item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    background: linear-gradient(135deg, 
        hsla(0, 0%, 100%, 0.2) 0%, 
        hsla(0, 0%, 100%, 0.1) 100%
    );
    box-shadow: 
        inset 0 1px 0 hsla(0, 0%, 100%, 0.2),
        0 1px 3px hsla(0, 0%, 0%, 0.1);
}

.news-ticker__item-icon .material-symbols-outlined {
    font-size: 1rem;
    font-variation-settings: 'FILL' 1, 'wght' 500;
}

/* Content type badge with distinct colors */
.news-ticker__item-type {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.75px;
    background: hsla(0, 0%, 100%, 0.15);
    border: 1px solid hsla(0, 0%, 100%, 0.1);
}

/* Type-specific icon colors using data attributes */
.news-ticker__item[data-type="news"] .news-ticker__item-icon {
    background: linear-gradient(135deg, var(--info-500), var(--info-600));
}

.news-ticker__item[data-type="success"] .news-ticker__item-icon {
    background: linear-gradient(135deg, var(--success-500), var(--success-600));
}

.news-ticker__item[data-type="project"] .news-ticker__item-icon {
    background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
    color: var(--grey-900);
}

.news-ticker__item[data-type="program"] .news-ticker__item-icon {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
}

/* Type-specific badge colors */
.news-ticker__item[data-type="news"] .news-ticker__item-type {
    background: hsla(206, 90%, 55%, 0.25);
    border-color: hsla(206, 90%, 55%, 0.3);
}

.news-ticker__item[data-type="success"] .news-ticker__item-type {
    background: hsla(145, 63%, 42%, 0.25);
    border-color: hsla(145, 63%, 42%, 0.3);
}

.news-ticker__item[data-type="project"] .news-ticker__item-type {
    background: hsla(40, 96%, 50%, 0.25);
    border-color: hsla(40, 96%, 50%, 0.3);
}

.news-ticker__item[data-type="program"] .news-ticker__item-type {
    background: hsla(122, 39%, 41%, 0.25);
    border-color: hsla(122, 39%, 41%, 0.3);
}

/* Title styling */
.news-ticker__item-title {
    font-weight: var(--font-medium);
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* Decorative separator */
.news-ticker__item::after {
    content: '';
    width: 4px;
    height: 4px;
    background: hsla(0, 0%, 100%, 0.3);
    border-radius: 50%;
    margin-inline-start: var(--space-4);
    flex-shrink: 0;
}

.news-ticker__item:last-child::after {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .news-ticker__wrapper {
        min-height: 40px;
    }
    
    .news-ticker__label {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-xs);
    }
    
    .news-ticker__label-text {
        display: none;
    }
    
    .news-ticker__label::after {
        width: 15px;
        left: -15px;
    }
    
    [dir="ltr"] .news-ticker__label::after {
        left: auto;
        right: -15px;
    }
    
    .news-ticker__item {
        padding: var(--space-1) var(--space-3);
    }
    
    .news-ticker__item-type {
        display: none;
    }
    
    .news-ticker__item-title {
        max-width: 180px;
        font-size: var(--text-xs);
    }
    
    .news-ticker__track {
        gap: var(--space-4);
        animation-duration: 28s;
    }
    
    .news-ticker__item-icon {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    .news-ticker__label::before {
        display: none;
    }
    
    .news-ticker__item-icon {
        width: 24px;
        height: 24px;
    }
    
    .news-ticker__item-icon .material-symbols-outlined {
        font-size: 0.875rem;
    }
    
    .news-ticker__item-title {
        max-width: 150px;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .news-ticker__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .news-ticker__content {
        mask-image: none;
        -webkit-mask-image: none;
    }
    
    .news-ticker__label .material-symbols-outlined {
        animation: none;
    }
    
    /* Hide duplicated items for screen readers */
    .news-ticker__item[aria-hidden="true"] {
        display: none;
    }
}

/* ===================================
   Mobile Menu Overlay
   =================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

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

/* ===================================
   Search Modal
   =================================== */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    z-index: 99999;
}

.search-modal[hidden] {
    display: none;
}

.search-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.search-modal__content {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-xl);
    animation: searchModalFadeIn 0.3s ease;
}

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

.search-modal__close {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-dark);
    cursor: pointer;
    transition: all var(--transition-fast);
}

html[dir="ltr"] .search-modal__close {
    left: auto;
    right: var(--spacing-md);
}

.search-modal__close:hover {
    background: var(--color-error);
    color: var(--color-white);
}

.search-modal__form {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.search-modal__input {
    flex: 1;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-lg);
    font-family: var(--font-primary);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast);
}

.search-modal__input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.search-modal__submit {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-size: var(--font-size-lg);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.search-modal__submit:hover {
    background: var(--color-primary-dark);
}

.search-modal__hint {
    text-align: center;
    margin-top: var(--spacing-md);
    margin-bottom: 0;
    font-size: var(--font-size-sm);
    color: var(--color-gray-400);
}

/* ===================================
   Hero Section - Enhanced with Slider
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    overflow: hidden;
}

/* Hero Image Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Dark overlay for text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        hsla(122, 50%, 15%, 0.85) 0%,
        hsla(160, 45%, 12%, 0.80) 50%,
        hsla(211, 55%, 18%, 0.85) 100%
    );
    z-index: 2;
}

/* Decorative floating circles */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.hero-decoration__circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.hero-decoration__circle--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-400) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.hero-decoration__circle--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-300) 0%, transparent 70%);
    bottom: -100px;
    left: -50px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.hero-decoration__circle--3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary-300) 0%, transparent 70%);
    top: 50%;
    left: 60%;
    animation: float-slow 18s ease-in-out infinite 2s;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 900px;
    padding: var(--space-8);
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-6);
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge .material-symbols-outlined {
    font-size: 1.25rem;
    color: var(--accent-400);
}

/* Hero Title */
.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    margin-bottom: var(--space-6);
    line-height: 1.2;
    font-weight: var(--font-bold);
    color: var(--color-white);
    text-shadow: 
        0 2px 4px hsla(0, 0%, 0%, 0.3),
        0 4px 20px hsla(0, 0%, 0%, 0.2);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    margin-bottom: var(--space-10);
    opacity: 0.95;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-white);
    text-shadow: 0 1px 3px hsla(0, 0%, 0%, 0.3);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--accent-400) 0%, var(--accent-500) 100%);
    color: var(--grey-900);
    font-weight: var(--font-semibold);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 4px 15px hsla(40, 96%, 50%, 0.4),
        0 1px 0 hsla(45, 100%, 80%, 0.5) inset;
    transition: all var(--transition-base);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 25px hsla(40, 96%, 50%, 0.5),
        0 1px 0 hsla(45, 100%, 80%, 0.5) inset;
}

.btn--outline-light {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-lg);
    font-weight: var(--font-medium);
    backdrop-filter: blur(5px);
    transition: all var(--transition-base);
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Slider Navigation Dots */
.hero-slider-nav {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    margin-top: var(--space-10);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.hero-slider-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.hero-slider-dot.active {
    background: var(--accent-400);
    border-color: var(--accent-400);
    transform: scale(1.2);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator .material-symbols-outlined {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.6);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

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

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

/* ================================
   Hero Slider Text Animations
   For dynamic per-slide content
   ================================ */

/* Hero text animation keyframes */
@keyframes heroTextOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

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

/* Hero text transition classes */
.hero-badge,
.hero-title,
.hero-subtitle,
.hero-buttons {
    will-change: opacity, transform;
}

.hero-text-out {
    animation: heroTextOut 0.3s ease-out forwards;
}

.hero-text-in {
    animation: heroTextIn 0.4s ease-out forwards;
}

/* Ensure visibility on initial load */
.hero-content .hero-badge.reveal.is-visible,
.hero-content .hero-title.reveal.is-visible,
.hero-content .hero-subtitle.reveal.is-visible,
.hero-content .hero-buttons.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero badge structure for separate icon/text animation */
.hero-badge-icon,
.hero-badge-text {
    display: inline-block;
}

/* Hero button structure for dynamic content */
.hero-btn-primary,
.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.hero-btn-icon,
.hero-btn-text {
    display: inline-block;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .hero-text-out,
    .hero-text-in {
        animation: none;
    }
    
    .hero-badge,
    .hero-title,
    .hero-subtitle,
    .hero-buttons {
        transition: opacity 0.15s ease;
    }
    
    .hero-text-out {
        opacity: 0;
    }
    
    .hero-text-in {
        opacity: 1;
    }
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
    }
    
    .hero-content {
        padding: var(--space-6);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn-primary,
    .btn--outline-light {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-decoration__circle--1 {
        width: 300px;
        height: 300px;
    }
    
    .hero-decoration__circle--2,
    .hero-decoration__circle--3 {
        display: none;
    }
}

/* ===================================
   Buttons - Enhanced with depth & feedback
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

/* Primary Button - Main CTA */
.btn--primary {
    background: linear-gradient(180deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: var(--color-white);
    box-shadow: 
        0 1px 0 0 hsla(122, 30%, 70%, 0.3) inset,  /* Top inner highlight */
        0 -1px 0 0 hsla(122, 50%, 25%, 0.2) inset, /* Bottom inner shadow */
        var(--shadow-sm);
}

.btn--primary:hover {
    background: linear-gradient(180deg, var(--primary-400) 0%, var(--primary-500) 100%);
    box-shadow: 
        0 1px 0 0 hsla(122, 30%, 70%, 0.4) inset,
        0 -1px 0 0 hsla(122, 50%, 25%, 0.2) inset,
        var(--shadow-primary);
    transform: translateY(-1px);
    color: var(--color-white);
}

.btn--primary:active {
    background: linear-gradient(180deg, var(--primary-600) 0%, var(--primary-700) 100%);
    box-shadow: var(--shadow-inner);
    transform: translateY(0);
}

/* Secondary Button */
.btn--secondary {
    background: linear-gradient(180deg, var(--secondary-500) 0%, var(--secondary-600) 100%);
    color: var(--color-white);
    box-shadow: 
        0 1px 0 0 hsla(211, 50%, 70%, 0.3) inset,
        0 -1px 0 0 hsla(211, 70%, 25%, 0.2) inset,
        var(--shadow-sm);
}

.btn--secondary:hover {
    background: linear-gradient(180deg, var(--secondary-400) 0%, var(--secondary-500) 100%);
    box-shadow: 
        0 1px 0 0 hsla(211, 50%, 70%, 0.4) inset,
        0 -1px 0 0 hsla(211, 70%, 25%, 0.2) inset,
        var(--shadow-secondary);
    transform: translateY(-1px);
    color: var(--color-white);
}

.btn--secondary:active {
    background: linear-gradient(180deg, var(--secondary-600) 0%, var(--secondary-700) 100%);
    box-shadow: var(--shadow-inner);
    transform: translateY(0);
}

/* Outline Button */
.btn--outline {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    box-shadow: none;
}

.btn--outline:hover {
    background-color: var(--color-white);
    color: var(--primary-600);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn--outline:active {
    transform: translateY(0);
}

/* Ghost Button (on light backgrounds) */
.btn--ghost {
    background-color: transparent;
    color: var(--primary-600);
    border: 2px solid var(--primary-500);
}

.btn--ghost:hover {
    background-color: var(--primary-50);
    color: var(--primary-700);
    border-color: var(--primary-600);
}

/* Accent Button */
.btn--accent {
    background: linear-gradient(180deg, var(--accent-400) 0%, var(--accent-500) 100%);
    color: var(--grey-900);
    box-shadow: 
        0 1px 0 0 hsla(45, 100%, 80%, 0.5) inset,
        0 -1px 0 0 hsla(45, 100%, 30%, 0.15) inset,
        var(--shadow-sm);
}

.btn--accent:hover {
    background: linear-gradient(180deg, var(--accent-300) 0%, var(--accent-400) 100%);
    box-shadow: 
        0 1px 0 0 hsla(45, 100%, 85%, 0.5) inset,
        0 -1px 0 0 hsla(45, 100%, 30%, 0.15) inset,
        var(--shadow-accent);
    transform: translateY(-1px);
    color: var(--grey-900);
}

.btn--accent:active {
    background: linear-gradient(180deg, var(--accent-500) 0%, var(--accent-600) 100%);
    transform: translateY(0);
}

/* Button Sizes */
.btn--sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    border-radius: var(--radius-md);
}

.btn--large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
    border-radius: var(--radius-lg);
}

/* Button with icon */
.btn .material-symbols-outlined {
    font-size: 1.25em;
}

/* Focus state for accessibility */
.btn:focus-visible {
    outline: none;
    box-shadow: var(--shadow-focus);
}

/* ===================================
   Programs Grid - Enhanced Cards
   =================================== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
}

/* Ensure minimum 3 columns on desktop */
@media (min-width: 900px) {
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.program-card {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--grey-100);
    position: relative;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--secondary-500));
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

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

.program-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--secondary-500) 100%);
    color: var(--color-white);
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
}

.program-card__icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, hsla(0, 0%, 0%, 0.1) 100%);
}

.program-card__icon .material-symbols-outlined {
    font-size: inherit;
    position: relative;
    z-index: 1;
}

.program-card__content {
    padding: var(--space-6);
}

.program-card__title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-3);
    color: var(--grey-900);
}

.program-card__title a {
    color: inherit;
}

.program-card__title a:hover {
    color: var(--primary-600);
}

.program-card__excerpt {
    color: var(--grey-500);
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
    font-size: var(--text-base);
}

.program-card__link {
    color: var(--primary-600);
    font-weight: var(--font-semibold);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-base);
    transition: all var(--transition-fast);
}

.program-card__link:hover {
    color: var(--primary-700);
    gap: var(--space-3);
}

.program-card__link .material-symbols-outlined {
    font-size: 1.25em;
    transition: transform var(--transition-fast);
}

.program-card__link:hover .material-symbols-outlined {
    transform: translateX(-4px);
}

[dir="ltr"] .program-card__link:hover .material-symbols-outlined {
    transform: translateX(4px);
}

/* ===================================
   Statistics Section - Enhanced
   =================================== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--secondary-700) 100%);
    color: var(--color-white);
    padding: var(--space-20) 0;
    position: relative;
    overflow: hidden;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-8);
    text-align: center;
    position: relative;
}

.stat-item {
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    background: hsla(0, 0%, 100%, 0.05);
    backdrop-filter: blur(4px);
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    transition: all var(--transition-base);
}

.stat-item:hover {
    background: hsla(0, 0%, 100%, 0.1);
    transform: translateY(-4px);
}

.stat-number {
    font-size: var(--text-6xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-2);
    color: var(--accent-300);
    line-height: 1;
    letter-spacing: var(--tracking-tight);
}

.stat-label {
    font-size: var(--text-lg);
    opacity: 0.9;
    font-weight: var(--font-medium);
}

/* ===================================
   Values Section - Enhanced
   =================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

/* Value Item - Used in front-page */
.value-item {
    text-align: center;
    padding: var(--space-6);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--grey-100);
}

.value-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--primary-100);
}

.value-item__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-primary);
}

.value-item__icon .material-symbols-outlined {
    font-size: 1.5rem;
}

.value-item h3 {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--grey-900);
    margin-bottom: var(--space-2);
}

.value-item p {
    font-size: var(--text-sm);
    color: var(--grey-600);
    line-height: var(--leading-relaxed);
    margin: 0;
}

/* Value Card - Alternative style */
.value-card {
    text-align: center;
    padding: var(--space-8);
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--grey-100);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-400), var(--accent-400));
    border-radius: var(--radius-full);
    opacity: 0;
    transition: all var(--transition-fast);
}

.value-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

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

.value-card__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-5);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-200) 100%);
    color: var(--primary-600);
    border-radius: var(--radius-xl);
    font-size: 1.75rem;
    transition: all var(--transition-base);
}

.value-card:hover .value-card__icon {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: var(--color-white);
    transform: scale(1.05);
}

.value-card__title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-3);
    color: var(--grey-800);
}

.value-card__description {
    color: var(--grey-500);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    margin: 0;
}

/* ===================================
   CTA Section - Compact
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--accent-400) 0%, var(--accent-500) 100%);
    color: var(--grey-900);
    text-align: center;
    padding: var(--space-10) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000000' fill-opacity='0.02' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .container {
    position: relative;
}

.cta-section h2 {
    margin-bottom: var(--space-2);
    font-size: var(--text-2xl);
    color: var(--grey-900);
    font-weight: var(--font-bold);
}

.cta-section p {
    font-size: var(--text-base);
    margin-bottom: var(--space-5);
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    color: var(--grey-700);
    line-height: var(--leading-normal);
}

.cta-section .hero-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
}

.cta-section .btn {
    box-shadow: var(--shadow-md);
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-base);
    width: auto;
    max-width: none;
    min-width: 140px;
}

.cta-section .btn--large {
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-base);
}

.cta-section .btn--outline {
    border-color: var(--grey-800);
    color: var(--grey-800);
    background: transparent;
}

.cta-section .btn--outline:hover {
    background: var(--grey-900);
    color: var(--color-white);
    border-color: var(--grey-900);
}

.cta-section .btn .material-symbols-outlined {
    font-size: 1.125rem;
}

@media (max-width: 640px) {
    .cta-section .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-section .btn {
        width: 100%;
        max-width: 260px;
    }
}

/* ===================================
   News & Success Stories - Enhanced
   =================================== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

@media (min-width: 1200px) {
    .posts-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.post-card {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--grey-100);
}

.post-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.post-card__image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.post-card__image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, hsla(0, 0%, 0%, 0.1), transparent);
}

.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.post-card:hover .post-card__image img {
    transform: scale(1.05);
}

.post-card__content {
    padding: var(--space-6);
}

.post-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-3);
    font-size: var(--text-sm);
    color: var(--grey-500);
}

.post-card__meta .material-symbols-outlined {
    font-size: 1.1em;
    vertical-align: -0.1em;
}

.post-card__title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-3);
    line-height: var(--leading-snug);
}

.post-card__title a {
    color: var(--grey-800);
    transition: color var(--transition-fast);
}

.post-card__title a:hover {
    color: var(--primary-600);
}

.post-card__excerpt {
    color: var(--grey-500);
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
    font-size: var(--text-base);
}

.post-card__link {
    color: var(--primary-600);
    font-weight: var(--font-semibold);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-base);
    transition: all var(--transition-fast);
}

.post-card__link:hover {
    color: var(--primary-700);
    gap: var(--space-3);
}

.post-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-4);
    border-top: 1px solid var(--grey-100);
    margin-top: var(--space-4);
}

/* ===================================
   Success Stories Section - Enhanced
   =================================== */
.success-stories-section {
    background: linear-gradient(
        135deg, 
        var(--primary-700) 0%, 
        var(--secondary-700) 100%
    );
    position: relative;
    overflow: hidden;
}

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

.success-stories-section .section-title h2,
.success-stories-section .section-title p {
    color: var(--color-white);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    position: relative;
    z-index: 1;
}

@media (min-width: 1200px) {
    .stories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.story-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

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

.story-card__image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.story-card__image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, hsla(0, 0%, 0%, 0.15), transparent);
}

.story-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.story-card:hover .story-card__image img {
    transform: scale(1.08);
}

.story-card__content {
    padding: var(--space-6);
}

.story-card__title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-3);
    line-height: var(--leading-snug);
}

.story-card__title a {
    color: var(--grey-800);
    transition: color var(--transition-fast);
}

.story-card__title a:hover {
    color: var(--primary-600);
}

.story-card__excerpt {
    color: var(--grey-500);
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
}

.story-card__link {
    color: var(--primary-600);
    font-weight: var(--font-semibold);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--transition-fast);
}

.story-card__link:hover {
    color: var(--primary-700);
    gap: var(--space-3);
}

/* Placeholder Story Cards (Testimonials) */
.story-card--placeholder {
    text-align: center;
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-card--placeholder .story-card__icon {
    font-size: 2.5rem;
    color: var(--primary-500);
    margin-bottom: var(--space-4);
    opacity: 0.8;
}

.story-card--placeholder .story-card__quote {
    font-style: italic;
    font-size: var(--text-lg);
    color: var(--grey-700);
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
    position: relative;
}

.story-card--placeholder .story-card__author {
    color: var(--grey-500);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
}

/* ===================================
   Projects Grid & Cards
   =================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

@media (min-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.project-card {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--grey-100);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.project-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-card__image img {
    transform: scale(1.05);
}

.project-status {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    color: var(--color-white);
    z-index: 1;
    box-shadow: var(--shadow-sm);
}

[dir="ltr"] .project-status {
    right: auto;
    left: var(--space-3);
}

.project-status--planned { background-color: var(--grey-500); }
.project-status--ongoing { background-color: var(--secondary-500); }
.project-status--completed { background-color: var(--success-500); }

.project-card__content {
    padding: var(--space-6);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-card__title {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-3);
    line-height: var(--leading-snug);
}

.project-card__title a {
    color: var(--grey-900);
    transition: color var(--transition-fast);
}

.project-card__title a:hover {
    color: var(--primary-600);
}

.project-card__excerpt {
    color: var(--grey-600);
    margin-bottom: var(--space-4);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    flex-grow: 1;
}

.project-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--grey-100);
    font-size: var(--text-sm);
    color: var(--grey-500);
}

.project-card__meta span {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.project-card__meta .material-symbols-outlined {
    font-size: 1.1em;
    color: var(--primary-500);
}

/* ===================================
   Story Card Extras
   =================================== */
.story-card__program {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--primary-700);
    display: flex;
    align-items: center;
    gap: var(--space-1);
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

[dir="ltr"] .story-card__program {
    left: auto;
    right: var(--space-3);
}

.story-card__program .material-symbols-outlined {
    font-size: 1.1em;
}

.story-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--grey-100);
    font-size: var(--text-sm);
    color: var(--grey-500);
}

.story-card__meta span {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.story-card__meta .material-symbols-outlined {
    font-size: 1.1em;
    color: var(--secondary-500);
}

/* ===================================
   Archive Filters
   =================================== */
.archive-filters {
    margin-bottom: var(--space-10);
}

.filter-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    background: var(--color-white);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--grey-100);
}

@media (min-width: 768px) {
    .filter-bar {
        flex-direction: row;
        justify-content: center;
    }
}

.filter-label {
    font-weight: var(--font-bold);
    color: var(--grey-700);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    background-color: var(--grey-50);
    color: var(--grey-600);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.filter-btn:hover {
    background-color: var(--grey-100);
    color: var(--primary-600);
}

.filter-btn.active {
    background-color: var(--primary-50);
    color: var(--primary-700);
    border-color: var(--primary-200);
}

.filter-btn .material-symbols-outlined {
    font-size: 1.1em;
}

/* ===================================
   Newsletter Section - Compact
   =================================== */
.newsletter-section {
    background: linear-gradient(
        135deg, 
        var(--primary-600) 0%, 
        var(--primary-700) 100%
    );
    padding: var(--space-6) 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: hsla(122, 50%, 80%, 0.08);
    border-radius: var(--radius-full);
    filter: blur(40px);
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.newsletter-text h3 {
    color: var(--color-white);
    margin-bottom: var(--space-1);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
}

.newsletter-text p {
    color: hsla(0, 0%, 100%, 0.85);
    margin-bottom: 0;
    font-size: var(--text-sm);
}

.newsletter-form__group {
    display: flex;
    gap: var(--space-2);
}

.newsletter-form input[type="email"] {
    padding: var(--space-2) var(--space-4);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-family: var(--font-primary);
    min-width: 240px;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-400);
    box-shadow: 
        var(--shadow-md),
        0 0 0 2px hsla(45, 100%, 50%, 0.15);
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--grey-400);
    font-size: var(--text-sm);
}

.newsletter-form .btn {
    white-space: nowrap;
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

/* ===================================
   WhatsApp Button - Floating
   =================================== */
.whatsapp-button {
    position: fixed;
    bottom: var(--space-8);
    left: var(--space-8);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-base);
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

html[dir="ltr"] .whatsapp-button {
    left: auto;
    right: var(--space-8);
}

.whatsapp-button:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-button:active {
    transform: translateY(-2px) scale(1);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
}

/* ===================================
   Footer - Redesigned & Enhanced
   =================================== */
.site-footer {
    background: linear-gradient(180deg, var(--grey-900) 0%, hsl(210, 24%, 10%) 100%);
    color: var(--grey-300);
    position: relative;
}

/* Decorative top border */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--primary-500) 0%, 
        var(--accent-400) 50%, 
        var(--secondary-500) 100%);
}

.footer-main {
    padding: var(--space-20) 0 var(--space-16);
    position: relative;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: var(--space-12);
    position: relative;
    z-index: 1;
}

/* Widget Titles with Decorative Underline */
.footer-widget h4 {
    color: var(--color-white);
    margin-bottom: var(--space-8);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    position: relative;
    padding-bottom: var(--space-4);
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-400), var(--accent-400));
    border-radius: var(--radius-full);
}

[dir="ltr"] .footer-widget h4::after {
    right: auto;
    left: 0;
}

/* Footer About Widget (First Column) */
.footer-about {
    padding-inline-end: var(--space-6);
}

.footer-about h4 {
    font-size: var(--text-2xl);
    line-height: var(--leading-snug);
    margin-bottom: var(--space-4);
}

.footer-about h4::after {
    display: none;
}

.footer-about p {
    color: var(--grey-400);
    line-height: var(--leading-loose);
    margin-bottom: var(--space-6);
    font-size: var(--text-base);
}

/* Footer Logo Enhanced */
.footer-logo {
    margin-bottom: var(--space-5);
    display: inline-flex;
    justify-content: center;
    padding: var(--space-4);
    background: hsl(0deg 0% 100% / 78%);
    border-radius: var(--radius-xl);
    border: 1px solid hsla(0, 0%, 100%, 0.08);
    transition: all var(--transition-fast);
}

.footer-logo:hover {
    background: hsla(0, 0%, 100%, 0.08);
    border-color: hsla(0, 0%, 100%, 0.12);
}

.footer-logo .custom-logo-link,
.footer-logo-link {
    display: inline-block;
    line-height: 0;
}

.footer-logo .custom-logo,
.footer-logo-img {
    height: 60px;
    width: auto;
    max-width: 280px;
    transition: transform var(--transition-fast);
    filter: drop-shadow(0 2px 4px hsla(0, 0%, 0%, 0.2));
}

.footer-logo .custom-logo-link:hover .custom-logo,
.footer-logo-link:hover .footer-logo-img {
    transform: scale(1.03);
}

/* Footer Menu Lists */
.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget li {
    margin-bottom: var(--space-4);
}

.footer-widget a {
    color: var(--grey-400);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-base);
    position: relative;
}

.footer-widget a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 1px;
    background: var(--accent-400);
    transition: width var(--transition-fast);
}

[dir="ltr"] .footer-widget a::before {
    right: auto;
    left: 0;
}

.footer-widget a:hover {
    color: var(--color-white);
    padding-inline-start: 0;
}

.footer-widget a:hover::before {
    width: 100%;
}

/* Programs List with Icons */
.footer-programs a {
    padding-inline-start: 0;
}

.footer-programs .material-symbols-outlined {
    font-size: 1.25rem;
    color: var(--primary-400);
    background: hsla(122, 39%, 41%, 0.15);
    padding: var(--space-2);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.footer-programs a:hover .material-symbols-outlined {
    background: var(--primary-500);
    color: var(--color-white);
    transform: scale(1.1);
}

/* Contact Info Section */
.footer-contact-info {
    background: hsla(0, 0%, 100%, 0.03);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid hsla(0, 0%, 100%, 0.06);
}

.footer-contact {
    margin-top: var(--space-2);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
    color: var(--grey-300);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.06);
}

.footer-contact li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.footer-contact .material-symbols-outlined,
.footer-contact .fab {
    color: var(--primary-400);
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsla(122, 39%, 41%, 0.12);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.footer-contact li:hover .material-symbols-outlined,
.footer-contact li:hover .fab {
    background: var(--primary-500);
    color: var(--color-white);
    transform: scale(1.05);
}

.footer-contact a {
    color: var(--grey-300);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--accent-400);
}

.footer-contact a::before {
    display: none;
}

/* Social Links Enhanced */
.footer-social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-8);
    flex-wrap: wrap;
}

.footer-social a,
.footer-social .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, hsla(0, 0%, 100%, 0.08) 0%, hsla(0, 0%, 100%, 0.04) 100%);
    color: var(--grey-300);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    border: 1px solid hsla(0, 0%, 100%, 0.08);
    font-size: 1.25rem;
}

.footer-social a::before {
    display: none;
}

.footer-social a:hover {
    color: var(--color-white);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px hsla(0, 0%, 0%, 0.3);
}

/* Social Brand Colors on Hover */
.footer-social a[href*="facebook"]:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.footer-social a[href*="twitter"]:hover,
.footer-social a[href*="x.com"]:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.footer-social a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #e6683c;
}

.footer-social a[href*="linkedin"]:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.footer-social a[href*="youtube"]:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.footer-social a[href*="whatsapp"]:hover {
    background: #25d366;
    border-color: #25d366;
}

/* Footer Bottom Enhanced */
.footer-bottom {
    background: hsla(0, 0%, 0%, 0.4);
    padding: var(--space-6) 0;
    font-size: var(--text-sm);
    color: var(--grey-500);
    border-top: 1px solid hsla(0, 0%, 100%, 0.05);
}

.footer-bottom__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-copyright {
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.footer-copyright a {
    color: var(--primary-400);
    font-weight: var(--font-medium);
}

.footer-copyright a:hover {
    color: var(--accent-400);
}

.footer-bottom__links {
    display: flex;
    gap: var(--space-4);
    align-items: center;
}

.footer-bottom__links a {
    color: var(--grey-400);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
}

.footer-bottom__links a:hover {
    color: var(--color-white);
    background: hsla(0, 0%, 100%, 0.05);
}

.footer-bottom__links .separator {
    color: var(--grey-700);
    font-weight: var(--font-normal);
}

/* Footer Social in bottom */
.footer-social .social-links {
    display: flex;
    gap: var(--space-3);
}

.footer-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: hsla(0, 0%, 100%, 0.1);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

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

/* Social Link Brand Colors - Footer */
.footer-social .social-facebook:hover { background: #1877F2; }
.footer-social .social-x-twitter:hover { background: #000000; }
.footer-social .social-instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.footer-social .social-linkedin:hover { background: #0A66C2; }
.footer-social .social-youtube:hover { background: #FF0000; }
.footer-social .social-tiktok:hover { background: #000000; }
.footer-social .social-telegram:hover { background: #0088cc; }
.footer-social .social-whatsapp:hover { background: #25D366; }

/* Contact Text with Labels */
.contact-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.contact-label {
    font-size: var(--text-xs);
    color: var(--grey-500);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-text a,
.contact-text span:not(.contact-label) {
    color: var(--grey-300);
    font-size: var(--text-base);
}

/* Footer Responsive Adjustments */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-10);
    }
    
    .footer-about {
        grid-column: span 2;
        padding-inline-end: 0;
        text-align: center;
    }
    
    .footer-about h4::after {
        display: none;
    }
    
    .footer-logo {
        display: inline-flex;
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-contact-info {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .footer-main {
        padding: var(--space-12) 0 var(--space-10);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
        text-align: center;
    }
    
    .footer-about,
    .footer-contact-info {
        grid-column: span 1;
    }
    
    .footer-widget h4::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    [dir="ltr"] .footer-widget h4::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    .footer-contact li {
        justify-content: center;
        text-align: right;
    }
    
    [dir="ltr"] .footer-contact li {
        text-align: left;
    }
    
    .footer-bottom__content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
    }
}

/* ===================================
   Page Templates - Enhanced
   =================================== */
.page-header {
    background: linear-gradient(
        135deg, 
        var(--primary-700) 0%, 
        var(--secondary-700) 100%
    );
    color: var(--color-white);
    padding: var(--space-16) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Ensure all text in page-header is white */
.page-header,
.page-header *,
.page-header h1,
.page-header h2,
.page-header p,
.page-header a,
.page-header span {
    color: var(--color-white);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M40 40c0-6.627-5.373-12-12-12s-12 5.373-12 12 5.373 12 12 12 12-5.373 12-12zm0-40c0-6.627-5.373-12-12-12S16-6.627 16 0s5.373 12 12 12 12-5.373 12-12zm32 40c0-6.627-5.373-12-12-12s-12 5.373-12 12 5.373 12 12 12 12-5.373 12-12zm0-40c0-6.627-5.373-12-12-12S48-6.627 48 0s5.373 12 12 12 12-5.373 12-12z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header__title {
    margin-bottom: var(--space-3);
    font-size: var(--text-4xl);
    position: relative;
    color: var(--color-white);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    opacity: 0.85;
    position: relative;
    color: var(--color-white);
}

.breadcrumb a {
    color: var(--color-white);
    transition: opacity var(--transition-fast);
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.page-content {
    padding: var(--space-16) 0;
}

/* ===================================
   Forms - Enhanced
   =================================== */
.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: var(--font-semibold);
    color: var(--grey-700);
    font-size: var(--text-sm);
}

.form-control {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--grey-800);
    background-color: var(--color-white);
    border: 2px solid var(--grey-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-xs);
}

.form-control:hover {
    border-color: var(--grey-300);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 
        var(--shadow-xs),
        0 0 0 3px hsla(122, 47%, 35%, 0.15);
}

.form-control::placeholder {
    color: var(--grey-400);
}

textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

/* Form validation states */
.form-control.is-valid {
    border-color: var(--success-500);
}

.form-control.is-valid:focus {
    box-shadow: 
        var(--shadow-xs),
        0 0 0 3px hsla(142, 71%, 45%, 0.15);
}

.form-control.is-invalid {
    border-color: var(--error-500);
}

.form-control.is-invalid:focus {
    box-shadow: 
        var(--shadow-xs),
        0 0 0 3px hsla(0, 84%, 60%, 0.15);
}

.form-help {
    font-size: var(--text-sm);
    color: var(--grey-500);
    margin-top: var(--space-2);
}

.form-error {
    font-size: var(--text-sm);
    color: var(--error-600);
    margin-top: var(--space-2);
}

/* ===================================
   Utilities - Enhanced
   =================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.text-primary { color: var(--primary-600); }
.text-secondary { color: var(--secondary-600); }
.text-accent { color: var(--accent-600); }
.text-white { color: var(--color-white); }
.text-muted { color: var(--grey-500); }

.bg-primary { background-color: var(--primary-600); }
.bg-secondary { background-color: var(--secondary-600); }
.bg-light { background-color: var(--grey-50); }
.bg-dark { background-color: var(--grey-900); }
.bg-white { background-color: var(--color-white); }

/* Spacing utilities using new scale */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-2); }
.mb-2 { margin-bottom: var(--space-4); }
.mb-3 { margin-bottom: var(--space-6); }
.mb-4 { margin-bottom: var(--space-8); }
.mb-5 { margin-bottom: var(--space-10); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-2); }
.mt-2 { margin-top: var(--space-4); }
.mt-3 { margin-top: var(--space-6); }
.mt-4 { margin-top: var(--space-8); }

.py-section { padding-top: var(--space-16); padding-bottom: var(--space-16); }
.py-section-sm { padding-top: var(--space-10); padding-bottom: var(--space-10); }

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-title h2 {
    margin-bottom: var(--space-3);
    font-size: var(--text-4xl);
    color: var(--grey-900);
}

.section-title p {
    color: var(--grey-500);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
}

/* ===================================
   Responsive Styles - Enhanced
   =================================== */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        padding: var(--space-16) var(--space-8);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base), left var(--transition-base);
        overflow-y: auto;
        z-index: 9999 !important;
        display: flex;
    }
    
    html[dir="ltr"] .nav-menu {
        right: auto;
        left: -100%;
    }
    
    html[dir="ltr"] .nav-menu.active {
        left: 0;
    }
    
    .nav-menu.active {
        right: 0;
        z-index: 9999 !important;
        display: flex !important;
    }
    
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-right: var(--space-6);
        background: var(--grey-50);
        margin-top: var(--space-2);
        border-radius: var(--radius-lg);
    }
    
    html[dir="ltr"] .nav-menu .sub-menu {
        padding-right: 0;
        padding-left: var(--space-6);
    }
    
    /* Mobile header layout using flexbox order */
    .header-main .container {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-3);
    }
    
    /* RTL: Donate button (right) | Logo (center) | Menu toggle (left/end) */
    .header-actions {
        order: 1;
        flex-shrink: 0;
    }
    
    .site-branding {
        order: 2;
        flex: 1;
        min-width: 0;
        text-align: center;
    }
    
    .main-navigation {
        order: 3;
        flex-shrink: 0;
    }
    
    .menu-toggle {
        display: block;
        position: static;
        transform: none;
        background-color: var(--color-white);
        box-shadow: var(--shadow-sm);
        border-radius: var(--radius-lg);
        z-index: auto;
    }
    
    /* LTR: Menu toggle (left/start) | Logo (center) | Donate button (right/end) */
    html[dir="ltr"] .main-navigation {
        order: 1;
    }
    
    html[dir="ltr"] .header-actions {
        order: 3;
    }
    
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    /* Header top bar responsive */
    .header-top__contact {
        gap: var(--space-4);
    }
    
    .contact-item--hours,
    .contact-item--location {
        display: none;
    }
    
    .header-cta__donate span {
        display: none;
    }
    
    .header-cta__donate {
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: var(--radius-full);
    }
}

@media (max-width: 768px) {
    /* Responsive typography adjustments */
    .section-title h2 {
        font-size: var(--text-3xl);
    }
    
    .hero-title {
        font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
    }
    
    .header-top .container {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .header-top__contact {
        justify-content: center;
        text-align: center;
    }
    
    .header-top__actions {
        justify-content: center;
    }
    
    .language-switcher {
        display: none;
    }
    
    .hero {
        min-height: 65vh;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--spacing-md);
    }
    
    .program-card__icon {
        height: 100px;
    }
    
    .program-card__content {
        padding: var(--spacing-md);
    }
    
    .program-card__title {
        font-size: var(--text-base);
    }
    
    .program-card__excerpt {
        font-size: var(--text-sm);
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* Responsive grids on tablet */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
    
    .posts-grid,
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .post-card__content {
        padding: var(--spacing-md);
    }
    
    .post-card__title {
        font-size: var(--text-base);
    }
    
    .post-card__excerpt {
        font-size: var(--text-sm);
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .post-card__link {
        font-size: var(--text-sm);
    }
    
    .story-card__image {
        height: 120px;
    }
    
    .story-card__content {
        padding: var(--spacing-md);
    }
    
    .story-card__title {
        font-size: var(--text-base);
    }
    
    .story-card__excerpt {
        font-size: var(--text-sm);
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .story-card__link {
        font-size: var(--text-sm);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-8);
    }
    
    .footer-widget h4 {
        display: block;
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    /* Search modal responsive */
    .search-modal__content {
        padding: var(--space-6);
    }
    
    .search-modal__form {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .search-modal__submit {
        width: 100%;
        height: 48px;
    }
    
    /* Get Involved page responsive */
    .donation-content {
        grid-template-columns: 1fr;
    }
    
    .volunteer-content {
        grid-template-columns: 1fr;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .impact-items {
        grid-template-columns: 1fr;
    }
    
    /* Our Structure page responsive */
    .office-card {
        flex-direction: column;
        text-align: center;
    }
    
    .org-level--3 {
        flex-direction: column;
    }
    
    /* Newsletter responsive */
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form__group {
        flex-direction: column;
        width: 100%;
        gap: var(--space-3);
    }
    
    .newsletter-form input[type="email"] {
        min-width: 100%;
    }
    
    /* Footer responsive */
    .footer-bottom__content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
    }
    
    /* Section padding adjustments */
    .section {
        padding: var(--space-12) 0;
    }
    
    .footer-main {
        padding: var(--space-12) 0 var(--space-8);
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }
    
    .section {
        padding: var(--space-10) 0;
    }
    
    .section-title {
        margin-bottom: var(--space-8);
    }
    
    .section-title h2 {
        font-size: var(--text-2xl);
    }
    
    .section-title p {
        font-size: var(--text-base);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .programs-grid {
        gap: var(--spacing-sm);
    }
    
    .program-card__icon {
        height: 80px;
    }
    
    .program-card__icon .material-symbols-outlined {
        font-size: 2rem;
    }
    
    .program-card__content {
        padding: var(--spacing-sm);
    }
    
    .program-card__title {
        font-size: var(--text-sm);
    }
    
    .program-card__excerpt {
        display: none;
    }
    
    .program-card__link {
        font-size: var(--text-sm);
    }
    
    .posts-grid {
        gap: var(--spacing-sm);
    }
    
    .post-card__content {
        padding: var(--spacing-sm);
    }
    
    .post-card__title {
        font-size: var(--text-sm);
    }
    
    .post-card__meta {
        font-size: var(--text-xs);
    }
    
    .post-card__excerpt {
        display: none;
    }
    
    .post-card__link {
        font-size: var(--text-xs);
    }
    
    .stories-grid {
        gap: var(--spacing-sm);
    }
    
    .story-card__image {
        height: 100px;
    }
    
    .story-card__content {
        padding: var(--spacing-sm);
    }
    
    .story-card__title {
        font-size: var(--text-sm);
    }
    
    .story-card__excerpt {
        display: none;
    }
    
    .story-card__link {
        font-size: var(--text-xs);
    }
    
    .stat-card {
        padding: var(--space-5);
    }
    
    .btn {
        width: 100%;
    }
    
    .page-header {
        padding: var(--space-10) 0;
    }
    
    .page-header__title {
        font-size: var(--text-2xl);
    }
    
    .partnership-contact {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    /* Cards adjustments */
    .program-card__content,
    .post-card__content,
    .story-card__content {
        padding: var(--space-5);
    }
    
    .value-card {
        padding: var(--space-6);
    }
    
    /* WhatsApp button */
    .whatsapp-button {
        bottom: var(--space-5);
        width: 50px;
        height: 50px;
        font-size: var(--text-xl);
    }
    
    html[dir="ltr"] .whatsapp-button {
        right: var(--space-5);
    }
    
    html[dir="rtl"] .whatsapp-button {
        left: var(--space-5);
    }
}

/* ===================================
   Accessibility - Enhanced
   =================================== */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--grey-50);
    clip: auto !important;
    clip-path: none;
    color: var(--grey-900);
    display: block;
    font-size: var(--text-base);
    height: auto;
    left: var(--space-4);
    padding: var(--space-4);
    text-decoration: none;
    top: var(--space-4);
    width: auto;
    z-index: 100000;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* Enhanced focus states for better accessibility */
:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

/* Skip links */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    z-index: 9999;
    background: var(--grey-900);
    color: var(--color-white);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: var(--font-medium);
}

.skip-link:focus {
    top: var(--space-4);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode adjustments */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
    
    .form-control {
        border-width: 3px;
    }
    
    .card,
    .program-card,
    .post-card,
    .story-card {
        border: 2px solid var(--grey-400);
    }
}

/* ===================================
   Page Hero Section - Enhanced
   =================================== */
.page-hero {
    position: relative;
    background: linear-gradient(
        135deg, 
        var(--primary-700) 0%, 
        var(--primary-600) 25%,
        var(--secondary-600) 75%,
        var(--secondary-700) 100%
    );
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: var(--color-white);
    padding: var(--space-20) 0 var(--space-16);
    text-align: center;
    min-height: 360px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Ensure all text in page-hero is white */
.page-hero,
.page-hero *,
.page-hero h1,
.page-hero h2,
.page-hero p,
.page-hero a,
.page-hero span {
    color: var(--color-white);
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Decorative circles */
.page-hero::before,
.page-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
}

.page-hero::before {
    width: 400px;
    height: 400px;
    background: var(--color-white);
    top: -150px;
    right: -100px;
    animation: floatSubtle 8s ease-in-out infinite;
}

.page-hero::after {
    width: 300px;
    height: 300px;
    background: var(--accent-400);
    bottom: -100px;
    left: -50px;
    animation: floatSubtle 10s ease-in-out infinite reverse;
}

/* Geometric pattern overlay */
.page-hero .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.page-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.9), rgba(21, 101, 192, 0.85));
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero__title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: var(--tracking-tight);
    position: relative;
    display: inline-block;
    color: var(--color-white);
}

/* Decorative underline for title */
.page-hero__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-400);
    border-radius: var(--radius-full);
    box-shadow: 0 2px 10px rgba(255, 193, 7, 0.4);
}

.page-hero__subtitle {
    font-size: var(--text-lg);
    opacity: 0.95;
    max-width: 650px;
    margin: var(--spacing-lg) auto 0;
    line-height: var(--leading-relaxed);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--color-white);
}

/* Breadcrumb in hero */
.page-hero__breadcrumb {
    margin-bottom: var(--spacing-md);
    font-size: var(--text-sm);
    opacity: 0.8;
}

.page-hero__breadcrumb a {
    color: var(--color-white);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.page-hero__breadcrumb a:hover {
    opacity: 0.7;
}

.page-hero__breadcrumb .separator {
    margin: 0 var(--spacing-xs);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-hero {
        min-height: 280px;
        padding: var(--space-12) 0;
    }
    
    .page-hero__title {
        font-size: var(--text-3xl);
    }
    
    .page-hero__title::after {
        width: 60px;
        height: 3px;
        bottom: -6px;
    }
    
    .page-hero__subtitle {
        font-size: var(--text-base);
    }
    
    .page-hero::before {
        width: 250px;
        height: 250px;
        top: -100px;
        right: -80px;
    }
    
    .page-hero::after {
        width: 180px;
        height: 180px;
        bottom: -60px;
        left: -40px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .page-hero {
        animation: none;
    }
    
    .page-hero::before,
    .page-hero::after {
        animation: none;
    }
}

/* ===================================
   Get Involved Page Styles
   =================================== */
.ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.way-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border-top: 4px solid transparent;
}

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

.way-card--donate {
    border-top-color: var(--color-primary);
}

.way-card--volunteer {
    border-top-color: var(--color-secondary);
}

.way-card--partnership {
    border-top-color: var(--color-accent);
}

.way-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    font-size: 2rem;
}

.way-card--donate .way-card__icon {
    background: rgba(46, 125, 50, 0.1);
    color: var(--color-primary);
}

.way-card--volunteer .way-card__icon {
    background: rgba(21, 101, 192, 0.1);
    color: var(--color-secondary);
}

.way-card--partnership .way-card__icon {
    background: rgba(255, 193, 7, 0.2);
    color: var(--color-accent-dark);
}

.way-card__title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-sm);
}

.way-card__description {
    color: var(--color-gray-500);
    margin-bottom: var(--spacing-lg);
}

/* Donation Section */
.donation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
}

.donation-method {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.donation-method__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.donation-method__content h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark);
}

.bank-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bank-details li {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-sm);
}

.bank-details strong {
    min-width: 100px;
    color: var(--color-gray-500);
}

.donation-note {
    background: rgba(33, 150, 243, 0.1);
    border-right: 4px solid var(--color-info);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

html[dir="ltr"] .donation-note {
    border-right: none;
    border-left: 4px solid var(--color-info);
}

.donation-note i {
    color: var(--color-info);
    font-size: 1.5rem;
}

.donation-note p {
    margin: 0;
    color: var(--color-gray-500);
}

/* Impact Section */
.donation-impact h3 {
    margin-bottom: var(--spacing-lg);
}

.impact-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.impact-item {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.impact-item__amount {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.impact-item p {
    margin: 0;
    color: var(--color-gray-500);
    font-size: var(--font-size-sm);
}

/* Volunteer Section */
.volunteer-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-2xl);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.area-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--color-light);
    border-radius: var(--radius-md);
}

.area-item i {
    color: var(--color-secondary);
    font-size: 1.25rem;
}

.volunteer-form-wrapper {
    background: var(--color-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.btn--full {
    width: 100%;
}

/* Partnership Section */
.partnership-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.partnership-type {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.partnership-type:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.partnership-type__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: var(--color-dark);
    border-radius: var(--radius-full);
    font-size: 1.5rem;
}

.partnership-type h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

.partnership-type p {
    color: var(--color-gray-500);
    margin: 0;
    font-size: var(--font-size-sm);
}

.partnership-cta {
    text-align: center;
    padding: var(--spacing-2xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.partnership-cta h3 {
    margin-bottom: var(--spacing-sm);
}

.partnership-cta > p {
    color: var(--color-gray-500);
    margin-bottom: var(--spacing-lg);
}

.partnership-contact {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* Partners Section */
.partners-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
}

.partners-placeholder {
    text-align: center;
    color: var(--color-gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   Our Structure Page Styles
   =================================== */
.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--grey-700);
}

.intro-content p {
    margin-bottom: var(--spacing-md);
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
}

.intro-content ul {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0;
}

.intro-content ul li {
    margin-bottom: var(--spacing-sm);
    font-size: var(--text-lg);
}

.intro-content a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color var(--transition-fast);
    border-bottom: 1px solid transparent;
}

.intro-content a:hover {
    color: var(--primary-700);
    border-bottom-color: var(--primary-500);
}

.lead-text {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--color-gray-500);
}

/* Main Offices */
.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.office-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: var(--spacing-lg);
    transition: all var(--transition-base);
}

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

.office-card__icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-size: 1.75rem;
    flex-shrink: 0;
}

.office-card__content h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
}

.office-card__content p {
    color: var(--color-gray-500);
    margin-bottom: var(--spacing-md);
}

.office-responsibilities {
    list-style: none;
    padding: 0;
    margin: 0;
}

.office-responsibilities li {
    position: relative;
    padding-right: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-sm);
    color: var(--color-gray-400);
}

html[dir="ltr"] .office-responsibilities li {
    padding-right: 0;
    padding-left: var(--spacing-md);
}

.office-responsibilities li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--color-primary);
}

html[dir="ltr"] .office-responsibilities li::before {
    right: auto;
    left: 0;
}

/* Specialized Offices */
.specialized-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.specialized-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

.specialized-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-size: 2rem;
}

.specialized-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

.specialized-card p {
    color: var(--color-gray-500);
    margin-bottom: var(--spacing-md);
}

.specialized-card__link {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.specialized-card__link:hover {
    gap: var(--spacing-sm);
}

/* Organization Chart */
.org-chart-visual {
    max-width: 900px;
    margin: 0 auto;
}

.org-level {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    position: relative;
    padding: var(--spacing-xl) 0;
}

.org-level::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: var(--spacing-xl);
    background: var(--color-gray-200);
}

.org-level--1::before {
    display: none;
}

.org-node {
    background: var(--color-white);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    min-width: 160px;
    justify-content: center;
}

.org-node i {
    color: var(--color-primary);
}

.org-node--main {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    padding: var(--spacing-lg) var(--spacing-xl);
    font-weight: 600;
}

.org-node--main i {
    color: var(--color-white);
}

.org-node--fsl i { color: #4CAF50; }
.org-node--health i { color: #E91E63; }
.org-node--protection i { color: #9C27B0; }
.org-node--wash i { color: #2196F3; }

/* CTA Box */
.cta-box {
    text-align: center;
    padding: var(--spacing-2xl);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: var(--radius-lg);
    color: var(--color-white);
}

.cta-box h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.cta-box p {
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.section--gray {
    background-color: var(--color-light);
}

/* ===================================
   Search Results Page
   =================================== */
.search-results-header {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    padding: var(--spacing-2xl) 0;
    margin-bottom: var(--spacing-xl);
}

.search-results-header .page-title {
    color: var(--color-white);
    margin: 0;
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
}

.search-results-header .search-query {
    color: var(--accent-300);
}

.search-info {
    background: var(--grey-100);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-xl);
    border-right: 4px solid var(--color-primary);
}

.search-info p {
    margin: 0;
    font-weight: var(--font-medium);
    color: var(--grey-700);
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.search-result-item {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    border: 1px solid var(--grey-200);
}

.search-result-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.search-result-content {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    align-items: start;
}

.search-result-thumbnail {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.search-result-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.search-result-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.search-result-item:hover .search-result-thumbnail img {
    transform: scale(1.05);
}

.search-result-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    min-width: 0;
}

.search-result-text .entry-header {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.search-result-text .post-type-label {
    display: inline-block;
    background: var(--primary-100);
    color: var(--primary-700);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    width: fit-content;
}

.search-result-text .entry-title {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    margin: 0;
}

.search-result-text .entry-title a {
    color: var(--grey-800);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.search-result-text .entry-title a:hover {
    color: var(--color-primary);
}

.search-result-text .entry-summary {
    color: var(--grey-600);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

.search-result-text .entry-summary p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-text .entry-footer {
    margin-top: auto;
    padding-top: var(--spacing-sm);
}

.search-result-text .read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-primary);
    font-weight: var(--font-medium);
    text-decoration: none;
    transition: gap var(--transition-fast), color var(--transition-fast);
}

.search-result-text .read-more:hover {
    gap: var(--spacing-sm);
    color: var(--primary-700);
}

.search-result-text .read-more .material-symbols-outlined {
    font-size: 1.25em;
}

/* No results */
.no-results {
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-lg);
    background: var(--grey-50);
    border-radius: var(--radius-lg);
}

.no-results-icon {
    margin-bottom: var(--spacing-lg);
}

.no-results-icon .material-symbols-outlined {
    font-size: 4rem;
    color: var(--grey-400);
}

.no-results h2 {
    font-size: var(--text-2xl);
    color: var(--grey-800);
    margin-bottom: var(--spacing-sm);
}

.no-results p {
    color: var(--grey-600);
    margin-bottom: var(--spacing-xl);
}

.search-again {
    max-width: 500px;
    margin: 0 auto var(--spacing-xl);
}

.browse-suggestions {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--grey-200);
}

.browse-suggestions h3 {
    font-size: var(--text-lg);
    color: var(--grey-700);
    margin-bottom: var(--spacing-md);
}

.browse-suggestions ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.browse-suggestions a {
    color: var(--color-primary);
    font-weight: var(--font-medium);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.browse-suggestions a:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

/* Pagination for search results */
.search-results + .pagination,
.navigation.pagination {
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.navigation.pagination .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-white);
    border: 1px solid var(--grey-300);
    border-radius: var(--radius-md);
    color: var(--grey-700);
    font-weight: var(--font-medium);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.navigation.pagination .page-numbers:hover:not(.current):not(.dots) {
    background: var(--primary-50);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.navigation.pagination .page-numbers.current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.navigation.pagination .page-numbers.dots {
    border: none;
    background: transparent;
    min-width: auto;
    padding: 0 var(--spacing-xs);
    color: var(--grey-500);
}

.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
}

.navigation.pagination .page-numbers .material-symbols-outlined {
    font-size: 1.25em;
}

@media (max-width: 480px) {
    .navigation.pagination .nav-links {
        gap: var(--spacing-xs);
    }
    
    .navigation.pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--text-sm);
    }
    
    .navigation.pagination .page-numbers.prev,
    .navigation.pagination .page-numbers.next {
        padding: var(--spacing-xs) var(--spacing-md);
    }
}

/* Search results responsive - 2 cards per row on mobile */
@media (max-width: 768px) {
    .search-results-header {
        padding: var(--spacing-xl) 0;
    }
    
    .search-results-header .page-title {
        font-size: var(--text-2xl);
    }
    
    .search-results {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .search-result-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        padding: var(--spacing-md);
    }
    
    .search-result-thumbnail {
        width: 100%;
        height: 120px;
    }
    
    .search-result-text .entry-title {
        font-size: var(--text-base);
    }
    
    .search-result-text .entry-summary {
        font-size: var(--text-sm);
    }
    
    .search-result-text .entry-summary p {
        -webkit-line-clamp: 2;
    }
    
    .browse-suggestions ul {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .search-info {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .search-results {
        gap: var(--spacing-sm);
    }
    
    .search-result-content {
        padding: var(--spacing-sm);
        gap: var(--spacing-xs);
    }
    
    .search-result-thumbnail {
        height: 100px;
    }
    
    .search-result-text .entry-title {
        font-size: var(--text-sm);
    }
    
    .search-result-text .post-type-label {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    
    .search-result-text .entry-summary {
        display: none;
    }
    
    .search-result-text .read-more {
        font-size: var(--text-sm);
    }
}

/* ===================================
   Scroll Reveal Animations
   =================================== */

/* Base reveal state - hidden */
.reveal {
    opacity: 0;
    transition: opacity var(--duration-500) var(--ease-out),
                transform var(--duration-500) var(--ease-out);
    will-change: opacity, transform;
}

/* Reveal directions */
.reveal-up {
    transform: translateY(40px);
}

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

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

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

.reveal-scale {
    transform: scale(0.9);
}

.reveal-fade {
    transform: none;
}

/* Visible state */
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delays for grid children */
.reveal-stagger > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > *:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger > *:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger > *:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger > *:nth-child(5) { transition-delay: 400ms; }
.reveal-stagger > *:nth-child(6) { transition-delay: 500ms; }
.reveal-stagger > *:nth-child(7) { transition-delay: 600ms; }
.reveal-stagger > *:nth-child(8) { transition-delay: 700ms; }

/* Alternative stagger - faster */
.reveal-stagger-fast > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger-fast > *:nth-child(2) { transition-delay: 50ms; }
.reveal-stagger-fast > *:nth-child(3) { transition-delay: 100ms; }
.reveal-stagger-fast > *:nth-child(4) { transition-delay: 150ms; }
.reveal-stagger-fast > *:nth-child(5) { transition-delay: 200ms; }
.reveal-stagger-fast > *:nth-child(6) { transition-delay: 250ms; }
.reveal-stagger-fast > *:nth-child(7) { transition-delay: 300ms; }
.reveal-stagger-fast > *:nth-child(8) { transition-delay: 350ms; }

/* Delay modifiers */
.reveal-delay-100 { transition-delay: 100ms; }
.reveal-delay-200 { transition-delay: 200ms; }
.reveal-delay-300 { transition-delay: 300ms; }
.reveal-delay-400 { transition-delay: 400ms; }
.reveal-delay-500 { transition-delay: 500ms; }

/* Duration modifiers */
.reveal-slow {
    transition-duration: var(--duration-700, 700ms);
}

.reveal-fast {
    transition-duration: var(--duration-300);
}

/* Section title reveal with underline animation */
.section-title.reveal.is-visible::after {
    animation: underlineGrow 0.6s var(--ease-out) 0.3s forwards;
}

@keyframes underlineGrow {
    from {
        transform: scaleX(0);
        transform-origin: center;
    }
    to {
        transform: scaleX(1);
        transform-origin: center;
    }
}

/* Stats counter animation enhancement */
.stat-item.reveal {
    transform: translateY(30px) scale(0.95);
}

.stat-item.reveal.is-visible {
    transform: translateY(0) scale(1);
}

/* Card reveal with subtle rotation */
.program-card.reveal,
.post-card.reveal,
.story-card.reveal,
.value-card.reveal {
    transform: translateY(40px);
}

.program-card.reveal.is-visible,
.post-card.reveal.is-visible,
.story-card.reveal.is-visible,
.value-card.reveal.is-visible {
    transform: translateY(0);
}

/* CTA section special reveal */
.cta-section .reveal-up {
    transform: translateY(50px);
}

/* Timeline items alternate animation */
.timeline-item:nth-child(odd).reveal {
    transform: translateX(-30px);
}

.timeline-item:nth-child(even).reveal {
    transform: translateX(30px);
}

.timeline-item.reveal.is-visible {
    transform: translateX(0);
}

/* Floating animation for decorative elements */
@keyframes floatSubtle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: floatSubtle 4s ease-in-out infinite;
}

/* Pulse animation for CTAs */
@keyframes pulseSubtle {
    0%, 100% {
        box-shadow: 0 0 0 0 hsla(122, 39%, 41%, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px hsla(122, 39%, 41%, 0);
    }
}

.pulse-animation {
    animation: pulseSubtle 2s ease-in-out infinite;
}

/* Shimmer effect for loading states */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.shimmer {
    background: linear-gradient(
        90deg,
        var(--grey-100) 0%,
        var(--grey-50) 50%,
        var(--grey-100) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Reduced motion - accessibility */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-up,
    .reveal-down,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .reveal-fade {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .reveal-stagger > *,
    .reveal-stagger-fast > * {
        transition-delay: 0ms;
    }
    
    .float-animation,
    .pulse-animation,
    .shimmer {
        animation: none;
    }
    
    .section-title.reveal.is-visible::after {
        animation: none;
        transform: scaleX(1);
    }
}

/* ===================================
   Content Layout with Sidebar
   Modern Grid-Based Layout System
   =================================== */

/* Content Wrapper - Main Layout Grid */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

/* 2-column layout: 70% content, 30% sidebar */
.content-wrapper.has-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: var(--space-8);
    align-items: start;
}

/* Main Content Area */
.main-content,
.single-post,
.page-article,
.program-article,
.project-article,
.story-article {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--grey-100);
}

/* ===================================
   Sidebar Styling
   Clean, Modern Widget Area
   =================================== */
.sidebar {
    position: sticky;
    top: calc(var(--space-8) + 80px); /* Account for sticky header */
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

/* Widget Base Styles */
.widget,
.sidebar-widget {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--grey-100);
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.widget:hover,
.sidebar-widget:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--grey-200);
}

/* Widget Title */
.widget-title,
.sidebar-widget h3 {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--grey-800);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--primary-100);
    position: relative;
}

.widget-title::after,
.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
    border-radius: var(--radius-full);
}

[dir="ltr"] .widget-title::after,
[dir="ltr"] .sidebar-widget h3::after {
    right: auto;
    left: 0;
}

/* Widget Lists */
.widget ul,
.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget li,
.sidebar-widget li {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--grey-100);
    transition: all var(--transition-fast);
}

.widget li:last-child,
.sidebar-widget li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget li:first-child,
.sidebar-widget li:first-child {
    padding-top: 0;
}

.widget a,
.sidebar-widget a {
    color: var(--grey-600);
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--transition-fast);
}

.widget a:hover,
.sidebar-widget a:hover {
    color: var(--primary-600);
    transform: translateX(-4px);
}

[dir="ltr"] .widget a:hover,
[dir="ltr"] .sidebar-widget a:hover {
    transform: translateX(4px);
}

/* Widget with post counts */
.widget li .post-count,
.widget li span.count {
    margin-inline-start: auto;
    background: var(--grey-100);
    color: var(--grey-500);
    font-size: var(--text-xs);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: var(--font-medium);
}

/* Search Widget */
.widget_search .search-form {
    display: flex;
    gap: var(--space-2);
}

.widget_search .search-field {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--grey-200);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-family: var(--font-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.widget_search .search-field:focus {
    outline: none;
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px hsla(122, 39%, 41%, 0.1);
}

.widget_search .search-submit {
    background: linear-gradient(180deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: var(--color-white);
    border: none;
    padding: var(--space-3);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
}

.widget_search .search-submit:hover {
    background: linear-gradient(180deg, var(--primary-400) 0%, var(--primary-500) 100%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-primary);
}

/* Recent Posts Widget */
.widget_recent_entries li {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.widget_recent_entries a {
    font-weight: var(--font-medium);
    line-height: var(--leading-snug);
}

.widget_recent_entries .post-date {
    font-size: var(--text-xs);
    color: var(--grey-400);
}

/* Categories Widget */
.widget_categories a {
    flex: 1;
}

/* Text Widget */
.widget_text p {
    font-size: var(--text-sm);
    color: var(--grey-600);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-3);
}

.widget_text p:last-child {
    margin-bottom: 0;
}

.widget-link {
    color: var(--primary-600);
    font-weight: var(--font-medium);
    font-size: var(--text-sm);
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
}

.widget-link:hover {
    color: var(--primary-700);
}

/* Sidebar CTA Widget */
.sidebar-cta,
.widget-cta {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    color: var(--color-white);
    text-align: center;
    border: none;
}

.sidebar-cta:hover,
.widget-cta:hover {
    box-shadow: var(--shadow-lg);
}

.sidebar-cta h3,
.sidebar-cta .widget-title,
.widget-cta h4 {
    color: var(--color-white);
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: var(--space-2);
    font-size: var(--text-lg);
}

.sidebar-cta h3::after,
.sidebar-cta .widget-title::after {
    display: none;
}

.sidebar-cta p,
.widget-cta p {
    color: hsla(0, 0%, 100%, 0.9);
    font-size: var(--text-sm);
    margin-bottom: var(--space-5);
    line-height: var(--leading-relaxed);
}

.widget-cta__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsla(0, 0%, 100%, 0.15);
    border-radius: var(--radius-full);
}

.widget-cta__icon .material-symbols-outlined {
    font-size: 1.75rem;
    color: var(--accent-300);
}

.sidebar-cta .btn--primary,
.widget-cta .btn--primary {
    background: linear-gradient(180deg, var(--accent-400) 0%, var(--accent-500) 100%);
    color: var(--grey-900);
    width: 100%;
    box-shadow: var(--shadow-accent);
}

.sidebar-cta .btn--primary:hover,
.widget-cta .btn--primary:hover {
    background: linear-gradient(180deg, var(--accent-300) 0%, var(--accent-400) 100%);
    transform: translateY(-2px);
}

/* Donation Bank Widget */
.donation-widget {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
}

.donation-widget__intro {
    text-align: center;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.donation-widget__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    margin-bottom: var(--space-3);
}

.donation-widget__icon .material-symbols-outlined {
    font-size: 2rem;
    color: var(--color-white);
}

.donation-widget__intro p {
    margin: 0;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.9);
}

.donation-widget__bank {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    margin-bottom: var(--space-4);
}

.donation-widget__bank h4 {
    font-size: var(--text-base);
    font-weight: 700;
    margin: 0 0 var(--space-3);
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.donation-widget__bank h4::before {
    content: '🏦';
    font-size: 1.25rem;
}

.donation-widget__account {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-2) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.donation-widget__account:last-child {
    border-bottom: none;
}

.donation-widget__account .label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.donation-widget__account .account-number {
    font-family: 'Courier New', monospace;
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-white);
    background: rgba(0, 0, 0, 0.2);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    letter-spacing: 1px;
}

.donation-widget__footer {
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.donation-widget__footer .btn {
    background: var(--color-white);
    color: var(--primary-700);
    font-weight: 600;
    transition: all 0.3s ease;
}

.donation-widget__footer .btn:hover {
    background: var(--accent-400);
    color: var(--grey-900);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Related Programs/Projects Card */
.related-program-card .program-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--grey-50);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    color: var(--grey-700);
    font-weight: var(--font-medium);
}

.related-program-card .program-link:hover {
    background: var(--primary-50);
    color: var(--primary-700);
    transform: none;
}

.related-program-card .program-link .material-symbols-outlined {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
}

.related-program-card .program-excerpt {
    font-size: var(--text-sm);
    color: var(--grey-500);
    margin-top: var(--space-3);
    line-height: var(--leading-relaxed);
}

/* Related Projects List */
.related-projects-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-projects-list li {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--grey-100);
}

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

.related-projects-list a {
    color: var(--grey-600);
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: color var(--transition-fast);
}

.related-projects-list a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-400);
    border-radius: 50%;
    flex-shrink: 0;
}

.related-projects-list a:hover {
    color: var(--primary-600);
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--grey-100);
    color: var(--primary-600);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    transition: gap var(--transition-fast);
}

.view-all-link:hover {
    gap: var(--space-3);
    color: var(--primary-700);
}

.view-all-link .material-symbols-outlined {
    font-size: 1.1em;
}

/* Project Details Card */
.project-details-card .project-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-details-card .project-details-list li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-3);
    align-items: center;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--grey-100);
}

.project-details-card .project-details-list li:last-child {
    border-bottom: none;
}

.project-details-card .detail-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grey-100);
    border-radius: var(--radius-sm);
    color: var(--grey-600);
}

.project-details-card .detail-icon .material-symbols-outlined {
    font-size: 1rem;
}

.project-details-card .detail-label {
    font-size: var(--text-xs);
    color: var(--grey-500);
    font-weight: var(--font-medium);
}

.project-details-card .detail-value {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--grey-800);
}

/* Share Widget */
.share-widget .share-buttons {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.share-widget .share-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--color-white);
    transition: all var(--transition-fast);
    font-size: 1rem;
}

.share-widget .share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.share-widget .share-btn--facebook { background: #1877f2; }
.share-widget .share-btn--twitter { background: #1da1f2; }
.share-widget .share-btn--whatsapp { background: #25d366; }
.share-widget .share-btn--linkedin { background: #0077b5; }

/* ===================================
   Single Post/Page Styling
   Modern Article Presentation
   =================================== */

/* Featured Image */
.post-featured-image,
.page-featured-image {
    margin-bottom: var(--space-6);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.post-featured-image img,
.page-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Meta */
.post-meta,
.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    padding: var(--space-4);
    background: var(--grey-50);
    border-radius: var(--radius-md);
}

.post-meta__item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--grey-600);
    font-size: var(--text-sm);
}

.post-meta__item .material-symbols-outlined {
    font-size: 1.1em;
    color: var(--primary-500);
}

.post-meta__item a {
    color: var(--grey-600);
}

.post-meta__item a:hover {
    color: var(--primary-600);
}

/* Entry Content Typography */
.entry-content {
    font-size: var(--text-base);
    line-height: var(--leading-loose);
    color: var(--grey-700);
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
    color: var(--grey-800);
}

.entry-content h2 { font-size: var(--text-3xl); }
.entry-content h3 { font-size: var(--text-2xl); }
.entry-content h4 { font-size: var(--text-xl); }
.entry-content h5 { font-size: var(--text-lg); }

.entry-content p {
    margin-bottom: var(--space-5);
}

.entry-content ul,
.entry-content ol {
    margin-bottom: var(--space-5);
    padding-inline-start: var(--space-6);
}

.entry-content li {
    margin-bottom: var(--space-2);
    line-height: var(--leading-relaxed);
}

.entry-content blockquote {
    margin: var(--space-8) 0;
    padding: var(--space-6);
    padding-inline-start: var(--space-8);
    background: var(--grey-50);
    border-radius: var(--radius-md);
    border-inline-start: 4px solid var(--primary-500);
    font-style: italic;
    color: var(--grey-600);
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.entry-content a {
    color: var(--primary-600);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.entry-content a:hover {
    color: var(--primary-700);
}

.entry-content table {
    width: 100%;
    margin-bottom: var(--space-6);
    border-collapse: collapse;
}

.entry-content th,
.entry-content td {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--grey-200);
    text-align: inherit;
}

.entry-content th {
    background: var(--grey-100);
    font-weight: var(--font-semibold);
}

/* Post Share Section */
.post-share {
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--grey-200);
}

.post-share__title {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--grey-700);
    margin-bottom: var(--space-4);
}

.post-share .share-buttons {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.post-share .share-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--color-white);
    transition: all var(--transition-fast);
    font-size: 1rem;
}

.post-share .share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.post-share .share-btn--facebook { background: #1877f2; }
.post-share .share-btn--twitter { background: #1da1f2; }
.post-share .share-btn--whatsapp { background: #25d366; }
.post-share .share-btn--linkedin { background: #0077b5; }

/* Post Navigation */
.post-navigation {
    margin-top: var(--space-8);
    padding: var(--space-6);
    background: var(--grey-50);
    border-radius: var(--radius-lg);
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.post-navigation .nav-next {
    text-align: left;
}

[dir="rtl"] .post-navigation .nav-next {
    text-align: left;
}

[dir="ltr"] .post-navigation .nav-next {
    text-align: right;
}

.post-navigation .nav-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-xs);
    color: var(--grey-500);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-navigation .nav-label .material-symbols-outlined {
    font-size: 1em;
}

.post-navigation a {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--grey-800);
    transition: color var(--transition-fast);
    line-height: var(--leading-snug);
}

.post-navigation a:hover {
    color: var(--primary-600);
}

/* Page Links (multi-page posts) */
.page-links {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--grey-200);
    font-weight: var(--font-medium);
}

.page-links a,
.page-links > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
}

.page-links a {
    background: var(--grey-100);
    color: var(--grey-700);
    transition: all var(--transition-fast);
}

.page-links a:hover {
    background: var(--primary-500);
    color: var(--color-white);
}

.page-links > span:not(.page-links-title) {
    background: var(--primary-500);
    color: var(--color-white);
}

/* Taxonomy Badges */
.project-taxonomies,
.story-taxonomies {
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--grey-200);
}

.taxonomy-group {
    margin-bottom: var(--space-4);
}

.taxonomy-group:last-child {
    margin-bottom: 0;
}

.taxonomy-label {
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    color: var(--grey-500);
    margin-bottom: var(--space-2);
    display: block;
}

.taxonomy-terms {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.term-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    background: var(--primary-100);
    color: var(--primary-700);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.term-badge:hover {
    background: var(--primary-500);
    color: var(--color-white);
}

.term-badge--secondary {
    background: var(--secondary-100);
    color: var(--secondary-700);
}

.term-badge--secondary:hover {
    background: var(--secondary-500);
    color: var(--color-white);
}

.term-badge--outline {
    background: transparent;
    border: 1px solid var(--grey-300);
    color: var(--grey-600);
}

.term-badge--outline:hover {
    background: var(--grey-800);
    border-color: var(--grey-800);
    color: var(--color-white);
}

/* Story Impact Section */
.story-impact {
    margin-top: var(--space-6);
    padding: var(--space-6);
    background: linear-gradient(135deg, var(--success-50) 0%, var(--primary-50) 100%);
    border-radius: var(--radius-lg);
    border-inline-start: 4px solid var(--success-500);
}

.story-impact h3 {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-lg);
    color: var(--success-700);
    margin-bottom: var(--space-3);
}

.story-impact h3 .material-symbols-outlined {
    color: var(--success-500);
}

.story-impact p {
    margin: 0;
    color: var(--grey-700);
    line-height: var(--leading-relaxed);
}

/* ===================================
   Sidebar Responsive Styles
   =================================== */
@media (max-width: 1024px) {
    .content-wrapper.has-sidebar,
    [dir="rtl"] .content-wrapper.has-sidebar,
    [dir="ltr"] .content-wrapper.has-sidebar {
        grid-template-columns: 1fr;
    }
    
    /* Content first on tablet/mobile, sidebar second */
    .content-wrapper.has-sidebar .main-content,
    .content-wrapper.has-sidebar .single-post,
    .content-wrapper.has-sidebar .page-article,
    .content-wrapper.has-sidebar .program-article,
    .content-wrapper.has-sidebar .project-article,
    .content-wrapper.has-sidebar .story-article {
        order: 1;
    }
    
    .content-wrapper.has-sidebar .sidebar {
        order: 2;
    }
    
    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
    
    .sidebar-cta {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .main-content,
    .single-post,
    .page-article,
    .program-article,
    .project-article,
    .story-article {
        padding: var(--space-5);
        border-radius: var(--radius-lg);
    }
    
    .sidebar {
        grid-template-columns: 1fr;
    }
    
    .sidebar-cta {
        grid-column: span 1;
    }
    
    .post-navigation .nav-links {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .post-navigation .nav-next {
        text-align: inherit;
        padding-top: var(--space-4);
        border-top: 1px solid var(--grey-200);
    }
    
    .post-meta,
    .entry-meta {
        flex-direction: column;
        gap: var(--space-2);
    }
}

@media (max-width: 480px) {
    .main-content,
    .single-post,
    .page-article {
        padding: var(--space-4);
    }
    
    .widget,
    .sidebar-widget {
        padding: var(--space-4);
    }
}

/* ===================================
   Enhanced Sidebar Widgets
   =================================== */

/* Donation Banner */
.sidebar-donation-banner {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%) !important;
    border: none !important;
    color: var(--color-white);
    text-align: center;
    padding: var(--space-6) !important;
}

.donation-banner__icon {
    width: 64px;
    height: 64px;
    background: hsla(0, 0%, 100%, 0.15);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
}

.donation-banner__icon .material-symbols-outlined {
    font-size: 32px;
    color: var(--accent-400);
}

.donation-banner__title {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-2);
    color: var(--color-white);
}

.donation-banner__text {
    font-size: var(--text-sm);
    opacity: 0.9;
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
}

.sidebar-donation-banner .btn--primary {
    background: var(--accent-500);
    color: var(--grey-900);
    border: none;
}

.sidebar-donation-banner .btn--primary:hover {
    background: var(--accent-400);
    transform: translateY(-2px);
}

/* Programs Widget */
.sidebar-programs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-programs-list li {
    border-bottom: 1px solid var(--grey-100);
}

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

.sidebar-programs-list a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    color: var(--grey-600);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.sidebar-programs-list a:hover {
    color: var(--primary-600);
    padding-right: var(--space-2);
}

.sidebar-programs-list .material-symbols-outlined {
    font-size: 20px;
    color: var(--primary-500);
}

/* Projects Widget */
.sidebar-projects-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-projects-list li {
    border-bottom: 1px solid var(--grey-100);
    padding: var(--space-3) 0;
}

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

.sidebar-projects-list a {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    color: var(--grey-700);
    transition: all var(--transition-fast);
}

.sidebar-projects-list a:hover {
    color: var(--primary-600);
}

.sidebar-projects-list .project-title {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
}

.sidebar-projects-list .project-location {
    font-size: var(--text-xs);
    color: var(--grey-500);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.sidebar-projects-list .project-location .material-symbols-outlined {
    font-size: 14px;
}

/* Contact Widget */
.sidebar-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-4);
}

.sidebar-contact-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
}

.sidebar-contact-list .material-symbols-outlined,
.sidebar-contact-list .fab {
    color: var(--primary-500);
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.sidebar-contact-list a {
    color: var(--grey-600);
    transition: color var(--transition-fast);
}

.sidebar-contact-list a:hover {
    color: var(--primary-600);
}

/* Social Widget */
.sidebar-social-links {
    display: flex;
    flex-direction: row;
    gap: var(--space-2);
    flex-wrap: wrap;
    justify-content: flex-start;
}

.sidebar-social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grey-100);
    border-radius: var(--radius-md);
    color: var(--grey-600);
    transition: all var(--transition-fast);
}

.sidebar-social-links a:hover {
    background: var(--primary-500);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Donation Banner Widget - White Title */
.sidebar-donation-banner .widget-title,
.sidebar-donation-banner h3 {
    color: var(--color-white) !important;
}

/* Reduce wp-block-heading size in sidebar */
.widget-area .wp-block-heading,
.sidebar .wp-block-heading,
#secondary .wp-block-heading {
    font-size: var(--text-lg);
    margin-top: var(--space-4);
    margin-bottom: var(--space-3);
}

/* View All Links */
.view-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding-top: var(--space-4);
    margin-top: var(--space-3);
    border-top: 1px solid var(--grey-100);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--primary-600);
    transition: all var(--transition-fast);
}

.view-all-link:hover {
    color: var(--primary-700);
    gap: var(--space-3);
}

.view-all-link .material-symbols-outlined {
    font-size: 18px;
}

/* ===================================
   Footer Developer Credit
   =================================== */
.footer-developer {
    text-align: center;
    padding-top: var(--space-4);
    margin-top: var(--space-4);
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
}

.footer-developer p {
    font-size: var(--text-xs);
    color: var(--grey-500);
    margin: 0;
}

.footer-developer a {
    color: var(--grey-400);
    transition: color var(--transition-fast);
}

.footer-developer a:hover {
    color: var(--accent-400);
}

/* ===================================
   Contact Page Styles
   =================================== */

/* Contact Hero - Compact */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    padding: var(--space-8) 0 var(--space-6);
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.contact-hero .page-hero__title {
    color: var(--color-white);
    font-size: var(--text-3xl);
    margin-bottom: var(--space-2);
    position: relative;
}

.contact-hero .page-hero__subtitle {
    color: hsla(0, 0%, 100%, 0.9);
    font-size: var(--text-base);
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

/* Contact Section - Compact */
.contact-section {
    padding: var(--space-8) 0;
    background: var(--grey-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-6);
    align-items: start;
}

/* Contact Info Card */
.contact-info {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--grey-100);
}

.contact-info h2 {
    font-size: var(--text-xl);
    color: var(--primary-700);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--primary-100);
}

.contact-info__items {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--grey-50);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.contact-info__item:hover {
    background: var(--primary-50);
    transform: translateX(-3px);
}

[dir="ltr"] .contact-info__item:hover {
    transform: translateX(3px);
}

.contact-info__icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--primary-500);
    color: var(--color-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info__icon .material-symbols-outlined {
    font-size: 20px;
}

.contact-info__text h3 {
    font-size: var(--text-sm);
    color: var(--grey-600);
    margin-bottom: var(--space-1);
    font-weight: var(--font-medium);
}

.contact-info__text p {
    font-size: var(--text-base);
    color: var(--grey-800);
    margin: 0;
    font-weight: var(--font-medium);
}

/* Contact Social */
.contact-social {
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--grey-200);
}

.contact-social h3 {
    font-size: var(--text-sm);
    color: var(--grey-600);
    margin-bottom: var(--space-3);
}

.contact-social .social-links {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.contact-social .social-links a {
    width: 36px;
    height: 36px;
    background: var(--grey-100);
    color: var(--grey-600);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.contact-social .social-links a:hover {
    background: var(--primary-500);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--grey-100);
}

.contact-form-wrapper h2 {
    font-size: var(--text-xl);
    color: var(--primary-700);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--primary-100);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.contact-form .form-group {
    margin-bottom: 0;
}

.contact-form label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--grey-700);
    margin-bottom: var(--space-1);
}

.contact-form .form-control {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-base);
    border: 1px solid var(--grey-300);
    border-radius: var(--radius-md);
    background: var(--color-white);
    transition: all var(--transition-fast);
    font-family: inherit;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px hsla(var(--primary-hue), 50%, 50%, 0.15);
}

.contact-form textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.contact-form select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: var(--space-8);
}

[dir="ltr"] .contact-form select.form-control {
    background-position: right 12px center;
    padding-left: var(--space-3);
    padding-right: var(--space-8);
}

.contact-form .btn--full {
    width: 100%;
    justify-content: center;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    gap: var(--space-2);
}

/* Form Messages */
.form-messages {
    padding: var(--space-3);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-3);
    font-size: var(--text-sm);
}

.form-messages.success {
    background: var(--success-50);
    color: var(--success-700);
    border: 1px solid var(--success-200);
}

.form-messages.error {
    background: var(--error-50);
    color: var(--error-700);
    border: 1px solid var(--error-200);
}

/* Map Section - Compact */
.map-section {
    padding: var(--space-6) 0 var(--space-8);
    background: var(--grey-50);
}

.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--color-white);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 350px;
}

/* Contact Page Responsive */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: var(--space-4);
    }
}

@media (max-width: 767px) {
    .contact-hero {
        padding: var(--space-6) 0 var(--space-5);
    }
    
    .contact-hero .page-hero__title {
        font-size: var(--text-2xl);
    }
    
    .contact-section {
        padding: var(--space-6) 0;
    }
    
    .contact-info h2,
    .contact-form-wrapper h2 {
        font-size: var(--text-lg);
    }
    
    .contact-info__item {
        padding: var(--space-2);
    }
    
    .contact-info__icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
    
    .contact-info__icon .material-symbols-outlined {
        font-size: 18px;
    }
    
    .map-wrapper iframe {
        height: 280px;
    }
    
    .map-section {
        padding: var(--space-4) 0 var(--space-6);
    }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .site-header,
    .site-footer,
    .hero-buttons,
    .menu-toggle {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    /* Disable animations for print */
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===================================
   Program Hero Section
   =================================== */
.program-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 0;
}

.program-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.program-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.program-hero .container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.program-hero__icon {
    width: 80px;
    height: 80px;
    background-color: var(--accent-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.program-hero__icon .material-symbols-outlined {
    font-size: 40px;
    color: var(--primary-900);
}

.program-hero__title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ===================================
   Program Stats Section
   =================================== */
.program-stats {
    background-color: var(--primary-50);
    padding: 3rem 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--primary-100);
}

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    min-width: 200px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-600);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--grey-600);
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .program-hero {
        height: 300px;
    }
    
    .program-hero__title {
        font-size: 2rem;
    }
    
    .stats-bar {
        gap: 1.5rem;
    }
    
    .stat-item {
        min-width: 150px;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ===================================
   Grid Adjustments for Sidebar Layout
   =================================== */
.has-sidebar .programs-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.has-sidebar .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.has-sidebar .stories-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.has-sidebar .posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Ensure front page programs grid stays 5 columns on large screens */
@media (min-width: 1200px) {
    .front-page .programs-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ===================================
   Single Project Styles
   =================================== */

/* Project Hero - Compact Version */
.project-hero {
    position: relative;
    min-height: 350px;
    max-height: 450px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
}

.project-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--neutral-100);
}

.project-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.project-hero__overlay {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 350px;
    max-height: 450px;
    padding: var(--space-12) 0 var(--space-8);
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(0, 0, 0, 0.7) 100%);
}

.project-hero__overlay .container {
    position: relative;
    z-index: 2;
}

.project-hero__title {
    margin: var(--space-4) 0 var(--space-3);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.project-hero__location {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: var(--text-base);
    color: var(--color-white);
    font-weight: 500;
}

.project-hero__location .material-symbols-outlined {
    font-size: 1.25rem;
}

/* Project Status Badge */
.project-status {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-status--planned {
    background: rgba(59, 130, 246, 0.9);
    color: var(--color-white);
}

.project-status--ongoing {
    background: rgba(249, 115, 22, 0.9);
    color: var(--color-white);
}

.project-status--completed {
    background: rgba(34, 197, 94, 0.9);
    color: var(--color-white);
}

/* Project Stats Bar */
.project-stats {
    background: var(--color-white);
    border-bottom: 1px solid var(--neutral-200);
    padding: var(--space-6) 0;
}

.stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
    justify-content: center;
}

.project-stats .stat-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--neutral-50);
    border-radius: var(--radius-lg);
    min-width: 180px;
}

.project-stats .stat-item .material-symbols-outlined {
    font-size: 2rem;
    color: var(--primary-500);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.stat-value {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--neutral-900);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--neutral-600);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-hero {
        min-height: 300px;
        max-height: 350px;
    }
    
    .project-hero__overlay {
        min-height: 300px;
        max-height: 350px;
        padding: var(--space-8) 0 var(--space-6);
    }
    
    .project-hero__title {
        font-size: 1.75rem;
        margin: var(--space-3) 0 var(--space-2);
    }
    
    .stats-bar {
        gap: var(--space-4);
    }
    
    .project-stats .stat-item {
        min-width: 150px;
        padding: var(--space-2) var(--space-3);
    }
}

/* ===================================
   Programs Template Styles
   =================================== */
.programs-grid--large {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.has-sidebar .programs-grid--large {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.program-card--detailed {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card--detailed .program-card__image {
    height: 240px;
}

.program-card--detailed .program-card__image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.program-card--detailed .program-card__content {
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.program-card--detailed .program-card__stats {
    display: flex;
    gap: var(--space-6);
    margin-top: auto;
    margin-bottom: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--grey-100);
}

.program-card--detailed .stat-item {
    display: flex;
    flex-direction: column;
}

.program-card--detailed .stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-600);
}

.program-card--detailed .stat-label {
    font-size: 0.875rem;
    color: var(--grey-600);
}

@media (min-width: 992px) {
    .programs-grid--large,
    .has-sidebar .programs-grid--large {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   Donation Page Styles
   =================================== */

.donation-info {
    background: var(--neutral-50);
    border: 2px solid var(--primary-200);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    margin: var(--space-8) 0;
}

.donation-info h4 {
    color: var(--primary-700);
    font-size: var(--text-xl);
    font-weight: 700;
    margin: var(--space-6) 0 var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--primary-200);
}

.donation-info h4:first-of-type {
    margin-top: 0;
}

.donation-table {
    width: 100%;
    margin: var(--space-4) 0 var(--space-6);
    border-collapse: separate;
    border-spacing: 0;
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.donation-table thead {
    background: var(--primary-600);
}

.donation-table thead th {
    color: var(--color-white);
    font-weight: 600;
    font-size: var(--text-base);
    padding: var(--space-4) var(--space-6);
    text-align: right;
}

.donation-table tbody tr {
    border-bottom: 1px solid var(--neutral-200);
}

.donation-table tbody tr:last-child {
    border-bottom: none;
}

.donation-table tbody tr:hover {
    background: var(--primary-50);
}

.donation-table tbody td {
    padding: var(--space-4) var(--space-6);
    color: var(--neutral-700);
}

.donation-table tbody td:last-child {
    font-family: 'Courier New', monospace;
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--primary-700);
    letter-spacing: 1px;
}

.donation-note {
    background: var(--accent-50);
    border-left: 4px solid var(--accent-500);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-md);
    margin-top: var(--space-6);
    font-size: var(--text-base);
    color: var(--neutral-700);
}

/* RTL Support for donation tables */
[dir="rtl"] .donation-table thead th,
[dir="rtl"] .donation-table tbody td {
    text-align: right;
}

[dir="rtl"] .donation-note {
    border-left: none;
    border-right: 4px solid var(--accent-500);
}

@media (max-width: 768px) {
    .donation-info {
        padding: var(--space-6);
    }
    
    .donation-table thead th,
    .donation-table tbody td {
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-sm);
    }
    
    .donation-table tbody td:last-child {
        font-size: var(--text-base);
    }
}
