/* Programs Page Styles */
.programs-hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.programs-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    filter: blur(70px);
}

/* Pillar rows */
.pillar-row {
    transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.3s ease;
}

.pillar-row:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

/* Swiper Coverflow Up/Down Effect */
.pillars-swiper .swiper-slide:not(.swiper-slide-active) .pillar-row {
    transform: translateY(-20px);
    opacity: 0.6;
}

.pillars-swiper .swiper-slide-active .pillar-row {
    transform: translateY(10px) scale(1.05);
    opacity: 1;
}

.pillar-number-col {
    min-height: 120px;
}

.pillar-num {
    font-size: 1.5rem;
    opacity: 0.8;
}

/* Soft badge backgrounds */
.bg-soft-info {
    background-color: #e0f2fe !important;
}

.bg-soft-success {
    background-color: #d1fae5 !important;
}

/* Impact cards */
.impact-group-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.impact-group-card:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.4);
}

.impact-bg-blob {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.mb-6 {
    margin-bottom: 4rem;
}

/* ===== WHERE WE WORK — MAP SECTION ===== */

/* SVG map itself */
.ethiopia-svg-map {
    width: 100%;
    max-width: 500px;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.ethiopia-svg-map:hover {
    transform: translateY(-6px) scale(1.02);
}

/* Map country fill — gradient + hover */
.ethiopia-svg-map path {
    fill: url(#mapGrad);
    stroke: rgba(52, 211, 153, 0.6);
    stroke-width: 2;
    stroke-linejoin: round;
    transition: fill 0.35s ease, stroke 0.35s ease;
    cursor: pointer;
}

.ethiopia-svg-map:hover path {
    fill: #2e7d32;
    stroke: #34d399;
}

/* Solid city dot */
.map-dot {
    fill: #34d399;
    stroke: #0f172a;
    stroke-width: 2;
}

/* Animated pulse ring */
.map-dot-ring {
    fill: none;
    stroke: #34d399;
    stroke-width: 1.5;
    opacity: 0.8;
    transform-origin: center;
    animation: mapPulse 2.2s ease-out infinite;
}

/* Staggered delays so dots pulse at different times */
.ethiopia-svg-map circle:nth-of-type(4) {
    animation-delay: 0.3s;
}

.ethiopia-svg-map circle:nth-of-type(6) {
    animation-delay: 0.7s;
}

.ethiopia-svg-map circle:nth-of-type(8) {
    animation-delay: 1.1s;
}

.ethiopia-svg-map circle:nth-of-type(10) {
    animation-delay: 1.5s;
}

@keyframes mapPulse {
    0% {
        r: 9px;
        opacity: 0.8;
    }

    100% {
        r: 28px;
        opacity: 0;
    }
}

/* Glow ring behind the entire map */
.map-glow-ring {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.06);
    }
}

/* Region cards on the right column */
.map-region-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.map-region-card:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 211, 153, 0.45);
    background: rgba(52, 211, 153, 0.08);
}