/* ==========================================================================
   Huza Hope Africa — Main Stylesheet
   Brand colours: Hope Green #239A1D, Trust Blue #0C4EA3, Unity Orange #F4A223
   No gradients. Solid colours only. Mobile-first responsive.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Brand colours */
    --green: #239A1D;
    --green-dark: #1B7A16;
    --green-light: #E8F5E8;
    --blue: #0C4EA3;
    --blue-dark: #093D82;
    --blue-light: #E8F0FB;
    --orange: #F4A223;
    --orange-dark: #D4881A;
    --orange-light: #FDF4E3;

    /* Neutrals */
    --white: #FFFFFF;
    --dark-gray: #333333;
    --light-gray: #F4F6F8;
    --border-gray: #E1E5EA;
    --text-gray: #6B7280;
    --text-light: #9CA3AF;

    /* Typography */
    --font-heading: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
    --font-body: 'Inter', 'Segoe UI', Tahoma, sans-serif;

    /* Spacing scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Container */
    --container-max: 1200px;
    --container-pad: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.15);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 999px;

    /* Transitions */
    --transition: 0.3s ease;
    --transition-fast: 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--dark-gray);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--blue);
    line-height: 1.25;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

.text-green { color: var(--green) !important; }
.text-blue { color: var(--blue) !important; }
.text-orange { color: var(--orange) !important; }
.text-white { color: var(--white) !important; }
.text-gray { color: var(--text-gray) !important; }

.highlight-green {
    color: var(--green);
}

.highlight-blue {
    color: var(--blue);
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

.section {
    padding: var(--space-3xl) 0;
}

.section-sm {
    padding: var(--space-2xl) 0;
}

.section-light {
    background: var(--light-gray);
}

.section-blue {
    background: var(--blue);
    color: var(--white);
}

.section-blue h1,
.section-blue h2,
.section-blue h3,
.section-blue h4 {
    color: var(--white);
}

.section-green {
    background: var(--green);
    color: var(--white);
}

.section-green h1,
.section-green h2,
.section-green h3 {
    color: var(--white);
}

.grid {
    display: grid;
    gap: var(--space-lg);
}

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

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* --------------------------------------------------------------------------
   5. Eyebrow Label
   -------------------------------------------------------------------------- */
.eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: var(--space-sm);
    padding: 0.3rem 0.8rem;
    background: var(--green-light);
    border-radius: var(--radius-pill);
}

.eyebrow-orange {
    color: var(--orange-dark);
    background: var(--orange-light);
}

.eyebrow-white {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-green {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.btn-green:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-blue {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.btn-blue:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-orange {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

.btn-orange:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-green {
    background: transparent;
    color: var(--green);
    border-color: var(--green);
}

.btn-outline-green:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn-white {
    background: var(--white);
    color: var(--blue);
    border-color: var(--white);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--blue);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* --------------------------------------------------------------------------
   7. Navigation
   -------------------------------------------------------------------------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border-gray);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem var(--container-pad);
    max-width: var(--container-max);
    margin: 0 auto;
    gap: 1rem;
    height: 72px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    height: 100%;
}

.navbar-logo-img {
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: contain;
    display: block;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.navbar-links a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-gray);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.navbar-links a:hover {
    color: var(--green);
    background: var(--green-light);
}

.navbar-links a.active {
    color: var(--green);
    font-weight: 600;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--dark-gray);
    border-radius: 2px;
    transition: all var(--transition);
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}
.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
    padding: var(--space-3xl) 0 var(--space-2xl);
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-content h1 {
    margin-bottom: var(--space-md);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: var(--space-lg);
    max-width: 520px;
}

.hero-cta-group {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image-placeholder {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--light-gray);
    border: 2px dashed var(--border-gray);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-lg);
    overflow: hidden;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--green-light);
    opacity: 0.5;
}

.hero-image-placeholder .placeholder-content {
    position: relative;
    z-index: 1;
}

.hero-image-placeholder .placeholder-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
    color: var(--green);
}

.hero-image-placeholder .placeholder-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    max-width: 280px;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. Trust Strip
   -------------------------------------------------------------------------- */
.trust-strip {
    padding: var(--space-xl) 0;
    background: var(--light-gray);
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
}

.trust-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.trust-item-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.trust-item-icon svg {
    width: 26px;
    height: 26px;
}

.trust-item h4 {
    margin-bottom: 0.25rem;
    color: var(--blue);
}

.trust-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

/* --------------------------------------------------------------------------
   10. How It Works
   -------------------------------------------------------------------------- */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.step-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    position: relative;
}

.step-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--green);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--orange);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    box-shadow: 0 4px 12px rgba(244, 162, 35, 0.35);
}

.step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-sm);
    color: var(--green);
}

.step-card h4 {
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

/* --------------------------------------------------------------------------
   11. Stats Block
   -------------------------------------------------------------------------- */
.stats-block {
    background: var(--blue);
    color: var(--white);
    padding: var(--space-3xl) 0;
}

.stats-block .eyebrow {
    background: rgba(255, 255, 255, 0.12);
    color: var(--orange);
}

.stats-block h2 {
    color: var(--white);
    margin-bottom: var(--space-xl);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.stat-item {
    text-align: center;
    padding: var(--space-md);
}

.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-sm);
    color: var(--orange);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   12. Split Panel
   -------------------------------------------------------------------------- */
.split-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.split-panel-image {
    overflow: hidden;
    position: relative;
    min-height: 300px;
}

.split-panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.split-panel-image-placeholder {
    aspect-ratio: 4 / 3;
    background: var(--light-gray);
    border: 2px dashed var(--border-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-lg);
    position: relative;
}

.split-panel-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--green-light);
    opacity: 0.4;
}

.split-panel-image-placeholder .placeholder-content {
    position: relative;
    z-index: 1;
}

.split-panel-image-placeholder .placeholder-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    color: var(--green);
}

.split-panel-image-placeholder .placeholder-text {
    font-size: 0.85rem;
    color: var(--text-gray);
    max-width: 240px;
}

.split-panel-content {
    padding: var(--space-2xl);
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-panel-content h2 {
    margin-bottom: var(--space-md);
}

.split-panel-content p {
    color: var(--text-gray);
    margin-bottom: var(--space-lg);
    font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   13. Trust & Safety
   -------------------------------------------------------------------------- */
.safety-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.safety-item {
    text-align: center;
    padding: var(--space-lg);
}

.safety-icon {
    width: 64px;
    height: 64px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.safety-icon svg {
    width: 30px;
    height: 30px;
    color: var(--green);
}

.safety-item h4 {
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.safety-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

/* --------------------------------------------------------------------------
   14. Testimonials
   -------------------------------------------------------------------------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    transition: all var(--transition);
}

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

.testimonial-quote-mark {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--orange);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.testimonial-quote {
    font-size: 1rem;
    color: var(--dark-gray);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--green);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-author-info h5 {
    color: var(--blue);
    margin-bottom: 0.1rem;
}

.testimonial-author-info p {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin: 0;
}

/* --------------------------------------------------------------------------
   15. Opportunity Cards
   -------------------------------------------------------------------------- */
.opportunity-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.opportunity-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--green);
}

.opportunity-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.opportunity-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    background: var(--green-light);
    color: var(--green);
}

.opportunity-ngo {
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 500;
}

.opportunity-card h4 {
    color: var(--blue);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.opportunity-card .opp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: 0.85rem;
    color: var(--text-gray);
}

.opp-meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.opp-meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--green);
}

.opportunity-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.opportunity-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: var(--space-md);
}

.skill-tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.opportunity-card-footer {
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-gray);
}

/* --------------------------------------------------------------------------
   16. Blog Cards
   -------------------------------------------------------------------------- */
.blog-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.blog-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-image-placeholder {
    aspect-ratio: 16 / 9;
    background: var(--light-gray);
    border-bottom: 2px dashed var(--border-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-md);
    position: relative;
}

.blog-card-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--green-light);
    opacity: 0.3;
}

.blog-card-image-placeholder .placeholder-content {
    position: relative;
    z-index: 1;
}

.blog-card-image-placeholder .placeholder-icon {
    font-size: 2rem;
    color: var(--green);
    margin-bottom: 0.5rem;
}

.blog-card-image-placeholder .placeholder-text {
    font-size: 0.8rem;
    color: var(--text-gray);
    max-width: 200px;
}

.blog-card-body {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--orange-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.blog-card h4 {
    color: var(--blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.35;
}

.blog-card .blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8rem;
    color: var(--text-light);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-gray);
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--blue);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-md);
}

.footer-brand .footer-logo-img {
    height: 56px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-col h5 {
    color: var(--white);
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--orange);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

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

.footer-social a:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-md);
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links a:hover {
    color: var(--orange);
}

/* --------------------------------------------------------------------------
   18. Forms
   -------------------------------------------------------------------------- */
.form-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    max-width: 640px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--blue);
    margin-bottom: 0.4rem;
}

.form-group label .required {
    color: var(--orange-dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--dark-gray);
    background: var(--white);
    border: 1.5px solid var(--border-gray);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(35, 154, 29, 0.12);
}

.form-control::placeholder {
    color: var(--text-light);
}

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

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 0.3rem;
}

/* --------------------------------------------------------------------------
   19. Page Header (inner pages)
   -------------------------------------------------------------------------- */
.page-header {
    background: var(--light-gray);
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid var(--border-gray);
    text-align: center;
}

.page-header h1 {
    margin-bottom: var(--space-sm);
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: var(--space-md);
}

.breadcrumb a {
    color: var(--green);
}

.breadcrumb span {
    color: var(--text-light);
}

/* --------------------------------------------------------------------------
   20. Filters (Opportunities page)
   -------------------------------------------------------------------------- */
.filters-bar {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    margin-bottom: var(--space-xl);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-md);
    align-items: end;
    box-shadow: var(--shadow-sm);
}

.filters-bar .form-group {
    margin-bottom: 0;
}

.filters-bar label {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.results-count {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: var(--space-md);
}

.results-count strong {
    color: var(--blue);
}

.no-results {
    text-align: center;
    padding: var(--space-3xl) 0;
    color: var(--text-gray);
}

.no-results svg {
    width: 64px;
    height: 64px;
    color: var(--border-gray);
    margin: 0 auto var(--space-md);
}

/* --------------------------------------------------------------------------
   21. Role Selection (Signup page)
   -------------------------------------------------------------------------- */
.role-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
}

.role-card {
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.role-card:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.role-card-icon {
    width: 80px;
    height: 80px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.role-card-icon svg {
    width: 40px;
    height: 40px;
    color: var(--green);
}

.role-card h3 {
    color: var(--blue);
    margin-bottom: var(--space-sm);
}

.role-card p {
    color: var(--text-gray);
    margin-bottom: var(--space-lg);
    font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   22. Admin Dashboard
   -------------------------------------------------------------------------- */
.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: var(--space-xl);
    border-bottom: 2px solid var(--border-gray);
    flex-wrap: wrap;
}

.admin-tab {
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-gray);
    background: none;
    border: none;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition-fast);
}

.admin-tab:hover {
    color: var(--blue);
}

.admin-tab.active {
    color: var(--green);
    border-bottom-color: var(--green);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.admin-table th {
    background: var(--light-gray);
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-gray);
}

.admin-table td {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
    color: var(--dark-gray);
    border-bottom: 1px solid var(--border-gray);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover {
    background: var(--light-gray);
}

.status-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
}

.status-verified {
    background: var(--green-light);
    color: var(--green);
}

.status-pending {
    background: var(--orange-light);
    color: var(--orange-dark);
}

.status-active {
    background: var(--green-light);
    color: var(--green);
}

.status-inactive {
    background: #FEE2E2;
    color: #DC2626;
}

.admin-action-btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
    border: 1.5px solid var(--border-gray);
    background: var(--white);
    color: var(--blue);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-heading);
    font-weight: 500;
}

.admin-action-btn:hover {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.admin-stat-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
}

.admin-stat-card .stat-icon-sm {
    width: 40px;
    height: 40px;
    margin: 0 auto var(--space-sm);
    color: var(--green);
}

.admin-stat-card h3 {
    font-size: 2rem;
    color: var(--blue);
    margin-bottom: 0.25rem;
}

.admin-stat-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
}

/* --------------------------------------------------------------------------
   23. Thank You Page
   -------------------------------------------------------------------------- */
.thank-you {
    text-align: center;
    padding: var(--space-3xl) 0;
}

.thank-you-icon {
    width: 96px;
    height: 96px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.thank-you-icon svg {
    width: 48px;
    height: 48px;
    color: var(--green);
}

.thank-you h1 {
    margin-bottom: var(--space-md);
}

.thank-you p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 500px;
    margin: 0 auto var(--space-lg);
}

/* --------------------------------------------------------------------------
   24. 404 Page
   -------------------------------------------------------------------------- */
.error-page {
    text-align: center;
    padding: var(--space-3xl) 0;
}

.error-page h1 {
    font-size: 5rem;
    color: var(--orange);
    margin-bottom: var(--space-sm);
}

.error-page p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: var(--space-lg);
}

/* --------------------------------------------------------------------------
   25. Blog Post Detail
   -------------------------------------------------------------------------- */
.blog-post-hero {
    text-align: center;
    padding: var(--space-2xl) 0;
}

.blog-post-hero h1 {
    margin-bottom: var(--space-md);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: var(--space-lg);
}

.blog-post-image {
    aspect-ratio: 21 / 9;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-2xl);
    position: relative;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-post-image-placeholder {
    aspect-ratio: 21 / 9;
    background: var(--light-gray);
    border: 2px dashed var(--border-gray);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-lg);
    margin-bottom: var(--space-2xl);
    position: relative;
}

.blog-post-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--green-light);
    opacity: 0.3;
}

.blog-post-image-placeholder .placeholder-content {
    position: relative;
    z-index: 1;
}

.blog-post-content {
    max-width: 720px;
    margin: 0 auto;
}

.blog-post-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: var(--space-md);
}

.blog-post-content h2,
.blog-post-content h3 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.related-posts {
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--border-gray);
}

/* --------------------------------------------------------------------------
   26. Opportunity Detail
   -------------------------------------------------------------------------- */
.opp-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.opp-detail-main h1 {
    margin-bottom: var(--space-sm);
}

.opp-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    color: var(--text-gray);
    font-size: 0.95rem;
}

.opp-detail-meta .opp-meta-item svg {
    width: 18px;
    height: 18px;
}

.opp-detail-section {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-gray);
}

.opp-detail-section h3 {
    color: var(--blue);
    margin-bottom: var(--space-sm);
}

.opp-detail-sidebar {
    position: sticky;
    top: 100px;
}

.opp-detail-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.opp-detail-card h4 {
    color: var(--blue);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-gray);
}

.opp-detail-card .info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-gray);
}

.opp-detail-card .info-row:last-of-type {
    border-bottom: none;
}

.opp-detail-card .info-label {
    color: var(--text-gray);
}

.opp-detail-card .info-value {
    color: var(--dark-gray);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   27. About Page
   -------------------------------------------------------------------------- */
.about-mission {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-mission p {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.value-card {
    text-align: center;
    padding: var(--space-lg);
}

.value-card .value-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.value-card .value-icon svg {
    width: 32px;
    height: 32px;
}

.value-card h4 {
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

.value-green .value-icon { background: var(--green-light); }
.value-green .value-icon svg { color: var(--green); }
.value-blue .value-icon { background: var(--blue-light); }
.value-blue .value-icon svg { color: var(--blue); }
.value-orange .value-icon { background: var(--orange-light); }
.value-orange .value-icon svg { color: var(--orange); }
.value-gray .value-icon { background: var(--light-gray); }
.value-gray .value-icon svg { color: var(--dark-gray); }

.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-gray);
}

.timeline-item {
    position: relative;
    padding-left: 56px;
    margin-bottom: var(--space-xl);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--green);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--green);
}

.timeline-item h4 {
    color: var(--blue);
    margin-bottom: 0.25rem;
}

.timeline-item .timeline-date {
    font-size: 0.8rem;
    color: var(--orange-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0;
}

/* --------------------------------------------------------------------------
   28. For NGOs Page
   -------------------------------------------------------------------------- */
.ngo-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.ngo-benefit {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition);
}

.ngo-benefit:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.ngo-benefit .benefit-icon {
    width: 48px;
    height: 48px;
    background: var(--green-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.ngo-benefit .benefit-icon svg {
    width: 26px;
    height: 26px;
    color: var(--green);
}

.ngo-benefit h4 {
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.ngo-benefit p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

/* --------------------------------------------------------------------------
   29. How It Works Page (expanded)
   -------------------------------------------------------------------------- */
.journey-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.journey-tab {
    padding: 0.75rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-gray);
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--transition);
}

.journey-tab.active {
    color: var(--white);
    background: var(--green);
    border-color: var(--green);
}

.journey-steps {
    display: none;
}

.journey-steps.active {
    display: block;
}

.journey-step {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    align-items: flex-start;
}

.journey-step-number {
    width: 56px;
    height: 56px;
    background: var(--orange);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(244, 162, 35, 0.35);
}

.journey-step-content h4 {
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.journey-step-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0;
}

/* --------------------------------------------------------------------------
   30. Section Header
   -------------------------------------------------------------------------- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
}

.section-header-left {
    text-align: left;
    margin-left: 0;
}

/* --------------------------------------------------------------------------
   31. CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner {
    background: var(--green);
    color: var(--white);
    padding: var(--space-2xl) 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

/* --------------------------------------------------------------------------
   32. Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* --------------------------------------------------------------------------
   33. Floating WhatsApp Button
   -------------------------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: transform var(--transition), box-shadow var(--transition);
    animation: whatsapp-pulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

.whatsapp-float-tooltip {
    position: absolute;
    right: 68px;
    background: var(--dark-gray);
    color: #fff;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-family: var(--font-body);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.whatsapp-float-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid var(--dark-gray);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.whatsapp-float:hover .whatsapp-float-tooltip {
    opacity: 1;
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --------------------------------------------------------------------------
   34. Responsive — Tablet (max-width: 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .how-it-works-grid { grid-template-columns: repeat(2, 1fr); }
    .safety-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hero-image-placeholder {
        max-width: 500px;
        margin: 0 auto;
    }

    .split-panel {
        grid-template-columns: 1fr;
    }

    .split-panel-image {
        aspect-ratio: 16 / 9;
        min-height: 0;
    }

    .opp-detail-grid {
        grid-template-columns: 1fr;
    }

    .opp-detail-sidebar {
        position: static;
    }

    .filters-bar {
        grid-template-columns: 1fr 1fr;
    }

    .navbar-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-md);
        gap: 0;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-gray);
        transform: translateY(-150%);
        transition: transform var(--transition);
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }

    .navbar-links.open {
        transform: translateY(0);
    }

    .navbar-links a {
        padding: 0.85rem 1rem;
        border-radius: var(--radius-sm);
        border-bottom: 1px solid var(--border-gray);
    }

    .navbar-links a:last-child {
        border-bottom: none;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-actions .btn {
        display: none;
    }

    .navbar-actions .btn-mobile {
        display: inline-flex;
    }
}

/* --------------------------------------------------------------------------
   34. Responsive — Mobile (max-width: 640px)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
    :root {
        --container-pad: 1rem;
        --space-3xl: 4rem;
        --space-2xl: 3rem;
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    .stats-grid { grid-template-columns: 1fr 1fr; }
    .trust-strip-grid { grid-template-columns: 1fr; }
    .how-it-works-grid { grid-template-columns: 1fr; }
    .safety-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .admin-stats { grid-template-columns: 1fr 1fr; }
    .ngo-benefits-grid { grid-template-columns: 1fr; }
    .role-cards { grid-template-columns: 1fr; }

    .hero-cta-group {
        flex-direction: column;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .filters-bar {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .journey-step {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .journey-tabs {
        flex-direction: column;
        align-items: center;
    }

    .journey-tab {
        width: 100%;
        text-align: center;
    }

    .admin-table {
        font-size: 0.8rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.5rem;
    }

    .split-panel-content {
        padding: var(--space-lg);
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    .navbar-inner {
        padding: 0.4rem var(--container-pad);
        height: 60px;
    }

    .navbar-logo-img {
        height: 100%;
        width: auto;
    }
}

/* --------------------------------------------------------------------------
   35. Responsive — Small mobile (max-width: 380px)
   -------------------------------------------------------------------------- */
@media (max-width: 380px) {
    .stats-grid { grid-template-columns: 1fr; }
    .admin-stats { grid-template-columns: 1fr; }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    .btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }

    .navbar-logo-img {
        max-width: 160px;
    }

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

/* --------------------------------------------------------------------------
   36. Print
   -------------------------------------------------------------------------- */
@media print {
    .navbar, .footer, .cta-banner, .btn {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   37. Accessibility — Focus states
   -------------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
select:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   38. Utility
   -------------------------------------------------------------------------- */
.hidden { display: none !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.full-height { height: 100%; }
.rounded { border-radius: var(--radius-md); }
.shadow { box-shadow: var(--shadow-md); }
