/* ============================================ */
/* GOOGLE FONTS IMPORT                          */
/* ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ============================================ */
/* CSS VARIABLES & GLOBAL RESET                 */
/* ============================================ */
:root {
    --primary: #0B5ED7;
    --secondary: #F59E0B;
    --accent: #16A34A;
    --dark: #1F2937;
    --light: #F8FAFC;
    --white: #FFFFFF;
    --text: #4B5563;

    --font-primary: 'Poppins', sans-serif;

    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;

    --shadow-sm: 0 4px 12px rgba(31, 41, 55, 0.08);
    --shadow-md: 0 8px 24px rgba(31, 41, 55, 0.12);
    --shadow-lg: 0 16px 40px rgba(31, 41, 55, 0.16);

    --transition: all 0.3s ease;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ============================================ */
/* REUSABLE CONTAINER & SECTION HEADINGS        */
/* ============================================ */
.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 0.75rem;
    position: relative;
}

.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    margin: 0.75rem auto 0;
}

.section-subheading {
    font-size: 1.1rem;
    color: var(--text);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ============================================ */
/* BUTTONS                                      */
/* ============================================ */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #0a4bb5);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(11, 94, 215, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(11, 94, 215, 0.45);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(11, 94, 215, 0.3);
}

.btn-donate {
    background: linear-gradient(135deg, var(--secondary), #e08e00);
    color: var(--white);
    padding: 0.7rem 1.6rem;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.45);
}

.btn-read-more {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

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

.btn-join {
    background: linear-gradient(135deg, var(--accent), #128a3d);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35);
}

.btn-join:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(22, 163, 74, 0.45);
}

.btn-donate-large {
    background: linear-gradient(135deg, var(--secondary), #e08e00);
    color: var(--white);
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-donate-large:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.5);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary), #0a4bb5);
    color: var(--white);
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
    box-shadow: 0 6px 20px rgba(11, 94, 215, 0.35);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(11, 94, 215, 0.45);
}

/* ============================================ */
/* 1. HEADER SECTION                            */
/* ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(31, 41, 55, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header-container {
    width: 100%;
    padding: 1rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #B02070;
    letter-spacing: -0.5px;
}

.logo-text:hover {
    color: #30A0B0;
}

.main-navigation {
    display: flex;
    justify-content: center;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
}

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

.nav-link {
    font-weight: 500;
    color: var(--dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: var(--transition);
}

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

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

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

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

/* ============================================ */
/* 2. HERO SECTION                              */
/* ============================================ */
.hero-section {
    width: 92%;
    max-width: 1400px;
    min-height: 600px;
    margin: 40px auto;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--light);
}

.hero-container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

/* TOP CENTER: Heading + Description */
.hero-text {
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 0.8s ease;
}

.hero-heading {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-mission {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 0;
}

/* MIDDLE: Image Slideshow + Donation Card */
.hero-visual {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    max-width: 1100px;
}

/* LEFT: Foundation Slideshow */
.foundation-slideshow {
    position: relative;
    flex: 1 1 auto;
    border-radius: 20px;
    overflow: hidden;
    min-height: 340px;
}

.slideshow-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

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

.hero-slider-indicators {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    z-index: 3;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(11, 94, 215, 0.35);
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider-dot.active {
    background: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(11, 94, 215, 0.5);
}

/* RIGHT: Donation Card */
.donation-card {
    background: linear-gradient(135deg, #16A34A, #128a3d);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.donation-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.donation-card-qr {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: inline-block;
    box-shadow: var(--shadow-sm);
}

.donation-qr-image {
    width: 170px;
    height: 170px;
    object-fit: contain;
    display: block;
}

/* BOTTOM CENTER: Buttons */
.hero-actions {
    display: flex;
    justify-content: center;
}

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

/* ============================================ */
/* 3. ABOUT SECTION                             */
/* ============================================ */
.about-section {
    padding: 5rem 0;
    background: var(--white);
}

.about-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.about-description {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text);
    margin-top: 1.5rem;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.about-card {
    background: var(--light);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.about-card:nth-child(2) {
    border-left-color: var(--accent);
}

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

.about-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.about-card-text {
    color: var(--text);
    line-height: 1.7;
}

/* ============================================ */
/* 4. PROGRAMS SECTION                          */
/* ============================================ */
.programs-section {
    padding: 5rem 0;
    background: var(--light);
}

.programs-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.program-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(31, 41, 55, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.program-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.program-card:hover .program-icon {
    transform: scale(1.1) rotate(-5deg);
}

.program-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.program-description {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================ */
/* 5. IMPACT SECTION                            */
/* ============================================ */
.impact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--dark), #111827);
    position: relative;
    overflow: hidden;
}

.impact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(11, 94, 215, 0.2), transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(22, 163, 74, 0.2), transparent 50%);
}

.impact-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.impact-section .section-heading {
    color: var(--white);
}

.impact-section .section-heading::after {
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.impact-section .section-subheading {
    color: rgba(255, 255, 255, 0.8);
}

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

.stat-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ============================================ */
/* 6. CAMPAIGNS SECTION                         */
/* ============================================ */
.campaigns-section {
    padding: 5rem 0;
    background: var(--white);
}

.campaigns-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.campaign-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(31, 41, 55, 0.05);
    display: flex;
    flex-direction: column;
}

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

.campaign-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.campaign-card:hover .campaign-image {
    transform: scale(1.08);
}

.campaign-card {
    position: relative;
}

.campaign-card > .campaign-image {
    overflow: hidden;
}

.campaign-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    padding: 1.5rem 1.5rem 0.5rem;
}

.campaign-description {
    color: var(--text);
    font-size: 0.95rem;
    padding: 0 1.5rem 1.5rem;
    flex: 1;
}

.campaign-card .btn-read-more {
    margin: 0 1.5rem 1.5rem;
    align-self: flex-start;
}

/* ============================================ */
/* 7. SUCCESS STORIES / TESTIMONIALS            */
/* ============================================ */
.stories-section {
    padding: 5rem 0;
    background: var(--light);
}

.stories-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

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

.testimonial-quote {
    font-size: 1rem;
    color: var(--text);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(31, 41, 55, 0.1);
    padding-top: 1.5rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--dark);
}

.author-role {
    font-size: 0.85rem;
    color: var(--primary);
}

/* ============================================ */
/* 8. GALLERY SECTION                           */
/* ============================================ */
.gallery-section {
    padding: 5rem 0;
    background: var(--white);
}

.gallery-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(31, 41, 55, 0.9), transparent);
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* ============================================ */
/* 9. VOLUNTEER CTA SECTION                     */
/* ============================================ */
.volunteer-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary), #0a4bb5);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.volunteer-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

.volunteer-cta-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.volunteer-cta-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.volunteer-cta-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* ============================================ */
/* 10. DONATION CTA SECTION                     */
/* ============================================ */
.donation-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--secondary), #e08e00);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.donation-cta-section::before {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 50%);
    animation: pulse 4s ease-in-out infinite 1s;
}

.donation-cta-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.donation-cta-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.donation-cta-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* ============================================ */
/* 11. CONTACT SECTION                          */
/* ============================================ */
.contact-section {
    padding: 5rem 0;
    background: var(--light);
}

.contact-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

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

.contact-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.contact-item:nth-child(2) {
    border-left-color: var(--secondary);
}

.contact-item:nth-child(3) {
    border-left-color: var(--accent);
}

.contact-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.contact-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-item-text {
    color: var(--text);
    line-height: 1.6;
}

.contact-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.btn-phone {
    background: linear-gradient(135deg, var(--accent), #128a3d);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}

.btn-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(22, 163, 74, 0.45);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

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

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

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

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid rgba(31, 41, 55, 0.1);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--dark);
    background: var(--light);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(11, 94, 215, 0.1);
}

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

/* ============================================ */
/* MAP PLACEHOLDER                              */
/* ============================================ */
.map-placeholder {
    margin-top: 3rem;
    background: linear-gradient(135deg, var(--light), #eef4ff);
    border: 2px dashed rgba(11, 94, 215, 0.3);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.map-placeholder-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.map-placeholder-subtext {
    color: var(--text);
    font-size: 1rem;
}

/* ============================================ */
/* FLASH MESSAGES                               */
/* ============================================ */
.flash-messages {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.flash-message {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    font-weight: 500;
    text-align: center;
}

.flash-success {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #a5d6a7;
}

.flash-error {
    background: #fdecea;
    color: #b71c1c;
    border: 1px solid #ef9a9a;
}

/* ============================================ */
/* QR CODE / DONATION (contact page)            */
/* ============================================ */
.qr-code {
    display: inline-block;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-top: 1rem;
}

.qr-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.qr-caption {
    margin-top: 0.75rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
}

/* ============================================ */
/* 12. FOOTER SECTION                           */
/* ============================================ */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 4rem;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 3px;
}

.footer-links,
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link,
.social-link {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
}

.footer-link:hover,
.social-link:hover {
    color: var(--secondary);
    transform: translateX(6px);
}

.footer-about-text {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

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

.copyright-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* ============================================ */
/* RESPONSIVE BREAKPOINTS                       */
/* ============================================ */

/* Tablet Landscape / Small Desktop (1200px) */
@media (max-width: 1200px) {
    .hero-heading {
        font-size: 2.8rem;
    }

    .programs-grid,
    .campaigns-grid,
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Tablet Portrait (992px) */
@media (max-width: 992px) {
    .header-container {
        grid-template-columns: 1fr auto;
        gap: 1rem;
    }

    .main-navigation {
        grid-column: 1 / -1;
        grid-row: 2;
        order: 3;
        width: 100%;
    }

    .nav-list {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .hero-section {
        width: 94%;
        min-height: auto;
    }

    .hero-container {
        gap: 2rem;
    }

    .hero-visual {
        flex-direction: row;
    }

    .foundation-slideshow {
        min-height: 300px;
    }

    .hero-heading {
        font-size: 2.4rem;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

/* Mobile Landscape (768px) */
@media (max-width: 768px) {
    .section-heading {
        font-size: 2rem;
    }

    .hero-heading {
        font-size: 2.2rem;
    }

    .hero-mission {
        font-size: 1rem;
    }

    .programs-grid,
    .campaigns-grid,
    .stories-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .impact-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .volunteer-cta-heading,
    .donation-cta-heading {
        font-size: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .hero-section {
        width: 94%;
        margin: 20px auto;
    }

    .hero-container {
        padding: 1.5rem 1rem;
    }

    .hero-visual {
        flex-direction: row;
    }

    .foundation-slideshow {
        min-height: 280px;
    }

    .donation-card {
        width: 240px;
    }

    .donation-qr-image {
        width: 150px;
        height: 150px;
    }
}

/* Mobile Portrait (576px) */
@media (max-width: 576px) {
    .header-container {
        padding: 0.75rem 1rem;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo-image {
        width: 40px;
        height: 40px;
    }

    .nav-list {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .hero-section {
        border-radius: 20px;
    }

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

    .hero-mission {
        margin: 0 auto;
    }

    .hero-visual {
        flex-direction: column;
        align-items: center;
    }

    .foundation-slideshow {
        width: 100%;
        min-height: 320px;
    }

    .donation-card {
        width: 100%;
        max-width: 300px;
    }

    .donation-qr-image {
        width: 170px;
        height: 170px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .section-heading {
        font-size: 1.7rem;
    }

    .section-subheading {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .about-section,
    .programs-section,
    .impact-section,
    .campaigns-section,
    .stories-section,
    .gallery-section,
    .volunteer-cta-section,
    .donation-cta-section,
    .contact-section {
        padding: 3rem 0;
    }

    .about-container,
    .programs-container,
    .impact-container,
    .campaigns-container,
    .stories-container,
    .gallery-container,
    .contact-container {
        padding: 0 1rem;
    }

    .about-card {
        padding: 2rem 1.5rem;
    }

    .impact-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 2rem 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .campaign-image {
        height: 200px;
    }

    .gallery-image {
        height: 220px;
    }

    .volunteer-cta-heading,
    .donation-cta-heading {
        font-size: 1.7rem;
    }

    .volunteer-cta-text,
    .donation-cta-description {
        font-size: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem 2rem;
    }

    .footer-bottom {
        padding: 1.5rem 1rem;
    }
}