/* WWF Website Styles - Beautiful Modern Design */
/* Color Palette: Blue #0D47A1, Green #43A047, Orange #FB8C00 */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #0D47A1;
    --primary-blue-dark: #0A3B8C;
    --primary-blue-light: #1565C0;
    --primary-green: #43A047;
    --primary-green-dark: #2E7D32;
    --accent-orange: #FB8C00;
    --accent-orange-dark: #E65100;
    --accent-gold: #FFD54F;
    --white: #ffffff;
    --bg-light: #F5F5F5;
    --bg-white: #ffffff;
    --text-dark: #2D3436;
    --text-light: #636E72;
    --text-muted: #95A5A6;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
    --shadow-xl: 0 15px 50px rgba(0,0,0,0.2);
    --gradient-blue: linear-gradient(135deg, #0D47A1 0%, #1565C0 100%);
    --gradient-green: linear-gradient(135deg, #43A047 0%, #2E7D32 100%);
    --gradient-orange: linear-gradient(135deg, #FB8C00 0%, #E65100 100%);
    --gradient-gold: linear-gradient(135deg, #FFD54F 0%, #FFB300 100%);
    --gradient-hero: linear-gradient(135deg, rgba(13,71,161,0.95) 0%, rgba(13,71,161,0.9) 50%, rgba(67,160,71,0.85) 100%);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
    --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: 'Open Sans', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-light);
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

.font-light { font-weight: 300; }
.font-regular { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

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

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

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

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.3;
}

.logo span { color: var(--primary-green); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.15rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.5rem 0.65rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 60%; }

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-blue);
    background: rgba(13, 71, 161, 0.08);
}

/* Donate Button */
.btn-donate {
    background: var(--gradient-orange) !important;
    color: var(--white) !important;
    padding: 0.5rem 1.1rem !important;
    border-radius: var(--border-radius-sm) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(251, 140, 0, 0.4) !important;
}

.btn-donate:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(251, 140, 0, 0.5) !important;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

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

.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(5px, -5px); }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(13,71,161,0.9) 0%, rgba(67,160,71,0.85) 100%), url('../assets/father_photo.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding-top: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

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

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.8;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

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

.hero-stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    display: block;
}

.hero-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before { left: 100%; }

.btn-primary { background: var(--gradient-blue); color: var(--white); box-shadow: 0 4px 15px rgba(13, 71, 161, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13, 71, 161, 0.5); }

.btn-orange { background: var(--gradient-orange); color: var(--white); box-shadow: 0 4px 15px rgba(251, 140, 0, 0.4); }
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(251, 140, 0, 0.5); }

.btn-green { background: var(--gradient-green); color: var(--white); box-shadow: 0 4px 15px rgba(67, 160, 71, 0.4); }
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(67, 160, 71, 0.5); }

.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); margin-left: 1rem; }
.btn-outline:hover { background: var(--white); color: var(--text-dark); transform: translateY(-2px); }

.btn-white { background: var(--white); color: var(--primary-blue); }
.btn-white:hover { background: var(--bg-light); transform: translateY(-2px); }

.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* Sections */
section { padding: 5rem 2rem; }

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

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

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

/* Stats Section */
.stats {
    background: var(--gradient-blue);
    color: var(--white);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.stats::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.stat-icon { font-size: 2rem; margin-bottom: 0.5rem; display: block; }

.stat-item h3 { font-size: 2.75rem; margin-bottom: 0.5rem; color: var(--white); font-weight: 700; }

.stat-item p { font-size: 1rem; opacity: 0.9; font-family: 'Poppins', sans-serif; }

.counter { display: inline-block; }

/* About Snippet */
.about-snippet { background-color: var(--bg-white); }

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

.about-text h2 { font-size: 2.25rem; margin-bottom: 1.5rem; }

.about-text p { margin-bottom: 1.5rem; color: var(--text-light); font-size: 1.05rem; }

.about-image { position: relative; }

.about-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--primary-blue);
    border-radius: var(--border-radius-lg);
    z-index: -1;
}

.about-image:hover img { transform: scale(1.02); }

/* Mission & Vision */
.mission-vision {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.mv-card {
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-blue);
}

.mv-card.green::before { background: var(--gradient-green); }

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

.mv-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }

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

/* Programs Grid */
.programs { background: var(--bg-light); }

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

.program-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.program-card:hover::before { transform: scaleX(1); }

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

.program-card .impact-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-gold);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(255, 213, 79, 0.4);
}

.program-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13, 71, 161, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.program-card:hover::after { opacity: 1; }

.program-icon {
    width: 60px;
    height: 60px;
    background: rgba(13, 71, 161, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.program-card.green .program-icon { background: rgba(67, 160, 71, 0.1); }
.program-card.orange .program-icon { background: rgba(251, 140, 0, 0.1); }

.program-card h3 { font-size: 1.35rem; margin-bottom: 0.875rem; color: var(--text-dark); }
.program-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* Program card padding */
.program-card { padding: 2rem; }

/* CTA Section */
.cta-section {
    background: var(--gradient-orange);
    color: var(--white);
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--white); position: relative; z-index: 1; }
.cta-section p { font-size: 1.2rem; opacity: 0.95; margin-bottom: 2rem; position: relative; z-index: 1; }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Trust Badges Section */
.trust-section { background: var(--bg-white); padding: 3rem 2rem; }

.trust-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-light);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.trust-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.trust-badge-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
}

.trust-badge-text { font-family: 'Poppins', sans-serif; font-weight: 500; color: var(--text-dark); }

/* Partners Section */
.partners-section { background: var(--bg-light); padding: 3rem 2rem; text-align: center; }
.partners-section h3 { margin-bottom: 2rem; color: var(--text-dark); }

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-logo {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

/* Footer */
footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    color: var(--white);
    padding: 4rem 2rem 1.5rem;
}

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

.footer-section h4 { color: var(--white); font-size: 1.25rem; margin-bottom: 1.25rem; }

.footer-section p, .footer-section a {
    color: #aaa;
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-section a:hover { color: var(--primary-green); transform: translateX(5px); }

/* Social Media Icons */
.social-links { display: flex; gap: 1rem; margin-top: 1rem; }

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover { background: var(--primary-blue); transform: translateY(-3px); }

/* Newsletter */
.newsletter-form { display: flex; gap: 0.5rem; margin-top: 1rem; }
.newsletter-form input { flex: 1; padding: 0.75rem 1rem; border: none; border-radius: var(--border-radius-sm); font-size: 0.95rem; }
.newsletter-form button {
    padding: 0.75rem 1.25rem;
    background: var(--gradient-orange);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}
.newsletter-form button:hover { transform: translateY(-2px); }

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(13,71,161,0.9) 0%, rgba(67,160,71,0.85) 100%), url('../assets/father_photo.jpg');
    background-size: cover;
    background-position: center;
    padding: 10rem 2rem 4rem;
    text-align: center;
    color: var(--white);
    position: relative;
    margin-top: 60px;
}

.page-header h1 { font-size: 3rem; margin-bottom: 1rem; color: var(--white); position: relative; z-index: 1; }
.page-header p { font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }

.page-content { max-width: 1000px; margin: 0 auto; padding: 3rem 2rem; }

/* About Page Styles */
.about-section {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.about-section h2 { color: var(--primary-blue); font-size: 1.75rem; margin-bottom: 1.5rem; }
.about-section p { color: var(--text-light); margin-bottom: 1rem; line-height: 1.8; }
.about-section ul { list-style: none; margin-top: 1.5rem; }
.about-section ul li { padding: 0.75rem 0; padding-left: 2rem; position: relative; color: var(--text-light); }
.about-section ul li::before { content: '✓'; color: var(--primary-green); position: absolute; left: 0; font-weight: bold; }

/* Reports Page */
.reports-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }

.report-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.report-preview {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.report-preview.blue { background: var(--gradient-blue); }
.report-preview.green { background: var(--gradient-green); }
.report-preview.orange { background: var(--gradient-orange); }

.report-info { padding: 1.75rem; }
.report-info h3 { color: var(--text-dark); margin-bottom: 0.5rem; font-size: 1.25rem; }
.report-info p { color: var(--text-light); margin-bottom: 1.25rem; font-size: 0.95rem; }

/* Mobile Responsive Styles */
/* Tablet/Laptop: show hamburger early since we have many nav items */
@media (max-width: 1200px) {
    .menu-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 56px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 56px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        gap: 0.25rem;
        z-index: 999;
    }

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

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 1024px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-stats { gap: 1.5rem; }
    .hero-stat-number { font-size: 2rem; }
    .about-content { grid-template-columns: 1fr; gap: 2rem; }
    .mv-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    
    .hero { min-height: auto; padding: 8rem 1rem 4rem; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .hero-stats { gap: 1rem; }
    .hero-stat-number { font-size: 1.5rem; }
    .hero-stat-label { font-size: 0.75rem; }
    
    .section-title { font-size: 2rem; }
    
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .stat-item { padding: 1rem; }
    .stat-item h3 { font-size: 2rem; }
    
    .programs-grid { grid-template-columns: 1fr; }
    .trust-grid { flex-direction: column; gap: 1rem; }
    .partners-grid { flex-direction: column; gap: 1rem; }
    
    .footer-grid { grid-template-columns: 1fr; }

    .reports-grid { grid-template-columns: 1fr; }
    .report-preview { height: 120px; font-size: 2.5rem; }
    .report-info { padding: 1rem; }
    .report-info h3 { font-size: 1rem; }
    .report-info p { font-size: 0.85rem; margin-bottom: 0.75rem; }

    .cta-section h2 { font-size: 1.75rem; }
    .cta-buttons { flex-direction: column; }
    .btn-outline { margin-left: 0; margin-top: 1rem; }

    section { padding: 3rem 1rem; }
    .section-title { font-size: 1.75rem; }
    .section-subtitle { font-size: 0.9rem; margin-bottom: 1.5rem; }

    .about-snippet { padding: 2rem 1rem; }
    .about-snippet .section-title { font-size: 1.5rem; }
    .about-content { flex-direction: column; }
    .about-image { order: -1; margin-bottom: 1.5rem; }
    .about-image img { border-radius: 8px; }

    .founder-tribute { padding: 2rem 1rem; }
    .founder-tribute-content { flex-direction: column; }
    .founder-tribute-text { order: 1; }
    .founder-tribute-text h2 { font-size: 1.5rem; }
    .founder-tribute-image { width: 100%; margin-top: 1.5rem; }

    .trust-section { padding: 2rem 1rem; }
    .trust-section h2 { font-size: 1.5rem; }

    .mission-vision { padding: 2rem 1rem; }
    .mission-vision h2 { font-size: 1.5rem; }
    .mv-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .mv-card { padding: 1.5rem; }

    .programs { padding: 2rem 1rem; }
    .programs h2 { font-size: 1.5rem; }
    .program-card { padding: 1.25rem; }
    .program-card h3 { font-size: 1.1rem; }
    .program-card p { font-size: 0.9rem; }

    .testimonials-section { padding: 2rem 1rem; }
    .testimonials-section h2 { font-size: 1.5rem; }
    .testimonial-card { padding: 1.25rem; }
    .testimonial-card p { font-size: 0.9rem; }
    .testimonial-author { font-size: 0.85rem; }

    .gallery-section { padding: 2rem 0.75rem; }
    .gallery-section h2 { font-size: 1.5rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
    .gallery-item { min-height: 100px; }

    .partners-section { padding: 2rem 1rem; }
    .partners-section h2 { font-size: 1.5rem; }

    .cta-section { padding: 2rem 1rem; }
}

@media (max-width: 480px) {
    .nav-container { padding: 0.65rem 1rem; }
    .logo { font-size: 0.95rem; }
    
    .hero h1 { font-size: 1.75rem; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    
    .stats-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.75rem; }
    
    .about-section { padding: 1.5rem; }
    .mv-card { padding: 1.5rem; }
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
    padding: 6rem 2rem;
}

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

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
    border-top: 4px solid var(--primary-blue);
}

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

.testimonial-card:nth-child(2) { border-top-color: var(--primary-green); }
.testimonial-card:nth-child(3) { border-top-color: var(--accent-orange); }

.testimonial-quote {
    font-size: 5rem;
    color: var(--primary-blue);
    opacity: 0.15;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

.testimonial-card:nth-child(2) .testimonial-avatar { background: var(--gradient-green); }
.testimonial-card:nth-child(3) .testimonial-avatar { background: var(--gradient-orange); }

.testimonial-info h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Gallery Section */
.gallery-section {
    background: var(--white);
    padding: 6rem 2rem;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13,71,161,0.3) 0%, rgba(67,160,71,0.3) 100%);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .gallery-item { aspect-ratio: 1/1; }
    .gallery-section { padding: 3rem 1rem; }
    .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .gallery-item { aspect-ratio: 1/1; min-height: 120px; }
    .gallery-section { padding: 2rem 0.75rem; }
}

/* Map Section */
.map-section {
    background: var(--bg-light);
    padding: 6rem 2rem;
}

.map-wrapper {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.map-wrapper iframe {
    display: block;
}

.map-info {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.map-info h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.map-info ul {
    margin-top: 0.5rem;
    color: var(--text-light);
}

.map-info li {
    margin-bottom: 0.5rem;
}

/* Team Section */
.team-section {
    background: var(--white);
    padding: 6rem 2rem;
}

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

.team-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

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

.team-card.founder {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(13,71,161,0.05) 0%, rgba(67,160,71,0.05) 100%);
    border: 2px solid var(--primary-blue);
}

.team-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-card.founder .team-image {
    height: 300px;
}

.team-content {
    padding: 1.5rem;
}

.team-content h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    display: block;
}

.team-card.founder .team-role {
    color: var(--accent-orange);
}

.team-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .team-card.founder { grid-column: span 1; }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-section {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

.form-group label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius-sm);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

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

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

.contact-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: rgba(13, 71, 161, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-item h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

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

.contact-item a:hover {
    color: var(--primary-blue-dark);
}

.office-hours {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-green);
}

.office-hours h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.office-hours p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper,
    .contact-card {
        padding: 1.5rem;
    }
}

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

.faq-section {
    padding: 5rem 2rem;
    background: var(--bg-white);
}

.faq-grid {
    max-width: 800px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid #eee;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-blue);
    transition: var(--transition);
    min-width: 24px;
    text-align: center;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(0deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   DONATE / GET INVOLVED PAGE STYLES
   ============================================ */

.donate-section {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

.donate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.donate-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.donate-info h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.donate-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.donate-list li {
    padding: 0.6rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid #f0f0f0;
}

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

.donate-contact {
    background: rgba(13, 71, 161, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    border-left: 4px solid var(--primary-blue);
}

.donate-contact h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.donate-contact p {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.donate-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--primary-green);
}

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

.bank-details {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.bank-details p {
    margin-bottom: 0.6rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.bank-details p strong {
    color: var(--text-dark);
}

.donate-note {
    background: rgba(67, 160, 71, 0.08);
    padding: 1.25rem;
    border-radius: var(--border-radius-sm);
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
    border-left: 4px solid var(--primary-green);
}

@media (max-width: 768px) {
    .donate-content {
        grid-template-columns: 1fr;
    }
    .donate-info, .donate-card {
        padding: 1.5rem;
    }
}

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

.volunteer-section {
    padding: 5rem 2rem;
    background: var(--bg-white);
}

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

.volunteer-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #eee;
    text-align: center;
}

.volunteer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13, 71, 161, 0.15);
}

.volunteer-icon {
    width: 65px;
    height: 65px;
    background: rgba(13, 71, 161, 0.08);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
}

.volunteer-card:nth-child(2n) .volunteer-icon {
    background: rgba(67, 160, 71, 0.08);
}

.volunteer-card:nth-child(3n) .volunteer-icon {
    background: rgba(251, 140, 0, 0.08);
}

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

.volunteer-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

.volunteer-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(13, 71, 161, 0.04);
    border-radius: var(--border-radius-lg);
}

.volunteer-cta p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

/* ============================================
   WAYS TO SUPPORT SECTION
   ============================================ */

.ways-to-support {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

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

.support-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--primary-blue);
}

.support-card:nth-child(2) { border-top-color: var(--primary-green); }
.support-card:nth-child(3) { border-top-color: var(--accent-orange); }

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

.support-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.support-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.support-card ul {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--primary-blue-dark);
    gap: 0.5rem;
}

/* ============================================
   VISUAL TIMELINE (About Page)
   ============================================ */

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    padding-bottom: 2.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 5px;
    width: 22px;
    height: 22px;
    background: var(--white);
    border: 4px solid var(--primary-blue);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(2n)::before {
    border-color: var(--primary-green);
}

.timeline-item:nth-child(3n)::before {
    border-color: var(--accent-orange);
}

.timeline-item h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-family: 'Poppins', sans-serif;
}

.timeline-item:nth-child(2n) h4 {
    color: var(--primary-green);
}

.timeline-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ============================================
   FLOATING ACTION BUTTONS
   ============================================ */

.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.floating-btn.whatsapp {
    background: #25D366;
}

.floating-btn.donate-float {
    background: var(--gradient-orange);
}

.floating-btn.scroll-top {
    background: var(--gradient-blue);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-btn.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 16px;
    }
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

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

.stat-item,
.program-card,
.mv-card,
.testimonial-card,
.gallery-item,
.team-card,
.value-card,
.report-card,
.volunteer-card,
.support-card,
.faq-item {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-item.visible,
.program-card.visible,
.mv-card.visible,
.testimonial-card.visible,
.gallery-item.visible,
.team-card.visible,
.value-card.visible,
.report-card.visible,
.volunteer-card.visible,
.support-card.visible,
.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations */
.program-card:nth-child(2),
.volunteer-card:nth-child(2),
.support-card:nth-child(2) { transition-delay: 0.1s; }
.program-card:nth-child(3),
.volunteer-card:nth-child(3),
.support-card:nth-child(3) { transition-delay: 0.2s; }
.program-card:nth-child(4) { transition-delay: 0.3s; }
.program-card:nth-child(5) { transition-delay: 0.4s; }
.program-card:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   SVG ICON SYSTEM
   ============================================ */

.icon {
    width: 28px;
    height: 28px;
    display: inline-block;
}

.program-icon .icon,
.volunteer-icon .icon {
    width: 32px;
    height: 32px;
}

/* ============================================
   SOCIAL MEDIA ICONS (SVG)
   ============================================ */

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ============================================
   ABOUT SECTION (Generic)
   ============================================ */

.about-section {
    padding: 4rem 2rem;
    background: var(--bg-white);
}

.about-section:nth-child(even) {
    background: var(--bg-light);
}

.about-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.about-section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-blue);
    border-radius: 4px;
}

.about-section h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin: 1.5rem 0 1rem;
}

.about-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-section ul {
    color: var(--text-light);
    line-height: 2;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.about-section ul li {
    margin-bottom: 0.25rem;
}

/* ============================================
   FOUNDER SECTION
   ============================================ */

.founder-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.founder-img-container {
    position: sticky;
    top: 100px;
}

.founder-img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.founder-info h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.founder-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .founder-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .founder-img-container {
        position: static;
        max-width: 250px;
        margin: 0 auto;
    }
}

/* ============================================
   REPORTS GRID
   ============================================ */

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

.report-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.report-preview {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.report-preview.blue {
    background: var(--gradient-blue);
}

.report-preview.green {
    background: var(--gradient-green);
}

.report-preview.orange {
    background: var(--gradient-orange);
}

.report-info {
    padding: 2rem;
}

.report-info h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.report-info p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

@media (max-width: 480px) {
    .reports-grid {
        grid-template-columns: 1fr;
    }
}

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

.map-section {
    padding: 4rem 2rem;
    background: var(--bg-light);
}

.map-wrapper {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.map-wrapper iframe {
    display: block;
    border-radius: var(--border-radius-lg);
}

.map-info {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.map-info h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.map-info p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.map-info ul {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   PAGE HEADER REFINEMENT
   ============================================ */

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.75rem;
    }
    .page-header p {
        font-size: 0.9rem;
    }
}

/* ============================================
   FOUNDER TRIBUTE (Homepage)
   ============================================ */

.founder-tribute {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f6f0 0%, #fdf8f0 100%);
    position: relative;
}

.founder-tribute::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green), var(--accent-orange));
}

.founder-tribute-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.founder-tribute-text h2 {
    margin-bottom: 0.5rem;
}

.founder-tribute-text p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.founder-tribute-image {
    position: relative;
}

.founder-tribute-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    border: 5px solid white;
}

.founder-tribute-image::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid var(--accent-orange);
    border-radius: var(--border-radius-lg);
    z-index: -1;
    opacity: 0.4;
}

@media (max-width: 768px) {
    .founder-tribute-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .founder-tribute-image {
        max-width: 350px;
        margin: 0 auto;
    }
}

/* (logo overrides moved to main nav section) */

/* ============================================
   HERO CAROUSEL (Mobile Only)
   ============================================ */

.hero-carousel {
    display: none; /* hidden on desktop */
}

@media (max-width: 1024px) {
    .hero-carousel {
        display: block;
        width: 100%;
        margin: 1.5rem 0 1.75rem;
        overflow: hidden;
        border-radius: var(--border-radius);
        box-shadow: 0 8px 30px rgba(0,0,0,0.3);
        position: relative;
    }

    .hero-carousel-track {
        display: flex;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform;
    }

    .hero-carousel-slide {
        min-width: 100%;
        position: relative;
    }

    .hero-carousel-slide img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
    }

    .hero-carousel-label {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
        color: var(--white);
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        font-size: 0.85rem;
        padding: 2rem 1rem 0.75rem;
    }

    .hero-carousel-dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 0.75rem;
    }

    .hero-carousel-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255,255,255,0.4);
        border: none;
        cursor: pointer;
        padding: 0;
        transition: var(--transition);
    }

    .hero-carousel-dot.active {
        background: var(--white);
        transform: scale(1.3);
    }

    /* hide standalone carousel section on mobile */
    .carousel-section {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero-carousel-slide img {
        height: 180px;
    }
    .hero-carousel-label {
        font-size: 0.78rem;
        padding: 1.5rem 0.75rem 0.6rem;
    }
}

/* ============================================
   IMAGE CAROUSEL (Homepage — Desktop)
   ============================================ */

.carousel-section {
    background: var(--bg-white);
    padding: 6rem 2rem;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-track-container {
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

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

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.0) 100%);
    color: var(--white);
    padding: 3rem 2.5rem 2rem;
}

.carousel-caption h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.carousel-caption p {
    font-size: 1rem;
    opacity: 0.9;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(6px);
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.carousel-btn-prev { left: -24px; }
.carousel-btn-next { right: -24px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-slide img { height: 280px; }
    .carousel-btn { width: 40px; height: 40px; }
    .carousel-btn-prev { left: 8px; }
    .carousel-btn-next { right: 8px; }
    .carousel-caption h3 { font-size: 1.15rem; }
    .carousel-caption p { font-size: 0.85rem; }
    .carousel-section { padding: 3rem 1rem; }
}

@media (max-width: 480px) {
    .carousel-slide img { height: 220px; }
    .carousel-caption { padding: 2rem 1.25rem 1.25rem; }
    .carousel-caption h3 { font-size: 1rem; }
}

/* ============================================
   GALLERY PAGE — MASONRY + FILTER
   ============================================ */

.gallery-page-section {
    background: var(--bg-light);
    padding: 5rem 2rem;
}

.gallery-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 2.5rem 0 2rem;
}

.gallery-tab {
    padding: 0.65rem 1.5rem;
    border: 2px solid #ddd;
    background: var(--white);
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-tab:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.gallery-tab.active {
    background: var(--gradient-blue);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3);
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1rem;
}

.gallery-masonry-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-masonry-item.tall {
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-masonry-item.hidden {
    display: none;
}

.gallery-masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-masonry-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: var(--white);
    padding: 2.5rem 1.25rem 1.25rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.gallery-masonry-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.85;
}

.gallery-masonry-item:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .gallery-masonry { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .gallery-masonry-item.tall { grid-row: span 1; aspect-ratio: 4/3; }
    .gallery-filter-tabs { gap: 0.5rem; }
    .gallery-tab { padding: 0.5rem 1rem; font-size: 0.8rem; }
    .gallery-page-section { padding: 3rem 1rem; }
}

@media (max-width: 480px) {
    .gallery-masonry { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
    .gallery-tab { padding: 0.4rem 0.85rem; font-size: 0.75rem; }
}

/* ============================================
   LIGHTBOX MODAL
   ============================================ */

.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 0 60px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover { transform: scale(1.2); }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--white);
    background: rgba(255,255,255,0.15);
    border: none;
    cursor: pointer;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10001;
}

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

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-caption {
    text-align: center;
    color: var(--white);
    padding: 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .lightbox-nav { width: 44px; height: 44px; font-size: 1.5rem; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

/* Accessibility — skip to content link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 8px 0;
    transition: top 0.2s ease-in-out;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
}
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Form response messages */
.form-msg { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: 6px; font-weight: 500; }
.form-msg.success { background: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7; }
.form-msg.error { background: #FFEBEE; color: #C62828; border: 1px solid #EF9A9A; }

/* Blog listing and post styles */
.blog-page { padding: 4rem 0; max-width: 1100px; margin: 0 auto; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.blog-card { background: var(--white); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-body h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--primary-blue); }
.blog-card-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.blog-card-excerpt { color: var(--text-light); flex: 1; }
.blog-card a.read-more { margin-top: 1rem; color: var(--primary-green); font-weight: 600; text-decoration: none; align-self: flex-start; }
.blog-post { max-width: 820px; margin: 4rem auto; padding: 0 1.5rem; }
.blog-post h1 { font-size: 2.25rem; color: var(--primary-blue); margin-bottom: 0.75rem; }
.blog-post .meta { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }
.blog-post img.cover { width: 100%; border-radius: var(--border-radius); margin-bottom: 2rem; }
.blog-post .content { line-height: 1.9; font-size: 1.05rem; color: var(--text-dark); }
.blog-post .content p { margin-bottom: 1.25rem; }
.blog-post .content h2, .blog-post .content h3 { margin: 2rem 0 1rem; color: var(--primary-blue); }
.blog-post .content img { max-width: 100%; border-radius: 8px; margin: 1rem 0; }
.blog-post .content ul, .blog-post .content ol { margin: 1rem 0 1.5rem 1.5rem; }

/* Admin panel styles */
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; background: var(--bg-light); }
.admin-sidebar { background: var(--primary-blue); color: var(--white); padding: 2rem 1rem; }
.admin-sidebar h2 { color: var(--white); font-size: 1.15rem; margin-bottom: 2rem; }
.admin-sidebar a { display: block; color: rgba(255,255,255,0.85); padding: 0.6rem 0.9rem; text-decoration: none; border-radius: 6px; margin-bottom: 0.25rem; font-weight: 500; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,0.15); color: var(--white); }
.admin-main { padding: 2.5rem 2rem; overflow-x: auto; }
.admin-card { background: var(--white); border-radius: var(--border-radius); padding: 1.75rem; box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid #eee; vertical-align: top; }
.admin-table th { background: #fafafa; font-weight: 600; color: var(--text-dark); }
.admin-form label { display: block; font-weight: 600; margin: 1rem 0 0.4rem; }
.admin-form input[type=text], .admin-form input[type=email], .admin-form input[type=password], .admin-form input[type=url], .admin-form textarea, .admin-form select { width: 100%; padding: 0.7rem 0.9rem; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; font-size: 1rem; }
.admin-form textarea { min-height: 280px; resize: vertical; font-family: 'Open Sans', sans-serif; }
.admin-form .btn { margin-top: 1rem; border: none; cursor: pointer; }
.login-shell { min-height: 100vh; display: grid; place-items: center; background: var(--gradient-blue); padding: 1.5rem; }
.login-box { background: var(--white); padding: 2.5rem; border-radius: var(--border-radius); width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); }
.login-box h1 { color: var(--primary-blue); margin-bottom: 0.5rem; }
.login-box p.sub { color: var(--text-light); margin-bottom: 1.75rem; }
.badge { display: inline-block; padding: 0.25rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.badge.published { background: #E8F5E9; color: #2E7D32; }
.badge.draft { background: #FFF3E0; color: #E65100; }

@media (max-width: 768px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { padding: 1rem; }
    .admin-main { padding: 1.5rem 1rem; }
}
