/* ============================================
   SRIVARI FOUNDATION - MODERN WEBSITE STYLES
   ============================================ */

:root {
    /* Color Palette - Indian Cultural Theme (Saffron, Gold, Deep Orange, Red) */
    --primary-color: #d97706; /* Saffron - Sacred color */
    --primary-dark: #b45309; /* Deep saffron */
    --primary-light: #f59e0b; /* Light saffron */
    --secondary-color: #ea580c; /* Vibrant orange */
    --accent-color: #f97316; /* Orange accent */
    --gold-color: #fbbf24; /* Gold - prosperity */
    --deep-orange: #ea580c; /* Deep orange */
    --red-accent: #dc2626; /* Red - auspicious */
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --bg-light: #fff7ed; /* Warm cream background */
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #d97706 0%, #ea580c 50%, #f97316 100%);
    --bg-gold-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    /* Thematic background: warm saffron/gold tones reflecting culture, seva, and community */
    background-color: #fffbf5;
    background-image: 
        /* Subtle radial glow - temple lamp / warmth */
        radial-gradient(ellipse 120% 80% at 50% 0%, rgba(251, 191, 36, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 80% 20%, rgba(217, 119, 6, 0.05) 0%, transparent 45%),
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(234, 88, 12, 0.05) 0%, transparent 45%),
        /* Gentle geometric pattern - traditional motif feel */
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d97706' fill-opacity='0.03'%3E%3Cpath d='M30 0L30 60M0 30L60 30' stroke='%23d97706' stroke-opacity='0.06' stroke-width='0.5'/%3E%3Ccircle cx='30' cy='30' r='1.5' fill='%23d97706' fill-opacity='0.04'/%3E%3Ccircle cx='30' cy='10' r='0.8' fill='%23f59e0b' fill-opacity='0.03'/%3E%3Ccircle cx='30' cy='50' r='0.8' fill='%23f59e0b' fill-opacity='0.03'/%3E%3Ccircle cx='10' cy='30' r='0.8' fill='%23f59e0b' fill-opacity='0.03'/%3E%3Ccircle cx='50' cy='30' r='0.8' fill='%23f59e0b' fill-opacity='0.03'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   TOP ANNOUNCEMENT BAR (editable via data/content.json or CMS)
   ============================================ */

.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--bg-gold-gradient);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    box-shadow: var(--shadow-md);
    font-size: 0.95rem;
}

.announcement-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
}

.announcement-arrow {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
    color: var(--text-dark);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.announcement-arrow:hover {
    background: rgba(0, 0, 0, 0.22);
}

.announcement-arrow:active {
    transform: scale(0.95);
}

.announcement-arrow-left {
    margin-right: 0.25rem;
}

.announcement-arrow-right {
    margin-left: 0.25rem;
}

.announcement-text {
    margin: 0;
    flex: 1;
    text-align: center;
    transition: opacity 0.3s ease;
}

.announcement-text a {
    color: var(--text-dark);
    text-decoration: underline;
    font-weight: 600;
}

.announcement-close {
    background: rgba(0, 0, 0, 0.15);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-dark);
    flex-shrink: 0;
}

.announcement-close:hover {
    background: rgba(0, 0, 0, 0.25);
}

/* When announcement bar is visible, push content down */
body.has-announcement {
    padding-top: 48px;
}

.navbar.has-announcement {
    top: 48px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-top-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1rem 0 0.5rem;
    gap: 1rem;
}

.nav-bottom-row {
    display: flex;
    justify-content: center;
    padding: 0.5rem 0 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-left {
    justify-self: start;
}

.logo-center {
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.nav-right {
    justify-self: end;
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    transition: var(--transition);
}

/* Remove black/dark background from logo image (blend so it shows page background) */
.site-logo {
    mix-blend-mode: screen;
}

/* Top-left logo: full visibility (no blend) on light navbar */
.logo-left .site-logo,
.logo-link .site-logo {
    mix-blend-mode: normal;
}

.logo-img-left {
    height: 55px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: var(--transition);
    display: block;
    flex-shrink: 0;
}

.logo-img-center {
    height: 70px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    transition: var(--transition);
    display: block;
    margin: 0 auto;
}

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

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

.logo-text-below-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.logo-text-below-menu .logo-img-center {
    height: 60px;
    max-width: 350px;
}

.header-foundation-name-img {
    height: 50px;
    width: auto;
    max-width: 300px;
    display: block;
    object-fit: contain;
    margin: 0 auto;
}

.header-nonprofit-text {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin: 0;
    display: block;
}

/* Responsive logo sizing */
@media (max-width: 640px) {
    .logo-text {
        font-size: 1.2rem;
    }
    
    .footer-logo-img {
        height: 50px;
        width: auto;
        max-width: 150px;
    }
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle-top {
    display: none; /* Hidden on desktop, shown on mobile */
}

.menu-toggle-bottom {
    display: none; /* Always hidden, kept for structure */
}

/* Show hamburger menu at all screen sizes below 968px - NO MINIMUM SIZE */
@media screen and (max-width: 968px) {
    .menu-toggle-top {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        width: auto !important;
        height: auto !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }
    
    .nav-menu {
        position: fixed !important;
        top: 120px !important;
        left: -100% !important;
        display: none !important;
        z-index: 999 !important;
        width: 100% !important;
    }
    
    .nav-menu.active {
        display: flex !important;
        left: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
    }
}

.menu-toggle {
    min-width: 44px; /* Minimum touch target size */
    min-height: 44px; /* Minimum touch target size */
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.15) 0%, rgba(251, 191, 36, 0.1) 50%, rgba(234, 88, 12, 0.15) 100%),
                url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="mandala" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="2" fill="rgba(217,119,6,0.1)"/><circle cx="20" cy="20" r="1.5" fill="rgba(251,191,36,0.1)"/><circle cx="80" cy="20" r="1.5" fill="rgba(251,191,36,0.1)"/><circle cx="20" cy="80" r="1.5" fill="rgba(251,191,36,0.1)"/><circle cx="80" cy="80" r="1.5" fill="rgba(251,191,36,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23mandala)"/></svg>');
    background-size: cover;
    padding-top: 140px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-logo {
    height: clamp(150px, 20vw, 220px);
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

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

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--bg-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
}

/* ============================================
   SECTION STYLES
   ============================================ */

section {
    padding: 5rem 0;
}

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

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding: 0 1rem;
}

.section-title::before,
.section-title::after {
    content: '✨';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.4;
    color: var(--primary-color);
}

.section-title::before {
    left: -2rem;
}

.section-title::after {
    right: -2rem;
}

@media (max-width: 640px) {
    .section-title::before,
    .section-title::after {
        display: none;
    }
    
    .section-title {
        padding: 0;
    }
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 247, 237, 0.5) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(251, 191, 36, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(217, 119, 6, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.about-image-wrap {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    min-height: 280px;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.15) 0%, rgba(251, 191, 36, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-section-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image-placeholder {
    display: none;
    position: absolute;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.about-image-placeholder.visible {
    display: flex;
}

.about-image-placeholder .ph-icon {
    font-size: 3rem;
    opacity: 0.8;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-text .lead {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--primary-color);
    font-weight: 600;
}


.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mission-card {
    background: var(--bg-light);
    padding: 0;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    overflow: hidden;
}

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

.mission-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    min-height: 180px;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.2) 0%, rgba(251, 191, 36, 0.15) 100%);
    overflow: hidden;
}

.mission-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mission-image-placeholder {
    display: none;
    position: absolute;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
}

.mission-image-placeholder.visible {
    display: flex;
}

.mission-image-placeholder span:first-child {
    font-size: 2.5rem;
}

.mission-card > h3,
.mission-card > p {
    padding: 0 2rem;
}

.mission-card > h3 {
    padding-top: 1.5rem;
}

.mission-card > p {
    padding-bottom: 2.5rem;
}

.mission-card > h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.mission-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   ACTIVITIES SECTION
   ============================================ */

.activities {
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.8) 0%, rgba(254, 243, 199, 0.6) 100%);
    position: relative;
}

.activities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(217, 119, 6, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.activity-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.activity-icon {
    font-size: 4rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.activity-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.activity-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.activity-location {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.activity-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.activity-year {
    display: inline-block;
    background: var(--bg-gradient);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    align-self: flex-start;
}

/* ============================================
   IMPACT SECTION
   ============================================ */

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

.events {
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.6) 0%, rgba(255, 247, 237, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(251, 191, 36, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(217, 119, 6, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.events .container {
    position: relative;
    z-index: 1;
}

.events-subheading {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 2.5rem 0 1.5rem;
    font-weight: 600;
    text-align: center;
}

.events-subheading:first-of-type {
    margin-top: 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.event-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 2px solid rgba(217, 119, 6, 0.1);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(217, 119, 6, 0.3);
}

.event-flyer {
    width: 100%;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
}

.event-image {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.event-card:hover .event-image {
    transform: scale(1.05);
}

.event-details {
    padding: 2rem;
}

.event-details h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

.event-date,
.event-venue,
.event-performer {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.7;
    font-size: 1rem;
}

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

.event-venue {
    color: var(--text-dark);
}

.event-program {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    border-left: 4px solid var(--primary-color);
}

.event-program p {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

.event-program strong {
    color: var(--primary-color);
    font-weight: 600;
}

.event-description {
    color: var(--text-light);
    line-height: 1.7;
    margin: 1rem 0;
    font-style: italic;
}

.event-contact {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    font-weight: 500;
}

.event-contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.event-contact a:hover {
    text-decoration: underline;
}

.events-cta {
    margin-top: 3rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(217, 119, 6, 0.2);
}

.events-cta p {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
}

.events-cta strong {
    color: var(--primary-color);
    font-weight: 600;
}

.impact {
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.6) 0%, rgba(254, 243, 199, 0.4) 100%);
    position: relative;
}

.impact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 40%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 60%, rgba(217, 119, 6, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.impact .container {
    position: relative;
    z-index: 1;
}

.impact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.impact-text h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.impact-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.impact-list {
    list-style: none;
    margin: 2rem 0;
}

.impact-list li {
    padding: 1rem 0;
    color: var(--text-light);
    font-size: 1.1rem;
    border-bottom: 1px solid var(--bg-light);
}

.impact-cta {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    color: var(--text-dark);
    font-weight: 500;
}

.impact-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.impact-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

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

.impact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.impact-card h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.impact-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   DONATE SECTION
   ============================================ */

.donate {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.08) 0%, rgba(251, 191, 36, 0.06) 50%, rgba(234, 88, 12, 0.08) 100%);
    position: relative;
}

.donate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(251, 191, 36, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(217, 119, 6, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.donate .container {
    position: relative;
    z-index: 1;
}

.donate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    margin-bottom: 4rem;
}

.donate-grid-item {
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background: var(--bg-white);
    transition: var(--transition);
}

.donate-grid-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.donate-mission {
    /* Same styling as other items - removed transparent background */
}

.donate-mission h2,
.donate-benefits-card h3,
.donate-card h3,
.donate-zelle h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.donate-mission .lead {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-weight: 500;
}

.donate-mission p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.donate-benefits-card {
    /* Same styling as other items */
}

.donate-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text-light);
}

.donate-benefits-list li {
    padding: 1rem 0;
    line-height: 1.8;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.donate-benefits-list li:last-child {
    border-bottom: none;
}

.donate-benefits-list li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.donate-card {
    background: var(--bg-white);
}

.donate-card .btn-block {
    text-align: center;
    text-decoration: none;
    display: block;
    margin: 2rem 0 1.5rem 0;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.donate-card h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.donate-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.payment-logos-img {
    max-width: 100%;
    height: auto;
    max-height: 45px;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 0.9;
    transition: var(--transition);
}

.payment-logos-img:hover {
    opacity: 1;
}

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

.zelle-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.zelle-instruction {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.zelle-receipt-note {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    line-height: 1.7;
    font-style: italic;
}

.donate-zelle .zelle-qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(217, 119, 6, 0.03);
    border-radius: 12px;
}

.donate-zelle .zelle-logo {
    height: 45px;
    width: auto;
}

.donate-zelle .zelle-qr-code {
    width: 220px;
    height: auto;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background: var(--bg-white);
    padding: 1rem;
}


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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
}

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

.amount-options {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.amount-btn {
    flex: 1;
    min-width: 80px;
    padding: 0.75rem 1rem;
    background: var(--bg-light);
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.amount-btn:hover {
    border-color: var(--primary-color);
    background: rgba(217, 119, 6, 0.1);
}

.amount-btn.active {
    background: var(--bg-gradient);
    color: var(--text-white);
    border-color: transparent;
}

.donate-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Zelle Payment Section */
.zelle-payment-section {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.05) 0%, rgba(234, 88, 12, 0.05) 100%);
    border-radius: var(--border-radius);
    border: 2px solid rgba(217, 119, 6, 0.2);
    text-align: center;
}

.zelle-header h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.zelle-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.zelle-instruction {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.zelle-qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.zelle-logo {
    height: 40px;
    width: auto;
    margin-bottom: 0.5rem;
}

.zelle-qr-code {
    width: 250px;
    height: auto;
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    background: var(--bg-white);
    padding: 1rem;
}

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

.zelle-phone a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.zelle-phone a:hover {
    text-decoration: underline;
}

.zelle-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    line-height: 1.6;
}

.sponsor-section {
    text-align: center;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.sponsor-section h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.sponsor-section p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.sponsorship-tiers {
    margin: 2rem 0;
    text-align: left;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.sponsorship-tiers h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.tier-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.tier-list li {
    padding: 0.75rem 0;
    color: var(--text-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.tier-list strong {
    color: var(--primary-color);
    font-weight: 600;
}

.vision-projects {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.vision-projects h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.project-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.project-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.3rem;
}

.project-target {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.project-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.vision-cta {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 2rem;
}

.vision-cta a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.vision-cta a:hover {
    text-decoration: underline;
}

/* Leadership Section */
.leadership-section {
    margin-top: 2rem;
    padding: 0;
    width: 100%;
}

.leadership-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.75rem;
}

.leadership-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2.5rem;
    align-items: start;
    width: 100%;
    margin-top: 2rem;
}

.leadership-group {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.leadership-group-primary {
    border-top: 3px solid var(--primary-color);
}

.leadership-group-secondary {
    background: transparent;
    box-shadow: none;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.leadership-group h4 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.leadership-group h5 {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1.05rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.director-name {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    margin: 0;
}

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

.leadership-list li {
    padding: 0.75rem 0;
    color: var(--text-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    line-height: 1.7;
}

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

.leadership-list strong {
    color: var(--primary-color);
    font-weight: 600;
}

.director-note {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: transparent;
    border-radius: var(--border-radius);
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.6;
    border-left: 2px solid rgba(0, 0, 0, 0.15);
    font-style: italic;
}

/* ============================================
   VOLUNTEER SECTION
   ============================================ */

.volunteer {
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.8) 0%, rgba(254, 243, 199, 0.6) 100%);
    position: relative;
}

.volunteer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(217, 119, 6, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.volunteer .container {
    position: relative;
    z-index: 1;
}

.volunteer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.volunteer-text h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.volunteer-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.volunteer-benefits {
    list-style: none;
    margin: 2rem 0;
}

.volunteer-benefits li {
    padding: 0.75rem 0;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.volunteer-cta {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    color: var(--text-dark);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.volunteer-form-container {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.volunteer-card h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.volunteer-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 1rem;
    line-height: 1.6;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 247, 237, 0.4) 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 35%, rgba(251, 191, 36, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 65%, rgba(217, 119, 6, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

@media (max-width: 640px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

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

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-form-container {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

.social-links {
    text-align: center;
    padding: 3rem 0;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.social-links h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border-radius: 50%;
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    color: var(--text-light);
}

.social-facebook { color: #1877F2; }
.social-instagram { color: #E4405F; }
.social-youtube { color: #FF0000; }
.social-email { color: #D97706; }

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-md);
}

.social-facebook:hover { background: #1877F2; color: #fff; }
.social-instagram:hover { background: #E4405F; color: #fff; }
.social-youtube:hover { background: #FF0000; color: #fff; }
.social-email:hover { background: #D97706; color: #fff; }

.social-note {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

.footer {
    background: var(--text-dark);
    color: var(--text-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    flex-shrink: 0;
}

/* White background logo for dark footer background */
.footer-logo-img[data-dark-bg="true"] {
    /* Logo already has white background, no additional styling needed */
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-logo h3 {
    margin-bottom: 0;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-light);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-2px);
}

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

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

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

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image-wrap {
        min-height: 240px;
        order: -1; /* Show image first on mobile */
    }
    
    .impact-content,
    .volunteer-content,
    .contact-content,
    .events-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .donate-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .donate-grid-item {
        padding: 2rem;
    }
    
    .donate-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .leadership-section h3 {
        font-size: 1.75rem;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .event-details {
        padding: 1.5rem;
    }
    
    .event-details h3 {
        font-size: 1.5rem;
    }
    
    .sponsorship-tiers {
        padding: 1.5rem;
    }
    
    .vision-projects {
        padding: 2rem 1.5rem;
    }
    
    .donate-grid-item {
        padding: 1.5rem;
    }
    
    .donate-mission h2 {
        font-size: 2rem;
    }
    
    .zelle-logo {
        height: 35px;
    }
    
    .donate-zelle .zelle-logo {
        height: 35px;
    }
    
    .donate-zelle .zelle-qr-code {
        width: 180px;
    }
    
    .payment-logos-img {
        max-height: 40px;
    }

    .nav-top-row {
        grid-template-columns: auto auto auto;
        gap: 0.5rem;
        padding: 0.75rem 0 0.25rem;
        justify-items: center;
    }
    
    .logo-left {
        justify-self: start;
    }
    
    .logo-center {
        justify-self: center;
    }
    
    .nav-right {
        justify-self: end;
    }

    .nav-bottom-row {
        padding: 0.25rem 0 0.75rem;
        display: block; /* Keep visible for menu structure */
    }
    
    .nav-menu-wrapper {
        display: block; /* Ensure wrapper is visible */
    }

    .logo-center {
        display: flex; /* Keep center logo visible on mobile */
        flex-direction: column;
        align-items: center;
    }
    
    .logo-img-center {
        height: 50px; /* Smaller size on mobile */
        max-width: 200px;
    }

    .menu-toggle-top {
        display: flex !important; /* Show hamburger in top-right on mobile */
        z-index: 1001;
    }

    .menu-toggle-bottom {
        display: none !important; /* Hide bottom hamburger */
    }

    .nav-menu {
        position: fixed;
        top: 120px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        display: none; /* Hidden by default */
    }

    .nav-menu.active {
        left: 0;
        display: flex !important; /* Show when active */
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
    }

    /* Force hamburger to be visible and clickable at ALL mobile sizes */
    .menu-toggle-top {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1001 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
    }
    
    .menu-toggle-bottom {
        display: none !important;
    }
    
    /* Ensure menu is visible when active at all mobile sizes */
    .nav-menu {
        position: fixed !important;
        display: none !important;
    }
    
    .nav-menu.active {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        left: 0 !important;
        pointer-events: auto !important;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 640px) {
    section {
        padding: 3rem 0;
    }

    .hero {
        min-height: 90vh;
        padding-top: 120px;
    }
    
    .nav-top-row {
        grid-template-columns: auto 1fr auto;
        padding: 0.5rem 0 0.25rem;
    }
    
    .nav-bottom-row {
        display: block; /* Keep visible for menu structure */
    }
    
    .nav-menu-wrapper {
        display: block; /* Keep wrapper visible */
    }
    
    .nav-menu {
        top: 110px;
        display: none; /* Hidden by default */
        left: -100%;
    }
    
    .nav-menu.active {
        left: 0 !important;
        display: flex !important; /* Show when active */
    }
    
    .menu-toggle-top {
        display: flex !important;
    }
    
    .hero-title-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-logo {
        height: clamp(120px, 25vw, 180px);
    }
    
    .hero-title {
        min-width: auto;
    }
    
    .logo-img-left {
        height: 45px;
        max-width: 150px;
    }
    
    .header-foundation-name-img {
        height: 40px; /* Smaller on mobile */
        max-width: 250px;
    }
    
    .logo-text-below-menu {
        padding: 0.5rem 0;
    }
    
    .logo-text-below-menu .logo-img-center {
        height: 50px;
        max-width: 280px;
    }
    
    .logo-img-center {
        height: 50px;
        max-width: 200px;
    }
    
    .nav-top-row {
        grid-template-columns: auto 1fr auto;
    }
    
    .logo-center {
        display: flex; /* Keep center logo visible on small mobile */
        flex-direction: column;
        align-items: center;
    }
    
    .header-foundation-name-img {
        height: 45px; /* Match smaller logo on mobile */
        margin-left: 0.5rem;
    }
    
    .logo-img-center {
        height: 45px; /* Even smaller on very small screens */
        max-width: 150px;
    }
    
    .header-nonprofit-text {
        font-size: 0.65rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .amount-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .donate-card,
    .contact-form-container {
        padding: 1.5rem;
    }
}

/* ============================================
   ACCESSIBILITY & UTILITIES
   ============================================ */

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

/* ========================================================================
   FLYER LIGHTBOX
   ======================================================================== */

.flyer-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    animation: lightboxFadeIn 0.25s ease;
}

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

.flyer-lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.flyer-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 2.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}

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

.event-flyer {
    cursor: zoom-in;
}

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