@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-green: #2D5A27;
    --accent-green: #4ADE80;
    --dark-green: #1B3517;
    --banner-blue: #1D70B8;
    --text-dark: #1A1A1A;
    --text-gray: #4B5563;
    --white: #FFFFFF;
    --light-bg: #F9FAFB;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #1d70b8;
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
}

/* ── Donate button — always red ─────────────────────────────── */
.btn-donate {
    background-color: #C0392B !important;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-donate:hover {
    background-color: #a93226 !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-green);
}

.btn-white:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* Header Styles */
header {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a.active {
    color: var(--primary-green);
    border-bottom: 2px solid var(--primary-green);
}

.nav-links a:hover {
    color: var(--primary-green);
}

/* Home Hero Slider */
.home-hero {
    position: relative;
    height: 85vh;
    overflow: hidden;
    background-color: var(--dark-green);
}

.hero-slider {
    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;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-content-overlay {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 10;
    color: var(--white);
    pointer-events: none;
    /* Let clicks pass through if needed, though buttons should work */
}

.hero-content-overlay .hero-content {
    pointer-events: auto;
    /* Re-enable clicks on content */
    max-width: 700px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Secondary Pages Hero */
.hero {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../assets/hero-bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Main Layout with Sidebar */
.main-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

.social-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.sidebar-widget h3 {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--primary-green);
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 10px;
    display: inline-block;
}

.social-feed-container {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #f8fafc;
    min-height: 400px;
    /* To prevent huge layout shifts */
}

.social-feed-container iframe {
    width: 100% !important;
}

.mt-4 {
    margin-top: 30px;
}

/* Specific overrides for homepage inner sections since they are now in a narrower container */
.main-content .who-we-are,
.main-content .impact-cards,
.main-content .news-grid {
    grid-template-columns: 1fr;
    /* Stack more easily in the narrower space, or adjust below */
}

/* Let's keep who-we-are 2 columns if there's room */
@media (min-width: 1200px) {
    .main-content .who-we-are {
        grid-template-columns: 1fr 1fr;
    }
}

.main-content .impact-cards {
    position: static;
    transform: none;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
}

.main-content .impact-banner {
    margin-bottom: 40px;
    padding: 60px 20px;
}

/* News Section */
.who-we-are {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.who-we-are h3 {
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-size: 24px;
}

.who-we-are p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.icon-graphics {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.icon-graphics img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

/* Impact Banner */
.impact-banner {
    background-color: var(--banner-blue);
    padding: 80px 0 120px;
    color: var(--white);
    position: relative;
    margin-bottom: 100px;
}

.impact-banner h2 {
    text-transform: uppercase;
    margin-bottom: 40px;
    font-size: 28px;
}

.impact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
}

.impact-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    color: var(--text-dark);
}

.impact-card img {
    height: 60px;
    margin: 0 auto 15px;
}

.impact-card h4 {
    font-size: 32px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.impact-card p {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-dark);
}

.impact-card span {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: normal;
    text-transform: none;
}

/* News Section */
.news-section {
    background-color: var(--white);
}

.news-header {
    margin-bottom: 50px;
}

.news-header h2 {
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-img {
    height: 200px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-body {
    padding: 25px;
}

.news-body h4 {
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.news-body p {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 14px;
}

/* Footer */
footer {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    font-size: 24px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col p,
.footer-col li {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-col li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .social-sidebar {
        position: static;
        order: 2;
        /* Move sidebar below main content on smaller screens */
    }

    .main-content {
        order: 1;
    }

    .who-we-are,
    .impact-cards,
    .news-grid,
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .impact-cards {
        position: static;
        transform: none;
        margin: 0 auto;
    }

    .impact-banner {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 36px;
    }

    .who-we-are,
    .impact-cards,
    .news-grid,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .icon-graphics {
        justify-content: center;
    }
}

/* About Page Specifics */
.about-intro {
    background-color: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro .strategy-icon {
    font-size: 150px;
    color: var(--primary-green);
    text-align: right;
    display: block;
}

.core-values-banner {
    background-color: var(--banner-blue);
    padding: 60px 0 100px;
    color: var(--white);
    position: relative;
    margin-bottom: 120px;
}

.core-values-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
}

.value-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    color: var(--text-dark);
}

.value-card i {
    font-size: 40px;
    color: #E24A4A;
    /* Life First red */
    margin-bottom: 15px;
}

.value-card.social-justice i {
    color: #8B4513;
}

.value-card.honesty i {
    color: #2D5A27;
}

.value-card.transparency i {
    color: #1D70B8;
}

.value-card h4 {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    font-style: italic;
    color: var(--text-gray);
}

.coverage-section {
    background-color: #f3f4f6;
}

.coverage-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.map-wrapper img {
    width: 100%;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.legend-box {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.legend-box h3 {
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 24px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.busoga {
    background-color: #2D5A27;
}

.dot.bukedi {
    background-color: #B8860B;
}

.dot.teso {
    background-color: #32CD32;
}

.dot.bugisu {
    background-color: #006400;
}

/* Programs Page Specifics */
.program-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.program-card {
    display: flex;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--white);
}

.program-image {
    flex: 1;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prog-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.prog-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.program-content h3 {
    font-size: 20px;
    text-transform: uppercase;
    line-height: 1.2;
}

.program-content p {
    font-size: 15px;
    margin-bottom: 20px;
    opacity: 0.95;
    line-height: 1.5;
}

.btn-learn-more {
    background: var(--white);
    color: var(--text-dark);
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    align-self: flex-start;
}

/* Program Specific Colors */
.prog-agri {
    background-color: #3b5a34;
}

.prog-wash {
    background-color: #2e8bc0;
}

.prog-child {
    background-color: #214f27;
}

.prog-edu {
    background-color: #f7b731;
}

.prog-health {
    background-color: #1d70b8;
}

.prog-peace {
    background-color: #c08d2e;
}

.prog-agri .prog-icon i {
    color: #3b5a34;
}

.prog-wash .prog-icon i {
    color: #2e8bc0;
}

.prog-child .prog-icon i {
    color: #214f27;
}

.prog-edu .prog-icon i {
    color: #f7b731;
}

.prog-health .prog-icon i {
    color: #1d70b8;
}

.prog-peace .prog-icon i {
    color: #c08d2e;
}

/* Governance & Team Page Specifics */
.team-section {
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-gray);
    font-size: 16px;
}

/* Secretariat Cards */
.secretariat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.sec-card {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid var(--border-color);
}

.sec-card-inner {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.sec-photo {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    background: #eee;
}

.sec-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sec-meta-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
}

.sec-card h4 {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.sec-card p.role {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
}

.sec-card p.location {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.sec-card p.desc {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-dark);
}

/* Board Cards */
.board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.board-card {
    background: var(--white);
    border-radius: 10px;
    padding: 15px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--border-color);
}

.board-photo {
    width: 100px;
    height: 110px;
    margin: 0 auto 10px;
    border-radius: 8px;
    overflow: hidden;
    background: #eee;
}

.board-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-card h4 {
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.board-card p {
    font-size: 12px;
    line-height: 1.3;
}

.board-card p.role {
    font-weight: 700;
    margin-bottom: 2px;
}

/* Volunteer Section */
.volunteers-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.vol-stats-col {
    flex: 1;
}

.vol-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.vol-icon {
    width: 50px;
}

.vol-count {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.vol-count h2 {
    font-size: 80px;
    color: var(--primary-green);
    line-height: 1;
}

.vol-count p {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.vol-sub-stats div {
    margin-bottom: 15px;
}

.vol-sub-stats h3 {
    font-size: 32px;
    display: inline-block;
    color: #B8860B;
    margin-right: 15px;
}

.vol-sub-stats p {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
}

.vol-photos-col {
    flex: 1.5;
}

.vol-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.vol-photo-item {
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
}

.vol-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    font-style: italic;
    font-size: 15px;
    color: var(--text-dark);
    position: relative;
    border-left: 5px solid var(--primary-green);
}

.quote-box strong {
    color: var(--primary-green);
}

/* Partners Page Specifics */
.partners-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.partners-intro h2 {
    font-size: 36px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.partners-intro p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
}

.logo-section {
    margin-bottom: 80px;
}

.logo-section h3 {
    text-align: center;
    text-transform: uppercase;
    font-size: 24px;
    margin-bottom: 40px;
    color: var(--primary-green);
    position: relative;
    padding-bottom: 10px;
}

.logo-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-green);
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-logo {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: var(--primary-green);
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Contact Page Specifics */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-size: 48px;
    color: var(--primary-green);
    text-transform: uppercase;
}

.contact-card {
    border: 2px solid var(--primary-green);
    border-radius: 20px;
    padding: 40px;
    background: var(--white);
    margin-bottom: 60px;
}

.contact-card h2 {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-size: 28px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 18px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background-color: #E8F4FD;
    /* Light blue from image */
    border: 1px solid #C5E1F5;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text-dark);
}

.form-control::placeholder {
    color: var(--text-gray);
    opacity: 0.8;
}

textarea.form-control {
    height: 180px;
    resize: none;
}

.form-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    cursor: pointer;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
}

/* Office Info */
.office-intro-img {
    text-align: center;
    margin-bottom: 40px;
}

.office-intro-img img {
    max-width: 400px;
    margin: 0 auto;
}

.office-details h2 {
    text-transform: uppercase;
    font-size: 28px;
    margin-bottom: 30px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.info-text p {
    font-size: 16px;
    color: var(--text-dark);
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 40px;
    border: 1px solid var(--border-color);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* Donation Page Specifics */
.donate-hero {
    background-color: #f8fafc;
    text-align: center;
    padding: 60px 0;
}

.donate-hero h1 {
    font-size: 42px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.donate-hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-gray);
}

.cause-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: -40px;
    margin-bottom: 60px;
}

.cause-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.cause-card:hover {
    transform: translateY(-10px);
}

.cause-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.cause-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cause-card h3 {
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.cause-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.amount-presets {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.preset-btn {
    padding: 8px 15px;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.preset-btn:hover,
.preset-btn.active {
    background: var(--primary-green);
    color: var(--white);
}

.btn-select {
    background: var(--primary-green);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

/* Donation Form Layout */
.donation-form-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    margin-bottom: 80px;
}

.form-section-title {
    text-transform: uppercase;
    font-size: 22px;
    margin-bottom: 30px;
    font-weight: 700;
}

/* Toggle Switch */
.switch-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary-green);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-option {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option:hover {
    border-color: var(--primary-green);
}

.payment-option input {
    margin-top: 5px;
}

.payment-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-option-header strong {
    font-size: 16px;
}

.card-logos img {
    height: 20px;
    margin-left: 5px;
}

.btn-donate-now {
    width: 100%;
    background: var(--primary-green);
    color: var(--white);
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    margin-top: 30px;
    cursor: pointer;
}

/* Commitment */
.commitment-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.commitment-section h2 {
    text-transform: uppercase;
    font-size: 24px;
    margin-bottom: 20px;
}

.commitment-section p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media & Resources Page */
.media-hero {
    background-color: #E8F4FD;
    padding: 10px 0;
}

.media-hero h1 {
    font-size: 36px;
    text-transform: uppercase;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
}

.gallery-img {
    height: 250px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-img img {
    transform: scale(1.05);
}

.zoom-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0.8;
}

.gallery-caption {
    padding: 20px;
}

.gallery-caption h4 {
    font-size: 16px;
    font-weight: 600;
}

.reports-section {
    background-color: var(--white);
}

.reports-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.report-item {
    display: flex;
    gap: 40px;
    align-items: center;
}

.report-icon {
    width: 150px;
    height: 180px;
    background: #f8fafc;
    border-radius: 10px;
    padding: 10px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border-color);
}

.report-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.report-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.report-info p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.btn-download {
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 8px;
    padding: 12px 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-download:hover {
    background-color: var(--dark-green);
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .report-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .report-icon {
        margin: 0 auto;
    }
}