/* =============================================
   DR. ADITI FOUNDATION - COMPLETE CSS
   Professional, Responsive, Modern Design
   ============================================= */

/* =============================================
   1. CSS RESET & BASE STYLES
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - Healthcare Theme */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-extra-light: #eff6ff;
    
    /* Secondary Colors */
    --secondary: #10b981;
    --secondary-dark: #059669;
    --accent: #ec4899;
    --accent-dark: #db2777;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --black: #000000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Inter', var(--font-sans);
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Borders */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

/* =============================================
   2. TYPOGRAPHY - Optimized for mobile
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--line-height-tight);
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

h1 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-base);
}

p {
    margin-bottom: var(--space-4);
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-base);
}

.lead {
    font-size: var(--font-size-lg);
    font-weight: 300;
    color: var(--gray-600);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.section-header h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-4);
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto var(--space-6);
    border-radius: var(--radius-full);
}

.underline-left {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 0 var(--space-6);
    border-radius: var(--radius-full);
}

/* =============================================
   3. LAYOUT & CONTAINERS - Mobile first
   ============================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* =============================================
   4. NAVIGATION - Responsive
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 var(--space-4);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--gray-900);
}

.logo img {
    height: 36px;
    width: auto;
}

.nav-menu {
    display: none;
    list-style: none;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-dropdown);
}

.nav-menu.active {
    display: flex;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.btn-donate {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: var(--space-2) var(--space-4) !important;
    border-radius: var(--radius-full);
    font-weight: 600 !important;
    transition: all var(--transition-normal) !important;
    position: relative;
    overflow: hidden;
    margin-top: var(--space-2);
    width: 100%;
    max-width: 200px;
}

.btn-donate::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-donate:hover::before {
    width: 300px;
    height: 300px;
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: var(--space-2);
    z-index: var(--z-sticky);
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--gray-700);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* =============================================
   5. BUTTONS - Mobile optimized
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    gap: var(--space-2);
    width: 100%;
    max-width: 300px;
    margin: var(--space-2) auto;
}

.btn-small {
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-sm);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* =============================================
   6. HERO SECTION - Mobile optimized
   ============================================= */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('assets/hero-slide1.jpg') center/cover no-repeat;
    color: var(--white);
    margin-top: 70px;
}

.hero-content {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: var(--space-8) 0;
}

.hero-content h1 {
    font-size: var(--font-size-3xl);
    color: var(--white);
    margin-bottom: var(--space-4);
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    padding: 0 var(--space-4);
}

.hero-content p {
    font-size: var(--font-size-lg);
    color: var(--gray-200);
    margin-bottom: var(--space-6);
    padding: 0 var(--space-4);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    justify-content: center;
    align-items: center;
    padding: 0 var(--space-4);
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-carousel .container,
.hero-carousel .hero-content {
    position: relative;
    z-index: 10;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 1.25rem;
    padding: var(--space-2) var(--space-3);
    cursor: pointer;
    z-index: 15;
    transition: all var(--transition-normal);
    border-radius: var(--radius-lg);
    display: none; /* Hide on mobile */
}

.carousel-prev {
    left: var(--space-2);
}

.carousel-next {
    right: var(--space-2);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-2);
    z-index: 15;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all var(--transition-normal);
    padding: 0;
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.carousel-indicator.active {
    background: white;
    width: 30px;
    border-radius: var(--radius-lg);
}

/* =============================================
   7. COMMON SECTIONS - Mobile optimized
   ============================================= */
section {
    padding: var(--space-12) 0;
}

.page-header {
    padding: var(--space-12) 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: var(--space-4);
    padding: 0 var(--space-4);
}

.page-header p {
    color: var(--gray-200);
    font-size: var(--font-size-lg);
    padding: 0 var(--space-4);
}

/* Mission & Aim Sections */
.mission-section,
.aim-section {
    position: relative;
    background-color: var(--gray-50);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
}

.mission-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 300px;
    margin: 0 var(--space-4);
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mission-content {
    padding: var(--space-4);
    text-align: center;
}

.mission-content h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-4);
}

.mission-content p {
    font-size: var(--font-size-base);
    color: var(--gray-600);
    line-height: var(--line-height-relaxed);
}

.aim-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-6);
    padding: 0 var(--space-4);
}

.aim-card {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    text-align: center;
}

.aim-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.aim-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
    display: block;
}

/* Programmes */
.programmes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding: 0 var(--space-4);
}

.programme-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.programme-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.programme-image {
    height: 200px;
    overflow: hidden;
}

.programme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.programme-card:hover .programme-image img {
    transform: scale(1.1);
}

.programme-content {
    padding: var(--space-4);
}

.programme-content h3 {
    color: var(--gray-900);
    margin-bottom: var(--space-3);
    font-size: var(--font-size-xl);
}

.programme-content ul {
    list-style: none;
    margin-bottom: var(--space-4);
}

.programme-content li {
    padding: var(--space-1) 0;
    color: var(--gray-600);
    position: relative;
    padding-left: var(--space-4);
    font-size: var(--font-size-sm);
}

.programme-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* =============================================
   8. DONATION PAGE - Mobile optimized
   ============================================= */
.donate-header {
    background: var(--gradient-secondary);
}

.donation-impact {
    background: var(--gray-50);
}

.impact-intro {
    text-align: center;
    max-width: 100%;
    margin: 0 auto var(--space-8);
    padding: 0 var(--space-4);
}

.impact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding: 0 var(--space-4);
}

.impact-card {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.impact-icon {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--space-4);
}

.donation-options {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.donation-option {
    margin-bottom: var(--space-4);
}

.donation-btn {
    width: 100%;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.donation-btn:hover {
    border-color: var(--primary);
    background: var(--primary-extra-light);
}

.donation-btn-content {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.donation-icon {
    font-size: 1.5rem;
}

.donation-text {
    flex: 1;
}

.donation-arrow {
    transition: transform var(--transition-fast);
}

.donation-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-top: var(--space-2);
}

.donation-details.active {
    max-height: 2000px;
    padding: var(--space-4);
    border: 2px solid var(--gray-200);
}

.donation-details.active .donation-arrow {
    transform: rotate(180deg);
}

.qr-container {
    background: var(--white);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
    display: inline-block;
    margin: var(--space-4) 0;
}

.qr-container img {
    width: 200px;
    height: 200px;
    display: block;
}

.upi-id-box,
.bank-details-box,
.check-details-box {
    background: var(--gray-50);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin: var(--space-4) 0;
}

.upi-id {
    font-family: monospace;
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-4);
    word-break: break-all;
}

.copy-btn,
.copy-btn-small {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--transition-fast);
    font-size: var(--font-size-sm);
}

.copy-btn-small {
    padding: var(--space-1) var(--space-2);
    font-size: var(--font-size-xs);
}

.copy-btn:hover,
.copy-btn-small:hover {
    background: var(--primary-dark);
}

.bank-detail-row {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--gray-200);
    flex-wrap: wrap;
}

.bank-detail-row:last-child {
    border-bottom: none;
}

.bank-detail-row .label {
    font-weight: 600;
    color: var(--gray-700);
    min-width: 120px;
    font-size: var(--font-size-sm);
}

.bank-detail-row .value {
    flex: 1;
    font-family: monospace;
    color: var(--gray-800);
    word-break: break-all;
    font-size: var(--font-size-sm);
}

.check-detail {
    margin-bottom: var(--space-4);
}

.check-detail h5 {
    margin-bottom: var(--space-2);
}

.tax-benefits {
    background: linear-gradient(135deg, var(--primary-extra-light) 0%, #f0f9ff 100%);
}

.tax-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--space-4);
}

.tax-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.tax-card {
    background: var(--white);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--gray-50);
}

.testimonials-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
    padding: 0 var(--space-4);
}

.testimonials-content {
    order: 1;
}

.testimonials-image {
    order: 2;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 300px;
}

.testimonials-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.testimonial-card {
    background: var(--white);
    padding: var(--space-4);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border-left: 4px solid var(--primary);
}

.testimonial-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary);
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: var(--space-2);
}

.testimonial-author {
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--gray-200);
}

.testimonial-author strong {
    display: block;
    color: var(--gray-900);
    font-size: var(--font-size-base);
    margin-bottom: var(--space-1);
}

.testimonial-author span {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

/* Gallery Preview */
.gallery-preview {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    padding: 0 var(--space-4);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* =============================================
   9. GALLERY PAGE - Mobile optimized
   ============================================= */
.gallery-main-grid {
    display: grid;
    gap: var(--space-8);
    padding: 0 var(--space-4);
}

.gallery-category h3 {
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--gray-200);
    font-size: var(--font-size-xl);
}

.gallery-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
}

.gallery-photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.gallery-photo:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-photo:hover img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: var(--space-2);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
    font-size: var(--font-size-xs);
}

.gallery-photo:hover .photo-overlay {
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: calc(var(--z-modal) + 1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    padding: var(--space-2) var(--space-3);
    cursor: pointer;
    border-radius: var(--radius-full);
    z-index: calc(var(--z-modal) + 1);
}

.lightbox-prev {
    left: var(--space-2);
}

.lightbox-next {
    right: var(--space-2);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.lightbox-caption {
    position: absolute;
    bottom: var(--space-4);
    left: 0;
    right: 0;
    text-align: center;
    color: var(--white);
    font-size: var(--font-size-sm);
    padding: var(--space-2);
    background: rgba(0, 0, 0, 0.7);
}

.lightbox-counter {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    color: var(--white);
    font-size: var(--font-size-sm);
    background: rgba(0, 0, 0, 0.5);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-md);
}

/* =============================================
   10. SERVICES PAGE - Mobile optimized
   ============================================= */
.service-detail {
    padding: var(--space-8) 0;
}

.service-detail.alt {
    background: var(--gray-50);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
    padding: 0 var(--space-4);
}

.service-text {
    padding: var(--space-4);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
    display: inline-block;
}

.service-lead {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    font-weight: 300;
    margin-bottom: var(--space-4);
}

.service-list {
    list-style: none;
    margin: var(--space-4) 0;
}

.service-list li {
    padding: var(--space-2) 0;
    padding-left: var(--space-6);
    position: relative;
    margin-bottom: var(--space-2);
    font-size: var(--font-size-sm);
}

.service-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.5rem;
}

.service-impact {
    background: var(--primary-extra-light);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin-top: var(--space-4);
    border-left: 4px solid var(--primary);
}

.service-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 300px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =============================================
   11. CONTACT PAGE - Mobile optimized
   ============================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding: 0 var(--space-4);
}

.contact-item {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-text h3 {
    margin-bottom: var(--space-2);
    font-size: var(--font-size-lg);
}

.contact-text p {
    font-size: var(--font-size-sm);
}

.social-icons-large {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 1.25rem;
    text-decoration: none;
    color: var(--gray-700);
    transition: all var(--transition-normal);
}

.social-icon:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.contact-form {
    background: var(--white);
    padding: var(--space-4);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--space-4);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 600;
    color: var(--gray-700);
    font-size: var(--font-size-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.error-message {
    color: var(--danger);
    font-size: var(--font-size-xs);
    margin-top: var(--space-1);
    display: block;
}

.success-message {
    background: var(--success);
    color: var(--white);
    padding: var(--space-3);
    border-radius: var(--radius-lg);
    margin-top: var(--space-4);
    text-align: center;
    font-size: var(--font-size-sm);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin: 0 var(--space-4);
}

.map-container iframe {
    height: 300px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding: 0 var(--space-4);
}

.faq-item {
    background: var(--white);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary);
}

.faq-item h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-2);
}

.faq-item p {
    font-size: var(--font-size-sm);
}

/* =============================================
   12. FOOTER - Mobile optimized
   ============================================= */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--space-8) 0 var(--space-4);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-hero);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
    padding: 0 var(--space-4);
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: var(--space-4);
    font-size: var(--font-size-lg);
}

.footer-col p {
    color: var(--gray-400);
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-sm);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: var(--space-2);
}

.footer-col ul li a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: var(--font-size-sm);
}

.footer-col ul li a:hover {
    color: var(--white);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    font-size: var(--font-size-sm);
}

.social-links {
    display: flex;
    gap: var(--space-3);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gray-800);
    border-radius: var(--radius-full);
    text-decoration: none;
    color: var(--white);
    font-size: var(--font-size-base);
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-4);
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
    font-size: var(--font-size-sm);
    padding: 0 var(--space-4);
}

/* =============================================
   13. UTILITY CLASSES
   ============================================= */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   14. TABLET STYLES (768px and up)
   ============================================= */
@media (min-width: 768px) {
    /* Typography */
    h1 {
        font-size: var(--font-size-5xl);
    }
    
    h2 {
        font-size: var(--font-size-4xl);
    }
    
    h3 {
        font-size: var(--font-size-3xl);
    }
    
    h4 {
        font-size: var(--font-size-2xl);
    }
    
    /* Container */
    .container {
        padding: 0 var(--space-6);
    }
    
    /* Navigation */
    .nav-wrapper {
        padding: 0;
    }
    
    .nav-menu {
        display: flex;
        position: static;
        flex-direction: row;
        background: transparent;
        box-shadow: none;
        padding: 0;
        gap: var(--space-4);
    }
    
    .nav-menu a {
        width: auto;
        padding: var(--space-2) var(--space-3);
    }
    
    .btn-donate {
        width: auto;
        margin-top: 0;
    }
    
    .hamburger {
        display: none;
    }
    
    /* Hero */
    .hero-content h1 {
        font-size: var(--font-size-5xl);
    }
    
    .hero-content p {
        font-size: var(--font-size-xl);
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    .carousel-prev,
    .carousel-next {
        display: block;
    }
    
    /* Grids */
    .aim-grid,
    .impact-grid,
    .tax-info-grid,
    .additional-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .programmes-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-items {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Testimonials */
    .testimonials-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    
    .testimonials-image {
        height: 400px;
    }
    
    /* Mission Section */
    .mission-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .mission-content {
        text-align: left;
        padding: var(--space-6);
    }
    
    /* Services */
    .service-content {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =============================================
   15. DESKTOP STYLES (1024px and up)
   ============================================= */
@media (min-width: 1024px) {
    /* Typography */
    h1 {
        font-size: var(--font-size-6xl);
    }
    
    /* Container */
    .container {
        max-width: 1200px;
        padding: 0 var(--space-8);
    }
    
    /* Navigation */
    .nav-menu {
        gap: var(--space-6);
    }
    
    /* Grids */
    .aim-grid,
    .impact-grid,
    .tax-info-grid,
    .additional-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .programmes-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Hero */
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        max-width: 800px;
    }
    
    /* Sections */
    section {
        padding: var(--space-20) 0;
    }
    
    .page-header {
        padding: var(--space-20) 0 var(--space-12);
    }
    
    /* Buttons */
    .btn {
        width: auto;
        margin: 0;
    }
}

/* =============================================
   16. PRINT STYLES
   ============================================= */
@media print {
    .navbar,
    .carousel-prev,
    .carousel-next,
    .carousel-indicators,
    .footer,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    a {
        color: var(--black);
        text-decoration: none;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
}

/* =============================================
   17. ACCESSIBILITY
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !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 styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: var(--space-3) var(--space-4);
    text-decoration: none;
    z-index: var(--z-tooltip);
}

.skip-to-content:focus {
    top: 0;
}

/* =============================================
   18. LOADING STATES
   ============================================= */
.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--gray-300);
    border-radius: var(--radius-full);
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Image loading */
img {
    transition: opacity var(--transition-normal);
}

img[data-src] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* =============================================
   PROGRAMMES PAGE SPECIFIC STYLES
   ============================================= */

/* Programmes Overview Page */
.programmes-overview-page {
    background: linear-gradient(135deg, var(--primary-extra-light) 0%, #f0f9ff 100%);
    padding: var(--space-16) 0;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--space-4);
}

.intro-content h2 {
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

/* Programme Sections */
.programme-section {
    padding: var(--space-16) 0;
    position: relative;
}

.programme-section.alt {
    background: var(--gray-50);
}

.programme-header {
    text-align: center;
    margin-bottom: var(--space-8);
    padding: 0 var(--space-4);
}

.programme-icon-large {
    font-size: 4rem;
    margin-bottom: var(--space-4);
    display: inline-block;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.programme-subtitle {
    font-size: var(--font-size-xl);
    color: var(--gray-600);
    margin-top: var(--space-4);
    font-weight: 300;
}

.programme-details {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    margin-top: var(--space-6);
    position: relative;
    overflow: hidden;
}

.programme-section .programme-details {
    border-left: 5px solid var(--primary);
}

.programme-section.alt .programme-details {
    border-left: 5px solid var(--secondary);
}

.programme-info h3 {
    color: var(--primary);
    margin-bottom: var(--space-4);
    font-size: var(--font-size-2xl);
    position: relative;
    display: inline-block;
}

.programme-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.offering-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin: var(--space-6) 0;
}

@media (min-width: 768px) {
    .offering-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.offering-item {
    background: var(--gray-50);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.offering-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    background: var(--white);
}

.offering-item h4 {
    color: var(--primary-dark);
    margin-bottom: var(--space-3);
    font-size: var(--font-size-lg);
}

.offering-item p {
    color: var(--gray-600);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
}

/* Impact Stats */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    margin: var(--space-8) 0;
    padding: var(--space-6);
    background: linear-gradient(135deg, var(--primary-extra-light) 0%, #e0f2fe 100%);
    border-radius: var(--radius-xl);
}

@media (min-width: 768px) {
    .impact-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
    padding: var(--space-4);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
    line-height: 1;
}

.stat-label {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

/* Upcoming Camps */
.upcoming-camps {
    background: #f3f4f6;
    padding: var(--space-16) 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.upcoming-camps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="white" opacity="0.1"/></svg>');
    background-size: cover;
    pointer-events: none;
}

.upcoming-camps .section-header h2,
.upcoming-camps .section-header p {
    color: #2563eb;
}

.upcoming-camps .underline {
    background: #2563eb;
}

.camps-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--space-4);
}

.camps-info p {
    color: #2563eb;
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-6);
}

.camp-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .camp-cta {
        flex-direction: row;
    }
}

.upcoming-camps .btn-outline {
    border-color: #2563eb;
    color: #2563eb;
}

.upcoming-camps .btn-outline:hover {
    background: var(--white);
    color: var(--secondary);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: var(--space-16) 0;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="white" opacity="0.1"/></svg>');
    background-size: cover;
    pointer-events: none;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: var(--space-4);
}

.cta-content p {
    color: var(--gray-200);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-6);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-lg);
}

.cta-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Programme Category Colors */
#eye-camp .programme-details {
    border-left-color: #4A90E2;
}

#eye-camp .programme-icon-large {
    color: #4A90E2;
}

#eye-camp .offering-item:hover {
    border-color: #4A90E2;
}

#health-camp .programme-details {
    border-left-color: #52C41A;
}

#health-camp .programme-icon-large {
    color: #52C41A;
}

#health-camp .offering-item:hover {
    border-color: #52C41A;
}

#cancer-camp .programme-details {
    border-left-color: #E91E63;
}

#cancer-camp .programme-icon-large {
    color: #E91E63;
}

#cancer-camp .offering-item:hover {
    border-color: #E91E63;
}

#dental-camp .programme-details {
    border-left-color: #00BCD4;
}

#dental-camp .programme-icon-large {
    color: #00BCD4;
}

#dental-camp .offering-item:hover {
    border-color: #00BCD4;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .programme-details {
        padding: var(--space-4);
        margin: 0 var(--space-4);
    }
    
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
        padding: var(--space-4);
    }
    
    .stat-number {
        font-size: var(--font-size-2xl);
    }
    
    .offering-item {
        padding: var(--space-4);
    }
}

/* Animation for section entrance */
.programme-section {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out forwards;
}

.programme-section:nth-child(1) { animation-delay: 0.1s; }
.programme-section:nth-child(2) { animation-delay: 0.2s; }
.programme-section:nth-child(3) { animation-delay: 0.3s; }
.programme-section:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Programme Section Hover Effects */
.programme-details {
    transition: all var(--transition-normal);
    position: relative;
}

.programme-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
    border-radius: var(--radius-2xl);
}

.programme-details:hover::before {
    opacity: 0.05;
}

/* Programme Header Animation */
.programme-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: var(--space-2);
}

.programme-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-normal);
}

.programme-header:hover h2::after {
    width: 100px;
}

/* Scroll Indicator for Programme Sections */
.programme-section::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -20px;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

#eye-camp::before { content: '👁️'; }
#health-camp::before { content: '🏥'; }
#cancer-camp::before { content: '🎗️'; }
#dental-camp::before { content: '🦷'; }

@media (max-width: 768px) {
    .programme-section::before {
        top: -15px;
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

/* =============================================
   ENHANCED DONATE PAGE STYLES
   ============================================= */

/* Donation Counter */
.donation-counter {
    background: linear-gradient(135deg, var(--primary-extra-light) 0%, #e0f2fe 100%);
    padding: var(--space-16) 0;
}

.counter-content {
    text-align: center;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    margin: var(--space-8) 0;
}

@media (min-width: 768px) {
    .counter-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.counter-item {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.counter-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.counter-number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--space-2);
}

.counter-label {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.counter-note {
    color: var(--gray-600);
    font-size: var(--font-size-lg);
    margin-top: var(--space-4);
}

/* Why Donate Cards */
.why-donate .why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .why-donate .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.why-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why-card-image {
    height: 200px;
    overflow: hidden;
}

.why-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.why-card:hover .why-card-image img {
    transform: scale(1.1);
}

.why-card-content {
    padding: var(--space-6);
}

.why-card-content h3 {
    color: var(--gray-900);
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.impact-stats-small {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--gray-200);
}

.impact-stats-small span {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.impact-stats-small span::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
}

/* Tax Cards with Icons */
.tax-card {
    text-align: center;
    padding: var(--space-6);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.tax-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.tax-card .tax-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
}

/* Donation CTA */
.donation-cta {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: var(--space-16) 0;
    text-align: center;
}

.donation-cta h2 {
    color: var(--white);
    margin-bottom: var(--space-4);
}

.donation-cta p {
    color: var(--gray-200);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-6);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* =============================================
   ENHANCED GALLERY PAGE STYLES
   ============================================= */

/* Gallery Stats */
.gallery-stats-section {
    background: var(--gray-50);
    padding: var(--space-8) 0;
}

.gallery-stats {
    display: flex;
    gap: var(--space-6);
    margin: 0 auto;
    padding: var(--space-4);
    background: var(--white);
    border-radius: var(--radius-lg);
    justify-content: center;
    flex-wrap: wrap;
    box-shadow: var(--shadow-md);
    max-width: 800px;
}

/* Gallery Filter */
.gallery-filter {
    text-align: center;
    margin-bottom: var(--space-8);
    padding: 0 var(--space-4);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: center;
    margin-top: var(--space-4);
}

.filter-btn {
    background: var(--gray-100);
    border: none;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-600);
    transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Gallery Grid with Hover Effects */
.gallery-photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.gallery-photo:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.8) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 1;
}

.gallery-photo:hover::before {
    opacity: 1;
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-photo:hover img {
    transform: scale(1.15);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: var(--white);
    padding: var(--space-4);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gallery-photo:hover .photo-overlay {
    transform: translateY(0);
}

.photo-overlay span {
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.view-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
}

/* Gallery Category Headers */
.gallery-category h3 {
    position: relative;
    padding-bottom: var(--space-3);
    margin-bottom: var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.gallery-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

/* Gallery CTA */
.gallery-cta {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--space-16) 0;
    text-align: center;
}

.gallery-cta h2 {
    color: var(--white);
    margin-bottom: var(--space-4);
}

.gallery-cta p {
    color: var(--gray-200);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-6);
}

/* =============================================
   ENHANCED SERVICES PAGE STYLES
   ============================================= */

.service-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
    padding: var(--space-6);
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.service-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-primary);
}

.service-detail.alt .service-content::before {
    background: var(--gradient-secondary);
}

.service-text {
    padding: var(--space-4);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
    display: inline-block;
    animation: float 6s ease-in-out infinite;
}

.service-lead {
    font-size: var(--font-size-xl);
    color: var(--gray-600);
    font-weight: 300;
    margin-bottom: var(--space-6);
    line-height: 1.6;
}

.service-list {
    list-style: none;
    margin: var(--space-6) 0;
}

.service-list li {
    padding: var(--space-3) 0;
    padding-left: var(--space-8);
    position: relative;
    margin-bottom: var(--space-2);
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 1.2rem;
    width: 24px;
    height: 24px;
    background: var(--primary-extra-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 400px;
    transition: all var(--transition-normal);
}

.service-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.service-image:hover img {
    transform: scale(1.05);
}

/* Additional Services Grid */
.additional-services .additional-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .additional-services .additional-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .additional-services .additional-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.additional-card {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    text-align: center;
    border-top: 4px solid var(--primary);
}

.additional-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.additional-card h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

/* =============================================
   ENHANCED ABOUT PAGE STYLES
   ============================================= */

.about-content .about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-8);
    padding: 0 var(--space-4);
}

.about-content .about-intro h2 {
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.about-content .about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
    margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
    .about-content .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text {
    padding: var(--space-6);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 400px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mission Detailed */
.mission-detailed {
    background: linear-gradient(135deg, var(--primary-extra-light) 0%, #f0f9ff 100%);
}

.mission-detailed .mission-box {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mission-detailed .mission-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.mission-detailed .mission-icon {
    font-size: 4rem;
    margin-bottom: var(--space-4);
    display: inline-block;
    animation: float 6s ease-in-out infinite;
}

.mission-detailed .mission-points {
    list-style: none;
    max-width: 600px;
    margin: var(--space-6) auto 0;
    text-align: left;
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.mission-detailed .mission-points li {
    padding: var(--space-2) 0;
    padding-left: var(--space-6);
    position: relative;
    margin-bottom: var(--space-2);
}

.mission-detailed .mission-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Aim Detailed */
.aim-detailed {
    background: var(--white);
}

.aim-detailed .aim-box {
    background: var(--gray-50);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    text-align: center;
}

.aim-detailed .aim-icon {
    font-size: 4rem;
    margin-bottom: var(--space-4);
    display: inline-block;
    animation: float 6s ease-in-out infinite;
}

.aim-detailed .aim-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-6);
}

@media (min-width: 768px) {
    .aim-detailed .aim-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .aim-detailed .aim-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

.aim-detailed .aim-item {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    text-align: left;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border-left: 4px solid var(--primary);
}

.aim-detailed .aim-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.aim-detailed .aim-item h4 {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    color: var(--primary);
}

/* Journey Section */
.journey-section {
    background: linear-gradient(135deg, var(--primary-extra-light) 0%, #e0f2fe 100%);
}

.journey-milestones {
    position: relative;
    padding: var(--space-8) 0;
}

.journey-milestones::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
}

.milestone {
    position: relative;
    margin-bottom: var(--space-8);
    width: calc(50% - 40px);
    padding: var(--space-6);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.milestone:nth-child(odd) {
    margin-left: auto;
}

.milestone:nth-child(even) {
    margin-right: auto;
}

.milestone::before {
    content: '';
    position: absolute;
    top: var(--space-6);
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: var(--radius-full);
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.milestone:nth-child(odd)::before {
    right: -50px;
}

.milestone:nth-child(even)::before {
    left: -50px;
}

.milestone-year {
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--space-2);
}

/* Certificates Section */
.certificates-section .certificates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .certificates-section .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .certificates-section .certificates-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.certificate-card {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border-top: 4px solid var(--primary);
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.certificate-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
}

/* Values Section */
.values-section .values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .values-section .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-section .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-card {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.value-card h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

/* =============================================
   ENHANCED CONTACT PAGE STYLES
   ============================================= */

.contact-section {
    padding: var(--space-12) 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info-section {
    padding: var(--space-6);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.contact-details {
    margin: var(--space-6) 0;
}

.contact-item {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    align-items: flex-start;
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    background: var(--gray-50);
}

.contact-item:hover {
    background: var(--primary-extra-light);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
    background: var(--white);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.contact-text h3 {
    margin-bottom: var(--space-2);
    color: var(--gray-900);
}

.social-section {
    margin-top: var(--space-8);
}

.contact-form-section {
    padding: var(--space-6);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.contact-form .form-group {
    margin-bottom: var(--space-4);
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    width: 100%;
    padding: var(--space-3);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    transition: all var(--transition-normal);
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.btn-submit {
    width: 100%;
    padding: var(--space-4);
    font-size: var(--font-size-lg);
}

/* Map Section */
.map-section .map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
}

/* FAQ Section */
.faq-section .faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .faq-section .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.faq-item {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border-left: 4px solid var(--primary);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.faq-item h3 {
    color: var(--gray-900);
    margin-bottom: var(--space-3);
    font-size: var(--font-size-lg);
}

/* =============================================
   STAGGERED ANIMATIONS FOR GALLERY ITEMS
   ============================================= */
.gallery-photo {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    animation-delay: calc(var(--index, 0) * 0.1s);
}

/* =============================================
   RESPONSIVE ADJUSTMENTS
   ============================================= */
@media (max-width: 768px) {
    /* Journey Section Adjustments */
    .milestone {
        width: calc(100% - 40px);
    }
    
    .milestone:nth-child(odd),
    .milestone:nth-child(even) {
        margin-left: 40px;
    }
    
    .milestone::before {
        left: -40px !important;
        right: auto !important;
    }
    
    .journey-milestones::before {
        left: 20px;
    }
    
    /* General Padding Adjustments */
    .service-content,
    .about-text,
    .contact-info-section,
    .contact-form-section {
        padding: var(--space-4);
    }
    
    .mission-box,
    .aim-box {
        padding: var(--space-6);
    }
    
    /* Gallery Adjustments */
    .gallery-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Donation Options */
    .impact-grid,
    .tax-info-grid {
        grid-template-columns: 1fr;
    }
    
    /* Counter Grid */
    .counter-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}