/* ==========================================================================
   SKM THEME - Main Stylesheet
   High-End Humanitarian Aid Charity for Pakistan
   ========================================================================== */

/* --- CSS Variables --- */
:root {
    --brand-brown: #70423A;
    --brand-navy: #22283A;
    --brand-green: #417544;
    --text-main: #22283A; /* Use Navy for primary text/headings */

    --primary: var(--brand-green);
    --primary-hover: var(--brand-brown);
    --primary-dark: #335d36;
    --primary-light: #eff6f0;
    --primary-rgb: 65, 117, 68;

    --dark: var(--brand-navy);
    --dark-alt: #1a1f2e;
    --dark-light: #2c344b;
    --dark-rgb: 34, 40, 58;

    --text-heading: var(--brand-navy);
    --text-body: #555c58;
    --text-muted: #858d88;
    --text-light: #f5f7f5;

    --bg-white: #ffffff;
    --bg-light: #f7faf6;
    --bg-cream: #fafbf9;

    --border: #e6eae4;
    --border-light: #f0f3ee;
    --border-accent: var(--brand-brown);

    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-pill: 50px;

    --shadow-sm: 0 4px 12px rgba(34, 40, 58, 0.04);
    --shadow-md: 0 8px 24px rgba(34, 40, 58, 0.07);
    --shadow-lg: 0 16px 40px rgba(34, 40, 58, 0.12);
    --shadow-hover: 0 20px 45px rgba(65, 117, 68, 0.2);

    --transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Global Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--primary);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    outline: none;
    background: transparent;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--brand-navy);
    font-family: var(--font-heading);
}

/* ==========================================================================
   GSAP FOUC PREVENTION & INITIAL STATE
   ========================================================================== */
.hero-badge,
.hero-title,
.hero-subtitle,
.hero-buttons,
.feature-card,
.mission-grid-item,
.mission-content-col > *,
.cause-card,
.events-image-frame,
.event-item,
.news-card {
    visibility: visible;
    opacity: 1;
}

/* Ensure Mission Goals elements are always cleanly visible */
.goals-split-wrapper,
.goal-item,
.portrait-card {
    visibility: visible;
    opacity: 1;
}

/* --- Container & Utilities --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.text-center { text-align: center; }
.text-accent { color: var(--primary); }
.text-white { color: #ffffff !important; }

/* Section Header Motif */
.section-header {
    margin-bottom: 0;
}

.section-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--brand-brown);
    font-size: 1rem;
    margin-bottom: 14px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.section-tag .tag-text {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-brown);
}

.section-tag .tag-line {
    width: 38px;
    height: 2px;
    background: var(--brand-brown);
    display: inline-block;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.25;
    margin-bottom: 14px;
}

.section-lead {
    font-size: 1.12rem;
    font-weight: 500;
    color: var(--text-heading);
    line-height: 1.6;
    margin-bottom: 18px;
}

.section-subtext {
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 1rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 13px 28px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--brand-green);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(65, 117, 68, 0.32);
}

.btn-primary:hover {
    background-color: var(--brand-brown);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(112, 66, 58, 0.4);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--text-heading);
    border: 2px solid var(--border);
}

.btn-primary-outline:hover {
    background-color: var(--brand-brown);
    border-color: var(--brand-brown);
    color: #ffffff;
}

.btn-donate {
    background-color: var(--brand-green);
    color: #ffffff;
    padding: 10px 24px;
    box-shadow: 0 4px 14px rgba(65, 117, 68, 0.3);
}

.btn-donate:hover {
    background-color: var(--brand-brown);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(112, 66, 58, 0.35);
}

.btn-hero {
    background-color: var(--brand-green);
    color: #ffffff;
    padding: 16px 36px;
    font-size: 0.95rem;
    box-shadow: 0 6px 22px rgba(65, 117, 68, 0.35);
}

.btn-hero:hover {
    background-color: var(--brand-brown);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 26px rgba(112, 66, 58, 0.45);
}

.btn-hero-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    padding: 14px 34px;
    font-size: 0.95rem;
    backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
    background-color: #ffffff;
    color: var(--brand-navy);
    border-color: #ffffff;
    transform: translateY(-3px);
}

.btn-outline-donate {
    background: var(--brand-green);
    border: 1.5px solid var(--brand-green);
    color: #ffffff;
    padding: 10px 22px;
    font-size: 0.82rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(65, 117, 68, 0.25);
}

.btn-outline-donate:hover {
    background: var(--brand-brown);
    border-color: var(--brand-brown);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(112, 66, 58, 0.35);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   HEADER & TOP BAR (Unified Sticky Master Wrapper)
   ========================================================================== */
/* Master parent <header> wrapper */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

/* 1. Top Bar within master header */
.top-bar {
    background-color: var(--dark);
    color: #abb2ad;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    transition: all 0.3s ease;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar-contact .contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-bar-contact i {
    color: var(--primary);
}

.top-bar-contact a {
    color: #e0e5e1;
}

.top-bar-contact a:hover {
    color: var(--primary);
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-social a {
    color: #abb2ad;
    font-size: 0.88rem;
}

.top-bar-social a:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

/* 2. Main Navigation Bar within master header */
.main-header-bar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height 0.3s ease;
}

.site-header.is-scrolled .header-container {
    height: 70px;
}

/* Branding */
.custom-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo-img {
    height: 44px;
    width: auto;
    max-width: 290px;
    display: block;
    object-fit: contain;
}

.site-logo-img-drawer {
    height: 38px;
    width: auto;
    max-width: 230px;
    display: block;
    object-fit: contain;
}

.footer-logo-img {
    height: 44px;
    width: auto;
    max-width: 290px;
    display: block;
    object-fit: contain;
}

.brand-logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.35rem;
    box-shadow: 0 4px 12px rgba(118, 184, 42, 0.3);
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.brand-highlight {
    color: var(--primary);
}

.brand-tagline {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Nav Menu */
.main-navigation .nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-navigation .menu-item a {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: 0.8px;
    position: relative;
    padding: 8px 0;
}

.main-navigation .menu-item a:hover {
    color: var(--primary);
}

.main-navigation .menu-item a::after {
    display: none !important;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-search-btn {
    font-size: 1.1rem;
    color: var(--text-heading);
    transition: var(--transition);
}

.header-search-btn:hover {
    color: var(--primary);
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

.hamburger-bar {
    width: 24px;
    height: 2.5px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background-color: #ffffff;
    z-index: 2000;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: right 0.35s ease-in-out;
}

.mobile-nav-drawer.is-open {
    right: 0;
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-backdrop.is-active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.close-drawer-btn {
    font-size: 2rem;
    color: var(--dark);
    line-height: 1;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: auto;
}

.mobile-nav-list li a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-heading);
}

.mobile-nav-list li a:hover {
    color: var(--primary);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 90px 0 120px;
    background-color: var(--dark);
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.1);
    transform-origin: center center;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        rgba(15, 20, 17, 0.88) 0%, 
        rgba(15, 20, 17, 0.65) 55%, 
        rgba(15, 20, 17, 0.25) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
    color: #ffffff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-badge .badge-line {
    width: 32px;
    height: 2px;
    background-color: var(--primary);
    display: inline-block;
}

.hero-badge .badge-text {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ==========================================================================
   2. FEATURES OVERLAPPING GRID (4-Columns)
   ========================================================================== */
.features-section {
    position: relative;
    z-index: 10;
    margin-top: -75px;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 38px 24px 30px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    border-bottom-color: var(--primary);
}

.feature-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 18px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
    background-color: var(--primary);
    color: #ffffff;
    transform: scale(1.08);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.feature-divider {
    width: 32px;
    height: 2px;
    background-color: var(--primary);
    margin: 0 auto 16px;
    transition: var(--transition);
}

.feature-card:hover .feature-divider {
    width: 50px;
}

.feature-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 22px;
    flex-grow: 1;
}

.feature-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.85rem;
    transition: var(--transition);
}

.feature-link:hover,
.feature-card:hover .feature-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateX(4px);
}

/* ==========================================================================
   3. OUR MISSION (Split Section)
   ========================================================================== */
.mission-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.mission-container {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Image Collage */
.mission-image-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
    gap: 18px;
}

.mission-grid-item {
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.mission-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mission-grid-item:hover img {
    transform: scale(1.05);
}

.item-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    height: 480px;
}

.item-medium {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    height: 225px;
}

.item-accent {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    height: 235px;
    border: 4px solid #ffffff;
}

/* Mission Content */
.mission-content-col {
    padding-left: 10px;
}

.mission-paragraph {
    font-size: 0.96rem;
    color: var(--text-body);
    margin-bottom: 28px;
    line-height: 1.8;
}

.mission-author-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    margin-bottom: 30px;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
}

.author-role {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.author-signature .signature-script {
    font-family: 'Brush Script MT', 'Segoe Script', cursive;
    font-size: 2rem;
    color: var(--primary-dark);
    opacity: 0.85;
}

/* ==========================================================================
   4. OUR RECENT CAUSES (3-Column Card Grid)
   ========================================================================== */
.causes-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.causes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.cause-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.cause-image-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.cause-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cause-card:hover .cause-image-wrap img {
    transform: scale(1.08);
}

.cause-category-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(25, 29, 27, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
}

.cause-body {
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cause-title {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.cause-title a {
    color: var(--text-heading);
}

.cause-title a:hover {
    color: var(--brand-brown);
}

.cause-divider {
    width: 32px;
    height: 2px;
    background-color: var(--brand-brown);
    margin-bottom: 16px;
}

.cause-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 24px;
    flex-grow: 1;
}

.cause-progress-wrapper {
    display: none !important;
    margin-bottom: 24px;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background-color: #ebeee9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, #89d435 100%);
    border-radius: 4px;
    transition: width 1.2s ease-in-out;
}

.progress-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
}

.progress-percent {
    font-family: var(--font-heading);
    color: var(--primary-dark);
}

.progress-raised {
    color: var(--text-muted);
}

.cause-action {
    margin-top: auto;
}

/* ==========================================================================
   5. IMPACT STATS & MISSION GOALS
   ========================================================================== */
/* Counter Bar */
.stats-counter-bar {
    background: linear-gradient(135deg, #181d1a 0%, #111413 100%);
    color: #ffffff;
    padding: 60px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 14px;
}

.stat-number-wrap {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-suffix {
    color: var(--primary);
    font-size: 2.2rem;
}

.stat-label {
    font-size: 0.95rem;
    color: #abb2ad;
    font-weight: 500;
}

/* Goals Section: 6-Grid + Portrait */
.goals-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.goals-section .section-header {
    margin-bottom: 10px !important;
}

.goals-section .section-subtext {
    margin-bottom: 0 !important;
}

.goals-split-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: stretch;
}

.goals-grid-col {
    display: flex;
    flex-direction: column;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    height: 100%;
}

.goal-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 34px 18px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.goal-item:hover {
    background: #ffffff;
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.goal-icon-box {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 14px;
    transition: var(--transition);
}

.goal-item:hover .goal-icon-box {
    transform: scale(1.15);
}

.goal-divider {
    width: 24px;
    height: 2px;
    background: var(--brand-brown);
    margin: 0 auto 12px;
}

.goal-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading);
}

.goals-portrait-col {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.portrait-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border: 6px solid #ffffff;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.portrait-card img {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
    flex: 1 1 0;
    display: block;
}

.portrait-card:hover img {
    transform: scale(1.03);
}

/* ==========================================================================
   6. UPCOMING EVENTS
   ========================================================================== */
.events-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.events-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.events-image-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 480px;
}

.events-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.events-image-frame:hover img {
    transform: scale(1.04);
}

.events-content-col .section-tag {
    margin-bottom: 12px;
}

.events-content-col .section-heading {
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
}

.events-content-col .section-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0 0 24px 0;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 22px;
    background: #ffffff;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    border: 1px solid #edf1f5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.event-date-badge {
    background-color: #f1f8ea;
    border: 1px solid #d5ebbe;
    border-radius: var(--radius-sm);
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
}

.date-day {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.date-month {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 3px;
}

.event-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

.event-organizer {
    font-size: 0.72rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.event-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--text-heading);
}

.event-title a {
    color: var(--text-heading);
    transition: var(--transition);
}

.event-title a:hover {
    color: var(--primary);
}

.event-meta-info {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.event-meta-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.event-meta-info i {
    color: var(--primary);
    font-size: 0.82rem;
}

.events-action {
    margin-top: 0;
}

/* ==========================================================================
   7. VOLUNTEERS TEAM (4-Column Grid)
   ========================================================================== */
.team-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.team-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.team-photo-wrap {
    position: relative;
    aspect-ratio: 4 / 5;
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    flex-shrink: 0;
}

.team-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    transition: transform 0.5s ease;
}

.team-card:hover .team-photo-wrap img {
    transform: scale(1.04);
}

.team-social-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(25, 29, 27, 0.85) 0%, transparent 100%);
    padding: 20px 0 12px;
    display: flex;
    justify-content: center;
    gap: 14px;
    transition: var(--transition);
}

.team-card:hover .team-social-overlay {
    bottom: 0;
}

.team-social-overlay a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.team-social-overlay a:hover {
    background: var(--primary);
}

.team-info {
    padding: 22px 18px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-role {
    font-size: 0.8rem;
    color: var(--primary-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 1.4em;
    margin-bottom: 6px;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 12px;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-divider {
    width: 28px;
    height: 2px;
    background-color: var(--primary);
    margin: auto auto 0;
}

.team-footer-cta {
    margin-top: 63px;
    display: flex;
    justify-content: center;
}

.btn-team-more {
    padding: 14px 36px;
    font-size: 0.92rem;
    letter-spacing: 0.8px;
}

/* ==========================================================================
   8. FULL-WIDTH CALLOUT BANNER
   ========================================================================== */
.banner-cta-section {
    position: relative;
    background: url('../images/banner-bg.jpg') no-repeat center center;
    background-size: cover;
    color: #ffffff;
    padding: 100px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.banner-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(22, 27, 40, 0.5) 0%, rgba(15, 18, 28, 0.5) 100%);
    backdrop-filter: blur(1px);
    z-index: 1;
}

.banner-cta-section .container {
    position: relative;
    z-index: 2;
}

.banner-cta-title {
    font-family: var(--font-heading);
    font-size: 2.35rem;
    font-weight: 800;
    max-width: 820px;
    margin: 0 auto 24px;
    line-height: 1.35;
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.banner-cta-link-wrap {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.banner-line {
    width: 40px;
    height: 2px;
    background: var(--brand-brown);
}

.banner-cta-link {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.banner-cta-link:hover {
    color: var(--primary) !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   9. NEWS / WHAT'S HAPPENING (3-Column Grid)
   ========================================================================== */
.news-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.news-thumb-wrap {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.news-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-thumb-wrap img {
    transform: scale(1.08);
}

.news-date-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.news-date-day {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.news-date-month {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
}

.news-body {
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.news-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.news-title a {
    color: var(--text-heading);
}

.news-title a:hover {
    color: var(--primary);
}

.news-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.news-read-more:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* ==========================================================================
   10. NEWSLETTER & FOOTER
   ========================================================================== */
/* Newsletter Green Banner */
.newsletter-section {
    background-color: #417544;
    padding: 50px 0;
    color: #ffffff;
}

.newsletter-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.newsletter-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
}

.newsletter-form {
    flex-shrink: 0;
    width: 440px;
    max-width: 100%;
}

.newsletter-input-group {
    display: flex;
    background: #ffffff;
    border-radius: var(--radius-pill);
    overflow: hidden;
    padding: 4px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.newsletter-input-group input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 20px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--dark);
}

.newsletter-submit-btn {
    background: var(--dark);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.newsletter-submit-btn:hover {
    background: var(--brand-brown);
}

/* Site Footer */
.site-footer {
    background-color: var(--brand-navy);
    color: #9ea5a0;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-about-text {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social-links {
    display: flex;
    gap: 12px;
}

.footer-social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--dark-light);
    color: #abb2ad;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.footer-social-links a:hover {
    background-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-title-divider {
    width: 30px;
    height: 2px;
    background-color: var(--brand-brown);
    margin-bottom: 24px;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #abb2ad;
}

.footer-links-list a i {
    font-size: 0.72rem;
    color: var(--primary);
}

.footer-links-list a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* Footer Recent Posts */
.footer-recent-posts {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-post-item {
    display: flex;
    gap: 14px;
    align-items: center;
}

.footer-post-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.footer-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-post-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-post-link {
    font-family: var(--font-heading);
    font-size: 0.86rem;
    font-weight: 600;
    color: #e0e5e1;
    line-height: 1.35;
}

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

.footer-post-date {
    font-size: 0.75rem;
    color: #7d8580;
}

/* Contact List */
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-contact-list i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-list a {
    color: inherit;
    transition: var(--transition);
}

.footer-contact-list a:hover {
    color: var(--primary);
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    font-size: 0.85rem;
    color: #7d8580;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-nav {
    display: flex;
    gap: 20px;
}

.footer-bottom-nav a {
    color: #7d8580;
}

.footer-bottom-nav a:hover {
    color: var(--primary);
}

/* Floating Back To Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-4px);
}

/* Anchor padding for smooth offset */
.donation-section-anchor {
    position: relative;
    top: -100px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 991px) {
    .main-navigation,
    .header-actions .btn-donate,
    .header-search-btn {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .mission-container,
    .goals-split-wrapper,
    .events-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .causes-grid {
        margin-top: 0;
    }

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

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

    .newsletter-inner {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* 1. Header & Top Bar */
    .top-bar {
        display: none;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* 2. Spacing: Main Section Containers */
    .hero-section {
        padding: 50px 0 60px;
        min-height: auto;
    }

    .features-section {
        margin-top: 0;
        padding: 40px 0;
    }

    .mission-section,
    .causes-section,
    .goals-section,
    .events-section,
    .team-section,
    .banner-cta-section,
    .news-section,
    .newsletter-section {
        padding: 45px 0;
    }

    .stats-counter-bar {
        padding: 40px 0;
    }

    .site-footer {
        padding-top: 50px;
    }

    .section-header {
        margin-bottom: 20px !important;
    }

    .causes-section .section-header,
    .goals-section .section-header,
    .team-section .section-header,
    .news-section .section-header {
        margin-bottom: 20px !important;
    }

    .section-subtext {
        margin-bottom: 0 !important;
    }

    .section-ornament {
        margin-bottom: 10px;
    }

    .section-heading {
        font-size: 1.85rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .section-lead {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2.15rem;
        line-height: 1.25;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 26px;
    }

    .banner-cta-title {
        font-size: 1.65rem;
        margin-bottom: 18px;
    }

    /* 3. Gaps & Grid Flow (Prevent Overlaps) */
    .features-grid,
    .causes-grid,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Team section: 2 columns on mobile */
    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }

    .team-card {
        border-radius: var(--radius-md);
    }

    .team-photo-wrap {
        aspect-ratio: 4 / 5;
        height: auto;
        max-height: none;
        padding-top: 0;
    }

    .team-photo-wrap img {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: contain;
        object-position: center bottom;
    }

    .team-info {
        padding: 12px 6px 16px;
    }

    .team-role {
        font-size: 0.72rem;
        margin-bottom: 4px;
    }

    .team-name {
        font-size: 0.88rem;
        line-height: 1.25;
        margin-bottom: 8px;
    }

    .team-divider {
        width: 22px;
        height: 2px;
    }

    .mission-container,
    .events-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .goals-split-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
        align-items: start;
    }

    .goals-portrait-col {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: unset !important;
        margin-top: 15px !important;
    }

    .portrait-card {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 260px !important;
        border-radius: var(--radius-lg) !important;
        overflow: hidden !important;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12) !important;
        border: 4px solid #ffffff !important;
    }

    .portrait-card img {
        display: block !important;
        flex: none !important;
        width: 100% !important;
        height: 380px !important;
        min-height: 260px !important;
        max-height: none !important;
        object-fit: cover !important;
        object-position: center 25% !important;
    }

    .goals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .goal-item {
        padding: 22px 14px;
    }

    .goal-icon-box {
        font-size: 1.85rem;
        margin-bottom: 10px;
    }

    .goal-divider {
        margin: 0 auto 10px;
    }

    .events-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .events-image-frame {
        height: auto;
        max-height: 240px;
        width: 100%;
        border-radius: var(--radius-md);
        overflow: hidden;
    }

    .events-image-frame img {
        height: 240px;
        width: 100%;
        object-fit: cover;
    }

    .events-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin: 20px 0;
        width: 100%;
    }

    .event-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px 18px;
        border-radius: var(--radius-md);
        border-left: 4px solid var(--primary);
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
        width: 100%;
        box-sizing: border-box;
    }

    .event-item:hover {
        transform: none !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }

    .event-date-badge {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        min-width: auto;
        height: auto;
        padding: 6px 14px;
        border-radius: var(--radius-pill);
        width: fit-content;
    }

    .event-date-badge .date-day {
        font-size: 1.15rem;
        line-height: 1;
    }

    .event-date-badge .date-month {
        font-size: 0.72rem;
        letter-spacing: 0.8px;
    }

    .event-details {
        width: 100%;
    }

    .event-organizer {
        font-size: 0.72rem;
        margin-bottom: 4px;
    }

    .event-title {
        font-size: 1.02rem;
        line-height: 1.35;
        margin-bottom: 8px;
        word-break: break-word;
    }

    .event-meta-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        font-size: 0.82rem;
        width: 100%;
    }

    .event-meta-info span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        white-space: normal;
        word-break: break-word;
    }

    .events-action {
        width: 100%;
    }

    .events-action .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* 4. Update Stats Section Layout: Force 2 Columns on Mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px 16px;
    }

    .stat-number-wrap {
        font-size: 2rem;
    }

    .stat-suffix {
        font-size: 1.6rem;
    }

    .stat-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* 5. Constrain Image Heights Across Content Cards */
    /* Recent Causes Images */
    .cause-image-wrap {
        height: auto;
        max-height: 250px;
    }

    .cause-image-wrap img {
        max-height: 250px;
        width: 100%;
        object-fit: cover;
    }

    /* Our Mission Images: 2-Column Collage like Desktop */
    .mission-image-grid {
        display: grid;
        grid-template-columns: 1.15fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 12px;
        width: 100%;
    }

    .mission-grid-item {
        overflow: hidden;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
    }

    .item-large {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        height: 100%;
        min-height: 250px;
        max-height: none;
        width: 100%;
    }

    .item-medium {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        height: 120px;
        max-height: none;
        width: 100%;
    }

    .item-accent {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        height: 120px;
        max-height: none;
        width: 100%;
        border: 3px solid #ffffff;
    }

    .mission-grid-item img {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: cover;
    }

    /* Team Member Photos */
    .team-photo-wrap {
        height: auto;
        max-height: none;
        aspect-ratio: 4 / 5;
        padding-top: 0;
    }

    .team-photo-wrap img {
        max-height: none;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center bottom;
    }

    /* Events Image & News Thumbnails */
    .events-image-frame,
    .events-image-frame img,
    .news-thumb-wrap,
    .news-thumb-wrap img {
        height: auto;
        max-height: 250px;
        width: 100%;
        object-fit: cover;
    }

    /* Goals Portrait Mobile Framing (Full Width Matching Cards) */
    .goals-portrait-col {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: unset !important;
        margin-top: 15px !important;
    }

    .portrait-card {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 260px !important;
        border-radius: var(--radius-lg) !important;
        overflow: hidden !important;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12) !important;
        border: 4px solid #ffffff !important;
    }

    .portrait-card img {
        display: block !important;
        flex: none !important;
        width: 100% !important;
        height: 360px !important;
        min-height: 260px !important;
        max-height: none !important;
        object-fit: cover !important;
        object-position: center 25% !important;
    }

    /* Reset problematic absolute overlays on mobile */
    .team-social-overlay {
        position: static;
        background: var(--dark);
        padding: 10px 0;
        bottom: 0;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Maintain 2 columns for impact stats on all small mobile screens */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px 12px;
    }

    /* Maintain 2 columns for team section on small mobile screens */
    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .team-info {
        padding: 10px 4px 14px !important;
    }

    .team-role {
        font-size: 0.7rem !important;
    }

    .team-name {
        font-size: 0.82rem !important;
    }

    .stat-number-wrap {
        font-size: 1.65rem;
    }

    .stat-suffix {
        font-size: 1.35rem;
    }

    .section-header {
        margin-bottom: 20px !important;
    }

    .causes-section .section-header,
    .goals-section .section-header,
    .team-section .section-header,
    .news-section .section-header {
        margin-bottom: 20px !important;
    }

    .goals-split-wrapper {
        gap: 18px;
    }

    .goals-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px 8px;
    }

    .goal-item {
        padding: 16px 10px;
    }

    .goal-title {
        font-size: 0.85rem;
    }

    .goal-icon-box {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .goal-divider {
        margin: 0 auto 8px;
    }

    .portrait-card {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 240px !important;
    }

    .portrait-card img {
        display: block !important;
        flex: none !important;
        width: 100% !important;
        height: 300px !important;
        min-height: 240px !important;
        max-height: none !important;
        object-fit: cover !important;
        object-position: center 25% !important;
    }

    .event-item {
        padding: 16px 14px;
        gap: 10px;
    }

    .event-title {
        font-size: 0.95rem;
    }

    .event-meta-info {
        gap: 5px;
        font-size: 0.78rem;
    }

    .mission-image-grid {
        gap: 10px;
    }

    .item-large {
        min-height: 220px;
    }

    .item-medium,
    .item-accent {
        height: 105px;
    }
}

/* ==========================================================================
   DONATE MODAL (Bank Transfer & Instant Clipboard Details)
   ========================================================================== */
.donate-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(19, 23, 21, 0.72);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.donate-modal-overlay.modal-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.donate-modal-content {
    background-color: #ffffff;
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-lg, 16px);
    padding: 38px 32px;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.28);
    position: relative;
    transform: scale(0.92) translateY(15px);
    transition: transform 0.32s cubic-bezier(0.25, 1, 0.5, 1);
    box-sizing: border-box;
    max-height: 92vh;
    overflow-y: auto;
}

.donate-modal-overlay.modal-active .donate-modal-content {
    transform: scale(1) translateY(0);
}

.donate-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #f1f5f2;
    color: var(--dark, #191d1b);
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition, all 0.25s ease);
}

.donate-modal-close:hover {
    background-color: var(--brand-brown);
    color: #ffffff;
    transform: rotate(90deg);
}

.donate-modal-content h2 {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-heading, #1a1e1c);
    margin-bottom: 8px;
    padding-right: 36px;
}

.donate-modal-content p {
    font-size: 0.94rem;
    color: var(--text-muted, #858d88);
    line-height: 1.55;
    margin-bottom: 22px;
}

.bank-details-box {
    background-color: #fbfdfa;
    border: 1px solid var(--border-light, #e6eae4);
    border-radius: var(--radius-md, 10px);
    padding: 8px 18px;
}

.bank-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #edf1eb;
}

.bank-detail-row:last-child {
    border-bottom: none;
}

.bank-detail-row .detail-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.bank-detail-row .detail-label {
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted, #858d88);
}

.bank-detail-row .detail-value {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-heading, #1a1e1c);
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    word-break: break-all;
}

.copy-btn {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: var(--brand-green);
    color: #ffffff;
    border: 1px solid var(--brand-green);
    padding: 6px 15px;
    border-radius: var(--radius-pill, 50px);
    cursor: pointer;
    transition: var(--transition, all 0.25s ease);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(65, 117, 68, 0.25);
}

.copy-btn:hover {
    background-color: var(--brand-brown);
    color: #ffffff;
    border-color: var(--brand-brown);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(112, 66, 58, 0.35);
}

.copy-btn.copied {
    background-color: var(--brand-brown) !important;
    color: #ffffff !important;
    border-color: var(--brand-brown) !important;
    transform: scale(1.04);
}

.donate-modal-actions {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.donate-modal-actions .btn-modal-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: var(--radius-pill, 50px);
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-decoration: none;
    transition: var(--transition, all 0.25s ease);
    white-space: nowrap;
    box-sizing: border-box;
    width: 100%;
    cursor: pointer;
}

.donate-modal-actions .btn-modal-contact {
    background-color: var(--brand-green);
    color: #ffffff;
    border: 1px solid var(--brand-green);
    box-shadow: 0 4px 14px rgba(65, 117, 68, 0.28);
}

.donate-modal-actions .btn-modal-contact:hover {
    background-color: var(--brand-brown);
    color: #ffffff;
    border-color: var(--brand-brown);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(112, 66, 58, 0.35);
}

.donate-modal-actions .btn-modal-action i {
    font-size: 1.05rem;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .donate-modal-content {
        padding: 28px 18px;
    }

    .donate-modal-content h2 {
        font-size: 1.38rem;
    }

    .bank-details-box {
        padding: 6px 14px;
    }

    .bank-detail-row .detail-value {
        font-size: 0.88rem;
    }

    .copy-btn {
        padding: 5px 12px;
        font-size: 0.72rem;
    }

    .donate-modal-actions .btn-modal-action {
        padding: 12px 18px;
        font-size: 0.82rem;
    }
}

/* ==========================================================================
   DARK SECTION COLOR OVERRIDES (Context-Aware Readability & High Contrast)
   ========================================================================== */

/* 1. Ensure text and headings on dark backgrounds are white */
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6,
.dark-overlay h1, .dark-overlay h2, .dark-overlay h3, .dark-overlay h4, .dark-overlay h5, .dark-overlay h6,
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4, .site-footer h5, .site-footer h6,
.stats-counter-bar h1, .stats-counter-bar h2, .stats-counter-bar h3, .stats-counter-bar h4, .stats-counter-bar h5, .stats-counter-bar h6,
.banner-cta-section h1, .banner-cta-section h2, .banner-cta-section h3, .banner-cta-section h4, .banner-cta-section h5, .banner-cta-section h6,
.newsletter-section h1, .newsletter-section h2, .newsletter-section h3, .newsletter-section h4, .newsletter-section h5, .newsletter-section h6,
.footer-col-title,
.banner-cta-title,
.newsletter-title {
    color: #ffffff !important;
}

/* 2. Update icons (SVG fills or font icons) and text on dark backgrounds */
.bg-dark .icon, .dark-overlay .icon, .site-footer .icon,
.stats-counter-bar .icon, .banner-cta-section .icon {
    fill: #ffffff;
    color: #ffffff;
}

.bg-dark p, .bg-dark span,
.dark-overlay p, .dark-overlay span,
.site-footer p, .site-footer span,
.site-footer li,
.stats-counter-bar p, .stats-counter-bar span,
.banner-cta-section p, .banner-cta-section span,
.newsletter-section p, .newsletter-section span {
    color: rgba(255, 255, 255, 0.9);
}

/* Ensure links in footer and dark sections have high contrast */
.site-footer a,
.bg-dark a,
.dark-overlay a {
    color: rgba(255, 255, 255, 0.88);
}

.site-footer a:hover,
.bg-dark a:hover,
.dark-overlay a:hover {
    color: #ffffff;
}

/* 3. Update dividers/borders on dark backgrounds */
.bg-dark .divider, .dark-overlay .divider, .site-footer .divider,
.site-footer .footer-title-divider,
.banner-cta-section .banner-line {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.2);
}

/* Stat section white icons */
.stats-counter-bar .stat-icon,
.stats-counter-bar .stat-icon i {
    color: #ffffff !important;
}

/* Stat suffix accent preservation */
.stats-counter-bar .stat-suffix {
    color: var(--primary) !important;
}

.stats-counter-bar .stat-number-wrap {
    color: #ffffff !important;
}

/* Ensure popup modal on white card maintains high-contrast dark typography */
.donate-modal-content h2 {
    color: var(--brand-navy) !important;
}

.donate-modal-content p {
    color: var(--text-body) !important;
}

.donate-modal-content .detail-label {
    color: var(--text-muted) !important;
}

.donate-modal-content .detail-value {
    color: var(--brand-navy) !important;
}

/* ==========================================================================
   11. HISTORICAL ARCHIVE CONTINUOUS CAROUSEL & LIGHTBOX
   ========================================================================== */

/* Section Container */
.history-carousel-section {
    padding: 65px 0 55px;
    background-color: #f7f9f6;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(65, 117, 68, 0.12);
}

.history-carousel-header {
    margin-bottom: 34px;
    padding: 0 20px;
}

.history-section-tag {
    display: inline-block;
    color: var(--primary, #1b5e20);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.history-section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
    color: var(--brand-navy, #191d1b);
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.25;
}

.history-title-divider {
    width: 60px;
    height: 3px;
    background-color: #417544;
    margin: 0 auto;
    border-radius: 2px;
}

/* Marquee Container with subtle edge fades */
.history-marquee-container {
    --history-gap: 16px;
    --history-visible: 5;
    --history-slide-w: calc((100vw - (var(--history-gap) * (var(--history-visible) - 1))) / var(--history-visible));
    width: 100%;
    overflow: hidden;
    position: relative;
    user-select: none;
    padding: 12px 0;
}

.history-marquee-container::before,
.history-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(35px, 7vw, 90px);
    z-index: 3;
    pointer-events: none;
}

.history-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #f7f9f6 20%, transparent 100%);
}

.history-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #f7f9f6 20%, transparent 100%);
}

/* Continuous Marquee Track */
.history-marquee-track {
    display: flex;
    gap: var(--history-gap);
    width: max-content;
    will-change: transform;
    animation: historyMarqueeScroll 48s linear infinite;
}

.history-marquee-container:hover .history-marquee-track {
    animation-play-state: paused;
}

@keyframes historyMarqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - (var(--history-gap) / 2)));
    }
}

/* Slide Cards (16:9 ratio, 5 on desktop, 2 on mobile) */
.history-slide {
    flex: 0 0 var(--history-slide-w);
    width: var(--history-slide-w);
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    position: relative;
    background-color: #121814;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.history-slide:hover,
.history-slide:focus-visible {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
    outline: none;
}

.history-slide-inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.history-slide-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    display: block;
    transition: transform 0.5s ease;
}

.history-slide:hover .history-slide-inner img {
    transform: scale(1.06);
}

/* Hover Overlay with Zoom Icon & Caption */
.history-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 20, 14, 0.88) 0%, rgba(10, 20, 14, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.history-slide:hover .history-slide-overlay,
.history-slide:focus-visible .history-slide-overlay {
    opacity: 1;
}

.history-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 44px;
    height: 44px;
    background-color: rgba(65, 117, 68, 0.92);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.history-slide:hover .history-zoom-icon {
    transform: translate(-50%, -50%);
}

.history-slide-caption {
    color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive Breakpoints: 5 desktop, 2 mobile */
@media (max-width: 1200px) {
    .history-marquee-container {
        --history-visible: 4;
    }
}

@media (max-width: 992px) {
    .history-marquee-container {
        --history-visible: 3;
        --history-gap: 14px;
    }
    .history-carousel-section {
        padding: 50px 0 40px;
    }
}

@media (max-width: 768px) {
    .history-marquee-container {
        --history-visible: 2; /* Exactly 2 slides visible on mobile */
        --history-gap: 12px;
    }
    .history-slide {
        border-radius: 8px;
    }
    .history-slide-overlay {
        padding: 10px;
        opacity: 1;
        background: linear-gradient(to top, rgba(10, 20, 14, 0.82) 0%, transparent 60%);
    }
    .history-zoom-icon {
        display: none;
    }
    .history-slide-caption {
        font-size: 0.75rem;
        -webkit-line-clamp: 1;
    }
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.history-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.history-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.history-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(8, 14, 10, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

.history-lightbox-container {
    position: relative;
    z-index: 2;
    max-width: min(94vw, 1100px);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.history-lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.history-lightbox-media-wrap {
    width: auto;
    max-width: 100%;
    max-height: 78vh;
    background-color: #000000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.history-lightbox-img {
    width: auto;
    height: auto;
    max-width: min(92vw, 1100px);
    max-height: 78vh;
    object-fit: contain;
    display: block;
    user-select: none;
}

.history-lightbox-info {
    width: 100%;
    text-align: center;
    margin-top: 14px;
    padding: 0 20px;
}

.history-lightbox-counter {
    display: inline-block;
    color: #417544;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.history-lightbox-caption {
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

/* Lightbox Controls */
.history-lightbox-close {
    position: absolute;
    top: -46px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease, transform 0.25s ease;
    z-index: 10;
}

.history-lightbox-close:hover {
    background-color: #d32f2f;
    transform: scale(1.1);
}

.history-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease, transform 0.25s ease;
    z-index: 10;
}

.history-lightbox-nav:hover {
    background-color: #417544;
    transform: translateY(-50%) scale(1.12);
}

.history-lightbox-prev {
    left: -65px;
}

.history-lightbox-next {
    right: -65px;
}

@media (max-width: 992px) {
    .history-lightbox-prev {
        left: 8px;
    }
    .history-lightbox-next {
        right: 8px;
    }
    .history-lightbox-close {
        top: -42px;
        right: 4px;
    }
    .history-lightbox-nav {
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(4px);
        width: 42px;
        height: 42px;
    }
}

/* ==========================================================================
   12. NAVIGATION DROPDOWN MENU
   ========================================================================== */

.main-navigation .dropdown-toggle-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.main-navigation .nav-dropdown-icon {
    font-size: 0.65rem;
    transition: transform 0.25s ease;
}

.main-navigation .menu-item-has-children:hover > a .nav-dropdown-icon,
.main-navigation .menu-item-has-children:focus-within > a .nav-dropdown-icon {
    transform: rotate(180deg);
}

.main-navigation .menu-item-has-children {
    position: relative;
}

.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 8px 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1000;
}

/* Invisible bridge so mouse hover doesn't break between parent and dropdown */
.main-navigation .sub-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.main-navigation .menu-item-has-children:hover > .sub-menu,
.main-navigation .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu .menu-item {
    display: block;
    margin: 0;
    padding: 0;
}

.main-navigation .sub-menu .menu-item a {
    display: block;
    padding: 10px 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-navy, #191d1b);
    text-transform: none;
    letter-spacing: 0.3px;
    transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    white-space: nowrap;
}

.main-navigation .sub-menu .menu-item a:hover {
    background-color: rgba(65, 117, 68, 0.08);
    color: var(--primary, #1b5e20);
    padding-left: 24px;
}



.main-navigation .sub-menu .menu-item a::after {
    display: none !important;
}

/* Mobile Nav Drawer Submenu */
.mobile-menu-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-sub-toggle {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 0.85rem;
    padding: 8px 12px;
    cursor: pointer;
    transition: transform 0.25s ease, color 0.2s ease;
}

.mobile-sub-toggle.is-active {
    transform: rotate(180deg);
    color: var(--primary-light, #81c784);
}

.mobile-sub-menu {
    display: none;
    list-style: none;
    padding: 6px 0 6px 18px;
    margin: 4px 0 8px;
    border-left: 2px solid rgba(65, 117, 68, 0.4);
}

.mobile-sub-menu.is-open {
    display: block;
}

.mobile-sub-menu li a {
    font-size: 0.88rem !important;
    padding: 8px 0 !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-weight: 500 !important;
}

.mobile-sub-menu li a:hover {
    color: #ffffff !important;
}

/* ==========================================================================
   13. TEAM MEMBERS DEDICATED PAGE
   ========================================================================== */

/* Page Banner Hero */
.page-banner-hero {
    padding: 100px 0 75px;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    position: relative;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.4);
}

.page-banner-badge {
    display: inline-block;
    background: rgba(65, 117, 68, 0.9);
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-banner-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: #ffffff !important;
    letter-spacing: -0.5px;
}

.page-banner-subtitle {
    max-width: 720px;
    margin: 0 auto 28px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
}

.page-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.35);
    padding: 8px 22px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.page-breadcrumbs a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-breadcrumbs a:hover {
    color: #a5d6a7;
}

.breadcrumb-separator {
    font-size: 0.65rem;
    opacity: 0.6;
}

.breadcrumb-current {
    color: #81c784;
    font-weight: 700;
}

/* Team Page Section */
.team-page-section {
    padding: 80px 0;
}

.board-section .section-header,
.team-page-section .section-header {
    margin-bottom: 0;
    text-align: center;
}

.board-section .section-heading,
.team-page-section .section-heading {
    font-family: var(--font-heading) !important;
    font-size: 2.35rem !important;
    font-weight: 800 !important;
    color: var(--text-heading) !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
}

/* Fallback styles in case section-title-wrap is ever rendered */
.section-title-wrap {
    text-align: center;
    margin-bottom: 0;
}

.section-title-wrap .section-tag,
.section-title-wrap .section-title-underline {
    display: none !important;
}

.section-title-wrap .section-title {
    font-family: var(--font-heading) !important;
    font-size: 2.35rem !important;
    font-weight: 800 !important;
    color: var(--text-heading) !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
}

.team-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 25px;
    margin-bottom: 0px;
    align-items: stretch;
}

.team-card-detailed {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.team-card-detailed:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.team-card-detailed .team-photo-wrap {
    aspect-ratio: 4 / 5;
    width: 100%;
    position: relative;
    background-color: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    flex-shrink: 0;
}

.team-card-detailed .team-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    transition: transform 0.5s ease;
}

.team-card-detailed:hover .team-photo-wrap img {
    transform: scale(1.05);
}

.team-card,
.team-card-detailed,
.team-photo-wrap,
.team-card-detailed .team-photo-wrap,
.team-card .team-info,
.team-card-detailed .team-info {
    background-color: #ffffff !important;
}

.team-card-detailed .team-info {
    padding: 20px 18px 24px;
    display: flex;
    flex-direction: column;
    text-align: center;
    flex-grow: 1;
}

.team-card-detailed .team-role {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary, #1b5e20);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
    line-height: 1.25;
    min-height: 1.5em;
}

.team-card-detailed .team-name {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--brand-navy, #191d1b);
    margin: 0 0 12px;
    line-height: 1.3;
    min-height: 2.65em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card-detailed .team-divider {
    width: 36px;
    height: 3px;
    background-color: #417544;
    margin: auto auto 0;
    border-radius: 2px;
}

/* Trust Members Text Cards (without photo) */
.team-member-text-card {
    min-height: 130px;
    justify-content: center;
    border: 1px solid #e5ede3;
    background: #ffffff;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.team-member-text-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(65, 117, 68, 0.12);
    border-color: #417544;
}

.team-member-text-card .team-info {
    padding: 24px 18px 22px;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.team-member-text-card .team-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-navy, #191d1b);
    margin: 0 0 10px;
    line-height: 1.35;
}

/* Volunteer Recruitment CTA in Team Page */
.team-page-cta {
    background: url('../images/banner-bg.jpg') no-repeat center center / cover !important;
    padding: 85px 0;
    position: relative;
    text-align: center;
}

.team-page-cta::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: none !important;
    z-index: 1 !important;
}

.team-page-cta .banner-inner {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.team-page-cta .banner-tag {
    display: inline-block;
    color: var(--primary-light, #81c784);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.team-page-cta .banner-cta-title {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 800;
    color: #ffffff !important;
    text-align: center;
    margin: 0 auto 16px;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.team-page-cta .banner-line {
    width: 50px;
    height: 3px;
    background-color: #417544;
    margin: 0 auto 24px;
    border-radius: 2px;
    display: block;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Text width: 65% on desktop, centered */
.team-page-cta .banner-cta-desc {
    width: 65%;
    max-width: 65%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* Button alignments and styles */
.team-page-cta .banner-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0 auto;
    flex-wrap: wrap;
    text-align: center;
}

/* 1st Button (Primary Green) */
.team-page-cta .btn-primary {
    background-color: #417544;
    color: #ffffff !important;
    border: 2px solid #417544;
    padding: 13px 32px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.team-page-cta .btn-primary:hover {
    background-color: #355f37;
    border-color: #355f37;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(65, 117, 68, 0.4);
}

/* 2nd Button (Solid White Button with Dark Visible Text) */
.team-page-cta .btn-white,
.team-page-cta .btn-secondary,
.btn.btn-white {
    background-color: #ffffff !important;
    color: #191d1b !important;
    border: 2px solid #ffffff !important;
    padding: 13px 32px;
    border-radius: 50px;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.team-page-cta .btn-white span,
.team-page-cta .btn-secondary span,
.team-page-cta .btn-white i,
.team-page-cta .btn-secondary i,
.btn.btn-white span,
.btn.btn-white i {
    color: #191d1b !important;
    font-weight: 700 !important;
    transition: color 0.3s ease;
}

.team-page-cta .btn-white:hover,
.team-page-cta .btn-secondary:hover,
.btn.btn-white:hover {
    background-color: transparent !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.team-page-cta .btn-white:hover span,
.team-page-cta .btn-secondary:hover span,
.team-page-cta .btn-white:hover i,
.team-page-cta .btn-secondary:hover i,
.btn.btn-white:hover span,
.btn.btn-white:hover i {
    color: #ffffff !important;
}

/* Mobile: 100% width on mobile, centered */
@media (max-width: 768px) {
    .team-page-cta {
        padding: 60px 0;
    }
    .team-page-cta .banner-cta-desc {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center;
        padding: 0 15px;
        font-size: 0.95rem;
    }
    .team-page-cta .banner-cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 14px;
    }
    .team-page-cta .btn-primary,
    .team-page-cta .btn-white,
    .team-page-cta .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
        justify-content: center;
    }
}

/* Responsive Rules for Team Page */
.members-section {
    padding-top: 10px;
    padding-bottom: 80px;
}

@media (max-width: 1200px) {
    .team-page-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .team-page-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
    .team-page-section {
        padding: 50px 0;
    }
    .members-section {
        padding-top: 0;
        padding-bottom: 50px;
    }
}

@media (max-width: 600px) {
    .team-page-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 30px !important;
    }
    .team-card-detailed {
        border-radius: 10px;
    }
    .team-card-detailed .team-info {
        padding: 12px 8px 14px !important;
    }
    .team-card-detailed .team-role {
        font-size: 0.68rem !important;
        letter-spacing: 0.8px !important;
        margin-bottom: 4px !important;
    }
    .team-card-detailed .team-name {
        font-size: 0.95rem !important;
        margin-bottom: 6px !important;
        line-height: 1.25 !important;
        word-break: break-word;
    }
    .team-card-detailed .team-divider {
        width: 24px !important;
        height: 2px !important;
    }
    .page-banner-hero {
        padding: 70px 0 50px;
    }
}

@media (max-width: 380px) {
    .team-page-grid {
        gap: 8px !important;
    }
    .team-card-detailed .team-info {
        padding: 10px 4px 12px !important;
    }
    .team-card-detailed .team-name {
        font-size: 0.85rem !important;
    }
}

/* ==========================================================================
   404 ERROR PAGE STYLES
   ========================================================================== */
.error-404-main {
    min-height: calc(100vh - 400px);
    background-color: var(--bg-light, #f7faf6);
}

.error-banner {
    padding: 85px 0 65px;
}

.error-404-section {
    padding: 70px 0 90px;
    background-color: #ffffff;
}

.error-404-box {
    max-width: 980px;
    margin: 0 auto;
}

.error-code-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    color: var(--primary, #417544);
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.error-code-display .error-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--brand-brown, #70423A);
    margin: 0 10px;
    animation: errorRotate 12s linear infinite;
}

@keyframes errorRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-heading {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-navy, #22283A);
    margin-bottom: 12px;
}

.error-lead {
    font-size: 1.1rem;
    color: var(--text-body, #555c58);
    max-width: 620px;
    margin: 0 auto 35px;
    line-height: 1.65;
}

/* 404 Search Box */
.error-search-box {
    max-width: 580px;
    margin: 0 auto 50px;
}

.error-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #e1e8df;
    border-radius: 50px;
    padding: 4px 4px 4px 50px;
    box-shadow: 0 8px 24px rgba(34, 40, 58, 0.06);
    transition: var(--transition, all 0.3s ease);
}

.error-search-input-wrap:focus-within {
    border-color: var(--primary, #417544);
    box-shadow: 0 8px 28px rgba(65, 117, 68, 0.16);
}

.error-search-input-wrap .search-icon {
    position: absolute;
    left: 20px;
    font-size: 1.15rem;
    color: var(--primary, #417544);
}

.error-search-field {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-heading, #22283A);
    background: transparent;
    padding: 10px 10px;
}

.error-search-field::placeholder {
    color: var(--text-muted, #858d88);
}

.error-search-submit {
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    background-color: var(--primary, #417544);
    color: #ffffff;
    transition: var(--transition, all 0.3s ease);
}

.error-search-submit:hover {
    background-color: var(--brand-brown, #70423A);
}

/* 404 Action Cards Grid */
.error-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 50px;
    text-align: left;
}

.error-action-card {
    background: #ffffff;
    border: 1px solid #e4eae2;
    border-radius: var(--radius-lg, 16px);
    padding: 26px 20px 22px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 18px rgba(34, 40, 58, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    text-decoration: none;
}

.error-action-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(65, 117, 68, 0.12);
    border-color: var(--primary, #417544);
}

.error-action-card .action-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eff6f0;
    color: var(--primary, #417544);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.error-action-card:hover .action-icon {
    background-color: var(--primary, #417544);
    color: #ffffff;
}

.error-action-card .action-title {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--brand-navy, #22283A);
    margin-bottom: 6px;
}

.error-action-card .action-desc {
    font-size: 0.88rem;
    color: var(--text-body, #555c58);
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.error-action-card .action-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary, #417544);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s ease;
}

.error-action-card:hover .action-link {
    gap: 10px;
    color: var(--brand-brown, #70423A);
}

/* 404 Bottom CTA */
.error-cta-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.error-cta-wrap .btn-large {
    padding: 14px 34px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* 404 Responsive Rules */
@media (max-width: 992px) {
    .error-code-display {
        font-size: 6rem;
    }
    .error-code-display .error-icon-wrap {
        font-size: 4.5rem;
    }
    .error-actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .error-code-display {
        font-size: 4.5rem;
    }
    .error-code-display .error-icon-wrap {
        font-size: 3.2rem;
    }
    .error-heading {
        font-size: 1.6rem;
    }
    .error-lead {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    .error-actions-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .error-search-input-wrap {
        padding-left: 42px;
    }
    .error-search-input-wrap .search-icon {
        left: 16px;
    }
    .error-search-submit {
        padding: 10px 20px;
        font-size: 0.88rem;
    }
    .error-cta-wrap {
        flex-direction: column;
        width: 100%;
    }
    .error-cta-wrap .btn-large {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   NEW TEMPLATES STYLES: ABOUT, CONTACT, DONATION, BLOG, CAUSES
   ========================================================================== */

/* Shared Utilities */
.font-mono {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
    letter-spacing: 0.5px;
}
.donation-hero-cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 28px;
    flex-wrap: wrap;
}

/* --- 1. ABOUT US PAGE STYLES --- */
.about-story-section {
    padding: 90px 0;
    background-color: var(--bg-white);
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.about-media-frame {
    position: relative;
    padding-bottom: 40px;
    padding-right: 40px;
    box-sizing: border-box;
    width: 100%;
}

.about-image-primary {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 420px;
}

.about-image-primary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 250px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 6px solid #ffffff;
    box-shadow: var(--shadow-lg);
}

.about-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge-card {
    position: absolute;
    top: 30px;
    left: -20px;
    background: var(--primary);
    color: #ffffff;
    padding: 14px 22px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(65, 117, 68, 0.35);
    z-index: 2;
    white-space: nowrap;
}

.about-badge-card .badge-icon {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.about-badge-card .badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.about-badge-card .badge-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.92;
}

.story-paragraph {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 16px;
}

.about-story-cta {
    margin-top: 32px;
}

.about-story-cta .btn {
    padding: 15px 36px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: var(--radius-pill);
}

.about-story-cta .btn i {
    font-size: 1rem;
    transition: transform 0.25s ease;
}

.about-story-cta .btn:hover i.fa-heart {
    transform: scale(1.2);
}

.about-highlights-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.highlight-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--bg-light);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
}

.highlight-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.highlight-text strong {
    color: var(--text-heading);
    display: inline-block;
    margin-right: 4px;
}

.highlight-text span {
    color: var(--text-body);
    font-size: 0.93rem;
}

.about-mission-section {
    padding: 90px 0;
    background-color: var(--bg-light);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    margin-top: 50px;
}

.mission-vision-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 42px 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.mission-vision-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.card-icon-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.card-badge {
    background: var(--bg-light);
    color: var(--brand-brown);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
}

.mission-vision-card .card-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 16px;
    line-height: 1.35;
}

.mission-vision-card .card-desc {
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 24px;
}

.mission-vision-card .card-divider {
    height: 1px;
    background-color: var(--border);
    margin-bottom: 22px;
}

.card-feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
}

.card-feature-list li {
    display: flex;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.5;
}

.card-feature-list li i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.88rem;
}

.about-values-section {
    padding: 90px 0;
    background-color: var(--bg-white);
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 50px;
}

.value-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px 26px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.value-icon-box {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.value-card:hover .value-icon-box {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.08);
}

.value-title {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.value-divider {
    width: 28px;
    height: 2px;
    background: var(--brand-brown);
    margin: 0 auto 16px;
}

.value-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-body);
    margin: 0;
}

.about-why-exist-section {
    padding: 90px 0;
    background-color: var(--bg-light);
}

.why-exist-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 50px;
    align-items: center;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.why-exist-content,
.why-exist-stats-col {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.challenges-list {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.challenge-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #ffffff;
    padding: 22px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.challenge-item:hover {
    border-color: var(--primary);
    transform: translateX(6px);
}

.challenge-body {
    flex: 1;
    min-width: 0;
}

.challenge-num {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-light);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.challenge-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.challenge-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

.stats-showcase-card {
    background: var(--brand-navy);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 45px 38px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.showcase-tag {
    color: #81c784;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
    display: block;
}

.showcase-title {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 16px;
}

.showcase-divider {
    width: 40px;
    height: 3px;
    background: var(--primary);
    margin-bottom: 30px;
    border-radius: 2px;
}

.showcase-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 20px;
    margin-bottom: 32px;
}

.showcase-stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #81c784;
    display: block;
    line-height: 1.2;
}

.showcase-stat-item .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    display: block;
    margin-top: 4px;
}

.showcase-footer .btn {
    width: 100%;
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
    justify-content: center;
}

.showcase-footer .btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* --- 2. CONTACT US PAGE STYLES --- */
.contact-cards-section {
    padding: 70px 0;
    background-color: var(--bg-light);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.contact-info-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px 22px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.contact-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.contact-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 10px;
}

.contact-card-divider {
    width: 28px;
    height: 2px;
    background: var(--brand-brown);
    margin: 0 auto 14px;
}

.contact-card-detail {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-body);
    margin-bottom: 12px;
}

.contact-card-detail a {
    color: var(--text-heading);
    font-weight: 600;
    text-decoration: none;
}

.contact-card-detail a:hover {
    color: var(--primary);
}

.contact-card-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: auto;
}

.contact-social-pills {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 12px;
}

.contact-social-pills a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}

.contact-social-pills a:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.contact-form-section {
    padding: 90px 0;
    background-color: var(--bg-white);
}

.contact-form-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 42px 38px;
    box-shadow: var(--shadow-md);
}

.form-tag {
    display: inline-block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.6;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.col-half {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.form-group .required {
    color: #d32f2f;
}

.input-wrap {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #858d88;
    font-size: 0.95rem;
    pointer-events: none;
}

.form-control {
    width: 100%;
    padding: 13px 18px 13px 44px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-heading);
    background: #ffffff;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(65, 117, 68, 0.15);
    outline: none;
}

.form-textarea {
    padding: 14px 18px !important;
    min-height: 130px;
    resize: vertical;
}

.select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.form-checkbox-group {
    margin-top: 10px;
    margin-bottom: 25px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.5;
}

.checkbox-container input {
    margin-top: 3px;
    cursor: pointer;
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.btn-submit {
    padding: 14px 34px;
    font-size: 0.92rem;
}

.form-feedback-message {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.92rem;
    font-weight: 600;
}

.form-feedback-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

/* --- Contact Form 7 Seamless Integration & Theme Styling --- */
.cf7-custom-wrapper .wpcf7-form p {
    margin-bottom: 20px;
    position: relative;
}

.cf7-custom-wrapper .wpcf7-form label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
    width: 100%;
}

.cf7-custom-wrapper .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    position: relative;
}

.cf7-custom-wrapper input[type="text"],
.cf7-custom-wrapper input[type="email"],
.cf7-custom-wrapper input[type="tel"],
.cf7-custom-wrapper input[type="url"],
.cf7-custom-wrapper select,
.cf7-custom-wrapper textarea {
    width: 100%;
    padding: 13px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-heading);
    background: #ffffff;
    transition: var(--transition);
    box-sizing: border-box;
    display: block;
}

.cf7-custom-wrapper input[type="text"]:focus,
.cf7-custom-wrapper input[type="email"]:focus,
.cf7-custom-wrapper input[type="tel"]:focus,
.cf7-custom-wrapper input[type="url"]:focus,
.cf7-custom-wrapper select:focus,
.cf7-custom-wrapper textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(65, 117, 68, 0.15);
    outline: none;
}

.cf7-custom-wrapper textarea {
    min-height: 130px;
    resize: vertical;
}

.cf7-custom-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.41 0L6 4.58L10.59 0L12 1.41l-6 6l-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 40px;
}

/* Submit Button */
.cf7-custom-wrapper input[type="submit"],
.cf7-custom-wrapper .wpcf7-submit {
    background-color: var(--brand-green);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 14px 34px;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(65, 117, 68, 0.32);
    margin-top: 5px;
}

.cf7-custom-wrapper input[type="submit"]:hover,
.cf7-custom-wrapper .wpcf7-submit:hover {
    background-color: var(--brand-brown);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(112, 66, 58, 0.4);
}

/* Checkbox */
.cf7-custom-wrapper .wpcf7-checkbox label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-body);
    font-weight: 400;
    line-height: 1.5;
}

.cf7-custom-wrapper .wpcf7-checkbox input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

/* Spinner */
.cf7-custom-wrapper .wpcf7-spinner {
    margin-left: 14px;
    vertical-align: middle;
}

/* Validation Tips & Output Messages */
.cf7-custom-wrapper .wpcf7-not-valid-tip {
    color: #dc2626;
    font-size: 0.82rem;
    margin-top: 6px;
    font-weight: 500;
    display: block;
}

.cf7-custom-wrapper .wpcf7-response-output {
    margin: 20px 0 0 0 !important;
    padding: 14px 18px !important;
    border-radius: var(--radius-md) !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
}

.cf7-custom-wrapper form.sent .wpcf7-response-output {
    background: #e8f5e9 !important;
    color: #2e7d32 !important;
    border: 1px solid #c8e6c9 !important;
}

.cf7-custom-wrapper form.failed .wpcf7-response-output,
.cf7-custom-wrapper form.invalid .wpcf7-response-output {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border: 1px solid #fecaca !important;
}

.contact-sidebar-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 10px;
}

.sidebar-divider {
    width: 32px;
    height: 2px;
    background: var(--brand-brown);
    margin-bottom: 18px;
}

.sidebar-desc {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 24px;
}

.sidebar-bullet-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}

.sidebar-bullet-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.bullet-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.bullet-content strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-heading);
    margin-bottom: 3px;
}

.bullet-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.sidebar-emergency-box {
    background: #ffffff;
    border: 1.5px dashed var(--primary);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.emergency-icon {
    font-size: 1.8rem;
    color: var(--primary);
}

.emergency-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.emergency-phone {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.emergency-phone:hover {
    color: var(--brand-brown);
}

.contact-map-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.map-embed-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    line-height: 0;
    margin-top: 40px;
}

.map-embed-wrapper iframe {
    display: block;
}

.map-address-bar {
    background: #ffffff;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 20px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
}

.map-address-text {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-body);
}

.map-pin-icon {
    color: var(--primary);
    font-size: 1.25rem;
}

.btn-directions {
    padding: 9px 20px;
    font-size: 0.82rem;
}

/* --- 3. DONATION PAGE STYLES --- */
.where-money-goes-section {
    padding: 90px 0;
    background-color: var(--bg-light);
}

.where-money-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 50px;
}

.allocation-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.allocation-card:hover {
    background: #ffffff;
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.allocation-percent-badge {
    position: absolute;
    top: -14px;
    background: var(--primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px rgba(65, 117, 68, 0.3);
}

.allocation-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-top: 10px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}

.allocation-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 10px;
}

.allocation-divider {
    width: 28px;
    height: 2px;
    background: var(--brand-brown);
    margin: 0 auto 14px;
}

.allocation-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-body);
    margin: 0;
}

.direct-impact-guarantee {
    margin-top: 50px;
    background: #edf7ee;
    border: 1.5px solid #c5e1a5;
    border-radius: var(--radius-md);
    padding: 22px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.guarantee-icon {
    font-size: 2.2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.guarantee-text h4 {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.guarantee-text p {
    font-size: 0.92rem;
    color: var(--text-body);
    margin: 0;
    line-height: 1.5;
}

.payment-methods-section {
    padding: 90px 0;
    background-color: var(--bg-light);
}

.payment-methods-layout {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 36px;
    margin-top: 50px;
    align-items: stretch;
}

.payment-method-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 38px 32px;
    box-shadow: var(--shadow-sm);
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    box-sizing: border-box;
    width: 100%;
}

.primary-bank-card {
    border-color: #c5e1a5;
    box-shadow: var(--shadow-md);
}

.payment-card-badge {
    position: absolute;
    top: -14px;
    right: 28px;
    background: var(--brand-brown);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    z-index: 2;
}

.payment-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.payment-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.payment-method-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.payment-bank-name {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.bank-details-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.bank-data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    gap: 12px;
    box-sizing: border-box;
    min-width: 0;
}

.copyable-row {
    background: #f3f7f2;
    border: 1px solid #e1ece0;
}

.data-label {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.data-val {
    color: var(--text-heading);
    font-weight: 700;
    text-align: right;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.data-val-group {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    min-width: 0;
    flex-wrap: wrap;
}

.data-val-group .data-val {
    min-width: 0;
}

.btn-copy-small {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    cursor: pointer;
    flex-shrink: 0;
}

.btn-copy-small:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.btn-copy-small.copied {
    background: #2e7d32 !important;
    color: #ffffff !important;
    border-color: #2e7d32 !important;
}

.payment-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.payment-note i {
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.mobile-wallet-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 26px;
}

.wallet-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    box-sizing: border-box;
}

.wallet-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.wallet-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    gap: 10px;
    flex-wrap: wrap;
}

.wallet-number {
    font-family: 'Consolas', monospace;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: 0.5px;
    word-break: break-all;
}

.wallet-meta {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.international-donor-box {
    background: #fbfbf9;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 20px;
    margin-top: auto;
    box-sizing: border-box;
}

.intl-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.intl-title i {
    color: var(--brand-brown);
}

.intl-desc {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.5;
    margin-bottom: 14px;
}

.international-donor-box .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    padding: 12px 18px;
    justify-content: center;
    font-size: 0.85rem;
}

/* --- 4. BLOG PAGE STYLES --- */
.blog-listing-section {
    padding: 85px 0;
    background-color: var(--bg-white);
}

.blog-grid-layout {
    margin-bottom: 50px;
}

.news-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
}

.meta-cat {
    color: var(--primary) !important;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.meta-author {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-excerpt p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.92rem;
    color: var(--text-body);
}

.theme-pagination {
    margin-top: 40px;
}

.theme-pagination ul.page-numbers {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    list-style: none;
    padding: 0;
}

.theme-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-heading);
    background: #ffffff;
    border: 1.5px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
}

.theme-pagination .page-numbers:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.theme-pagination .page-numbers.current {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(65, 117, 68, 0.3);
}

/* --- 4.1 SINGLE BLOG POST STYLES --- */
.single-post-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 16px 0 20px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
}

.single-post-hero-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.single-post-hero-meta .meta-item i {
    color: #a4d1a7;
}

.single-post-hero-meta .meta-divider {
    opacity: 0.6;
}

.single-article-title {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    line-height: 1.25;
}

.single-post-main {
    padding: 70px 0 90px;
    background-color: var(--bg-white);
}

.single-post-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

.single-post-featured-media {
    margin-bottom: 45px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.single-post-featured-img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

/* Typography Inside Single Article */
.single-post-entry-content {
    font-family: var(--font-body);
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text-body);
}

.single-post-entry-content > * + * {
    margin-top: 1.5em;
}

.single-post-entry-content h1,
.single-post-entry-content h2,
.single-post-entry-content h3,
.single-post-entry-content h4,
.single-post-entry-content h5,
.single-post-entry-content h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.35;
    margin-top: 1.8em;
    margin-bottom: 0.6em;
}

.single-post-entry-content h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    position: relative;
    padding-bottom: 10px;
}

.single-post-entry-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.single-post-entry-content h3 {
    font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.single-post-entry-content h4 {
    font-size: 1.15rem;
}

.single-post-entry-content p {
    margin-bottom: 1.5em;
    color: var(--text-body);
}

.single-post-entry-content strong,
.single-post-entry-content b {
    color: var(--text-heading);
    font-weight: 700;
}

.single-post-entry-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition);
}

.single-post-entry-content a:hover {
    color: var(--primary-hover);
}

.single-post-entry-content blockquote {
    margin: 2em 0;
    padding: 24px 30px;
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--brand-navy);
}

.single-post-entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.single-post-entry-content ul,
.single-post-entry-content ol {
    margin: 1.4em 0 1.8em 2em;
    padding-left: 0;
}

.single-post-entry-content li {
    margin-bottom: 0.6em;
    padding-left: 6px;
}

.single-post-entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 1.8em 0;
}

.single-post-entry-content figure {
    margin: 2em 0;
}

.single-post-entry-content figcaption {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

/* Page links for multipage posts */
.page-links {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-links-title {
    font-weight: 700;
    color: var(--text-heading);
    margin-right: 6px;
}

.page-links .page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    font-weight: 600;
}

/* Single Post Navigation (Prev / Next) */
.single-post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1.5px solid var(--border);
}

.post-nav-links {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
}

.post-nav-prev {
    text-align: left;
}

.post-nav-next {
    text-align: right;
}

.post-nav-all {
    text-align: center;
}

.post-nav-link {
    display: block;
    text-decoration: none;
    transition: var(--transition);
}

.post-nav-link .nav-direction {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    margin-bottom: 6px;
}

.post-nav-next .nav-direction {
    justify-content: flex-end;
}

.post-nav-link .nav-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.4;
    transition: var(--transition);
}

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

.btn-all-articles {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.85rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .single-post-main {
        padding: 45px 0 65px;
    }

    .single-post-entry-content {
        font-size: 1rem;
        line-height: 1.75;
    }

    .post-nav-links {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .post-nav-prev,
    .post-nav-next {
        text-align: center;
    }

    .post-nav-prev .nav-direction,
    .post-nav-next .nav-direction {
        justify-content: center;
    }

    .post-nav-all {
        order: -1;
        margin-bottom: 10px;
    }
}

/* --- 5. CAUSES & DRIVES PAGE STYLES --- */
.featured-cause-section {
    padding: 85px 0 40px;
    background-color: var(--bg-light);
}

.featured-cause-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    min-width: 0;
    box-sizing: border-box;
    width: 100%;
}

.featured-cause-card:hover {
    box-shadow: var(--shadow-lg);
}

.featured-cause-media {
    position: relative;
    min-height: 380px;
    overflow: hidden;
}

.featured-cause-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-cause-card:hover .featured-cause-media img {
    transform: scale(1.04);
}

.featured-cause-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--brand-brown);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 2;
    white-space: nowrap;
}

.featured-cause-content {
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    box-sizing: border-box;
}

.featured-cause-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 16px;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-break: normal;
}

.featured-cause-desc {
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 24px;
    overflow-wrap: break-word;
    word-break: normal;
}

.featured-cause-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.featured-cause-actions .btn {
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-break: normal;
}

.featured-cause-actions .btn span {
    white-space: normal;
    word-break: normal;
}

.active-causes-section {
    padding: 85px 0;
    background-color: var(--bg-white);
}

/* --- 6. RESPONSIVE BREAKPOINTS FOR NEW TEMPLATES --- */
@media (max-width: 1040px) {
    .payment-methods-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 992px) {
    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image-primary {
        height: 340px;
    }
    .about-image-secondary {
        height: 200px;
    }
    .about-badge-card {
        top: 20px;
        left: 0;
        padding: 12px 18px;
    }
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .about-values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .about-why-exist-section {
        padding: 70px 0;
    }
    .why-exist-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .why-exist-content,
    .why-exist-stats-col {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .stats-showcase-card {
        padding: 38px 32px;
    }
    .contact-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
    }
    .contact-form-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .where-money-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .payment-methods-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .featured-cause-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .featured-cause-media {
        width: 100%;
        min-height: 300px;
        height: 300px;
        flex-shrink: 0;
    }
    .featured-cause-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 36px 30px;
    }
}

@media (max-width: 768px) {
    .about-media-frame {
        padding-bottom: 30px;
        padding-right: 30px;
    }
    .about-image-primary {
        height: 280px;
        border-radius: var(--radius-md);
    }
    .about-image-secondary {
        height: 180px;
        width: 52%;
        border-width: 5px;
    }
    .about-badge-card {
        top: 16px;
        left: 12px;
        padding: 10px 16px;
        gap: 10px;
    }
    .about-badge-card .badge-icon {
        font-size: 1.6rem;
    }
    .about-badge-card .badge-number {
        font-size: 1.3rem;
    }
    .about-badge-card .badge-label {
        font-size: 0.72rem;
    }
    .mission-vision-card {
        padding: 15px !important;
        border-radius: var(--radius-md);
    }
    .featured-cause-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .featured-cause-media {
        width: 100%;
        min-height: 240px;
        height: 240px;
        flex-shrink: 0;
    }
    .featured-cause-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 30px !important;
    }
    .featured-cause-title {
        font-size: 1.35rem;
        margin-bottom: 12px;
        line-height: 1.32;
        overflow-wrap: break-word;
        word-break: normal;
    }
    .featured-cause-desc {
        font-size: 0.92rem;
        line-height: 1.65;
        margin-bottom: 20px;
        overflow-wrap: break-word;
        word-break: normal;
    }
    .featured-cause-actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
        align-items: stretch !important;
    }
    .featured-cause-actions .btn {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-break: normal !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        box-sizing: border-box !important;
        padding: 13px 18px !important;
        font-size: 0.85rem !important;
        letter-spacing: 0.5px !important;
        line-height: 1.35 !important;
    }
    .featured-cause-actions .btn span {
        white-space: normal !important;
        word-break: normal !important;
        text-align: center !important;
    }
    .bank-data-row {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 12px 14px;
    }
    .bank-data-row .data-label {
        font-size: 0.76rem;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        color: var(--text-muted);
        text-align: left;
    }
    .bank-data-row .data-val {
        text-align: left;
        font-size: 0.95rem;
        line-height: 1.4;
    }
    .data-val-group {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }
    .data-val-group .data-val {
        text-align: left;
        flex: 1;
        min-width: 0;
    }
    .btn-copy-small {
        margin-left: auto;
        flex-shrink: 0;
    }
    .payment-method-card {
        padding: 32px 24px;
    }
    .about-why-exist-section {
        padding: 55px 0;
    }
    .why-exist-grid {
        gap: 34px;
    }
    .why-exist-content .section-heading {
        font-size: clamp(1.6rem, 5vw, 1.95rem);
        line-height: 1.28;
        margin-bottom: 12px;
    }
    .why-exist-content .section-lead {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 16px;
    }
    .challenges-list {
        margin-top: 20px;
        gap: 14px;
    }
    .challenge-item {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
        padding: 18px 20px;
        border-radius: var(--radius-md);
        box-sizing: border-box;
    }
    .challenge-item:hover {
        transform: none;
    }
    .challenge-num {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
    }
    .challenge-title {
        font-size: 1.05rem;
        margin-bottom: 4px;
        line-height: 1.35;
    }
    .challenge-desc {
        font-size: 0.88rem;
        line-height: 1.6;
    }
    .stats-showcase-card {
        padding: 32px 24px;
        border-radius: var(--radius-md);
        box-sizing: border-box;
    }
    .showcase-title {
        font-size: 1.35rem;
        line-height: 1.35;
        margin-bottom: 14px;
    }
    .showcase-divider {
        margin-bottom: 22px;
    }
    .showcase-stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 16px;
        margin-bottom: 26px;
    }
    .showcase-stat-item .stat-number {
        font-size: 1.6rem;
    }
    .showcase-stat-item .stat-label {
        font-size: 0.82rem;
        line-height: 1.38;
    }
    .showcase-footer .btn {
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: normal !important;
        padding: 12px 18px !important;
        font-size: 0.86rem !important;
    }
    .showcase-footer .btn span {
        white-space: normal !important;
        text-align: center !important;
    }
}

@media (max-width: 600px) {
    .about-story-section,
    .about-mission-section,
    .about-values-section,
    .about-why-exist-section,
    .contact-cards-section,
    .contact-form-section,
    .contact-map-section,
    .where-money-goes-section,
    .payment-methods-section,
    .blog-listing-section,
    .featured-cause-section,
    .active-causes-section {
        padding: 50px 0;
    }
    .about-story-grid {
        gap: 32px;
    }
    .about-media-frame {
        padding-bottom: 24px;
        padding-right: 24px;
    }
    .about-image-primary {
        height: 240px;
        border-radius: var(--radius-md);
    }
    .about-image-secondary {
        height: 150px;
        width: 52%;
        border-width: 4px;
        border-radius: var(--radius-sm);
    }
    .about-badge-card {
        top: 12px;
        left: 12px;
        padding: 8px 14px;
        gap: 8px;
        border-radius: var(--radius-sm);
        box-shadow: 0 6px 18px rgba(65, 117, 68, 0.3);
    }
    .about-badge-card .badge-icon {
        font-size: 1.35rem;
    }
    .about-badge-card .badge-number {
        font-size: 1.15rem;
    }
    .about-badge-card .badge-label {
        font-size: 0.68rem;
        letter-spacing: 0.5px;
    }
    .about-story-content .section-heading {
        font-size: clamp(1.4rem, 5vw, 1.85rem);
        line-height: 1.25;
        margin-bottom: 12px;
    }
    .about-story-content .section-lead {
        font-size: 0.94rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    .story-paragraph {
        font-size: 0.9rem;
        line-height: 1.65;
        margin-bottom: 14px;
    }
    .about-story-cta {
        margin-top: 24px;
    }
    .about-story-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
        font-size: 0.88rem;
    }
    .mission-vision-card {
        padding: 15px !important;
        border-radius: var(--radius-md);
    }
    .mission-vision-card:hover {
        transform: none;
    }
    .card-icon-header {
        margin-bottom: 16px;
    }
    .icon-circle {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    .card-badge {
        font-size: 0.72rem;
        padding: 4px 10px;
    }
    .mission-vision-card .card-title {
        font-size: 1.25rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    .mission-vision-card .card-desc {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 18px;
    }
    .mission-vision-card .card-divider {
        margin-bottom: 16px;
    }
    .card-feature-list {
        gap: 10px;
    }
    .card-feature-list li {
        font-size: 0.88rem;
        line-height: 1.45;
    }
    .about-values-grid {
        grid-template-columns: 1fr;
    }
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    .where-money-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .map-address-bar {
        flex-direction: column;
        text-align: center;
    }
    .featured-cause-section {
        padding: 40px 0 20px;
    }
    .featured-cause-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        border-radius: var(--radius-md);
    }
    .featured-cause-media {
        width: 100%;
        min-height: 210px;
        height: 210px;
        flex-shrink: 0;
    }
    .featured-cause-badge {
        top: 12px;
        left: 12px;
        font-size: 0.72rem;
        padding: 4px 12px;
        letter-spacing: 0.5px;
    }
    .featured-cause-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 30px !important;
    }
    .featured-cause-title {
        font-size: 1.22rem;
        margin-bottom: 12px;
        line-height: 1.35;
        overflow-wrap: break-word;
        word-break: normal;
    }
    .featured-cause-desc {
        font-size: 0.88rem;
        line-height: 1.6;
        margin-bottom: 18px;
        overflow-wrap: break-word;
        word-break: normal;
    }
    .featured-cause-actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
        align-items: stretch !important;
    }
    .featured-cause-actions .btn {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-break: normal !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        box-sizing: border-box !important;
        padding: 12px 16px !important;
        font-size: 0.82rem !important;
        line-height: 1.35 !important;
        letter-spacing: 0.5px !important;
    }
    .featured-cause-actions .btn span {
        white-space: normal !important;
        word-break: normal !important;
        text-align: center !important;
    }
    .contact-form-card {
        padding: 28px 20px;
    }
    .payment-method-card {
        padding: 26px 18px;
    }
    .payment-card-badge {
        position: static;
        display: inline-flex;
        align-self: flex-start;
        margin-bottom: 14px;
        font-size: 0.72rem;
        padding: 4px 12px;
        letter-spacing: 0.5px;
    }
    .payment-card-header {
        gap: 12px;
        margin-bottom: 20px;
        padding-bottom: 16px;
    }
    .payment-icon-wrap {
        width: 46px;
        height: 46px;
        font-size: 1.25rem;
    }
    .payment-method-name {
        font-size: 1.2rem;
    }
    .bank-data-row {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .data-val-group {
        width: 100%;
        justify-content: space-between;
    }
    .wallet-details {
        flex-wrap: wrap;
        gap: 8px;
    }
    .wallet-number {
        font-size: clamp(1.1rem, 4vw, 1.25rem);
    }
    .international-donor-box {
        padding: 18px 16px;
    }
    .international-donor-box .btn {
        width: 100%;
        white-space: normal;
        padding: 12px 14px;
        font-size: 0.82rem;
        justify-content: center;
        text-align: center;
        line-height: 1.35;
    }
    .direct-impact-guarantee {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .about-why-exist-section {
        padding: 45px 0;
    }
    .why-exist-grid {
        gap: 28px;
    }
    .why-exist-content .section-heading {
        font-size: clamp(1.4rem, 5vw, 1.7rem);
        line-height: 1.25;
        margin-bottom: 10px;
    }
    .why-exist-content .section-lead {
        font-size: 0.94rem;
        line-height: 1.6;
        margin-bottom: 14px;
    }
    .challenges-list {
        margin-top: 18px;
        gap: 12px;
    }
    .challenge-item {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 14px;
        padding: 16px 16px;
        border-radius: var(--radius-md);
        box-sizing: border-box;
    }
    .challenge-item:hover {
        transform: none;
    }
    .challenge-num {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .challenge-title {
        font-size: 1rem;
        margin-bottom: 4px;
        line-height: 1.35;
    }
    .challenge-desc {
        font-size: 0.86rem;
        line-height: 1.55;
    }
    .stats-showcase-card {
        padding: 26px 18px;
        border-radius: var(--radius-md);
        box-sizing: border-box;
    }
    .showcase-tag {
        font-size: 0.72rem;
        margin-bottom: 8px;
        letter-spacing: 1px;
    }
    .showcase-title {
        font-size: 1.22rem;
        line-height: 1.35;
        margin-bottom: 12px;
    }
    .showcase-divider {
        width: 32px;
        height: 2.5px;
        margin-bottom: 18px;
    }
    .showcase-stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 12px;
        margin-bottom: 22px;
    }
    .showcase-stat-item .stat-number {
        font-size: 1.48rem;
        line-height: 1.2;
    }
    .showcase-stat-item .stat-label {
        font-size: 0.78rem;
        line-height: 1.35;
        margin-top: 3px;
    }
    .showcase-footer .btn {
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: normal !important;
        padding: 12px 16px !important;
        font-size: 0.84rem !important;
    }
    .showcase-footer .btn span {
        white-space: normal !important;
        text-align: center !important;
    }
    .donation-hero-cta-btns {
        flex-direction: column;
        width: 100%;
    }
    .donation-hero-cta-btns .btn {
        width: 100%;
    }
    .about-story-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .about-story-section {
        padding: 35px 0;
    }
    .about-media-frame {
        padding-bottom: 18px;
        padding-right: 18px;
    }
    .about-image-primary {
        height: 200px;
        border-radius: var(--radius-sm);
    }
    .about-image-secondary {
        height: 125px;
        width: 50%;
        border-width: 3px;
        border-radius: 6px;
    }
    .about-badge-card {
        top: 8px;
        left: 8px;
        padding: 6px 12px;
        gap: 6px;
        border-radius: 6px;
    }
    .about-badge-card .badge-icon {
        font-size: 1.1rem;
    }
    .about-badge-card .badge-number {
        font-size: 1rem;
    }
    .about-badge-card .badge-label {
        font-size: 0.6rem;
        letter-spacing: 0.3px;
    }
    .story-paragraph {
        font-size: 0.86rem;
        line-height: 1.6;
    }
    .mission-vision-card {
        padding: 15px !important;
        border-radius: var(--radius-sm);
    }
    .icon-circle {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }
    .mission-vision-card .card-title {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }
    .mission-vision-card .card-desc {
        font-size: 0.86rem;
        line-height: 1.55;
        margin-bottom: 14px;
    }
    .card-feature-list li {
        font-size: 0.84rem;
        line-height: 1.4;
    }
    .featured-cause-section {
        padding: 30px 0 15px;
    }
    .featured-cause-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        border-radius: var(--radius-md);
    }
    .featured-cause-media {
        width: 100%;
        min-height: 180px;
        height: 180px;
        flex-shrink: 0;
    }
    .featured-cause-badge {
        top: 10px;
        left: 10px;
        font-size: 0.68rem;
        padding: 3px 10px;
        gap: 4px;
    }
    .featured-cause-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 30px !important;
    }
    .featured-cause-content .section-tag {
        margin-bottom: 8px;
        gap: 8px;
    }
    .featured-cause-content .section-tag .tag-text {
        font-size: 0.74rem;
        letter-spacing: 0.8px;
    }
    .featured-cause-content .section-tag .tag-line {
        width: 20px;
    }
    .featured-cause-title {
        font-size: 1.12rem;
        line-height: 1.35;
        margin-bottom: 10px;
        overflow-wrap: break-word;
        word-break: normal;
    }
    .featured-cause-desc {
        font-size: 0.84rem;
        line-height: 1.55;
        margin-bottom: 16px;
        overflow-wrap: break-word;
        word-break: normal;
    }
    .featured-cause-actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 8px !important;
        align-items: stretch !important;
    }
    .featured-cause-actions .btn {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-break: normal !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        box-sizing: border-box !important;
        padding: 11px 12px !important;
        font-size: 0.8rem !important;
        letter-spacing: 0.4px !important;
        line-height: 1.35 !important;
    }
    .featured-cause-actions .btn span {
        white-space: normal !important;
        word-break: normal !important;
        text-align: center !important;
    }
    .payment-methods-section {
        padding: 45px 0;
    }
    .payment-method-card {
        padding: 20px 14px;
        border-radius: var(--radius-md);
    }
    .payment-card-header {
        gap: 10px;
        margin-bottom: 16px;
        padding-bottom: 14px;
    }
    .payment-icon-wrap {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        border-radius: 8px;
    }
    .payment-method-name {
        font-size: 1.1rem;
    }
    .payment-bank-name {
        font-size: 0.78rem;
    }
    .bank-data-row {
        padding: 10px 10px;
    }
    .bank-data-row .data-val {
        font-size: 0.88rem;
    }
    .data-val.font-mono {
        font-size: clamp(0.78rem, 3.2vw, 0.88rem);
        letter-spacing: 0;
        word-break: break-all;
    }
    .btn-copy-small {
        padding: 3px 8px;
        font-size: 0.72rem;
    }
    .wallet-item {
        padding: 14px 12px;
    }
    .wallet-number {
        font-size: 1.05rem;
    }
    .payment-note {
        font-size: 0.76rem;
        padding-top: 12px;
        line-height: 1.4;
    }
    .international-donor-box {
        padding: 16px 12px;
    }
    .intl-title {
        font-size: 0.95rem;
    }
    .intl-desc {
        font-size: 0.8rem;
    }
    .about-why-exist-section {
        padding: 35px 0;
    }
    .why-exist-grid {
        gap: 24px;
    }
    .why-exist-content .section-heading {
        font-size: 1.35rem;
        line-height: 1.28;
    }
    .why-exist-content .section-lead {
        font-size: 0.88rem;
        line-height: 1.55;
    }
    .challenges-list {
        margin-top: 14px;
        gap: 10px;
    }
    .challenge-item {
        gap: 12px;
        padding: 14px 14px;
        border-radius: var(--radius-sm);
    }
    .challenge-num {
        width: 32px;
        height: 32px;
        font-size: 0.92rem;
    }
    .challenge-title {
        font-size: 0.94rem;
        margin-bottom: 3px;
    }
    .challenge-desc {
        font-size: 0.82rem;
        line-height: 1.5;
    }
    .stats-showcase-card {
        padding: 20px 14px;
        border-radius: var(--radius-sm);
    }
    .showcase-tag {
        font-size: 0.68rem;
        margin-bottom: 6px;
    }
    .showcase-title {
        font-size: 1.12rem;
        margin-bottom: 10px;
    }
    .showcase-divider {
        margin-bottom: 16px;
    }
    .showcase-stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 10px;
        margin-bottom: 18px;
    }
    .showcase-stat-item .stat-number {
        font-size: 1.32rem;
    }
    .showcase-stat-item .stat-label {
        font-size: 0.74rem;
        line-height: 1.3;
    }
    .showcase-footer .btn {
        padding: 11px 14px !important;
        font-size: 0.8rem !important;
    }
}




