/* ==================== VARIABLES ==================== */
:root {
    /* African tech palette with Bitcoin orange */
    --bitcoin-orange: #F7931A;
    --vibrant-orange: #FF6600;
    --african-gold: #FFB800;
    --deep-purple: #6B2D5C;
    --teal-accent: #00D9C0;
    --earthy-brown: #8B4513;
    --dark-bg: #0A0A0A;
    --card-bg: #141414;
    --border-color: #252525;
    --text-primary: #FFFFFF;
    --text-secondary: #999999;
    --accent: #F7931A;
    --gradient: linear-gradient(135deg, #F7931A 0%, #FF6600 100%);
    --african-gradient: linear-gradient(135deg, #F7931A 0%, #FFB800 50%, #FF6600 100%);
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
}

/* African pattern background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(247, 147, 26, 0.1) 35px, rgba(247, 147, 26, 0.1) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255, 184, 0, 0.1) 35px, rgba(255, 184, 0, 0.1) 70px);
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Work Sans', -apple-system, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 2px;
    line-height: 1.2;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(247, 147, 26, 0.3);
    transition: all 0.3s ease;
}

.logo-img:hover {
    border-color: var(--bitcoin-orange);
    transform: rotate(5deg) scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
    background: linear-gradient(135deg, #F7931A 0%, #FFB800 50%, #FF6600 100%);
    color: #FFF;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(247, 147, 26, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

/* ==================== HERO SECTION ==================== */
/* ==================== HERO WITH IMAGE ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

/* Full container for all background layers */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Layer 1 — actual photo, ghosted into the dark */
.hero-img-layer {
    position: absolute;
    inset: 0;
    background-image: url('hero-bg.jpeg');
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
    opacity: 0.22;
    transform: scale(1.06);
    filter: saturate(0.5) blur(0.6px);
    animation: heroSlowZoom 25s ease-in-out infinite alternate;
}

@keyframes heroSlowZoom {
    from { transform: scale(1.06) translateX(0px); }
    to   { transform: scale(1.11) translateX(-8px); }
}

/* Layer 2 — dark navbar area, open middle, fully dark at bottom */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(10,10,10,0.88) 0%,
            rgba(10,10,10,0.1)  28%,
            rgba(10,10,10,0.1)  62%,
            rgba(10,10,10,1)    100%
        ),
        linear-gradient(
            105deg,
            rgba(247,147,26,0.1) 0%,
            transparent          50%,
            rgba(255,184,0,0.04) 100%
        );
}

/* Layer 3 — radial vignette pulls focus to center content */
.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 90% 80% at 50% 42%,
        transparent 20%,
        rgba(10,10,10,0.6) 100%
    );
}

/* Ambient orange glow sitting behind text */
.hero .container {
    position: relative;
    z-index: 1;
}

.hero .container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 700px;
    height: 500px;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        ellipse,
        rgba(247,147,26,0.07) 0%,
        transparent 70%
    );
    pointer-events: none;
    animation: ambientPulse 5s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes ambientPulse {
    from { opacity: 0.5; transform: translate(-50%, -50%) scale(0.95); }
    to   { opacity: 1;   transform: translate(-50%, -50%) scale(1.1); }
}

/* Subtle horizontal scan line effect (African tech feel) */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0,0,0,0.04) 3px,
        rgba(0,0,0,0.04) 4px
    );
    pointer-events: none;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid rgba(247, 147, 26, 0.3);
    padding: 8px 20px;
    border-radius: 100px;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(48px, 7vw, 84px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.highlight {
    background: linear-gradient(135deg, #F7931A 0%, #FFB800 50%, #FF6600 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #F7931A 0%, #FFB800 50%, #FF6600 100%);
    opacity: 0.3;
}

.hero-text {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 48px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #F7931A 0%, #FFB800 50%, #FF6600 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Space Mono', monospace;
    text-shadow: 0 0 40px rgba(247, 147, 26, 0.3);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -10px); }
}

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

/* ==================== SECTIONS ==================== */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.dark-section {
    background: 
        linear-gradient(180deg, transparent 0%, rgba(247, 147, 26, 0.03) 50%, transparent 100%),
        repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(255, 184, 0, 0.02) 100px, rgba(255, 184, 0, 0.02) 200px);
    position: relative;
}

.dark-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 217, 192, 0.03) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(255, 184, 0, 0.03) 0%, transparent 30%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.tag {
    display: inline-block;
    background: rgba(247, 147, 26, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 100px;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 16px;
}

.lead {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ==================== ABOUT SECTION ==================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

.about-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(247, 147, 26, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.about-card:hover::before {
    top: 150%;
    right: 150%;
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(247, 147, 26, 0.5);
    box-shadow: 0 20px 60px rgba(247, 147, 26, 0.15);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.about-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

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

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

.mission-content h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.mission-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.check-list {
    list-style: none;
}

.check-list li {
    padding: 12px 0;
    padding-left: 32px;
    color: var(--text-secondary);
    position: relative;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.tech-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.tech-badge {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.tech-badge:hover {
    border-color: var(--accent);
    transform: scale(1.05);
}

/* ==================== ECOSYSTEM SECTION ==================== */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.eco-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s;
}

.eco-card:hover {
    transform: translateY(-8px);
    border-color: rgba(247, 147, 26, 0.5);
}

.eco-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.eco-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.eco-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.eco-card ul {
    list-style: none;
    margin-bottom: 20px;
}

.eco-card li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    padding-left: 20px;
    position: relative;
}

.eco-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.eco-count {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(247, 147, 26, 0.1);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

/* ==================== PROGRAMS SECTION ==================== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.program-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s;
}

.program-card.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.05) 0%, transparent 100%);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.program-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--gradient);
    color: #FFF;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.program-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.program-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.program-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.program-highlights {
    margin-bottom: 20px;
}

.highlight-item {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.program-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
}

.btn-program,
.btn-program-secondary {
    width: 100%;
    padding: 14px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-program {
    background: var(--gradient);
    border: none;
    color: #FFF;
}

.btn-program-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-program:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(247, 147, 26, 0.3);
}

.btn-program-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ==================== EVENTS SECTION ==================== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.event-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s;
}

.event-card.upcoming {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.05) 0%, transparent 100%);
}

.event-status {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--gradient);
    color: #FFF;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid rgba(247, 147, 26, 0.3);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    width: fit-content;
}

.event-date .month {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
}

.event-date .day {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.event-date .year {
    font-size: 12px;
    color: var(--text-secondary);
}

.event-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.event-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.event-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.btn-event {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-event:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.events-cta {
    text-align: center;
}

/* ==================== RESOURCES SECTION ==================== */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.resource-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: block;
}

.resource-card:hover {
    transform: translateY(-8px);
    border-color: rgba(247, 147, 26, 0.5);
}

.resource-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.resource-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.resource-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.resource-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
}

/* ==================== COMMUNITY SECTION ==================== */
.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.comm-stat {
    text-align: center;
}

.comm-number {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comm-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.community-benefits {
    margin: 32px 0;
}

.benefit {
    padding: 12px 0;
    color: var(--text-secondary);
}

.social-platforms h4 {
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.social-btn {
    padding: 10px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.social-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.community-visual {
    position: relative;
}

.africa-map-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 40px;
}

.africa-map {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(247, 147, 26, 0.3));
}

.africa-path {
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.8;
        filter: drop-shadow(0 0 10px rgba(247, 147, 26, 0.5));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(247, 147, 26, 0.8));
    }
}

.city-dot {
    animation: pulse-dot 2s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.city-dot:hover {
    r: 6;
    filter: drop-shadow(0 0 10px currentColor);
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

.connection-line {
    stroke-dasharray: 5, 5;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -100;
    }
}

.floating-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.float-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.float-card:nth-child(2) {
    animation-delay: -2s;
}

.float-card:nth-child(3) {
    animation-delay: -4s;
}

.float-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.float-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.float-count {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

/* ==================== CONTACT SECTION ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 24px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon {
    font-size: 24px;
}

.info-text h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.info-text p {
    color: var(--text-secondary);
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    border-radius: 6px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

/* ==================== NEWSLETTER ==================== */
.newsletter {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h3 {
    font-size: 32px;
    margin-bottom: 12px;
}

.newsletter-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 15px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark-bg);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(247, 147, 26, 0.3);
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
}

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

.footer-badges span {
    background: rgba(247, 147, 26, 0.1);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-menu {
        /* Controlled by the newer responsive block below */
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .about-mission,
    .community-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .programs-grid,
    .events-grid,
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }

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

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

    .newsletter-form {
        flex-direction: column;
    }

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

/* ==================== NEW SECTIONS STYLING ==================== */

/* About Grid 3 columns */
.about-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.about-card-large {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 12px;
    transition: all 0.3s;
}

.about-card-large:hover {
    border-color: rgba(247, 147, 26, 0.5);
    transform: translateY(-4px);
}

.about-card-large h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--bitcoin-orange);
}

/* Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.pillar-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    transition: all 0.3s;
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: rgba(247, 147, 26, 0.5);
    box-shadow: 0 20px 60px rgba(247, 147, 26, 0.15);
}

.pillar-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.pillar-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.pillar-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.pillar-list {
    list-style: none;
    padding: 0;
}

.pillar-list li {
    padding: 10px 0;
    padding-left: 24px;
    color: var(--text-secondary);
    position: relative;
    font-size: 14px;
}

.pillar-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--bitcoin-orange);
    font-weight: bold;
}

/* Event Cards Large */
.event-card-large {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s;
}

.event-card-large:hover {
    transform: translateY(-8px);
    border-color: rgba(247, 147, 26, 0.5);
}

.event-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #F7931A 0%, #FFB800 50%, #FF6600 100%);
    color: #FFF;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.event-meta {
    display: flex;
    gap: 20px;
    margin: 16px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.event-card-large h3 {
    font-size: 26px;
    margin-bottom: 12px;
}

/* Program Benefits */
.program-benefits {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.program-benefits li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.1) 0%, rgba(255, 184, 0, 0.05) 100%);
    border: 1px solid rgba(247, 147, 26, 0.3);
    padding: 60px 40px;
    border-radius: 16px;
    text-align: center;
    margin-top: 60px;
}

.cta-box h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Partners Logos Grid */
.partners-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.partner-logo-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partner-logo-card:hover {
    border-color: var(--bitcoin-orange);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(247, 147, 26, 0.2);
}

.partner-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 24px;
    border-radius: 12px;
}

.partner-logo-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.partner-logo-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 12px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    color: rgba(247, 147, 26, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-initial {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F7931A 0%, #FF6600 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: #FFF;
}

.testimonial-author h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.testimonial-author p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Impact Grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.impact-card {
    text-align: center;
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s;
}

.impact-card:hover {
    border-color: rgba(247, 147, 26, 0.5);
    transform: translateY(-4px);
}

.impact-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #F7931A 0%, #FFB800 50%, #FF6600 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Space Mono', monospace;
    margin-bottom: 12px;
}

.impact-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.impact-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(247, 147, 26, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    border: 2px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.gallery-placeholder:hover {
    border-color: var(--bitcoin-orange);
    background: rgba(247, 147, 26, 0.05);
}

.gallery-placeholder span {
    font-size: 48px;
    margin-bottom: 12px;
}

.gallery-placeholder p {
    color: var(--text-secondary);
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

.gallery-note {
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid rgba(247, 147, 26, 0.3);
    padding: 24px;
    border-radius: 8px;
    text-align: center;
}

.gallery-note p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* Involvement Grid */
.involvement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.involvement-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.involvement-card:hover {
    border-color: rgba(247, 147, 26, 0.5);
    transform: translateY(-8px);
}

.involvement-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.involvement-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.btn-involvement {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-involvement:hover {
    background: linear-gradient(135deg, #F7931A 0%, #FF6600 100%);
    border-color: transparent;
    transform: scale(1.02);
}

/* Footer Social Links */
.social-links-footer {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links-footer a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.social-links-footer a:hover {
    background: linear-gradient(135deg, #F7931A 0%, #FF6600 100%);
    border-color: transparent;
    color: #FFF;
    transform: translateY(-4px);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--bitcoin-orange);
}

.info-text a {
    color: var(--bitcoin-orange);
    text-decoration: none;
    transition: color 0.3s;
}

.info-text a:hover {
    color: var(--african-gold);
}

/* Responsive Updates */
@media (max-width: 768px) {
    .about-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================================
   RESPONSIVE FIXES — NO MORE TRIMMED CONTENT
   =================================================== */

/* --- Base overflow fix --- */
html, body {
    overflow-x: hidden;
    width: 100%;
}

* {
    box-sizing: border-box;
    max-width: 100%;
}

/* --- Favicon-friendly logo --- */
.logo {
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.2;
    color: var(--text-primary);
}

/* --- Nav responsive fix --- */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 14px 24px;
}

.nav-cta {
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
}

/* --- Hero responsive --- */
.hero-title {
    word-break: break-word;
    hyphens: auto;
}

.hero-cta {
    flex-wrap: wrap;
    gap: 12px;
}

.hero-cta a {
    text-decoration: none;
    flex-shrink: 0;
}

.hero-stats {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.stat-item {
    flex: 1 1 120px;
    min-width: 100px;
}

/* --- Section text fix --- */
.section-header h2,
.about-card h3,
.pillar-card h3,
.program-card h3,
.event-card-large h3,
.impact-card h4,
.involvement-card h3 {
    word-break: break-word;
    hyphens: auto;
}

.lead, .about-card p, .pillar-card p, .program-card p, .event-card-large p, .impact-card p {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* --- Grids responsive --- */
.about-grid,
.about-grid-3,
.pillars-grid,
.programs-grid,
.events-grid,
.impact-grid,
.involvement-grid,
.resources-grid,
.partners-logos-grid {
    width: 100%;
}

/* --- Gallery full fix --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

/* --- Images never overflow --- */
img {
    max-width: 100%;
    height: auto;
}

/* --- Buttons as links --- */
a.btn-primary, a.btn-secondary, a.btn-large, a.btn-involvement {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
}

a.btn-involvement {
    display: block;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s;
}

a.btn-involvement:hover {
    background: linear-gradient(135deg, #F7931A 0%, #FF6600 100%);
    border-color: transparent;
}

/* --- Subheading helper --- */
.sub-heading {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
}

/* --- Metrics note --- */
.metrics-note {
    text-align: center;
    margin-top: 40px;
    color: var(--text-secondary);
}

/* --- Mobile overlay --- */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 998;
}

.mobile-overlay.active {
    display: block;
}

/* --- Footer logo link --- */
.footer-logo {
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 2px;
}

/* ===================================================
   TABLET — 768px to 1024px
   =================================================== */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 16px;
    }

    .nav-menu a {
        font-size: 13px;
    }

    .hero-title {
        font-size: clamp(36px, 5vw, 64px);
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        gap: 24px;
    }

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

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

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

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

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

/* ===================================================
   MOBILE — up to 768px
   =================================================== */
@media (max-width: 768px) {

    /* Nav */
    .nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: rgba(10,10,10,0.98);
        border-left: 1px solid rgba(247,147,26,0.2);
        padding: 90px 32px 40px;
        gap: 8px;
        z-index: 999;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
        visibility: hidden;
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
        pointer-events: all;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .nav-menu a {
        font-size: 16px;
        color: var(--text-primary);
        display: block;
        padding: 14px 0;
    }

    .nav-menu a:hover {
        color: var(--bitcoin-orange);
        padding-left: 8px;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1000;
        padding: 6px;
    }

    .mobile-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-toggle.open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    .mobile-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-cta {
        display: none;
    }

    /* Hero */
    .hero {
        padding-top: 90px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 48px);
        margin-bottom: 16px;
    }

    .hero-text {
        font-size: 15px;
        padding: 0 8px;
    }

    .hero-badge {
        font-size: 10px;
        padding: 6px 14px;
        text-align: center;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-cta a, .hero-cta button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

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

    .stat-number {
        font-size: 32px;
    }

    /* Sections */
    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: clamp(24px, 6vw, 40px);
    }

    .lead {
        font-size: 16px;
    }

    /* Grids — all single column on mobile */
    .about-grid,
    .about-grid-3,
    .pillars-grid,
    .programs-grid,
    .events-grid,
    .impact-grid,
    .involvement-grid,
    .partners-logos-grid,
    .testimonials {
        grid-template-columns: 1fr;
    }

    /* Gallery — 1 column on small, 2 on medium mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    /* CTA box */
    .cta-box {
        padding: 36px 20px;
    }

    .cta-box h3 {
        font-size: 22px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cta-buttons a, .cta-buttons button {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .footer-legal {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    /* Newsletter */
    .newsletter-form {
        flex-direction: column;
    }

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

    /* Partner logos */
    .partner-img {
        width: 90px;
        height: 90px;
    }

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

/* ===================================================
   VERY SMALL — up to 400px
   =================================================== */
@media (max-width: 400px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-number {
        font-size: 26px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

    .about-card, .pillar-card, .program-card, .event-card-large, .impact-card {
        padding: 24px 16px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 14px;
    }
}
