/* Modern CSS Reset & Variables */
:root {
    --primary: #E63946;
    --secondary: #1D3557;
    --accent: #457B9D;
    --light: #F1FAEE;
    --dark: #0F172A;
    --text-main: #333333;
    --text-light: #666666;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: #f8f9fa;
    color: var(--text-main);
    line-height: 1.6;
}

/* Typography */
h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin-top: 0.5rem;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #475569;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.display-desktop {
    display: block;
}

@media(max-width: 768px) {
    .display-desktop {
        display: none;
    }
}

.gap-1 {
    gap: 1rem;
}

.gap-2 {
    gap: 2rem;
}

/* Utilities */
.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

.bg-light {
    background-color: #f1f5f9;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.img-hover-zoom {
    overflow: hidden;
    border-radius: var(--radius);
}

.img-hover-zoom img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-hover-zoom:hover img {
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px -1px rgba(230, 57, 70, 0.3);
}

.btn:hover {
    background-color: #d62828;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(230, 57, 70, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: #162a45;
}

/* Cards */
.card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-body {
    padding: 2rem;
}

/* Header */
.site-header {
    background: white;
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary);
}

.brand img {
    height: 50px;
    width: auto;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--secondary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.header-cta {
    margin-left: 2rem;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 1.5rem;
    }

    .header-cta {
        display: none;
    }

    .mobile-cta {
        display: block;
        margin-top: 1.5rem;
        text-align: center;
    }
}

/* Desktop - hide mobile CTA */
@media (min-width: 769px) {
    .mobile-cta {
        display: none;
    }
}

/* Hero Section - Standardized & Responsive */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), url('../images/community.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* Default - full hero for homepage */
    min-height: 85vh;
    padding: 6rem 1rem;
}

/* Parallax effect - disable on mobile for performance */
@media (min-width: 769px) {
    .hero {
        background-attachment: fixed;
    }
}

/* Compact hero for inner pages */
.hero.hero-compact {
    min-height: 45vh;
    padding: 5rem 1rem;
}

/* Hero content container */
.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
}

/* Hero typography */
.hero h1 {
    color: white;
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero p {
    font-size: clamp(0.95rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

/* Hero buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.hero-buttons .btn {
    min-width: 160px;
}

/* Hero overlay for extra contrast if needed */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

/* Hero responsive breakpoints */
@media (max-width: 991px) {
    .hero {
        min-height: 70vh;
        padding: 5rem 1rem;
    }

    .hero.hero-compact {
        min-height: 40vh;
        padding: 4rem 1rem;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: 60vh;
        padding: 4rem 1rem;
    }

    .hero.hero-compact {
        min-height: 35vh;
        padding: 3.5rem 1rem;
    }

    .hero h1 {
        margin-bottom: 0.75rem;
    }

    .hero p {
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }

    .hero-tagline {
        letter-spacing: 2px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 575px) {
    .hero {
        min-height: 55vh;
        padding: 3.5rem 0.75rem;
    }

    .hero.hero-compact {
        min-height: 30vh;
        padding: 3rem 0.75rem;
    }

    .hero h1 br {
        display: none;
        /* Remove line breaks on small screens */
    }
}

@media (max-width: 375px) {
    .hero {
        min-height: 50vh;
        padding: 3rem 0.5rem;
    }

    .hero.hero-compact {
        min-height: 28vh;
        padding: 2.5rem 0.5rem;
    }
}

/* Landscape mode on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 2rem 1rem;
    }

    .hero.hero-compact {
        min-height: 100vh;
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .hero-buttons {
        flex-direction: row;
    }
}

/* Home Stats */
.stat-card {
    background: white;
    padding: 2rem;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Leadership */
.team-member {
    text-align: center;
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: var(--shadow);
    margin: 0 auto 1.5rem;
}

.team-name {
    color: var(--secondary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 0;
}

.footer-cta {
    background: var(--primary);
    padding: 4rem 1rem;
    text-align: center;
    color: white;
}

.footer-cta h2 {
    color: white;
    border: none;
}

.footer-cta h2::after {
    display: none;
}

.footer-cta p {
    color: white;
    opacity: 0.9;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #cbd5e1;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        gap: 1.5rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    h2::after {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================
   NEW COMPONENT STYLES
   ============================================ */

/* Hero Enhancements */
.hero-tagline {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--secondary);
}

/* Stats Section */
.stats-section {
    background: var(--secondary);
    padding: 3rem 0;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    color: var(--primary);
}

.stat-item .stat-label {
    font-size: 0.9rem;
    max-width: 180px;
    opacity: 0.9;
}

/* Section Labels */
.section-label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Lead Text */
.lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main);
}

/* Value Cards */
.value-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.95rem;
}

/* Program Cards */
.program-card .program-stat {
    background: var(--light);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.program-stat strong {
    color: var(--primary);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-grid .img-hover-zoom {
    height: 200px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem;
    font-size: 0.85rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Impact Cards */
.impact-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
}

.impact-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.impact-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    display: block;
}

/* Help Cards */
.help-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.help-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.help-card h3 {
    margin-bottom: 1rem;
}

.help-card .btn {
    margin-top: 1.5rem;
}

/* About Page - Mission Card */
.mission-card {
    background: var(--secondary);
    color: white;
    padding: 2.5rem;
    border-radius: var(--radius);
}

.mission-card h3 {
    color: white;
}

.mission-card p {
    color: rgba(255, 255, 255, 0.9);
}

/* Values Detailed */
.values-detailed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.value-detail-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.value-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.value-icon-lg {
    font-size: 2rem;
}

@media (max-width: 768px) {
    .values-detailed {
        grid-template-columns: 1fr;
    }
}

/* Objectives Grid */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.objective-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.objective-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .objectives-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Program Features */
.program-feature .program-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.program-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--light);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary);
}

.highlight-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.highlight-text {
    font-size: 0.95rem;
    color: var(--secondary);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    margin-bottom: 2rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.contact-info-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-details h4 {
    margin-bottom: 0.25rem;
}

.contact-details p {
    margin: 0;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h4 {
    margin: 0;
    font-size: 1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Donate Page */
.donation-impact {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.impact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.impact-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    min-width: 100px;
}

.donate-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.payment-methods {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.payment-option {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: var(--radius);
}

.payment-option h4 {
    margin-bottom: 0.5rem;
}

.payment-option p {
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

.allocation-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.allocation-percent {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* ============================================
   RESOURCES PAGE STYLES
   ============================================ */

/* Info Cards */
.info-card-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    min-width: 100px;
}

.info-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* Causes Grid */
.causes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cause-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.cause-card:hover {
    transform: translateY(-5px);
}

.cause-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cause-card h3 {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.cause-points {
    list-style: none;
    margin-top: 1rem;
    padding-left: 0;
}

.cause-points li {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.cause-points li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

@media (max-width: 992px) {
    .causes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .causes-grid {
        grid-template-columns: 1fr;
    }
}

/* Prevention Timeline */
.prevention-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.prevention-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.prevention-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.prevention-content h3 {
    margin-bottom: 0.5rem;
}

.prevention-content p {
    margin-bottom: 1rem;
}

.prevention-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--light);
    color: var(--secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Support List */
.support-list {
    margin-top: 2rem;
}

.support-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.support-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.support-item h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.support-item p {
    margin: 0;
    font-size: 0.9rem;
}

/* Resource Cards */
.resource-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.resource-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.resource-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.newsletter-content h2::after {
    display: none;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
}

.newsletter-form .btn {
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* ============================================
   VOLUNTEER PAGE STYLES
   ============================================ */

/* Involvement Grid */
.involvement-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.involvement-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.involvement-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--secondary), #2a4a6e);
    color: white;
}

.involvement-card.featured h3,
.involvement-card.featured h4 {
    color: white;
}

.involvement-card.featured p,
.involvement-card.featured li {
    color: rgba(255, 255, 255, 0.9);
}

.involvement-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.involvement-icon {
    font-size: 2rem;
}

.involvement-card ul {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.involvement-card li {
    padding: 0.4rem 0;
    font-size: 0.95rem;
}

.involvement-card .btn {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .involvement-grid {
        grid-template-columns: 1fr;
    }

    .involvement-card.featured {
        grid-column: span 1;
    }
}

/* Application Forms */
.form-section {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.application-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.application-form .form-group {
    margin-bottom: 1.5rem;
}

.application-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary);
}

.application-form input,
.application-form select,
.application-form textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: var(--font-body);
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-size: 0.9rem;
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .application-form .form-row {
        grid-template-columns: 1fr;
    }

    .form-section {
        padding: 1.5rem;
    }
}

/* Testimonial Cards */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.testimonial-content {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    top: -1rem;
    left: -0.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.testimonial-author strong {
    display: block;
    color: var(--secondary);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ENHANCED FOOTER STYLES
   ============================================ */

.footer-brand img {
    filter: brightness(0) invert(1);
}

.footer-brand h3 {
    font-size: 1.1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    font-size: 1.25rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.social-link:hover {
    opacity: 1;
}

.footer-links.contact-info li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-icon {
    flex-shrink: 0;
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-newsletter input {
    padding: 0.75rem;
    border: none;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.footer-newsletter .btn {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
}

/* ============================================
   COMPREHENSIVE RESPONSIVE DESIGN
   ============================================ */

/* Extra Large Screens (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    h1 {
        font-size: 3.5rem;
    }

    .hero {
        min-height: 90vh;
    }
}

/* Large Desktops (1200px - 1399px) */
@media (max-width: 1399px) {
    .container {
        max-width: 1140px;
    }
}

/* Standard Desktops (992px - 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2rem;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        gap: 1.25rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }
}

/* Tablets Landscape (768px - 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.85rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .hero {
        min-height: 70vh;
        padding: 4rem 0;
    }

    .stats-grid {
        gap: 2rem;
    }

    .stat-item .stat-number {
        font-size: 2.5rem;
    }

    .causes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .objectives-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Tablets Portrait & Large Phones (576px - 767px) */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
        padding: 0 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    h2::after {
        width: 50px;
        height: 3px;
    }

    h3 {
        font-size: 1.15rem;
    }

    .lead {
        font-size: 1rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Hero */
    .hero {
        min-height: 60vh;
        padding: 3rem 0;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero-tagline {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Stats */
    .stats-section {
        padding: 2rem 0;
    }

    .stats-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-item .stat-number {
        font-size: 2rem;
    }

    .stat-item .stat-label {
        font-size: 0.85rem;
    }

    /* Cards */
    .value-card,
    .help-card,
    .impact-card {
        padding: 1.5rem;
    }

    .value-icon,
    .help-icon {
        font-size: 2rem;
    }

    .impact-number {
        font-size: 2.25rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .gallery-grid .img-hover-zoom {
        height: 150px;
    }

    /* Team */
    .team-img {
        width: 100px;
        height: 100px;
    }

    .team-name {
        font-size: 1rem;
    }

    .team-role {
        font-size: 0.75rem;
    }

    /* Info Cards */
    .info-card {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .info-number {
        font-size: 1.75rem;
        min-width: auto;
    }

    /* Causes */
    .causes-grid {
        grid-template-columns: 1fr;
    }

    .cause-card {
        padding: 1.5rem;
    }

    /* Prevention Timeline */
    .prevention-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .prevention-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin: 0 auto;
    }

    .prevention-tags {
        justify-content: center;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-card {
        padding: 1rem;
    }

    /* Forms */
    .form-section {
        padding: 1.5rem;
    }

    .application-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* FAQ */
    .faq-question {
        padding: 1rem;
    }

    .faq-question h4 {
        font-size: 0.9rem;
    }

    /* Donate */
    .donate-card {
        padding: 1.5rem;
    }

    .allocation-percent {
        font-size: 2rem;
    }

    /* Newsletter */
    .newsletter-section {
        padding: 3rem 1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form .btn {
        width: 100%;
    }

    /* Testimonials */
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links.contact-info li {
        justify-content: center;
        text-align: left;
    }

    .site-footer {
        padding: 3rem 0 1.5rem;
    }

    /* Involvement */
    .involvement-grid {
        grid-template-columns: 1fr;
    }

    .involvement-card.featured {
        grid-column: span 1;
    }

    .involvement-card {
        padding: 1.5rem;
    }
}

/* Small Phones (up to 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 0.875rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .section-padding {
        padding: 2.5rem 0;
    }

    /* Hero */
    .hero {
        min-height: 55vh;
        padding: 2.5rem 0;
    }

    .hero-tagline {
        font-size: 0.7rem;
    }

    /* Buttons */
    .btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Grid adjustments */
    .grid-4 {
        grid-template-columns: 1fr;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid .img-hover-zoom {
        height: 200px;
    }

    /* Team - 2 columns on small phones */
    .team-member {
        padding: 1rem;
    }

    .team-img {
        width: 80px;
        height: 80px;
    }

    /* Program cards */
    .program-card .card-body {
        padding: 1.25rem;
    }

    .program-stat {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    /* Support list */
    .support-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    /* Resource cards */
    .resource-card {
        padding: 1.5rem;
    }

    .resource-icon {
        font-size: 2.5rem;
    }

    /* Objectives */
    .objectives-grid {
        grid-template-columns: 1fr;
    }

    .objective-item {
        padding: 1rem;
    }

    /* Values detailed */
    .values-detailed {
        grid-template-columns: 1fr;
    }

    .value-detail-card {
        padding: 1.25rem;
    }

    /* Impact items */
    .impact-item {
        flex-direction: column;
        text-align: center;
    }

    .impact-amount {
        min-width: auto;
    }

    /* Contact icons */
    .contact-icon {
        font-size: 1.25rem;
    }
}

/* Extra Small Phones (up to 375px) */
@media (max-width: 375px) {
    .container {
        padding: 0 0.75rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .brand-text {
        display: none;
    }

    .brand img {
        height: 40px;
    }

    .stat-item .stat-number {
        font-size: 1.75rem;
    }

    .value-card,
    .help-card {
        padding: 1.25rem;
    }

    .value-icon,
    .help-icon {
        font-size: 1.75rem;
    }
}

/* Landscape Mode for Mobile Phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .hero p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .section-padding {
        padding: 2rem 0;
    }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .brand img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Print Styles */
@media print {

    .site-header,
    .site-footer,
    .hero-buttons,
    .newsletter-section,
    .btn {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    .section-padding {
        padding: 1rem 0;
    }

    h1,
    h2,
    h3 {
        page-break-after: avoid;
    }

    img {
        max-width: 100% !important;
    }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .img-hover-zoom:hover img {
        transform: none;
    }
}

/* Dark Mode Support (optional - for modern browsers) */
@media (prefers-color-scheme: dark) {
    /* Uncomment below for dark mode support
    :root {
        --text-main: #e2e8f0;
        --text-light: #94a3b8;
    }
    
    body {
        background-color: #0f172a;
        color: var(--text-main);
    }
    */
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }

    .nav-links a {
        padding: 0.75rem 0;
    }

    .faq-question {
        min-height: 48px;
    }

    .img-hover-zoom:hover img {
        transform: none;
    }

    .card:hover {
        transform: none;
    }

    .value-card:hover,
    .cause-card:hover {
        transform: none;
    }
}