/* 
======================================
VALOR RANCH CONSOLIDATED STYLESHEET
======================================
This stylesheet contains all CSS for the Valor Ranch website.
Organized by: Common Styles, Page-Specific Styles, and Media Queries.
*/

/* ============================================
   GLOBAL STYLES & RESET
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Image Responsive Styling */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure images don't break layout on any screen size */
.hero img,
.about img,
.leadership img,
.team-member-image img,
.leader-image img,
.sponsor-slide img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ============================================
   NAVIGATION STYLES
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(25, 78, 135, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #87CEEB;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-image {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #4682B4, #87CEEB);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.2);
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #87CEEB;
}

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

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(25, 78, 135, 0.95);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 1001;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
    color: #87CEEB;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background: rgba(135, 206, 235, 0.1);
    color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #87CEEB;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle:hover {
    color: white;
}

/* ============================================
   HERO SECTIONS (SHARED ACROSS ALL PAGES)
   ============================================ */
.hero {
    background: linear-gradient(135deg, rgba(25, 78, 135, 0.8), rgba(70, 130, 180, 0.8)), url('Home/aerial_view_valor_ranch.webp');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.9), 1px 1px 5px rgba(0,0,0,0.8);
    animation: fadeInUp 1s ease-out;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    text-align: center;
    background: rgba(0,0,0,0.4);
    padding: 1rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.hero-logo {
    width: 280px;
    height: 200px;
    background: linear-gradient(35deg, #4682B4, #87CEEB);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    border: 3px solid rgba(0,0,0,0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.9), 1px 1px 4px rgba(0,0,0,0.8);
    animation: fadeInUp 1s ease-out 0.3s both;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 1rem 2rem;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    background: #4682B4;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s both;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    margin: 0 0.5rem;
}

.cta-button:hover {
    background: #5A9BD4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */
.section {
    padding: 80px 0;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1E4A73;
    position: relative;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.8), 1px 1px 2px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.9);
    padding: 1rem 2rem;
    border-radius: 15px;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(30,74,115,0.2);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #4682B4;
}

/* ============================================
   FOOTER STYLES (SHARED ACROSS ALL PAGES)
   ============================================ */
.footer {
    background: #1E4A73;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: #87CEEB;
    margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
    color: #B0C4DE;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4682B4;
    color: #87CEEB;
}

/* ============================================
   NEWSLETTER SECTION (SHARED)
   ============================================ */
.newsletter {
    background: #2F4F2F;
    color: white;
    padding: 60px 0;
}

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

.newsletter h2 {
    margin-bottom: 1rem;
    color: #D2B48C;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.newsletter-form button {
    background: #4682B4;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #5A9BD4;
    transform: translateY(-2px);
}

/* ============================================
   READABILITY IMPROVEMENTS FOR BACKGROUNDS
   ============================================ */

/* Enhanced text readability for sections with background images */
.impact .section-title,
.governance .section-title,
.requirements .section-title {
    color: white;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.9), 1px 1px 5px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Improved heading readability in dark sections */
.impact h3,
.governance h3,
.requirements h3,
.governance-card h3,
.requirement-card h3 {
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8), 1px 1px 3px rgba(0,0,0,0.9);
    background: rgba(0,0,0,0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

/* Enhanced card readability on background images */
.governance-card,
.requirement-card,
.stat-card {
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Improved text readability for cards on light backgrounds */
.program-card,
.service-card,
.facility-card,
.team-card,
.benefit-card,
.involvement-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

/* ============================================
   PAGE-SPECIFIC STYLES
   ============================================ */

/* ------ INDEX.HTML SPECIFIC STYLES ------ */
/* About Section - Homepage */
.about {
    background: linear-gradient(rgba(240, 248, 255, 0.4), rgba(240, 248, 255, 0.4)), url('Home/IMG_4364.HEIC');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #2C3E50;
}

.about-image {
    background: linear-gradient(45deg, rgba(70, 130, 180, 0.9), rgba(135, 206, 235, 0.9)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><rect fill="%23f0f0f0" width="400" height="400"/><text x="200" y="180" font-family="Arial" font-size="24" fill="%23ccc" text-anchor="middle">About Image</text><text x="200" y="220" font-family="Arial" font-size="18" fill="%23ccc" text-anchor="middle">Placeholder</text></svg>');
    background-size: cover;
    background-position: center;
    height: 400px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* Programs Section - Homepage */
.programs {
    background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url('Home/IMG_6436.HEIC');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.program-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border-top: 4px solid #4682B4;
    backdrop-filter: blur(10px);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.98);
}

.program-card h3 {
    color: #1E4A73;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.program-card p {
    color: #2C3E50;
    line-height: 1.6;
}

/* Impact Section - Homepage */
.impact {
    background: linear-gradient(135deg, rgba(30, 74, 115, 0.8), rgba(70, 130, 180, 0.8)), url('HOME/IMG_5961.HEIC');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.15);
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #87CEEB;
    display: block;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.9), 1px 1px 4px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.3);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.stat-label {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Get Involved Section - Homepage */
.get-involved {
    background: linear-gradient(rgba(240, 248, 255, 0.4), rgba(240, 248, 255, 0.4)), url('Home/IMG_4285.HEIC');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.involvement-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.involvement-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.involvement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.98);
}

.involvement-icon {
    width: 80px;
    height: 80px;
    background: #4682B4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.involvement-card h3 {
    color: #1E4A73;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.involvement-card p {
    color: #2C3E50;
    line-height: 1.6;
}

/* ------ DONATIONS.HTML SPECIFIC STYLES ------ */
/* Donation Methods Section */
.donation-methods {
    background: linear-gradient(rgba(240, 248, 255, 0.4), rgba(240, 248, 255, 0.4)), url('Home/IMG_4364.HEIC');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.method-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border-top: 4px solid #4682B4;
    backdrop-filter: blur(10px);
    text-align: center;
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.98);
}

.method-icon {
    width: 100px;
    height: 100px;
    background: #4682B4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.method-card h3 {
    color: #1E4A73;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.method-card p {
    color: #2C3E50;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.method-button {
    display: inline-block;
    background: #4682B4;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.method-button:hover {
    background: #5A9BD4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Impact Grid for Donations */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.impact-card {
    background: rgba(255,255,255,0.15);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.impact-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #87CEEB;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.impact-description {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Tax Information */
.tax-info {
    background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url('Home/IMG_6436.HEIC');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.tax-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-left: 5px solid #228B22;
}

.tax-box h3 {
    color: #1E4A73;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.tax-box p {
    color: #2C3E50;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Recognition/Donor Tiers */
.recognition {
    background: linear-gradient(rgba(240, 248, 255, 0.4), rgba(240, 248, 255, 0.4)), url('Home/IMG_4285.HEIC');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.tier-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 5px solid;
}

.tier-all-american { border-left-color: #DC143C; }
.tier-hero { border-left-color: #1E4A73; }
.tier-patriot { border-left-color: #4682B4; }
.tier-eagle { border-left-color: #87CEEB; }
.tier-stars { border-left-color: #B0C4DE; }
.tier-volunteers { border-left-color: #32CD32; }

.tier-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #1E4A73;
}

.tier-amount {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

.donor-list {
    list-style: none;
}

.donor-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

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

/* ------ SPONSORS-DONORS.HTML SPECIFIC STYLES ------ */
/* Sponsors Page Hero (special styling) */
.sponsors-donors .hero-content .motto {
    font-size: 1.5rem;
    font-weight: bold;
    font-style: italic;
    color: #87CEEB;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* Carousel Section */
.carousel-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 4rem 0;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
    padding: 2rem;
}

.sponsor-slide {
    flex: 0 0 300px;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.sponsor-slide:hover {
    transform: translateY(-5px);
}

.sponsor-slide img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

/* Donors Section Styling */
.donors-section {
    background: linear-gradient(135deg, rgba(25, 78, 135, 0.1), rgba(70, 130, 180, 0.1));
}

/* Contact Section */
.contact-section {
    background: #1E4A73;
    color: white;
    text-align: center;
}

.contact-info {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ------ ABOUT_VALOR_RANCH.HTML SPECIFIC STYLES ------ */
/* Mission Section */
.mission {
    background: linear-gradient(rgba(240, 248, 255, 0.8), rgba(240, 248, 255, 0.8)), url('Home/IMG_4364.HEIC');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.mission-text {
    font-size: 1.2rem;
    line-height: 1.8;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    color: #2C3E50;
    margin-bottom: 2rem;
}

/* Story Section */
.story {
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('Home/IMG_6436.HEIC');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    color: #2C3E50;
}

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

.story-image {
    background: linear-gradient(45deg, rgba(70, 130, 180, 0.9), rgba(135, 206, 235, 0.9)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><rect fill="%23f0f0f0" width="400" height="400"/><text x="200" y="180" font-family="Arial" font-size="24" fill="%23ccc" text-anchor="middle">Ranch Grounds</text><text x="200" y="220" font-family="Arial" font-size="18" fill="%23ccc" text-anchor="middle">King George, VA</text></svg>');
    background-size: cover;
    background-position: center;
    height: 400px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

/* Leadership Section */
.leadership {
    background: linear-gradient(rgba(240, 248, 255, 0.8), rgba(240, 248, 255, 0.8)), url('Home/IMG_4364.HEIC');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.leadership-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border-left: 4px solid #4682B4;
    backdrop-filter: blur(10px);
    text-align: center;
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.98);
}

.leader-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4682B4, #87CEEB);
    border: 5px solid rgba(255,255,255,0.8);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.leader-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.leadership-card h3 {
    color: #1E4A73;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.leadership-card .title {
    color: #4682B4;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.leadership-card p {
    color: #2C3E50;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

/* Team Section */
.team-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(70, 130, 180, 0.3);
}

.team-leads {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.team-column h4 {
    color: #1E4A73;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.team-list {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.team-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(70, 130, 180, 0.2);
    color: #2C3E50;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

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

.team-member-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4682B4, #87CEEB);
    border: 3px solid rgba(255,255,255,0.8);
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.team-member-info {
    flex: 1;
}

.vacant .team-member-image {
    background: #B22222;
    opacity: 0.6;
}

.filled {
    color: #2E8B57;
    font-weight: 500;
}

.vacant {
    color: #B22222;
    font-style: italic;
}

/* Governance Section */
.governance {
    background: linear-gradient(135deg, rgba(30, 74, 115, 0.8), rgba(70, 130, 180, 0.8)), url('HOME/IMG_5961.HEIC');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

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

.governance-card {
    background: rgba(255,255,255,0.15);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.governance-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.governance-card h3 {
    color: #87CEEB;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.governance-card p {
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.governance-card ul {
    margin-left: 1.5rem;
}

.governance-card li {
    margin-bottom: 0.5rem;
}

.governance-card a:hover {
    color: #87CEEB !important;
    text-shadow: 0 0 5px rgba(135, 206, 235, 0.5);
}

/* Services Section */
.services {
    background: linear-gradient(rgba(240, 248, 255, 0.4), rgba(240, 248, 255, 0.4)), url('Home/IMG_4285.HEIC');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border-top: 4px solid #4682B4;
    backdrop-filter: blur(10px);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.98);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #4682B4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    color: #1E4A73;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #2C3E50;
    line-height: 1.6;
}

/* Testimonial */
.testimonial {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
    backdrop-filter: blur(10px);
    text-align: center;
    font-style: italic;
    font-size: 1.1rem;
    border-left: 4px solid #87CEEB;
}

/* Facilities Section */
.facilities {
    background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url('Home/IMG_6436.HEIC');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.facility-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.facility-card h3 {
    color: #1E4A73;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.facility-card p {
    color: #2C3E50;
    line-height: 1.6;
}

/* ------ NEWS-EVENTS.HTML SPECIFIC STYLES ------ */
/* Event Filters */
.event-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(70, 130, 180, 0.1);
    border: 2px solid #4682B4;
    color: #4682B4;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.filter-btn.active, .filter-btn:hover {
    background: #4682B4;
    color: white;
}

/* Events Section */
.events {
    background: linear-gradient(rgba(240, 248, 255, 0.8), rgba(240, 248, 255, 0.8)), url('Home/IMG_4364.HEIC');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.merchandise {
    background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url('Home/IMG_6436.HEIC');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.merchandise-description {
    margin-bottom: 2rem;
}

.merchandise-description p {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.merchandise-image {
    margin: 2rem auto;
    max-width: 400px;
}

.merchandise-image img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.merchandise-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

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

.event-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.event-header {
    background: linear-gradient(45deg, #4682B4, #87CEEB);
    color: white;
    padding: 1.5rem;
    position: relative;
}

.event-date {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.event-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.event-time {
    font-size: 1rem;
    opacity: 0.9;
}

.event-body {
    padding: 1.5rem;
}

.event-description {
    color: #2C3E50;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.event-location {
    color: #4682B4;
    font-weight: bold;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-category {
    display: inline-block;
    background: rgba(70, 130, 180, 0.1);
    color: #4682B4;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.event-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.event-btn {
    background: #4682B4;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
}

.event-btn:hover {
    background: #5A9BD4;
    transform: translateY(-2px);
}

.event-btn.secondary {
    background: transparent;
    color: #4682B4;
    border: 2px solid #4682B4;
}

.event-btn.secondary:hover {
    background: #4682B4;
    color: white;
}

/* News Section */
.news {
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('Home/IMG_6436.HEIC');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.news-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border-left: 5px solid #4682B4;
    backdrop-filter: blur(10px);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.news-date {
    color: #4682B4;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.news-title {
    color: #1E4A73;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.news-excerpt {
    color: #2C3E50;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-link {
    color: #4682B4;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: #1E4A73;
}

/* Update Instructions (can be removed in production) */
.update-instructions {
    background: rgba(255, 255, 255, 0.9);
    border: 2px dashed #4682B4;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    color: #1E4A73;
    font-style: italic;
}

.update-instructions h4 {
    margin-bottom: 0.5rem;
    color: #4682B4;
}

/* ------ VOLUNTEER.HTML SPECIFIC STYLES ------ */
/* Why Volunteer Section */
.why-volunteer {
    background: linear-gradient(rgba(240, 248, 255, 0.8), rgba(240, 248, 255, 0.8)), url('Home/IMG_4364.HEIC');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.why-text {
    font-size: 1.2rem;
    line-height: 1.8;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    color: #2C3E50;
    margin-bottom: 2rem;
}

/* Volunteer Teams */
.volunteer-teams {
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('Home/IMG_6436.HEIC');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.team-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border-left: 5px solid #4682B4;
    backdrop-filter: blur(10px);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.98);
}

.team-icon {
    width: 100px;
    height: 100px;
    background: #4682B4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.team-card h3 {
    color: #1E4A73;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.team-card p {
    color: #2C3E50;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.team-card ul {
    margin-left: 1.5rem;
    color: #2C3E50;
}

.team-card li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Requirements Section */
.requirements {
    background: linear-gradient(135deg, rgba(30, 74, 115, 0.8), rgba(70, 130, 180, 0.8)), url('HOME/IMG_5961.HEIC');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

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

.requirement-card {
    background: rgba(255,255,255,0.15);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.requirement-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.requirement-card h3 {
    color: #87CEEB;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.requirement-card p {
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    background: linear-gradient(rgba(240, 248, 255, 0.8), rgba(240, 248, 255, 0.8)), url('Home/IMG_4285.HEIC');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.benefit-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.98);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: #4682B4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.benefit-card h3 {
    color: #1E4A73;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-card p {
    color: #2C3E50;
    line-height: 1.6;
}

/* Application Section */
.application {
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('Home/IMG_6436.HEIC');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.application-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-top: 5px solid #4682B4;
}

.application-box h3 {
    color: #1E4A73;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.application-box p {
    color: #2C3E50;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.application-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.step-card {
    background: rgba(70, 130, 180, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #4682B4;
}

.step-number {
    background: #4682B4;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.step-card h4 {
    color: #1E4A73;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: #2C3E50;
    font-size: 0.95rem;
    margin: 0;
}

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

/* Tablet styles */
@media (max-width: 1024px) {
    /* Tablet image optimizations */
    .hero-logo {
        width: 200px;
        height: 150px;
        font-size: 1.1rem;
    }
    
    .leader-image {
        width: 150px;
        height: 150px;
        font-size: 3.5rem;
    }
    
    .team-member-image {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    /* Adjust background attachment for better performance on tablets */
    .about, .programs, .impact, .get-involved,
    .mission, .story, .leadership, .governance, .services, .facilities,
    .donation-methods, .tax-info, .recognition,
    .events, .news, .why-volunteer, .volunteer-teams, .requirements, .benefits, .application {
        background-attachment: scroll;
    }
}
@media (max-width: 768px) {
    /* Hero Adjustments */
    .hero h1 {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 1rem;
    }

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

    .hero-logo {
        width: 80px;
        height: 80px;
        font-size: 1rem;
    }

    /* Navigation Mobile */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(25, 78, 135, 0.98);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(135, 206, 235, 0.1);
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background: rgba(30, 74, 115, 0.95);
        border-radius: 0;
        padding: 0;
    }

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

    .dropdown-content a {
        padding: 0.75rem 2rem;
        font-size: 0.9rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Logo adjustments */
    .logo-image {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    /* Section titles */
    .section-title {
        font-size: 2rem;
    }

    /* Newsletter form */
    .newsletter-form {
        flex-direction: column;
    }

    /* Homepage specific mobile adjustments */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    /* Story content mobile */
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Events page mobile */
    .event-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

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

    .event-actions {
        flex-direction: column;
    }

    /* Application steps mobile */
    .application-steps {
        grid-template-columns: 1fr;
    }

    /* Sponsor slide mobile */
    .sponsor-slide {
        flex: 0 0 250px;
    }

    /* Team leads mobile */
    .donor-tiers {
        grid-template-columns: 1fr;
    }

    /* Mobile Image Responsive Adjustments */
    .leader-image {
        width: 120px;
        height: 120px;
        font-size: 3rem;
        margin: 0 auto 1rem;
    }

    .team-member-image {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .about-image,
    .story-image {
        height: 250px;
        margin: 1rem 0;
    }

    /* Ensure QR code images stay readable on mobile */
    .method-icon img {
        max-width: 90px;
        max-height: 90px;
        width: auto !important;
        height: auto !important;
    }

    /* Logo images mobile optimization */
    .hero img {
        max-width: 100%;
        height: auto;
    }

    /* Make sure sponsor images don't overflow */
    .sponsor-slide img {
        max-width: 100%;
        max-height: 120px;
        object-fit: contain;
    }

    /* Improved mobile image responsiveness */
    .hero-logo {
        width: 150px;
        height: 120px;
        font-size: 0.95rem;
    }
    
    /* Logo in navigation mobile */
    .logo-image {
        width: 35px;
        height: 35px;
        font-size: 0.75rem;
    }
    
    /* Program and service card images */
    .program-card img,
    .service-card img,
    .facility-card img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        margin-bottom: 1rem;
    }

    /* Ensure all background images scale properly on mobile */
    .about, .programs, .impact, .get-involved, .merchandise,
    .mission, .story, .leadership, .governance, .services, .facilities,
    .donation-methods, .tax-info, .recognition,
    .events, .news, .why-volunteer, .volunteer-teams, .requirements, .benefits, .application {
        background-attachment: scroll !important;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .involvement-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    /* Extra small mobile image adjustments */
    .leader-image {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .hero-logo {
        width: 120px;
        height: 90px;
        font-size: 0.85rem;
    }

    .about-image,
    .story-image {
        height: 180px;
    }

    /* Ensure QR codes remain readable on very small screens */
    .method-icon img {
        max-width: 80px;
        max-height: 80px;
    }
    
    /* Logo in navigation - extra small mobile */
    .logo-image {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
    
    /* Container padding adjustment for very small screens */
    .container {
        padding: 0 1rem;
    }
    
    /* Card image improvements for tiny screens */
    .program-card img,
    .service-card img,
    .method-card img {
        max-height: 150px;
        object-fit: cover;
    }
}

/* Additional mobile fix for newsletter */
@media (max-width: 568px) {
    .newsletter-form {
        flex-direction: column;
    }
}