/* CSS Variables - Apple Design System */
:root {
    /* Colors - Classic Trust Blue Palette */
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #0ea5e9;
    --accent-color: #f59e0b;
    --accent-hover: #d97706;
    --background-light: #fbfbfd;
    --text-dark: #1d1d1f;
    --text-muted: #86868b;
    --text-secondary: #515154;
    --border-light: rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 14px 44px rgba(0, 0, 0, 0.1);
    --transition-fast: 0.15s ease-out;
    --transition-base: 0.25s ease-out;
    --transition-slow: 0.4s ease-out;

    /* Typography - Inter (Apple-like) Font Stack */
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
    --font-family-display: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;

    /* Typography - Fluid Font Sizes (Apple Scale) */
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 17px;
    --font-size-md: 19px;
    --font-size-lg: 21px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 48px;
    --font-size-4xl: 64px;
    --font-size-hero: clamp(48px, 8vw, 96px);

    /* Typography - Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Typography - Line Heights (Apple-style tight) */
    --line-height-tight: 1.05;
    --line-height-heading: 1.1;
    --line-height-snug: 1.25;
    --line-height-normal: 1.47059;
    --line-height-relaxed: 1.6;

    /* Typography - Letter Spacing (Apple uses tight tracking) */
    --letter-spacing-tight: -0.022em;
    --letter-spacing-headline: -0.015em;
    --letter-spacing-normal: -0.01em;
    --letter-spacing-wide: 0.02em;
}

/* ==========================================
   BASE TYPOGRAPHY STYLES
   ========================================== */

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    overflow-x: clip;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--text-dark);
    letter-spacing: var(--letter-spacing-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background-color: var(--background-light);
}

/* Apple-Style Typography Classes */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-display);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-headline);
    line-height: var(--line-height-heading);
    color: var(--text-dark);
}

.display-1 {
    font-size: var(--font-size-hero);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.03em;
    line-height: var(--line-height-tight);
}

.display-2 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.025em;
    line-height: var(--line-height-tight);
}

.display-3 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-semibold);
    letter-spacing: -0.02em;
    line-height: var(--line-height-heading);
}

.display-4 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    letter-spacing: -0.015em;
    line-height: var(--line-height-heading);
}

.lead {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
}

p {
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Focus Visible Styles for Keyboard Navigation */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

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

/* High Contrast Focus for Interactive Elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 143, 179, 0.1);
}

/* Visually Hidden but Accessible to Screen Readers */
.sr-only,
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skeleton Loading States for Images */
.skeleton-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Image Loading States */
img {
    transition: opacity var(--transition-base);
    opacity: 1;
}

/* Reduced Motion Preferences */
@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;
    }
}

/* Typography Hierarchy */

/* Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-family-display);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1, .h1 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-black);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h2, .h2 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

h3, .h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-snug);
}

h4, .h4 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-snug);
}

h5, .h5 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-normal);
}

h6, .h6 {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-normal);
    letter-spacing: var(--letter-spacing-wide);
}

/* Display Classes for Hero/Large Text */
.display-1 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-black);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.display-2 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.display-3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.02em;
}

.display-4 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-snug);
    letter-spacing: -0.015em;
}

/* Paragraph & Body Text */
p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.lead {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-loose);
    color: var(--text-muted);
}

/* Small Text */
small, .small {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
}

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

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

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

/* Lists */
ul, ol {
    line-height: var(--line-height-relaxed);
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Quotes */
blockquote {
    font-size: var(--font-size-lg);
    font-style: italic;
    line-height: var(--line-height-loose);
    padding-left: 2rem;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
    color: var(--text-muted);
}

q {
    font-style: italic;
}

/* Code & Pre */
code {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.9em;
    background: var(--background-light);
    padding: 0.2em 0.4em;
    border-radius: 4px;
}

/* ==========================================
   TYPOGRAPHY UTILITY CLASSES
   ========================================== */

/* Font Weight Utilities */
.fw-light { font-weight: var(--font-weight-light) !important; }
.fw-normal { font-weight: var(--font-weight-normal) !important; }
.fw-medium { font-weight: var(--font-weight-medium) !important; }
.fw-semibold { font-weight: var(--font-weight-semibold) !important; }
.fw-bold { font-weight: var(--font-weight-bold) !important; }
.fw-extrabold { font-weight: var(--font-weight-extrabold) !important; }
.fw-black { font-weight: var(--font-weight-black) !important; }

/* Line Height Utilities */
.lh-tight { line-height: var(--line-height-tight) !important; }
.lh-snug { line-height: var(--line-height-snug) !important; }
.lh-normal { line-height: var(--line-height-normal) !important; }
.lh-relaxed { line-height: var(--line-height-relaxed) !important; }
.lh-loose { line-height: var(--line-height-loose) !important; }

/* Letter Spacing Utilities */
.tracking-tight { letter-spacing: var(--letter-spacing-tight) !important; }
.tracking-normal { letter-spacing: var(--letter-spacing-normal) !important; }
.tracking-wide { letter-spacing: var(--letter-spacing-wide) !important; }
.tracking-wider { letter-spacing: var(--letter-spacing-wider) !important; }
.tracking-widest { letter-spacing: var(--letter-spacing-widest) !important; }

/* Text Color Utilities */
.text-dark { color: var(--text-dark) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }

/* Text Transform */
.text-uppercase { text-transform: uppercase !important; }
.text-lowercase { text-transform: lowercase !important; }
.text-capitalize { text-transform: capitalize !important; }

/* Text Gradient (Apple-style) */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Text Shadow Utilities */
.text-shadow-sm {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.text-shadow-md {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.text-shadow-lg {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out both;
}

/* Stagger animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ==========================================
   RESPONSIVE TYPOGRAPHY
   ========================================== */

@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    h1, .h1, .display-1 {
        line-height: 1.1;
    }

    h2, .h2, .display-2 {
        line-height: 1.15;
    }

    p, .lead {
        line-height: var(--line-height-loose);
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }

    h1, .h1 {
        letter-spacing: -0.02em;
    }

    blockquote {
        padding-left: 1rem;
        border-left-width: 3px;
    }
}

/* Apple-inspired Navigation */
.navbar {
    position: sticky;
    top: 0;
    padding: 1.5rem 0;
    background-color: rgba(255, 255, 255, 0.72);
    transition: all var(--transition-base);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid transparent;
    z-index: 1050;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-sm);
}

.navbar-brand img {
    height: 40px;
    transition: transform var(--transition-base);
}

.navbar.scrolled .navbar-brand img {
    transform: scale(0.9);
}

.nav-link {
    font-weight: var(--font-weight-normal);
    font-size: 14px;
    letter-spacing: var(--letter-spacing-normal);
    padding: 0.5rem 1rem;
    color: var(--text-dark);
    opacity: 0.88;
    transition: all var(--transition-fast);
    position: relative;
}

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

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    background-color: transparent;
}

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

/* Animated Hamburger Menu */
.hamburger-menu {
    width: 30px;
    height: 24px;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-base);
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Search Button & Overlay */
.btn-search {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 18px;
    cursor: pointer;
    padding: 0.5rem;
    opacity: 0.8;
    transition: all var(--transition-fast);
    border-radius: 50%;
}

.btn-search:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.05);
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

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

.search-container {
    width: 90%;
    max-width: 700px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 20px 60px 20px 20px;
    font-size: 24px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    transition: all var(--transition-base);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.15);
}

.search-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.search-close:hover {
    opacity: 1;
}

/* Downloads Dropdown Menu */
.dropdown-menu-reports {
    min-width: 320px;
    padding: 0.5rem 0;
    border-radius: 16px;
    margin-top: 0.5rem;
    animation: dropdownFadeIn 0.3s ease;
}

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

.dropdown-header {
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    color: var(--text-muted);
    padding: 0.75rem 1.25rem 0.5rem;
}

.report-download-item {
    padding: 0.75rem 1.25rem;
    transition: all var(--transition-fast);
    position: relative;
}

.report-download-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.report-download-item:hover {
    background-color: var(--background-light);
    padding-left: 1.5rem;
}

.report-download-item:hover::before {
    transform: scaleY(1);
}

.report-download-item .fw-semibold {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.report-download-item small {
    font-size: 0.8rem;
}

.report-download-item .fa-download {
    opacity: 0;
    transform: translateX(-5px);
    transition: all var(--transition-fast);
    color: var(--primary-color);
}

.report-download-item:hover .fa-download {
    opacity: 1;
    transform: translateX(0);
}

.dropdown-divider {
    margin: 0.25rem 0;
    opacity: 0.1;
}


/* Hero Section - Enhanced with Parallax & Ken Burns */
.hero-wrapper {
    position: relative;
    min-height: 90vh;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hadassacare/Hadassa_care.JPG') center/cover no-repeat;
    animation: kenBurns 20s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translateX(0);
    }
    100% {
        transform: scale(1.1) translateX(-20px);
    }
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    animation: gradientShift 15s ease infinite;
    z-index: 1;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 0.85;
    }
    50% {
        opacity: 0.75;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-quote {
    font-size: clamp(1.2rem, 3vw, 2rem) !important;
    display: block;
    font-style: italic;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Apple-inspired hero buttons */
.hero-btn-primary {
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 500;
    background: #fff;
    color: #1d1d1f;
    border: none;
    border-radius: 980px;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.hero-btn-primary:hover {
    background: #f5f5f7;
    color: #1d1d1f;
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.hero-btn-secondary {
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 500;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 980px;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    backdrop-filter: blur(8px);
}

.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.8);
    transform: scale(1.04);
}

.hero-cta .btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    transform: translateY(0);
}

.hero-cta .btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    animation: fadeInUp 1s ease 1.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    margin: 0 auto 10px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% {
        top: 8px;
        opacity: 1;
    }
    50% {
        top: 30px;
        opacity: 0.3;
    }
}

.scroll-text {
    color: white;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    margin: 0;
}

/* Parallax Effect on Scroll */
.hero-wrapper[data-scroll] .hero-background {
    transform: translateY(var(--scroll-offset, 0));
}

/* Mobile Hero Responsiveness */
@media (max-width: 768px) {
    .hero-wrapper {
        min-height: 50vh;
    }

    .hero-content {
        min-height: 60vh;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        white-space: normal !important;
    }

    .hero-quote {
        font-size: clamp(1rem, 4vw, 1.3rem) !important;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        padding: 0 1rem;
    }

    .hero-cta .btn,
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        margin: 0;
    }

    .scroll-indicator {
        bottom: 20px;
    }
}

/* Loading States & Skeleton Screens */
.video-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: 1rem;
    z-index: 1;
}

.video-wrapper iframe {
    position: relative;
    z-index: 2;
}

.video-wrapper iframe[src] ~ .video-skeleton {
    display: none;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Impact Statistics Section */
.impact-stats {
    background: linear-gradient(180deg, #ffffff 0%, var(--background-light) 100%);
}

.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform var(--transition-base);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    margin: 1rem 0;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* About Section */
.about-section {
    background-color: #ffffff;
}

.feature-card {
    background-color: var(--background-light);
    transition: all var(--transition-base);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

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

.feature-card:hover::after {
    left: 100%;
}

.text-primary {
    color: #2563eb !important;
}

.btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    color: white;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    color: white;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 216, 0, 0.1);
    border-radius: 0.5rem;
    z-index: -1;
}

@media (max-width: 768px) {
    .about-image::after {
        display: none;
    }
}

/* Gallery Section */
.gallery-section {
    background-color: #f8f9fa;
}

.gallery-filter {
    text-align: center;
    margin-bottom: 2rem;
}

.btn-filter {
    background: none;
    border: 2px solid #2563eb;
    color: #2563eb;
    margin: 0 0.5rem;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-filter.active,
.btn-filter:hover {
    background: #2563eb;
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .btn-filter {
        margin-bottom: 0.5rem;
    }
}

/* Strategic Plan Section */
.strategic-plan {
    background-color: #ffffff;
}

.plan-section {
    max-width: 1000px;
    margin: 0 auto;
}

.execution-card {
    transition: transform 0.3s ease;
}

.execution-card:hover {
    transform: translateY(-5px);
}

.text-primary {
    color: #2563eb !important;
}

.text-success {
    color: #f59e0b !important;
}

.list-group-item {
    border: none;
    padding: 0.75rem 1.25rem;
    background-color: transparent;
}

.card {
    border: none;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .plan-section {
        padding: 0 15px;
    }
}

/* Testimonials Section */
.testimonials-section {
    background: var(--background-light);
    overflow: hidden;
}

.testimonials-carousel {
    width: 100%;
    overflow-x: hidden;
}

.testimonial-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.testimonial-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

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

.testimonial-card:hover .author-avatar img {
    transform: scale(1.1);
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.author-role {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Certificate Section */
.certificate-section {
    background-color: #f8f9fa;
}

.certificate-wrapper {
    background: white;
    padding: 20px;
    border-radius: 15px;
    transition: all var(--transition-base);
}

.certificate-wrapper:hover {
    box-shadow: var(--shadow-lg);
}

.pdf-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 141.4%;
    overflow: hidden;
    border-radius: 12px;
}

.certificate-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================
   RESPONSIVE MOBILE STYLES
   ========================================== */

@media (max-width: 991px) {
    /* Navigation Mobile */
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        margin-top: 1rem;
        border-radius: 16px;
        box-shadow: var(--shadow-lg);
    }

    .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 8px;
    }

    .nav-link:hover {
        background: var(--background-light);
    }

    /* Mobile: Language & Donate Button Layout */
    .navbar-collapse .d-flex.align-items-center {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-light);
    }

    .navbar-collapse .language-switcher {
        width: 100%;
        margin-left: 0;
    }

    .navbar-collapse .language-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
    }

    .navbar-collapse .language-dropdown {
        left: 0;
        right: 0;
        width: 100%;
    }

    .btn-search {
        width: 100%;
        text-align: left;
        padding: 0.75rem 1rem;
        border-radius: 8px;
    }

    .btn-primary {
        width: 100%;
        margin-top: 0;
        padding: 0.75rem 1.5rem;
    }

    /* Downloads Dropdown Mobile */
    .dropdown-menu-reports {
        min-width: 100%;
        margin-top: 0.5rem;
    }

    .report-download-item {
        padding: 1rem;
    }

    .report-download-item .d-flex {
        flex-direction: column;
    }

    .report-download-item .fa-download {
        align-self: flex-end;
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    /* Typography adjustments */
    .display-1 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }

    /* Impact Stats */
    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* Testimonials */
    .testimonial-track {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

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

    /* Donation Cards */
    .campaign-card {
        padding: 2rem 1.5rem;
    }

    .campaign-card.featured {
        transform: scale(1);
    }

    .campaign-card.featured:hover {
        transform: translateY(-8px) scale(1);
    }

    .campaign-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .campaign-title {
        font-size: 1.25rem;
    }

    .progress-raised {
        font-size: 1.25rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-item img {
        height: 250px;
    }

    /* About Section */
    .about-image::after {
        display: none;
    }

    /* Feature Cards */
    .feature-icon {
        font-size: 2rem;
    }

    /* Search Input */
    .search-input {
        font-size: 18px;
        padding: 15px 50px 15px 15px;
    }

    /* Certificate */
    .certificate-wrapper {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    /* Extra small devices */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Hero adjustments */
    .hero-title {
        font-size: 2rem;
    }

    .hero-cta .btn {
        font-size: 14px;
        padding: 12px 24px;
    }

    /* Stats grid */
    .stat-card {
        padding: 2rem 1rem;
    }

    .stat-icon {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Testimonial cards */
    .testimonial-card {
        padding: 1.5rem 1rem;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }

    .author-name {
        font-size: 1rem;
    }

    /* Campaign cards */
    .featured-badge {
        font-size: 0.65rem;
        padding: 4px 35px;
    }

    /* Support options */
    .support-option i {
        font-size: 1.75rem;
    }

    .support-option h5 {
        font-size: 0.9rem;
    }

    /* Gallery filters */
    .btn-filter {
        font-size: 0.85rem;
        padding: 6px 15px;
        margin: 0.25rem;
    }

    /* Spacing adjustments */
    section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

/* Landscape mobile adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-wrapper {
        min-height: auto;
    }

    .hero-content {
        min-height: auto;
        padding: 6rem 0 4rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .feature-card:hover::after,
    .testimonial-card:hover::before,
    .campaign-card:hover {
        transform: none;
    }

    /* Larger touch targets */
    .btn,
    .nav-link,
    .btn-filter {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Disable tilt effect on testimonials */
    .testimonial-card {
        transform: none !important;
    }
}

/* Print styles */
@media print {
    .navbar,
    .search-overlay,
    .scroll-indicator,
    .hero-cta {
        display: none !important;
    }

    .hero-wrapper {
        min-height: auto;
        page-break-after: always;
    }

    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #006d8f;
        --primary-hover: #05b800;
        --text-dark: #000000;
        --text-muted: #444444;
        --border-light: rgba(0, 0, 0, 0.3);
    }

    .nav-link::after {
        height: 3px;
    }

    .feature-card,
    .stat-card,
    .testimonial-card,
    .campaign-card {
        border: 2px solid var(--border-light);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-background {
        animation: none;
    }

    .hero-gradient-overlay {
        animation: none;
    }

    .scroll-wheel {
        animation: none;
    }
}

/* Dark mode support (future enhancement) */
@media (prefers-color-scheme: dark) {
    :root {
        --background-light: #1c1c1e;
        --text-dark: #f5f5f7;
        --text-muted: #a1a1a6;
    }

    body {
        background: #000000;
        color: var(--text-dark);
    }

    .navbar {
        background-color: rgba(28, 28, 30, 0.72);
    }

    .navbar.scrolled {
        background-color: rgba(28, 28, 30, 0.85);
    }

    .feature-card,
    .stat-card,
    .testimonial-card,
    .campaign-card,
    .support-option {
        background: #1c1c1e;
        color: var(--text-dark);
    }
}

/* ==========================================
   EVENTS CALENDAR SECTION
   ========================================== */

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

.events-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.event-item {
    display: flex;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.event-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.event-date {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.event-day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-content {
    flex: 1;
}

.event-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.event-category.fundraiser {
    background: rgba(0, 143, 179, 0.1);
    color: var(--primary-color);
}

.event-category.community {
    background: rgba(7, 216, 0, 0.1);
    color: var(--primary-hover);
}

.event-category.workshop {
    background: rgba(134, 134, 139, 0.1);
    color: var(--text-muted);
}

.event-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.event-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.event-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.event-meta i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* ==========================================
   WHATSAPP CHAT WIDGET
   ========================================== */

.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background: #25d366;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
}

.whatsapp-button:hover {
    background: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-button i {
    font-size: 2rem;
    color: white;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #25d366;
    border-radius: 50%;
    animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    pointer-events: none;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.whatsapp-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

.whatsapp-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-header {
    background: #25d366;
    color: white;
    padding: 1.5rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.whatsapp-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.whatsapp-info {
    flex: 1;
}

.whatsapp-info h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.whatsapp-info p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

.whatsapp-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.whatsapp-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.whatsapp-body {
    padding: 1.5rem;
    background: #ece5dd;
}

.whatsapp-message {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    position: relative;
}

.whatsapp-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 10px 0;
    border-color: transparent white transparent transparent;
}

.whatsapp-message p {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
}

.whatsapp-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.whatsapp-footer {
    padding: 1rem 1.5rem 1.5rem;
}

/* ==========================================
   RESPONSIVE STYLES FOR NEW SECTIONS
   ========================================== */

@media (max-width: 768px) {
    /* Impact Dashboard */
    .goal-progress-section {
        flex-direction: column;
    }

    .goal-stats {
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }

    .circular-progress {
        margin: 0 auto;
    }

    /* Events */
    .event-item {
        flex-direction: column;
        gap: 1.5rem;
    }

    .event-date {
        width: 70px;
        height: 70px;
    }

    .event-day {
        font-size: 1.75rem;
    }

    .event-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Partners */
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }

    .partner-logo {
        padding: 1.5rem;
        min-height: 120px;
    }

    /* WhatsApp Widget */
    .whatsapp-popup {
        width: 280px;
        max-width: calc(100vw - 60px);
        right: 0;
    }

    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
    }

    .whatsapp-button i {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    /* Goal Cards */
    .goal-header {
        flex-direction: column;
        text-align: center;
    }

    .goal-icon {
        margin: 0 auto;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    /* Child Cards */
    .child-info-grid {
        grid-template-columns: 1fr;
    }

    /* Report Cards */
    .report-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .report-download-badge {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        top: 15px;
        right: 15px;
    }

    .report-hover-text {
        font-size: 0.85rem;
        padding: 0.75rem;
    }

    /* WhatsApp */
    .whatsapp-popup {
        width: calc(100vw - 40px);
        right: -10px;
    }
}


/* ==========================================
   APPLE-INSPIRED FOOTER DESIGN
   ========================================== */

.modern-footer {
    position: relative;
    background: linear-gradient(180deg, #1d1d1f 0%, #000000 100%);
    color: #f5f5f7;
    padding: 80px 0 0 0;
    overflow: hidden;
}

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

.footer-main {
    padding-bottom: 60px;
}

/* Footer Brand Section */
.footer-brand {
    margin-bottom: 30px;
}

.footer-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
}

.footer-brand-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.brand-primary {
    color: var(--primary-color);
}

.brand-secondary {
    color: var(--secondary-color);
}

.footer-tagline {
    font-size: 14px;
    color: #86868b;
    margin-bottom: 16px;
    font-style: italic;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: #a1a1a6;
    max-width: 350px;
}

/* Footer Sections */
.footer-section {
    margin-bottom: 30px;
}

.footer-heading {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f5f5f7;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a1a1a6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color var(--transition-fast);
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width var(--transition-base);
}

.footer-links a:hover {
    color: #f5f5f7;
}

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

/* Footer Contact */
.footer-contact {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #a1a1a6;
    text-decoration: none;
    font-size: 14px;
    transition: all var(--transition-fast);
}

.contact-item i {
    width: 20px;
    color: var(--primary-color);
    font-size: 16px;
}

a.contact-item:hover {
    color: #f5f5f7;
    transform: translateX(4px);
}

/* Social Media */
.footer-social {
    margin-top: 30px;
}

.social-heading {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f5f5f7;
    margin-bottom: 16px;
}

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

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5f5f7;
    text-decoration: none;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 143, 179, 0.3);
}

.social-links a i {
    font-size: 18px;
}

/* Footer Divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    margin: 0 0 40px 0;
}

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0 40px 0;
    position: relative;
}

.footer-copyright {
    font-size: 13px;
    color: #86868b;
    margin: 0;
    font-weight: 400;
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #86868b;
    text-decoration: none;
    font-size: 13px;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: #f5f5f7;
}

.footer-legal .separator {
    color: #424245;
    user-select: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 143, 179, 0.4);
}

.back-to-top i {
    font-size: 20px;
}

/* Footer Background Pattern */
.footer-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 20% 50%, var(--primary-color) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--primary-hover) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 991px) {
    .modern-footer {
        padding: 60px 0 0 0;
    }

    .footer-main {
        padding-bottom: 40px;
    }

    .footer-brand {
        text-align: center;
        margin-bottom: 40px;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-description {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-section {
        margin-bottom: 40px;
    }

    .footer-legal {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .modern-footer {
        padding: 50px 0 0 0;
    }

    .footer-brand-name {
        font-size: 24px;
    }

    .footer-bottom {
        padding: 25px 0 30px 0;
    }

    .footer-legal {
        flex-direction: column;
        gap: 8px;
    }

    .footer-legal .separator {
        display: none;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .footer-section {
        text-align: center;
    }

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

    .footer-contact {
        text-align: left;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Dark Mode Support (future-proofing) */
@media (prefers-color-scheme: dark) {
    .modern-footer {
        /* Already dark by default */
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .footer-links a,
    .contact-item,
    .footer-legal a {
        color: #ffffff;
    }

    .footer-divider {
        background: rgba(255, 255, 255, 0.3);
    }

    .back-to-top {
        border: 2px solid #ffffff;
    }
}

/* Print Styles */
@media print {
    .modern-footer {
        background: #fff;
        color: #000;
        padding: 20px 0;
    }

    .footer-bg-pattern,
    .back-to-top,
    .social-links {
        display: none;
    }

    .footer-links a,
    .contact-item,
    .footer-legal a {
        color: #000;
    }
}

/* ==========================================
   DONATION MODAL - APPLE-INSPIRED DESIGN
   ========================================== */

/* Modal Overlay */
.donate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.donate-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.donate-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

/* Modal Container */
.donate-modal-container {
    position: relative;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10000;
    transform: scale(0.85) translateY(40px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.donate-modal.active .donate-modal-container {
    transform: scale(1) translateY(0);
    opacity: 1;
    animation: modalBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalBounce {
    0% {
        transform: scale(0.85) translateY(40px);
        opacity: 0;
    }
    50% {
        transform: scale(1.02) translateY(-5px);
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Modal Content */
.donate-modal-content {
    background: #ffffff;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2),
                0 8px 16px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Close Button */
.donate-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #1d1d1f;
    z-index: 10;
}

.donate-modal-close:hover {
    background: rgba(0, 0, 0, 0.12);
    transform: scale(1.1);
}

.donate-modal-close:active {
    transform: scale(0.95);
}

/* Modal Header */
.donate-modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.donate-modal-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.donate-modal-title {
    font-size: 32px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.donate-modal-subtitle {
    font-size: 17px;
    color: #86868b;
    font-weight: 400;
    margin: 0 0 24px 0;
}

/* Payment Methods Icons */
.payment-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.payment-method-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(0, 143, 179, 0.05);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.payment-method-item:hover {
    background: rgba(0, 143, 179, 0.1);
    transform: translateY(-2px);
}

.payment-method-item i {
    font-size: 24px;
    color: #2563eb;
}

.payment-method-item span {
    font-size: 12px;
    font-weight: 500;
    color: #1d1d1f;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Bank Details Card */
.bank-details-card {
    background: #f5f5f7;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 24px;
}

.bank-detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
}

.bank-detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bank-detail-item:first-child {
    padding-top: 0;
}

.bank-detail-label {
    font-size: 13px;
    color: #86868b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 4px;
}

.bank-detail-value {
    font-size: 17px;
    color: #1d1d1f;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    word-break: break-all;
}

.bank-detail-value.mono {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', 'Droid Sans Mono', 'Source Code Pro', monospace;
    letter-spacing: 0.02em;
}

/* Copy Button */
.copy-button {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 143, 179, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #2563eb;
    flex-shrink: 0;
}

.copy-button:hover {
    background: rgba(0, 143, 179, 0.2);
    transform: scale(1.05);
}

.copy-button:active {
    transform: scale(0.95);
}

.copy-button.copied {
    background: rgba(4, 129, 0, 0.1);
    color: #0ea5e9;
}

.copy-button.copied svg {
    animation: checkmark 0.3s ease;
}

@keyframes checkmark {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Info Message */
.donate-info-message {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 143, 179, 0.05);
    border-radius: 12px;
    border-left: 3px solid #2563eb;
}

.donate-info-message svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.donate-info-message p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #1d1d1f;
}

/* QR Code Section */
.qr-section {
    margin-top: 24px;
    padding: 24px;
    background: #ffffff;
    border-radius: 18px;
    border: 2px solid #f5f5f7;
}

.qr-code-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qr-placeholder {
    padding: 16px;
    background: #f5f5f7;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.qr-placeholder:hover {
    transform: scale(1.05);
}

.qr-text {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0;
}

.qr-subtext {
    font-size: 13px;
    color: #86868b;
    margin: 0;
}

/* Modal Footer */
.donate-modal-footer {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

/* Share Section */
.share-section {
    width: 100%;
    text-align: center;
}

.share-title {
    font-size: 14px;
    color: #86868b;
    margin: 0 0 16px 0;
    font-weight: 500;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-btn:hover::before {
    opacity: 1;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.share-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.share-facebook {
    background: linear-gradient(135deg, #1877f2, #0c5fcd);
    color: white;
}

.share-twitter {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
    color: white;
}

.share-whatsapp {
    background: linear-gradient(135deg, #25D366, #1fb855);
    color: white;
}

.share-linkedin {
    background: linear-gradient(135deg, #0077b5, #005f91);
    color: white;
}

.btn-modal-secondary {
    padding: 12px 32px;
    background: #f5f5f7;
    border: none;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 500;
    color: #1d1d1f;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-modal-secondary:hover {
    background: #e8e8ed;
    transform: scale(1.02);
}

.btn-modal-secondary:active {
    transform: scale(0.98);
}

/* Responsive Design */
@media (max-width: 576px) {
    .donate-modal-container {
        width: 95%;
        max-width: 95vw;
        padding: 0 10px;
    }

    .donate-modal-content {
        padding: 32px 20px;
        border-radius: 20px;
    }

    .donate-modal-title {
        font-size: 26px;
        word-wrap: break-word;
    }

    .donate-modal-subtitle {
        font-size: 14px;
    }

    .bank-details-card {
        padding: 16px 12px;
    }

    .bank-detail-item {
        padding: 12px 0;
        flex-wrap: wrap;
    }

    .bank-detail-value {
        font-size: 14px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: calc(100% - 50px);
    }

    .bank-detail-value.mono {
        font-size: 13px;
        letter-spacing: 0;
    }

    .copy-button {
        margin-left: 8px;
    }

    .donate-modal-close {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
    }

    .donate-info-message {
        padding: 12px;
        gap: 10px;
    }

    .donate-info-message p {
        font-size: 13px;
    }

    /* Payment Methods */
    .payment-methods {
        gap: 12px;
        flex-wrap: wrap;
    }

    .payment-method-item {
        padding: 12px 16px;
    }

    .payment-method-item i {
        font-size: 20px;
    }

    .payment-method-item span {
        font-size: 11px;
    }

    /* QR Code */
    .qr-section {
        padding: 20px 16px;
    }

    .qr-placeholder svg {
        width: 100px;
        height: 100px;
    }

    .qr-text {
        font-size: 14px;
    }

    .qr-subtext {
        font-size: 12px;
    }

    /* Share Buttons */
    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .share-buttons {
        gap: 10px;
    }

    .donate-modal-footer {
        gap: 20px;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .donate-modal-container {
        width: 98%;
        max-width: 98vw;
    }

    .donate-modal-content {
        padding: 24px 16px;
    }

    .bank-detail-value {
        font-size: 13px;
        max-width: calc(100% - 44px);
    }

    .bank-detail-value.mono {
        font-size: 12px;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .donate-modal,
    .donate-modal-container,
    .donate-modal-close,
    .copy-button,
    .btn-modal-secondary {
        transition: none;
    }
}

/* Focus Styles for Accessibility */
.donate-modal-close:focus-visible,
.copy-button:focus-visible,
.btn-modal-secondary:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
}

/* Smooth Scroll Lock when Modal is Open */
body.modal-open {
    overflow: hidden;
}

