/* Responsive and performance optimizations */
@media (max-width: 900px) {
    .hero {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .hero > img {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 2rem !important;
    }
    .hero-content {
        text-align: center !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .services-grid-stack {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    .service-card {
        width: 100% !important;
        max-width: 340px !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 98vw;
  }
  .footer-main > div {
    max-width: 100%;
    text-align: center;
  }
  .services-grid-stack {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 98vw;
  }
  .volunteer-flex {
    flex-direction: column;
    gap: 1.5rem;
  }
  .donation-benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    max-width: 98vw;
  }
  .payment-options-section {
    padding: 18px 8px;
    max-width: 98vw;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 0.98rem;
  }
  .header, .footer-bottom {
    font-size: 0.95rem;
  }
  .logo-img {
    height: 60px;
    width: auto;
  }
  .hero {
    padding: 2rem 0.5rem;
    min-height: 30vh;
    border-radius: 12px;
  }
  .hero-content {
    padding: 1.2rem 0.5rem;
    border-radius: 12px;
  }
  .about-image img {
    width: 180px;
    height: 180px;
    border-radius: 12px;
  }
  .service-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
}
/* Event Image Overlay Modal */
.event-image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: pointer;
  transition: opacity 0.3s;
}
.event-image-modal img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(2,201,170,0.18);
  background: #fff;
}
/* Single Event Section Styling */
.events-section {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(2,201,170,0.08);
  margin: 48px auto;
  max-width: 600px;
  padding: 48px 32px;
}
.events-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.events-list {
  display: flex;
  justify-content: center;
  align-items: center;
}
.event-card {
  background: #f7f6fa;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(2,201,170,0.08);
  padding: 2rem 1.5rem;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}
.event-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.event-card h3 {
  color: #02c9aa;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}
.event-card p {
  color: #444;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
/* Footer column spacing fix */
.footer-main ul,
.footer-main h4,
.footer-main li {
  margin: 0 !important;
  padding: 0;
}

/* Force flush footer columns, remove all vertical gap */
.footer-main > div {
  margin: 0 !important;
  padding: 0 !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
/* Service Cards 3-2 Grid Layout */
.services-grid-stack {
  display: grid;
  gap: 2.5rem;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.services-grid-stack:nth-child(1) {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
  margin-bottom: 2.5rem;
}
.services-grid-stack:nth-child(2) {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
}

.service-card {
  background: #f7f6fa;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(2,201,170,0.08);
  padding: 1.2rem 1rem;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.service-card img {
  border-radius: 12px;
  margin-bottom: 1rem;
}
.service-card h3 {
  color: #02c9aa;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.service-card p {
  color: #444;
  font-size: 1rem;
}

/* About Section Layout */
.services-section {
    padding: 60px 0 40px 0;
    background: #f8f9fa;
}

.services-header {
    text-align: center;
    margin-bottom: 18px;
}

.services-header h2 {
    color: #02c9aa;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.services-header p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.09);
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s;
}

.service-card:hover {
    box-shadow: 0 12px 40px rgba(2,201,170,0.13);
}

.service-card img {
    width: 100%;
    max-width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
/* Navigation Styles Refactored from Inline */
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(2,201,170,0.08);
}

.service-card h3 {
    color: #02c9aa;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.service-card p {
    color: #444;
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 0;
    text-align: center;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}
@media (max-width: 700px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .service-card img {
        max-width: 100%;
        height: 120px;
    }
}
.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 80px auto;
    padding: 60px 24px 0 24px;
}

.about-text {
    flex: 1 1 0;
    text-align: left;
}

.about-text h1 {
    color: #02c9aa;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.about-text p.subtitle {
    color: #666;
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.about-text h2 {
    color: #02c9aa;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-text p {
    color: #222;
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: left;
}

.about-image {
    flex: 0 0 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 340px;
    height: 340px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.13);
    border: 4px solid #02c9aa;
}

@media (max-width: 900px) {
    .about-section {
        flex-direction: column;
        gap: 40px;
        padding: 40px 12px 0 12px;
    }
    .about-image img {
        width: 260px;
        height: 260px;
    }
}
/* Reset and Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Updated Theme */
    --primary-color: #02c9aa; /* Teal - Main brand color */
    --secondary-color: #bfadd7; /* Light purple - Secondary brand color */
    --accent-color: #02c9aa; /* Teal accent */
    --tertiary-color: #02c9aa; /* Teal supporting */
    --background-color: #ffffff; /* White background */
    --dark-bg: #000000; /* Black background */
    --text-primary: #000000; /* Black text */
    --text-secondary: #666666; /* Gray text */
    --text-light: #ffffff; /* White text */
    --border-color: #e5e7eb; /* Light border */
    --success-color: #02c9aa; /* Teal success */
    --warning-color: #bfadd7; /* Purple warning */
    --danger-color: #000000; /* Black danger */
    --info-color: #02c9aa; /* Teal info */
    --light-teal: #e6f9f6; /* Very light teal for backgrounds */
    --light-purple: #f3f0fb; /* Very light purple for accents */
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Base styles with performance optimizations */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
}

/* Font loading optimization with fallbacks */
.font-loaded h1, 
.font-loaded h2, 
.font-loaded h3, 
.font-loaded h4, 
.font-loaded h5, 
.font-loaded h6 {
    font-family: var(--font-heading);
}

.font-loaded body {
    font-family: var(--font-primary);
}

/* Typography with enhanced performance */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    color: var(--text-primary);
    text-rendering: optimizeLegibility;
}

h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: var(--spacing-lg);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

h4 {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
}

h5 {
    font-size: clamp(1rem, 2vw, 1.125rem);
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

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

a:hover,
a:focus {
    color: var(--secondary-color);
    outline: 2px solid transparent;
}

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

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 8px;
    text-decoration: none;
    z-index: 1001;
    border-radius: var(--radius-sm);
}

.skip-link:focus {
    top: 6px;
}

/* 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;
    }
}

/* Critical above-the-fold styles with performance optimizations */
.navbar,
.hero {
    contain: layout style paint;
    will-change: transform;
}

/* Critical CSS comments removed - actual critical styles are defined separately */

/* Container */

.container {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    text-align: left;
}

/* Performance optimizations for images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    font-family: 'object-fit: cover;'; /* IE fallback */
}

/* Optimized image loading with aspect ratio preservation */
.nav-logo-main,
.footer-logo-secondary {
    will-change: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
    aspect-ratio: 1 / 1;
}

/* Image placeholder to prevent layout shift */
.img-placeholder {
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border-radius: var(--radius-md);
}

/* Loading states */
.loading {
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.loaded {
    opacity: 1;
}

/* Navigation with performance optimizations */
.navbar {
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--text-light);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: transform var(--transition-normal), background var(--transition-normal);
    will-change: transform;
    contain: layout style paint;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.nav {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

.nav-logo-main {
    height: 50px;
    width: auto;
    border-radius: var(--radius-sm);
    object-fit: contain;
    margin-left: 20px;
}

.nav-logo-text h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
}

.nav-logo-text span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    background: #fff !important;
    color: #222 !important;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    display: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    margin-left: 40px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
    position: relative;
    z-index: 3;
}

.hero-buttons .btn {
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background: #16a085;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: #553c9a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-large {
    padding: var(--spacing-lg) var(--spacing-xxl);
    font-size: 1.125rem;
}

/* Mission Section */
.mission {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--text-light), var(--light-teal));
    text-align: center;
}

.mission-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.mission-text {
    text-align: center;
    max-width: 800px;
}

.mission-text h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.mission-text p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    text-align: left;
    line-height: 1.8;
}

.mission-stats {
    background: var(--background-color);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    justify-content: center;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Impact Cards */
.impact {
    padding: 80px 0;
    background: var(--background-color);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    color: #02c9aa;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.section-header p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 0;
}

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

.impact-card {
    background: var(--text-light);
    padding: var(--spacing-xxl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.impact-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
}

.impact-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.impact-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--text-light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.testimonial-card {
    background: var(--background-color);
    padding: var(--spacing-xxl);
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

.testimonial-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* About Page Styles */
.story-section {
    padding: 80px 0;
    background: var(--text-light);
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-content h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xl);
}

.story-content p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.values-section {
    padding: 80px 0;
    background: var(--background-color);
}

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

.value-card {
    background: var(--text-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-3px);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

.value-card h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

/* Mission Vision Values Section */
.mvv-section {
    padding: 80px 0;
    background: var(--background-color);
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.mvv-card {
    background: var(--text-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

.mvv-card:hover {
    transform: translateY(-3px);
}

.mvv-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

.mvv-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.mvv-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mvv-card ul li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

.mvv-card ul li:last-child {
    border-bottom: none;
}

.programs-section {
    padding: 80px 0;
    background: var(--text-light);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.program-card {
    background: var(--background-color);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.program-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.program-icon {
    font-size: 2rem;
    margin-right: var(--spacing-md);
}

.program-card h4 {
    color: var(--primary-color);
    margin: 0;
}

/* Founder Page Styles */
.founder-intro {
    padding: 80px 0;
    background: var(--text-light);
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

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

.founder-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--background-color);
    border: 5px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin: 0 auto var(--spacing-lg);
}

.founder-bio h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.founder-bio p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.quote-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    text-align: center;
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.quote-text::before,
.quote-text::after {
    content: '"';
    font-size: 2rem;
    opacity: 0.7;
}

.quote-author {
    font-size: 1.125rem;
    font-weight: 600;
    opacity: 0.9;
}

.background-section {
    padding: 80px 0;
    background: var(--background-color);
}

.background-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.background-card {
    background: var(--text-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.background-card h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

/* Donation Page Styles */
.donation-intro {
    padding: 80px 0;
    background: var(--text-light);
    text-align: center;
}

.donation-intro h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.donation-intro p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.donation-impact {
    padding: 80px 0;
    background: var(--background-color);
}

.donation-impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.impact-level {
    background: var(--text-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 3px solid transparent;
}

.impact-level:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.impact-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.impact-level h4 {
    margin-bottom: var(--spacing-md);
}

.impact-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.impact-level .btn {
    width: 100%;
}

.donation-form-section {
    padding: 80px 0;
    background: var(--text-light);
    text-align: center;
}

.donation-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--background-color);
    padding: var(--spacing-xxl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.donation-form h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.amount-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.amount-option {
    padding: var(--spacing-md);
    background: var(--text-light);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.amount-option:hover,
.amount-option.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--text-light);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.payment-method {
    padding: var(--spacing-md);
    background: var(--text-light);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.payment-method:hover,
.payment-method.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--text-light);
}

/* QR Payment Options */
.qr-payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.qr-option {
    background: var(--text-light);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.qr-option h4 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.qr-code {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: var(--radius-md);
    margin: var(--spacing-md) 0;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

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

.qr-option p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
    font-style: italic;
}

/* Apple Pay Specific Styles */
.apple-pay-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: var(--spacing-md) 0;
    width: 100%;
}

.apple-pay-logo {
    width: 120px;
    height: auto;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.apple-pay-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.phone-number {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    background: var(--background-color);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    letter-spacing: 1px;
    margin-top: var(--spacing-sm);
    user-select: all;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.phone-number:hover {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.qr-option::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    margin: 0 auto var(--spacing-md);
    border-radius: 2px;
}

.donation-form-outer-container {
    background: #f8fbf6;
    border-radius: 24px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.09);
    padding: 3rem 2rem;
    margin: 2.5rem auto;
    max-width: 1200px;
    width: 100%;
}

.qr-payment-options-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(2,201,170,0.08);
    padding: 1.5rem 1rem;
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: center;
    justify-items: center;
}

.service-card.qr-option {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .qr-payment-options {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .qr-code {
        width: 120px;
        height: 120px;
    }
    
    .qr-option {
        padding: var(--spacing-md);
        min-height: 240px;
    }
    
    .apple-pay-logo {
    width: 100%;
    text-align: center;
    padding: 8px 0 0 0;
    background: #02c9aa;
    color: #fff;
    font-size: 1rem;
    margin-top: 0;
        gap: var(--spacing-md);
    }
    
    .qr-option {
        padding: var(--spacing-md);
    }
    
    .qr-code {
        width: 130px;
        height: 130px;
    }
    
    .apple-pay-logo {
        width: 110px;
    }
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .footer-section {
        max-width: 100%;
        text-align: center;
    }
}

.checkbox-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
    margin-right: var(--spacing-sm);
    width: auto;
}

.form-note {
    background: var(--background-color);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-lg);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Contact Page Styles */
.contact-info-section {
    padding: 80px 0;
    background: var(--text-light);
}

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

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

.contact-main h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.contact-main p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
}

.contact-methods {
    display: grid;
    gap: var(--spacing-xl);
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-md);
}

.method-icon {
    font-size: 1.5rem;
}

.method-details h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.contact-form-container {
    background: var(--background-color);
    padding: var(--spacing-xxl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.quick-access {
    padding: 80px 0;
    background: var(--background-color);
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.access-card {
    background: var(--text-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

.access-card:hover {
    transform: translateY(-3px);
}

.access-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

.access-card h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.access-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.location-map {
    padding: 80px 0;
    background: var(--text-light);
}

.map-container {
    margin-bottom: var(--spacing-xl);
}

.map-placeholder {
    background: var(--background-color);
    padding: 60px var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px dashed var(--border-color);
}

.map-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
}

.map-placeholder h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.map-links {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.location-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.detail-item h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.faq-section {
    padding: 80px 0;
    background: var(--background-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.faq-item {
    background: var(--text-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.faq-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 40px;
}

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

.footer-logos {
    margin-bottom: var(--spacing-lg);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo-secondary {
    height: 120px;
    width: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    margin-left: 20px;
}

.footer-brand h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.footer-brand p {
    margin-bottom: var(--spacing-lg);
    opacity: 0.8;
}

/* Social links styles - uncomment when ready to use
.footer-social {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.footer-social a {
    font-size: 1.5rem;
    transition: opacity var(--transition-fast);
}

.footer-social a:hover {
    opacity: 0.7;
}
*/

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
    text-align: center;
}

.footer-section {
    text-align: center;
    min-width: 150px;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-sm) 0;
}

/* Donation Benefits Styling */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.benefit-item {
    font-size: 1.1rem;
    color: var(--text-primary);
    padding: var(--spacing-md);
    background: var(--text-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    font-weight: 500;
}

.footer-section ul li a {
    color: var(--text-light);
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

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

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

.fade-in {
    animation: fadeIn 1s ease;
}

.fade-in-up {
    animation: fadeInUp 1s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .mission-content,
    .founder-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Tablet styles for impact cards */
@media (max-width: 1024px) and (min-width: 769px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--text-light);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: var(--spacing-xl) 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-grid,
    .values-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .map-links {
        flex-direction: column;
        align-items: center;
    }
    
    .amount-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    /* Quote section responsive */
    .quote-content-with-image {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .quote-founder-photo {
        width: 150px;
        height: 150px;
    }
    
    .quote-content-with-image blockquote {
        text-align: center;
        font-size: 1.2rem;
    }
    
    .quote-content-with-image cite {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 var(--spacing-md);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .impact-card,
    .value-card,
    .program-card {
        padding: var(--spacing-lg);
    }
    
    .donation-form-container,
    .contact-form-container {
        padding: var(--spacing-lg);
    }
    
    .btn {
        padding: var(--spacing-sm) var(--spacing-lg);
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        break-after: avoid;
    }
    
    .hero,
    .page-header {
        background: none !important;
        color: black !important;
    }
}

/* Accessibility Improvements */
@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;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus indicators */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000;
        --secondary-color: #000;
        --text-primary: #000;
        --text-secondary: #000;
        --border-color: #000;
    }
}

/* Dark mode support with system preference detection */
@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #1a1a1a;
        --text-primary: #ffffff;
        --text-secondary: #cccccc;
        --border-color: #444444;
        --text-light: #ffffff;
    }
    
    .navbar {
        background: #2a2a2a;
    }
    
    .impact-card,
    .value-card,
    .program-card,
    .access-card,
    .faq-item,
    .mission-card,
    .option-card {
        background: #2a2a2a;
        color: var(--text-primary);
    }
}

/* Performance optimization utilities */
.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.prevent-layout-shift {
    contain: layout;
}

/* Lazy loading enhancement */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Critical resource hints for browsers */
.preload-hint::before {
    content: '';
    display: none;
}

/* Optimize animation performance */
@media (prefers-reduced-motion: no-preference) {
    .animate-on-scroll {
        transform: translateY(20px);
        opacity: 0;
        transition: transform 0.6s ease, opacity 0.6s ease;
    }
    
    .animate-on-scroll.visible {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Meet the Founder Page - Centered Content Styles */
.founder-profile {
    padding: 80px 0;
    background: var(--background-color);
}

.profile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    gap: 40px;
}

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

.founder-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    margin: 0 auto;
}

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

.profile-text p:not(.founder-intro) {
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    line-height: 1.8;
}

.profile-text h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.profile-text h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 500;
}

.founder-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.founder-quote-page {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    text-align: center;
}

.quote-content-with-image {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.quote-image {
    flex-shrink: 0;
}

.quote-founder-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--text-light);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.quote-text-section {
    flex: 1;
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-content blockquote {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.6;
    position: relative;
}

.quote-content-with-image blockquote {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.6;
    position: relative;
    text-align: left;
}

.quote-content cite {
    text-align: center;
    display: block;
}

.quote-content-with-image cite {
    text-align: left;
    display: block;
}

.quote-content cite strong {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 5px;
}

.quote-content-with-image cite strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.quote-spacer {
    padding: 40px 0;
    background: var(--background-color);
}

.founder-background {
    padding: 80px 0;
    background: var(--text-light);
    text-align: center;
}

.background-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.timeline-item {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.timeline-year {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.timeline-content h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.founder-philosophy {
    padding: 80px 0;
    background: var(--background-color);
    text-align: center;
}

.philosophy-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-content > p {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.8;
}

.philosophy-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.point {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.point-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.point h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.founder-recognition {
    padding: 80px 0;
    background: var(--text-light);
    text-align: center;
}

.recognition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 50px;
}

.recognition-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.recognition-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.recognition-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.personal-message {
    padding: 80px 0;
    background: var(--background-color);
    text-align: center;
}

.message-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.message-content h2 {
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 2.2rem;
}

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

.message-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.signature {
    margin-top: 40px;
    text-align: center;
}

.signature h4 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-top: 10px;
}

/* Get Involved Section */
.get-involved {
    padding: 80px 0 120px 0;
    background: var(--background-color);
}

.involvement-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

.option-card {
    background: var(--text-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

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

.option-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

.option-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.option-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.option-card .btn {
    margin-top: var(--spacing-sm);
}

/* Hero Section Updates */
.hero {
    background: #e5e7eb;
    color: var(--text-light);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    min-height: 400px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    background: hsla(260, 13%, 91%, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xxl);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.heart-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-lg);
}

.hero-placeholder h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.hero-placeholder p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.title-sub {
    display: block;
    font-size: 2rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Mission Section Updates */
.mission-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
    align-items: stretch; /* Ensures all cards have equal height */
    contain: layout style; /* Performance optimization */
}

.mission-card {
    background: var(--text-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures cards fill the grid cell height */
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    flex-shrink: 0; /* Prevents icon from shrinking */
}

.mission-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    flex-shrink: 0; /* Prevents title from shrinking */
}

.mission-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1; /* Allows paragraph to grow and fill remaining space */
}

/* Impact Section Updates */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
}

.stat {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--text-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

.stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.stat p {
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Founder Quote Section */
.founder-quote {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    text-align: center;
}

.founder-quote .quote-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.6;
    position: relative;
}

.founder-quote cite {
    text-align: center;
    display: block;
}

.founder-quote cite strong {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 5px;
}

/* Easy Payment Options Custom Styles */
.easy-payment-container {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 2.5rem 1.5rem;
    margin: 2rem auto;
    max-width: 1200px;
    width: 100%;
}
.easy-payment-title {
    text-align: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #111;
}
.easy-payment-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 2.5rem;
}
.easy-payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
}
.easy-payment-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border: 2px solid #f2f2f2;
    padding: 2rem 1rem 1.5rem 1rem;
    text-align: center;
    min-width: 260px;
    max-width: 340px;
    transition: box-shadow 0.2s;
}
.easy-payment-card:hover {
    box-shadow: 0 6px 24px rgba(2,201,170,0.12);
    border-color: #02c9aa;
}
.easy-payment-card-header {
    width: 40px;
    height: 3px;
    background: #02c9aa;
    margin: 0 auto 1rem auto;
    border-radius: 2px;
}
.easy-payment-card-title {
    color: #02c9aa;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-family: 'Playfair Display', Georgia, serif;
}
.easy-payment-img {
    width: 180px;
    height: auto;
    margin-bottom: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    background: #fff;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.easy-payment-phone {
    font-size: 1.2rem;
    font-weight: 600;
    color: #02c9aa;
    background: #f7f7f7;
    border-radius: 8px;
    padding: 0.5em 1em;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
    display: inline-block;
}
.easy-payment-desc {
    color: #888;
    font-size: 1rem;
    font-style: italic;
    margin-top: 0.5rem;
}
@media (max-width: 900px) {
    .easy-payment-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .easy-payment-card {
        min-width: 220px;
        max-width: 100%;
    }
}

/* About Section Custom Styles */
.about {
    background: #fff;
    padding: 60px 0 80px 0;
}
.about .container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.about-content {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    width: 100%;
}
.about-text {
    flex: 2;
    text-align: left;
}
.about-text h3 {
    color: #02c9aa;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}
.about-text p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 2rem;
    line-height: 1.7;
}
.about-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-image img {
    width: 340px;
    height: 340px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    background: #fff;
}
@media (max-width: 900px) {
    .about .container,
    .about-content {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    .about-image img {
        width: 260px;
        height: 260px;
    }
}

/* Get Involved Section */
.volunteer-section {
    padding: 60px 0 40px 0;
    background: #fff;
}
.volunteer-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 0 24px;
}
.volunteer-info {
    flex: 1 1 0;
    text-align: left;
}
.volunteer-title {
    color: #02c9aa;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}
.volunteer-desc {
    color: #444;
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}
.volunteer-img-wrap {
    flex: 0 0 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.volunteer-img {
    width: 420px;
    height: 280px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.13);
}
@media (max-width: 900px) {
    .volunteer-flex {
        flex-direction: column;
        gap: 40px;
        padding: 0 12px;
    }
    .volunteer-img {
        width: 100%;
        height: 200px;
    }
}

/* Make Your Donation Section */
.donation-section {
    background: #f7f7fb;
    padding: 40px 0 0 0;
    margin-bottom: 0;
}
.donation-header {
    text-align: center;
    margin-bottom: 0;
}
.donation-title {
    color: #222;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}
.donation-desc {
    color: #444;
    font-size: 1.15rem;
    margin-bottom: 0;
    line-height: 1.7;
}
.donation-benefits-wrap {
    margin: 40px auto 0 auto;
    max-width: 1200px;
    text-align: center;
}
.donation-benefits-title {
    color: #222;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
}
.donation-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 900px;
}
.donation-benefit {
    background: #fff;
    color: #02c9aa;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(2,201,170,0.08);
    padding: 1.2rem 1rem;
    margin-bottom: 0;
    text-align: center;
    border: 1.5px solid #e5e7eb;
    transition: box-shadow 0.3s;
}
.donation-benefit:hover {
    box-shadow: 0 8px 32px rgba(2,201,170,0.13);
}
@media (max-width: 900px) {
    .donation-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .donation-benefit {
        margin: 0 auto !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 340px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Contact Us Section */
.contact-section {
    padding: 60px 0 80px 0;
    background: #fff;
}
.contact-header {
    text-align: center;
    margin-bottom: 18px;
}
.contact-header h2 {
    color: #02c9aa;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}
.contact-header p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 0;
}
.contact-form-container {
    background: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 6px 32px rgba(2,201,170,0.09);
    max-width: 520px;
    margin: 0 auto;
    padding: 2.5rem 2rem 2rem 2rem;
}
.contact-form-title {
    color: #02c9aa;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: left;
    font-family: 'Inter', sans-serif;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    background: #fff;
    transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #02c9aa;
    outline: none;
}
.contact-form button {
    width: 100%;
    background: #02c9aa;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 0.9rem 0;
    cursor: pointer;
    transition: background 0.2s;
}
.contact-form button:hover {
    background: #16a085;
}
