/* ============================
   CSS RESET & BASE STYLES
   ============================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #000;
    background: linear-gradient(to bottom right, #fff6f0, #fffaf5);
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ============================
   CSS CUSTOM PROPERTIES
   ============================ */

:root {
    /* Colors */
    --primary: hsl(20, 94%, 53%);
    --primary-foreground: hsl(0, 0%, 98%);
    --secondary: hsl(30, 90%, 58%);
    --secondary-foreground: hsl(0, 0%, 98%);
    --accent: hsl(25, 90%, 60%);
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(240, 10%, 3.9%);
    --muted: hsl(240, 4.8%, 95.9%);
    --muted-foreground: hsl(240, 3.8%, 46.1%);
    --border: hsl(240, 5.9%, 90%);
    --input: hsl(240, 5.9%, 90%);
    --ring: hsl(20, 94%, 53%);
    --destructive: hsl(0, 84.2%, 60.2%);
    --destructive-foreground: hsl(0, 0%, 98%);
    
    /* Spacing */
    --radius: 0.75rem;
    --container-padding: 1rem;
    --section-padding: 3rem 0;
    
    /* Typography */
    --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;
    --font-size-7xl: 4.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition-all: all 0.3s ease;
    --transition-colors: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

.section {
    padding: var(--section-padding);
    position: relative;
}

@media (min-width: 768px) {
    .section {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 6rem 0;
    }
}

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

.max-width-lg {
    max-width: 48rem;
    margin: 0 auto;
}

.bg-light {
    background-color: #f8fafc;
}

.opacity-5 {
    opacity: 0.05;
}

.opacity-10 {
    opacity: 0.1;
}

.sticky {
    position: sticky;
    top: 0;
    z-index: 50;
}

/* ============================
   GLASS MORPHISM EFFECTS
   ============================ */

.glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    border-radius: var(--radius);
    padding: 1.5rem;
}

/* ============================
   GRADIENTS
   ============================ */

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

.gradient-bg {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
}

.gradient-bg-light {
    background: linear-gradient(to right, rgba(255, 140, 0, 0.1), rgba(255, 165, 0, 0.1));
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: var(--font-size-4xl);
}

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);
}

@media (min-width: 768px) {
    h1 {
        font-size: var(--font-size-5xl);
    }
    
    h2 {
        font-size: var(--font-size-4xl);
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: var(--font-size-6xl);
    }
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: var(--font-size-4xl);
    }
}

.section-description {
    font-size: var(--font-size-lg);
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .section-description {
        font-size: var(--font-size-xl);
    }
}

.card-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-description {
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
}

/* ============================
   BUTTONS
   ============================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition-all);
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    line-height: 1;
    gap: 0.5rem;
}

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

.btn-primary {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
}

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

.btn-outline {
    border: 1px solid rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: inherit;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.3);
}

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

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: inherit;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-xs);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: var(--font-size-base);
}

.btn-block {
    width: 100%;
}

/* ============================
   HEADER & NAVIGATION
   ============================ */

.header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

/* Glass morphism effect when scrolling */
.header.scrolled {
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2) !important;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-all);
}

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

.logo-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.nav-desktop {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    position: relative;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: #000;
    padding: 0.25rem 0;
    transition: var(--transition-colors);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: none;
}

@media (min-width: 768px) {
    .dropdown-toggle {
        display: flex;
    }
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 12rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-all);
}

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

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: var(--font-size-sm);
    color: #000;
    transition: var(--transition-colors);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.5);
    color: var(--primary);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: #000;
    transition: var(--transition-all);
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1.5rem;
    z-index: 100;
    transition: right 0.3s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.mobile-menu-close {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    color: #000;
    transition: var(--transition-all);
}

.mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.2);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: #000;
    transition: var(--transition-colors);
}

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

.mobile-donate-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 2rem;
}

/* ============================
   HERO SECTIONS
   ============================ */

.hero {
    position: relative;
    overflow: hidden;
}

.hero-banner {
    position: relative;
    z-index: 20;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    padding: 0.75rem 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: var(--font-size-sm);
    font-weight: 500;
}

@media (min-width: 768px) {
    .hero-banner {
        font-size: var(--font-size-base);
    }
}

.hero-content {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    z-index: 10;
    padding: 2rem 1.5rem;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.hero-heading {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: #e5e7eb !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: normal;
    max-width: 100%;
    width: 100%;
}

@media (min-width: 768px) {
    .hero-heading {
        font-size: var(--font-size-5xl);
        line-height: 1.3;
    }
}

@media (min-width: 1024px) {
    .hero-heading {
        font-size: var(--font-size-6xl);
        line-height: 1.2;
    }
}

/* Prevent text cutoff on small screens */
@media (max-width: 480px) {
    .hero-heading {
        font-size: var(--font-size-3xl);
        line-height: 1.4;
    }
    
    .hero-text {
        padding: 1.5rem 1rem;
    }
}

.hero-subheading {
    font-size: var(--font-size-xl);
    max-width: 48rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    color: #d1d5db !important;
}

@media (min-width: 768px) {
    .hero-subheading {
        font-size: var(--font-size-2xl);
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }
}

/* Page Hero (for other pages) */
.page-hero {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .page-hero {
        padding: 6rem 0;
    }
}

/* ============================
   SECTIONS & BACKGROUNDS
   ============================ */

.section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.section-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.7));
    z-index: 0;
}

/* ============================
   MISSION SECTION
   ============================ */

.mission-grid {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .mission-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.mission-text {
    position: relative;
    z-index: 10;
}

.mission-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

@media (min-width: 400px) {
    .mission-actions {
        flex-direction: row;
    }
}

.mission-carousel-container {
    position: relative;
    z-index: 10;
}

/* ============================
   CAROUSEL
   ============================ */

.carousel {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: none;
    width: 100%;
    height: 100%;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-all);
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.8);
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    z-index: 10;
}

.carousel-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: var(--transition-all);
}

.carousel-dot.active {
    background: white;
}

/* ============================
   INITIATIVES GRID
   ============================ */

.initiatives-grid {
    display: grid;
    gap: 1.5rem;
    align-items: stretch;
}

@media (min-width: 640px) {
    .initiatives-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.initiative-card {
    position: relative;
    z-index: 10;
    transition: var(--transition-all);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 480px;
}

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

.initiative-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.2);
    color: var(--primary);
    margin-bottom: 1rem;
}

/* ============================
   STORY SECTION
   ============================ */

.story-grid {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.story-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
}

.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    position: relative;
    z-index: 10;
}

.story-text {
    margin-bottom: 1rem;
    color: rgba(0, 0, 0, 0.8);
}

/* ============================
   TIMELINE
   ============================ */

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(255, 140, 0, 0.3), var(--primary), rgba(255, 140, 0, 0.3));
    transform: translateX(-50%);
}

@media (min-width: 768px) {
    .timeline::before {
        left: 50%;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .timeline-item:nth-child(odd) {
        flex-direction: row-reverse;
    }
}

.timeline-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #cbd5e1;
    border: 2px solid white;
    color: #1e293b;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 10;
}

@media (min-width: 768px) {
    .timeline-marker {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-item:nth-child(odd) .timeline-marker {
        transform: translateX(-50%);
    }
    
    .timeline-item:nth-child(even) .timeline-marker {
        transform: translateX(-50%);
    }
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-left: 1rem;
    flex: 1;
}

@media (min-width: 768px) {
    .timeline-content {
        width: calc(50% - 2.5rem);
        margin-left: 0;
        margin-right: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        margin-right: calc(50% + 1.25rem);
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: calc(50% + 1.25rem);
    }
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: #000;
}

.timeline-date {
    font-weight: 600;
    color: var(--primary);
}

.timeline-description {
    color: rgba(0, 0, 0, 0.8);
}

/* ============================
   VALUES GRID
   ============================ */

.values-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.value-card {
    position: relative;
    z-index: 10;
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.1);
    color: var(--primary);
    margin-bottom: 1rem;
}

/* ============================
   PARTNERS GRID
   ============================ */

.partners-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.partner-card {
    position: relative;
    z-index: 10;
}

.partner-image {
    width: 100%;
    height: 10rem;
    object-fit: cover;
    border-radius: var(--radius);
    margin-top: 1rem;
}

/* ============================
   TEAM GRID
   ============================ */

.team-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.team-card {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.team-name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: #000;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.team-bio {
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    align-items: flex-end;
}

/* ============================
   CONTACT SECTIONS
   ============================ */

.contact-cards {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.contact-card {
    position: relative;
    z-index: 10;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.2);
    color: var(--primary);
    margin: 0 auto 1rem;
}

.contact-link {
    color: var(--primary);
    transition: var(--transition-colors);
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info-card {
    position: relative;
    z-index: 10;
}

.contact-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 1.5rem;
}

.contact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form-card {
    position: relative;
    z-index: 10;
}

/* ============================
   FORMS
   ============================ */

.form-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #000;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    font-size: var(--font-size-sm);
    transition: var(--transition-all);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

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

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-label {
    font-size: var(--font-size-sm);
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-label {
    font-size: var(--font-size-sm);
    cursor: pointer;
}

.form-disclaimer {
    font-size: var(--font-size-xs);
    text-align: center;
    color: rgba(0, 0, 0, 0.7);
    margin-top: 1rem;
}

.link {
    color: var(--primary);
    transition: var(--transition-colors);
}

.link:hover {
    text-decoration: underline;
}

/* ============================
   DONATION FORMS
   ============================ */

.donation-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .donation-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.donation-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.impact-areas {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .impact-areas {
        grid-template-columns: repeat(2, 1fr);
    }
}

.impact-card {
    position: relative;
    z-index: 10;
}

.impact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.2);
    color: var(--primary);
    margin-bottom: 1rem;
}

.impact-calculator {
    position: relative;
    z-index: 10;
}

.impact-stats {
    display: grid;
    gap: 1rem;
    text-align: center;
}

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

.impact-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.impact-description {
    font-size: var(--font-size-sm);
    color: rgba(0, 0, 0, 0.7);
}

.tax-benefits {
    position: relative;
    z-index: 10;
}

.donation-form-card {
    position: relative;
    z-index: 10;
}

.form-title {
    margin-bottom: 1.5rem;
}

.donation-tabs {
    display: flex;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
}

.tab-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition-all);
    border-radius: var(--radius);
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.5);
    color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-placeholder {
    text-align: center;
    padding: 2rem;
}

.placeholder-text {
    margin-bottom: 1.5rem;
    color: rgba(0, 0, 0, 0.8);
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.amount-option {
    position: relative;
}

.amount-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.amount-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    cursor: pointer;
    transition: var(--transition-all);
    text-align: center;
    min-height: 80px;
}

.amount-label:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--primary);
}

.amount-option input[type="radio"]:checked + .amount-label {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 140, 0, 0.1);
}

.amount-label i {
    margin-bottom: 0.5rem;
    font-size: var(--font-size-lg);
}

.amount-label span {
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.custom-amount {
    margin-top: 1rem;
}

.custom-amount-input {
    position: relative;
}

.currency-symbol {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.7);
}

.custom-amount-input .form-input {
    padding-left: 2rem;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.payment-option {
    position: relative;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    cursor: pointer;
    transition: var(--transition-all);
}

.payment-label:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--primary);
}

.payment-option input[type="radio"]:checked + .payment-label {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 140, 0, 0.1);
}

.donor-info {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.form-subtitle {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ============================
   TRANSPARENCY & OTHER SECTIONS
   ============================ */

.transparency-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

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

.transparency-card {
    position: relative;
    z-index: 10;
}

.percentage {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0;
}

.alternative-methods {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.method-card {
    position: relative;
    z-index: 10;
    text-align: center;
}

.method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.2);
    color: var(--primary);
    margin: 0 auto 1rem;
}

.method-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 1rem;
}

.method-details p {
    margin-bottom: 0.5rem;
    color: rgba(0, 0, 0, 0.8);
}

.tax-info-card {
    position: relative;
    z-index: 10;
    background: rgba(255, 140, 0, 0.1);
}

.info-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.info-description {
    color: rgba(0, 0, 0, 0.8);
}

.corporate-cta-card {
    position: relative;
    z-index: 10;
    max-width: 48rem;
    margin: 0 auto;
}

/* ============================
   INITIATIVES PAGE
   ============================ */

.initiatives-filter {
    margin-bottom: 2rem;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    padding: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition-all);
    border-radius: calc(var(--radius) - 0.25rem);
}

.filter-btn.active {
    background: rgba(255, 255, 255, 0.5);
    color: var(--primary);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--primary);
}

.initiative-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.initiative-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.initiative-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5rem;
}

.initiative-tag {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 500;
    background: rgba(255, 140, 0, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    width: fit-content;
}

/* INITIATIVE CARD CONTENT SECTIONS */
.initiative-card .initiative-tag {
    margin-bottom: 0.75rem;
}

.initiative-card .card-title {
    margin-bottom: 1rem;
}

.initiative-card .card-description {
    flex: 1;
    margin-bottom: 0;
}

/* ENSURE BUTTONS ARE ALIGNED AT BOTTOM OF CARDS */
.initiative-card .btn {
    margin-top: 1.5rem;
    align-self: flex-start;
}

/* HOMEPAGE INITIATIVE CARDS - MORE COMPACT */
.initiatives-section .initiative-card {
    min-height: auto;
    max-height: 280px;
}

.initiatives-section .initiative-card .card-description {
    font-size: 0.95rem;
    line-height: 1.5;
}

.initiatives-section .initiative-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.stories-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.story-card {
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.story-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: 1rem;
}

.story-description {
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
}

.story-link {
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition-colors);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.story-link:hover {
    text-decoration: underline;
}

.get-involved-card {
    position: relative;
    z-index: 10;
}

.get-involved-actions {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .get-involved-actions {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================
   MAP
   ============================ */

.map-card {
    position: relative;
    z-index: 10;
}

.map-container {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .map-container {
        aspect-ratio: 21/9;
    }
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-quote {
    position: relative;
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    backdrop-filter: blur(8px);
    background: rgba(255, 165, 0, 0.1);
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.1);
    border-radius: 0.5rem;
}

.map-quote::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 0.5rem;
    font-size: 4rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.6;
}

.map-quote::after {
    content: '"';
    position: absolute;
    bottom: -2rem;
    right: 0.5rem;
    font-size: 4rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.6;
}

/* ============================
   CTA SECTIONS
   ============================ */

.cta-section {
    color: white;
}

.cta-content {
    max-width: 48rem;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: 1rem;
    color: white !important;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: var(--font-size-4xl);
    }
}

.cta-description {
    font-size: var(--font-size-xl);
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9) !important;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-actions {
        flex-direction: row;
    }
}

/* ============================
   FOOTER
   ============================ */

.footer {
    background: #000;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-content {
    display: grid;
    gap: 2rem;
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        padding: 4rem 0;
    }
}

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

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: white !important;
}

.footer-description {
    font-size: var(--font-size-sm);
    color: white !important;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    font-size: var(--font-size-sm);
    color: white !important;
    transition: var(--transition-colors);
}

.footer-link:hover {
    color: var(--primary) !important;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: white !important;
    transition: var(--transition-colors);
}

.social-link:hover {
    color: var(--primary) !important;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item i {
    color: white !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: var(--font-size-sm);
    color: white !important;
}

/* ============================
   ANIMATIONS
   ============================ */

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

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

/* ============================
   RESPONSIVE UTILITIES
   ============================ */

@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .hide-desktop {
        display: none !important;
    }
}

/* ============================
   PRINT STYLES
   ============================ */

@media print {
    .header,
    .footer,
    .mobile-menu,
    .btn {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .glass-card {
        background: white !important;
        border: 1px solid #ccc !important;
    }
}

/* ============================
   NUCLEAR TEXT VISIBILITY FIX
   HIGHEST PRIORITY OVERRIDES
   (NAVBAR EXCLUDED)
   ============================ */

/* FORCE ALL TEXT TO BE VISIBLE (EXCEPT NAVBAR) */
main h1, main h2, main h3, main h4, main h5, main h6 {
    color: #000000 !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

main p, main div:not(.header *), main span:not(.header *) {
    color: #222222 !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

/* SECTION SPECIFIC OVERRIDES */
.section * {
    color: #000000 !important;
    opacity: 1 !important;
}

.section p {
    color: #222222 !important;
    opacity: 1 !important;
}

/* GLASS CARD OVERRIDES */
.glass-card * {
    color: #000000 !important;
    opacity: 1 !important;
}

.glass-card p {
    color: #222222 !important;
    opacity: 1 !important;
}

/* TEAM SECTION NUCLEAR FIX */
.team-card h3,
.team-name {
    color: #000000 !important;
    opacity: 1 !important;
    font-weight: 700 !important;
}

.team-role {
    color: #FF6B35 !important;
    opacity: 1 !important;
    font-weight: 600 !important;
}

.team-bio,
.team-card p {
    color: #222222 !important;
    opacity: 1 !important;
    font-weight: 500 !important;
}

/* INITIATIVE SECTION NUCLEAR FIX */
.initiative-card h3,
.card-title {
    color: #000000 !important;
    opacity: 1 !important;
    font-weight: 700 !important;
}

.initiative-card p,
.card-description {
    color: #222222 !important;
    opacity: 1 !important;
    font-weight: 500 !important;
}

/* MISSION SECTION NUCLEAR FIX */
.mission-text h2 {
    color: #000000 !important;
    opacity: 1 !important;
    font-weight: 700 !important;
}

.mission-text p {
    color: #222222 !important;
    opacity: 1 !important;
    font-weight: 500 !important;
}

/* REMOVE ANY BACKGROUND CLIP OR TRANSPARENCY IN SECTIONS */
.section .gradient-text {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: #000000 !important;
    opacity: 1 !important;
}

/* ENSURE NO SECTION ELEMENTS ARE TRANSPARENT */
.section * {
    opacity: 1 !important;
}

/* OVERRIDE ANY RGBA COLORS IN SECTIONS */
.section *[style*="rgba"] {
    color: #000000 !important;
}

/* FINAL NUCLEAR OPTION FOR MAIN CONTENT ONLY */
main * {
    opacity: 1 !important;
}

/* SPECIFIC TEXT ELEMENTS */
.section-title,
.card-title,
.team-name {
    color: #000000 !important;
    font-weight: 800 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

.section-description,
.card-description,
.team-bio {
    color: #333333 !important;
    font-weight: 500 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* CLEAN INITIATIVES SECTION TITLE - MATCHING "OUR STORY" STYLE */
.initiatives-section .section-title {
    color: #000000 !important;
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 2.5rem !important;
    opacity: 1 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-shadow: none !important;
    position: relative !important;
    z-index: 20 !important;
    font-family: 'Inter', sans-serif !important;
}

@media (min-width: 768px) {
    .initiatives-section .section-title {
        font-size: 2.75rem !important;
        margin-bottom: 1.5rem !important;
    }
}

/* INITIATIVES SECTION DESCRIPTION */
.initiatives-section .section-description {
    color: #333333 !important;
    font-size: 1.125rem !important;
    font-weight: 400 !important;
    margin-bottom: 3rem !important;
    opacity: 1 !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    line-height: 1.6 !important;
}

@media (min-width: 768px) {
    .initiatives-section .section-description {
        font-size: 1.25rem !important;
        margin-bottom: 4rem !important;
    }
}