/* ==========================================================================
   Yelda Islamic Charity - Genius Engagement & Growth Features Styles
   Palette: Emerald (#0E4D3A / #0B3B24), Warm Gold (#C89B3C / #D4AF37),
            Deep Navy (#102538), Parchment (#FAF6ED / #FBF8F1)
   Font: Cairo, sans-serif
   ========================================================================== */

/* --------------------------------------------------------------------------
   Common Components & Section Wrapper
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Common Components & Section Wrapper
   -------------------------------------------------------------------------- */
.yelda-growth-section {
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.yelda-growth-section:not(.yelda-growth-section--dark) {
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFA 50%, #F5F7F6 100%);
    background-image: none;
    border-top: 1px solid rgba(14, 77, 58, 0.08);
    border-bottom: 1px solid rgba(14, 77, 58, 0.08);
}

.yelda-growth-section + .yelda-growth-section {
    border-top: none !important;
}

#impact-simulator, #zakat-calculator, #dedication-cards {
    scroll-margin-top: 105px !important;
}

.yelda-growth-section--dark {
    background: linear-gradient(145deg, #072517 0%, #0B3B24 60%, #061B11 100%);
    background-image: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
                      url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23D4AF37' fill-opacity='0.04'%3E%3Cpath d='M40 0L46 14L60 8L54 22L68 28L54 34L60 48L46 42L40 56L34 42L20 48L26 34L12 28L26 22L20 8L34 14Z'/%3E%3C/g%3E%3C/svg%3E");
    color: #FFFFFF;
}

.yelda-growth-section--dark .sec-title__title {
    color: #FFFFFF !important;
}

.yelda-growth-section--dark .sec-title__tagline {
    color: #D4AF37 !important;
}

.yelda-disclaimer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 24px;
    background: rgba(200, 155, 60, 0.15);
    border: 1px solid rgba(200, 155, 60, 0.4);
    color: #9A6712;
}

.yelda-growth-section--dark .yelda-disclaimer-badge {
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #F8D777;
}

/* --------------------------------------------------------------------------
   1. Impact Simulator Styles (Aligned with Reference UI Mockup)
   -------------------------------------------------------------------------- */
.impact-sim-card {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(16, 37, 56, 0.07);
    border: 1.5px solid rgba(14, 77, 58, 0.12);
    padding: 42px 36px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-sim-card:hover {
    box-shadow: 0 24px 50px rgba(14, 77, 58, 0.12);
}

.impact-sim-tiers-container {
    background: #FFFFFF;
    border: 1.5px solid rgba(14, 77, 58, 0.12);
    border-radius: 20px;
    padding: 24px 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(16, 37, 56, 0.03);
}

.impact-sim-tiers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 580px;
    margin: 0 auto;
}

.impact-sim-tier-btn {
    width: 100%;
    padding: 15px 24px;
    border-radius: 14px;
    border: 1.5px solid #E2E8F0;
    background: #FFFFFF;
    color: #1A202C;
    font-size: 17px;
    font-weight: 800;
    font-family: 'Cairo', 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.impact-sim-tier-btn:hover {
    border-color: #D4AF37;
    background: #FEFBF3;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.18);
}

.impact-sim-tier-btn.active {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%) !important;
    border-color: #D4AF37 !important;
    color: #102538 !important;
    box-shadow: 0 8px 24px rgba(184, 134, 11, 0.35) !important;
    transform: scale(1.02);
}

.impact-sim-tier-btn.active .impact-sim-tier-sub {
    color: #102538;
    opacity: 1;
}

.impact-sim-tier-sub {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #718096;
    margin-right: 8px;
}

[dir="ltr"] .impact-sim-tier-sub {
    margin-right: 0;
    margin-left: 8px;
}

/* Impact Result Box (Midnight/Emerald Luxury Card Matching Image) */
.impact-result-box {
    background: linear-gradient(135deg, #0C283E 0%, #092015 65%, #05160E 100%);
    border-radius: 20px;
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    padding: 32px 30px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 28px;
    box-shadow: 0 16px 36px rgba(12, 40, 62, 0.25);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .impact-result-box {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
}

.impact-result-graphic {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.impact-result-graphic svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
    transition: transform 0.4s ease;
}

.impact-result-box:hover .impact-result-graphic svg {
    transform: scale(1.06);
}

.impact-result-content {
    flex-grow: 1;
}

.impact-result-title {
    font-size: 22px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 10px;
    font-family: 'Cairo', 'Outfit', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.impact-result-text {
    font-size: 15px;
    color: #E2E8F0;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Commercial Bank of Syria Panel (Exact Match to Mockup) */
.impact-bank-container {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.impact-bank-box {
    display: flex;
    align-items: stretch;
    background: #FFFFFF;
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    flex-grow: 1;
    max-width: 600px;
}

.impact-bank-info {
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #FFFDF9;
    flex-grow: 1;
}

.impact-bank-crest {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.impact-bank-text {
    font-size: 14px;
    font-weight: 800;
    color: #1A202C;
}

.impact-bank-text strong {
    display: block;
    color: #0E4D3A;
    font-size: 15px;
}

.impact-bank-num-badge {
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px;
    font-weight: 900;
    color: #0E4D3A;
    letter-spacing: 1px;
    display: block;
    margin-top: 2px;
}

.impact-bank-tag {
    background: linear-gradient(135deg, #0E4D3A 0%, #061F13 100%);
    color: #F8D777;
    font-size: 13px;
    font-weight: 800;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 140px;
    border-right: 1px solid rgba(212, 175, 55, 0.3);
}

[dir="ltr"] .impact-bank-tag {
    border-right: none;
    border-left: 1px solid rgba(212, 175, 55, 0.3);
}

.impact-wa-btn-lg {
    background: #25D366;
    color: #073B1E !important;
    border-radius: 14px;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.impact-wa-btn-lg:hover {
    background: #1EBE5D;
    color: #042110 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

/* --------------------------------------------------------------------------
   2. Zakat & Kaffarah Calculator Styles
   -------------------------------------------------------------------------- */
.zakat-calc-card {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(16, 37, 56, 0.08);
    border: 1px solid #E2E8F0;
    overflow: hidden;
}

.zakat-tabs {
    display: flex;
    background: #F8FAFC;
    border-bottom: 2px solid #E2E8F0;
}

.zakat-tab-btn {
    flex: 1;
    padding: 18px 16px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 800;
    font-family: 'Cairo', 'Outfit', sans-serif;
    color: #4A5568;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    position: relative;
}

.zakat-tab-btn:hover {
    color: #0E4D3A;
    background: #FEFCF8;
}

.zakat-tab-btn.active {
    background: #FFFFFF;
    color: #0E4D3A;
}

.zakat-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3.5px;
    background: #D4AF37;
    border-radius: 4px 4px 0 0;
}

.zakat-tab-body {
    padding: 38px 34px;
    display: none;
}

.zakat-tab-body.active {
    display: block;
}

.zakat-input-group {
    margin-bottom: 24px;
}

.zakat-input-group label {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #1A202C;
    margin-bottom: 10px;
    font-family: 'Cairo', 'Outfit', sans-serif;
}

.zakat-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.zakat-input-wrap input,
.zakat-input-wrap select {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1.5px solid #CBD5E0;
    font-size: 17px;
    font-weight: 800;
    color: #102538;
    background: #FFFFFF;
    transition: all 0.2s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}

.zakat-input-wrap input:focus,
.zakat-input-wrap select:focus {
    border-color: #0E4D3A;
    box-shadow: 0 0 0 3px rgba(14, 77, 58, 0.12);
    outline: none;
}

.zakat-currency-badge {
    position: absolute;
    left: 14px;
    background: #EDF2F7;
    color: #4A5568;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    pointer-events: none;
    border: 1px solid #CBD5E0;
}

[dir="ltr"] .zakat-currency-badge {
    left: auto;
    right: 14px;
}

/* Emerald Box Matching Mockup for Nisab & Due Rate */
.zakat-nisab-highlight-box {
    background: linear-gradient(135deg, #F0FFF4 0%, #E6FFFA 100%);
    border: 2px solid #22543D;
    border-radius: 14px;
    padding: 20px 24px;
    margin-top: 20px;
    box-shadow: 0 4px 14px rgba(34, 84, 61, 0.08);
}

.zakat-nisab-badge {
    font-size: 16px;
    font-weight: 800;
    color: #22543D;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zakat-nisab-badge svg {
    width: 20px;
    height: 20px;
    fill: #276749;
}

.zakat-rate-badge {
    display: inline-block;
    background: #C6F6D5;
    color: #22543D;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 900;
}

.zakat-summary-box {
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px;
    margin-top: 22px;
}

.zakat-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
    color: #4A5568;
    font-weight: 700;
}

.zakat-summary-row--highlight {
    border-top: 2px dashed #CBD5E0;
    padding-top: 14px;
    margin-top: 14px;
    font-size: 20px;
    font-weight: 900;
    color: #0E4D3A;
}

.zakat-summary-val {
    font-family: 'Cairo', 'Outfit', sans-serif;
    font-weight: 900;
}

.kaffarah-stepper {
    display: inline-flex;
    align-items: center;
    border: 2px solid #CBD5E0;
    border-radius: 12px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.kaffarah-stepper-btn {
    width: 48px;
    height: 48px;
    background: #F8FAFC;
    border: none;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
    color: #0E4D3A;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kaffarah-stepper-btn:hover {
    background: #EDF2F7;
    color: #D4AF37;
}

.kaffarah-stepper-val {
    min-width: 56px;
    text-align: center;
    font-size: 19px;
    font-weight: 900;
    color: #102538;
}

.zakat-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #073B1E !important;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 15.5px;
    font-weight: 800;
    font-family: 'Cairo', 'Outfit', sans-serif;
    border: none;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.zakat-wa-btn:hover {
    background: #1EBE5D;
    color: #042110 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
}

/* --------------------------------------------------------------------------
   3. Real Interactive Neighborhood Map Styles ("نبض الحارات")
   -------------------------------------------------------------------------- */
.yelda-map-container {
    position: relative;
    width: 100%;
    background: radial-gradient(circle at center, #0F452C 0%, #072316 100%);
    border-radius: 24px;
    padding: 25px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#yeldaRealLeafletMap {
    width: 100%;
    height: 540px;
    border-radius: 18px;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1.5px solid rgba(212, 175, 55, 0.3);
}

/* Map Mode Switcher */
.yelda-map-mode-btn {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 13.5px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.yelda-map-mode-btn:hover {
    background: rgba(200, 155, 60, 0.3);
    color: #FFFFFF;
}

.yelda-map-mode-btn.active {
    background: #C89B3C !important;
    color: #102538 !important;
    border-color: #C89B3C !important;
    box-shadow: 0 4px 14px rgba(200, 155, 60, 0.4);
}

/* Category Filter Buttons Toolbar */
.map-category-filter-bar {
    position: relative;
    z-index: 5;
}

.map-cat-filter-btn {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #E2E8F0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 7px 16px;
    font-size: 13.5px;
    font-weight: 700;
    font-family: 'Cairo', 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
}

.map-cat-filter-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.map-cat-filter-btn.active {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%) !important;
    color: #072517 !important;
    border-color: #FDE047 !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.45);
    font-weight: 900;
}

/* Quick Projects Strip */
.map-projects-quick-strip-container {
    width: 100%;
    overflow-x: auto;
    padding: 4px 0 8px 0;
}

.project-quick-pill {
    background: rgba(16, 37, 56, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.2px solid rgba(212, 175, 55, 0.35);
    color: #F8FAFC;
    padding: 6px 14px;
    border-radius: 18px;
    font-size: 12.5px;
    font-weight: 700;
    font-family: 'Cairo', 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.project-quick-pill:hover {
    background: rgba(20, 90, 50, 0.95);
    border-color: #D4AF37;
    color: #FFE082;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.project-quick-pill.active {
    background: #0E4D3A;
    border-color: #F59E0B;
    color: #FDE047;
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.6);
}

.project-quick-pill i {
    color: #D4AF37;
}

.project-quick-pill.active i {
    color: #FDE047;
}

/* Custom Leaflet SVG Pins - No Permanent Overlapping Text Badges */
.yelda-leaflet-pin {
    background: transparent;
    border: none;
    text-align: center;
    cursor: pointer;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.yelda-leaflet-pin:hover,
.yelda-leaflet-pin.active {
    transform: scale(1.22) translateY(-6px);
    z-index: 1000 !important;
}

.pin-svg-wrapper {
    position: relative;
    display: inline-block;
}

.pin-pulse-svg {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.8) 0%, rgba(212, 175, 55, 0) 70%);
    animation: pinPulseRing 2s infinite ease-out;
    pointer-events: none;
}

/* Hide permanent text badges underneath pin to completely eliminate badge collisions */
.pin-label-badge {
    display: none !important;
}

/* Sleek Leaflet Tooltip (Zero Clutter, Appears on Hover & Active) */
.yelda-clean-map-tooltip {
    background: rgba(7, 37, 23, 0.96) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    color: #FFFFFF !important;
    border: 1.5px solid #D4AF37 !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    font-family: 'Cairo', 'Outfit', sans-serif !important;
    padding: 6px 14px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
    white-space: nowrap !important;
    pointer-events: none !important;
}

.yelda-clean-map-tooltip::before {
    border-top-color: #D4AF37 !important;
}

@keyframes pinPulseRing {
    0% { transform: translateX(-50%) scale(0.7); opacity: 0.9; }
    50% { transform: translateX(-50%) scale(1.6); opacity: 0.3; }
    100% { transform: translateX(-50%) scale(2.4); opacity: 0; }
}

.yelda-boundary-tooltip {
    background: rgba(16, 37, 56, 0.95) !important;
    color: #FFFFFF !important;
    border: 1px solid #E53E3E !important;
    border-radius: 6px !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

/* Map Content Row with Map and Stats Overlay */
.yelda-map-layout {
    position: relative;
    width: 100%;
}

/* Floating Statistics Card (Matching Reference UI Image - Right Side in RTL) */
.map-stats-floating {
    position: absolute;
    top: 25px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 18px;
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    padding: 16px 18px;
    width: 250px;
    max-width: 90%;
    color: #1A202C;
    transition: all 0.3s ease;
}

.map-stats-floating.minimized .map-stat-item,
.map-stats-floating.minimized .map-stats-cta-btn {
    display: none !important;
}

.map-stats-floating.minimized {
    padding: 10px 14px;
    width: auto;
}

.map-stats-floating.minimized .map-stats-title {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.map-stats-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #64748B;
    font-size: 13px;
    padding: 2px 6px;
    border-radius: 4px;
    transition: color 0.2s;
}

.map-stats-toggle-btn:hover {
    color: #0E4D3A;
    background: rgba(0, 0, 0, 0.05);
}

[dir="rtl"] .map-stats-floating {
    right: 25px;
    left: auto;
}

[dir="ltr"] .map-stats-floating {
    left: 25px;
    right: auto;
}

@media (max-width: 991px) {
    .map-stats-floating {
        position: absolute !important;
        top: 14px !important;
        z-index: 990 !important;
        width: auto !important;
        max-width: calc(100% - 28px) !important;
        margin-bottom: 0 !important;
        padding: 8px 14px !important;
        border-radius: 14px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
        background: rgba(255, 255, 255, 0.95) !important;
    }
    [dir="rtl"] .map-stats-floating {
        right: 14px !important;
        left: auto !important;
    }
    [dir="ltr"] .map-stats-floating {
        left: 14px !important;
        right: auto !important;
    }
    .map-stats-floating .map-stats-title {
        font-size: 12.5px;
        margin-bottom: 6px;
        padding-bottom: 4px;
    }
    .map-stats-floating .map-stat-item {
        margin-bottom: 6px;
    }
    .map-stats-floating .map-stat-num {
        font-size: 16px;
    }
    .map-stats-floating .map-stat-icon-badge {
        width: 28px;
        height: 28px;
    }
    .map-stats-floating .map-stat-icon-badge svg {
        width: 14px;
        height: 14px;
    }
    .map-stats-floating .map-stats-cta-btn {
        padding: 8px 12px;
        font-size: 13px;
        margin-top: 8px;
    }
}

.map-stats-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #0E4D3A;
    margin-bottom: 12px;
    text-align: center;
    border-bottom: 1.5px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 8px;
    font-family: 'Cairo', 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.map-stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 10px;
}

.map-stat-num {
    font-size: 20px;
    font-weight: 900;
    color: #102538;
    font-family: 'Cairo', 'Outfit', sans-serif;
    line-height: 1;
}

.map-stat-label {
    font-size: 12px;
    font-weight: 700;
    color: #4A5568;
    line-height: 1.3;
}

.map-stat-icon-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F6E05E 0%, #D69E2E 100%);
    color: #744210;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(214, 158, 46, 0.35);
}

.map-stat-icon-badge svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.map-stats-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #0E4D3A 0%, #072517 100%);
    color: #FFFFFF !important;
    text-align: center;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    margin-top: 14px;
    text-decoration: none !important;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 14px rgba(14, 77, 58, 0.3);
    transition: all 0.25s ease;
}

.map-stats-cta-btn:hover {
    background: #0B3B24;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 77, 58, 0.4);
}

/* Floating Detail Card (Matching Reference UI Image - Bottom Left in RTL) */
.map-card-floating {
    position: absolute;
    bottom: 25px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 20px;
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    padding: 20px 22px;
    color: #102538;
    max-width: 420px;
    width: 90%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-card-floating.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.map-card-close-btn {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    transition: all 0.2s;
}

[dir="ltr"] .map-card-close-btn {
    right: 14px;
    left: auto;
}

.map-card-close-btn:hover {
    background: #FEE2E2;
    color: #DC2626;
}

[dir="rtl"] .map-card-floating {
    left: 25px;
    right: auto;
}

[dir="ltr"] .map-card-floating {
    right: 25px;
    left: auto;
}

@media (max-width: 991px) {
    .map-card-floating {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 24px 24px 0 0 !important;
        border-bottom: none !important;
        border-left: none !important;
        border-right: none !important;
        z-index: 2000 !important;
        box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45) !important;
        padding: 24px 20px 28px !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        max-height: 65vh !important;
        overflow-y: auto !important;
        transform: translateY(0);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease !important;
    }

    .map-card-floating.hidden {
        transform: translateY(115%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Pull handle indicator on mobile */
    .map-card-floating::before {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 44px;
        height: 5px;
        border-radius: 3px;
        background: #CBD5E0;
    }
}

.map-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #0E4D3A;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-card-metric {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    font-weight: 700;
    color: #4A5568;
    margin-bottom: 8px;
}

.map-card-bar {
    height: 9px;
    border-radius: 6px;
    background: #E2E8F0;
    overflow: hidden;
    margin-bottom: 14px;
}

.map-card-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #D4AF37, #0E4D3A);
    border-radius: 6px;
    transition: width 0.6s ease;
}

/* --------------------------------------------------------------------------
   4. Digital Dedication Cards Styles (Matching Reference UI Mockup)
   -------------------------------------------------------------------------- */
.dedication-card-wrapper {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(16, 37, 56, 0.08);
    border: 1.5px solid rgba(200, 155, 60, 0.3);
    padding: 40px 36px;
}

.canvas-preview-box {
    background: #FAF8F2;
    border: 2px dashed rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    padding: 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.canvas-preview-box canvas {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Dedication Actions (Exact Match to Mockup Image: Stacked Full-Width Buttons) */
.dedication-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
}

.dedication-btn-gold {
    width: 100%;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: #102538 !important;
    border: none;
    padding: 15px 24px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 800;
    font-family: 'Cairo', 'Outfit', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 18px rgba(184, 134, 11, 0.3);
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.dedication-btn-gold:hover {
    background: linear-gradient(135deg, #E2BF4D 0%, #C89B3C 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(184, 134, 11, 0.4);
}

.dedication-btn-whatsapp {
    width: 100%;
    background: #FFFFFF;
    color: #0E4D3A !important;
    border: 2px solid #0E4D3A;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 800;
    font-family: 'Cairo', 'Outfit', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.dedication-btn-whatsapp:hover {
    background: #0E4D3A;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 77, 58, 0.25);
}

/* --------------------------------------------------------------------------
   Responsive adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .yelda-growth-section {
        padding: 60px 0;
    }
    .impact-sim-tier-btn {
        flex: 1 1 calc(33.3% - 12px);
    }
}

@media (max-width: 576px) {
    .impact-sim-tier-btn {
        flex: 1 1 100%;
    }
    .impact-sim-card,
    .dedication-card-wrapper,
    .zakat-tab-body {
        padding: 24px 18px;
    }
}

/* --------------------------------------------------------------------------
   Mobile Touch Scrolling & Layout Enhancements for Map Components
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .map-category-filter-bar {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding: 4px 6px 10px !important;
        gap: 6px !important;
        justify-content: flex-start !important;
    }
    .map-category-filter-bar::-webkit-scrollbar {
        display: none !important;
    }
    .map-cat-filter-btn {
        flex: 0 0 auto !important;
        font-size: 12px !important;
        padding: 6px 13px !important;
        white-space: nowrap !important;
    }

    .map-projects-quick-strip-container {
        padding: 2px 0 8px 0 !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .map-projects-quick-strip-container::-webkit-scrollbar {
        display: none !important;
    }
    #mapProjectsQuickStrip {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        justify-content: flex-start !important;
        padding: 0 6px !important;
    }
    .project-quick-pill {
        flex: 0 0 auto !important;
        font-size: 11.5px !important;
        padding: 5px 12px !important;
        white-space: nowrap !important;
    }

    .yelda-map-container {
        padding: 12px 10px !important;
        border-radius: 18px !important;
    }
    #yeldaRealLeafletMap {
        height: 480px !important;
        border-radius: 14px !important;
    }
}

/* --------------------------------------------------------------------------
   Dedicated Interactive Map Page Styles (.map-page)
   -------------------------------------------------------------------------- */
.map-page-body {
    background: #082317;
    color: #F8FAFC;
    font-family: 'Cairo', 'Outfit', sans-serif;
    min-height: 100vh;
}

.map-page-header {
    background: linear-gradient(135deg, #072316 0%, #0F452C 100%);
    border-bottom: 1.5px solid rgba(212, 175, 55, 0.35);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1020;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.map-page-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.map-page-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    color: #FFFFFF !important;
}

.map-page-brand img {
    height: 46px;
    width: auto;
}

.map-page-brand__title {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    display: block;
}

.map-page-brand__subtitle {
    font-size: 12px;
    color: #FDE047;
    font-weight: 600;
    display: block;
}

.map-page-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-page-nav-btn {
    border-radius: 14px;
    padding: 7px 16px;
    font-size: 13.5px;
    font-weight: 700;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
}

.map-page-nav-btn--return {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-page-nav-btn--return:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #FDE047 !important;
    transform: translateY(-1px);
}

.map-page-nav-btn--wa {
    background: #25D366;
    color: #073B1E !important;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.map-page-nav-btn--wa:hover {
    background: #1EBE5D;
    color: #042110 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}

/* Map Page Hero Bar */
.map-page-hero {
    background: radial-gradient(circle at 50% 20%, #145A32 0%, #08281A 70%, #04160E 100%);
    padding: 28px 0 20px 0;
    position: relative;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
}

.map-page-hero__badge {
    background: rgba(212, 175, 55, 0.15);
    color: #FDE047;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 20px;
    padding: 5px 16px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
}

.map-page-hero__title {
    font-size: 28px;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 8px;
    line-height: 1.3;
}

.map-page-hero__desc {
    color: #CBD5E0;
    font-size: 14.5px;
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Dedicated Map Full Viewport Container */
.map-page-viewport-section {
    padding: 24px 0 40px 0;
}

.map-page-map-container {
    background: radial-gradient(circle at center, #0F452C 0%, #072316 100%);
    border-radius: 24px;
    padding: 20px;
    border: 1.5px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    width: 100%;
}

.map-page-map-container #yeldaRealLeafletMap {
    height: 640px;
    border-radius: 18px;
    width: 100%;
}

@media (max-width: 768px) {
    .map-page-hero__title {
        font-size: 21px;
    }
    .map-page-hero__desc {
        font-size: 13px;
    }
    .map-page-brand__title {
        font-size: 14px;
    }
    .map-page-brand__subtitle {
        font-size: 11px;
    }
    .map-page-map-container {
        padding: 12px 8px !important;
        border-radius: 16px !important;
    }
    .map-page-map-container #yeldaRealLeafletMap {
        height: 500px !important;
        border-radius: 14px !important;
    }
}

/* Directory Section below map */
.map-directory-section {
    background: #051A11;
    padding: 60px 0 70px;
    border-top: 1.5px solid rgba(212, 175, 55, 0.3);
}

.map-directory-card {
    background: rgba(16, 37, 56, 0.7);
    border: 1.2px solid rgba(212, 175, 55, 0.25);
    border-radius: 18px;
    padding: 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.map-directory-card:hover {
    transform: translateY(-4px);
    border-color: #D4AF37;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    background: rgba(20, 90, 50, 0.35);
}

.map-directory-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.map-directory-card__badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 800;
}

.map-directory-card__badge.relief_project {
    background: rgba(16, 185, 129, 0.2);
    color: #6EE7B7;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.map-directory-card__badge.health {
    background: rgba(14, 165, 233, 0.2);
    color: #7DD3FC;
    border: 1px solid rgba(14, 165, 233, 0.4);
}

.map-directory-card__badge.mosque {
    background: rgba(245, 158, 11, 0.2);
    color: #FDE047;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.map-directory-card__badge.public_service {
    background: rgba(99, 102, 241, 0.2);
    color: #C7D2FE;
    border: 1px solid rgba(99, 102, 241, 0.4);
}

.map-directory-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    color: #FDE047;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.map-directory-card__title {
    font-size: 17px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 8px;
    line-height: 1.4;
}

.map-directory-card__desc {
    font-size: 13px;
    color: #CBD5E0;
    line-height: 1.6;
    margin-bottom: 14px;
    flex-grow: 1;
}

.map-directory-card__metric-box {
    background: rgba(0, 0, 0, 0.25);
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 14px;
}

.map-directory-card__metric-label {
    font-size: 11.5px;
    color: #A0AEC0;
}

.map-directory-card__metric-text {
    font-size: 12.5px;
    font-weight: 700;
    color: #FDE047;
}

.map-directory-card__actions {
    display: flex;
    gap: 8px;
}

.map-directory-card__actions .btn {
    border-radius: 14px;
    font-size: 12.5px;
    padding: 8px 12px;
    font-weight: 700;
}

/* =========================================================
   Smart Floating Action Widget (FAB + Quick Glass Menu)
   ========================================================= */
.yelda-floating-widget {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 12px;
    font-family: 'Cairo', 'Tajawal', sans-serif;
    pointer-events: none;
}

[dir="ltr"] .yelda-floating-widget,
html[lang="en"] .yelda-floating-widget {
    left: auto;
    right: 24px;
    align-items: flex-end;
}

body.map-page-body .yelda-floating-widget {
    display: none !important;
}

/* Main Circular Trigger Button */
.yelda-floating-fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #145A32 0%, #0E4D3A 60%, #082317 100%);
    border: 2px solid #D4AF37;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(212, 175, 55, 0.4);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    user-select: none;
    outline: none;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.yelda-floating-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), 0 0 24px rgba(212, 175, 55, 0.6);
    border-color: #FDE047;
    color: #FDE047;
}

.yelda-floating-fab:active {
    transform: scale(0.95);
}

.yelda-floating-fab .fab-icon-wa {
    color: #25D366;
    font-size: 28px;
    transition: transform 0.3s ease;
}

.yelda-floating-fab .fab-icon-close {
    display: none;
    font-size: 22px;
    color: #FFFFFF;
}

.yelda-floating-widget.open .yelda-floating-fab {
    background: #0E281C;
    border-color: #EF4444;
}

.yelda-floating-widget.open .yelda-floating-fab .fab-icon-wa {
    display: none;
}

.yelda-floating-widget.open .yelda-floating-fab .fab-icon-close {
    display: block;
    color: #EF4444;
}

/* Pulse Animation Ring */
.yelda-floating-fab::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.6);
    animation: yeldaFabPulse 2.4s infinite cubic-bezier(0.24, 0, 0.38, 1);
    pointer-events: none;
}

.yelda-floating-widget.open .yelda-floating-fab::after {
    animation: none;
}

@keyframes yeldaFabPulse {
    0% { transform: scale(0.95); opacity: 0.9; }
    70% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .yelda-floating-fab::after {
        animation: none;
    }
}

/* Quick Action Menu Cards */
.yelda-floating-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom center;
}

.yelda-floating-widget.open .yelda-floating-menu {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.yelda-floating-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(14, 77, 58, 0.95);
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    padding: 10px 16px;
    border-radius: 20px;
    color: #FFFFFF !important;
    text-decoration: none !important;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
    white-space: nowrap;
    pointer-events: auto;
    touch-action: manipulation;
}

.yelda-floating-item:hover {
    background: #145A32;
    border-color: #FDE047;
    color: #FDE047 !important;
    transform: translateX(4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

[dir="ltr"] .yelda-floating-item:hover,
html[lang="en"] .yelda-floating-item:hover {
    transform: translateX(-4px);
}

.yelda-floating-item__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.yelda-floating-item--wa .yelda-floating-item__icon {
    background: #25D366;
    color: #073B1E;
}

.yelda-floating-item--phone .yelda-floating-item__icon {
    background: #0284C7;
    color: #FFFFFF;
}

.yelda-floating-item--map .yelda-floating-item__icon {
    background: #D97706;
    color: #FFFFFF;
}

.yelda-floating-item--help .yelda-floating-item__icon {
    background: #8B5CF6;
    color: #FFFFFF;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .yelda-floating-widget {
        bottom: 16px;
        left: 16px;
    }
    [dir="ltr"] .yelda-floating-widget,
    html[lang="en"] .yelda-floating-widget {
        right: 16px;
    }
    .yelda-floating-fab {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
    .yelda-floating-fab .fab-icon-wa {
        font-size: 24px;
    }
    .yelda-floating-item {
        font-size: 12.5px;
        padding: 8px 14px;
    }
}

/* =========================================================
   Beneficiary Multi-Step Wizard & Stepper
   ========================================================= */
.bp-tracking-card-top {
    background: #FFFFFF;
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    border-radius: 24px;
    padding: 24px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.bp-tracking-card-top::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37, #0E4D3A, #D4AF37);
}

.bp-stepper-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin: 10px 0 35px;
    padding: 0 12px;
}

.bp-stepper-nav::before {
    content: '';
    position: absolute;
    top: 24px;
    right: 12%;
    left: 12%;
    height: 3px;
    background: #E2D4BD;
    z-index: 1;
}

.bp-step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    user-select: none;
}

.bp-step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid #E2D4BD;
    color: #718096;
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.bp-step-item.active .bp-step-circle {
    background: #0E4D3A;
    border-color: #D4AF37;
    color: #FDE047;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    transform: scale(1.12);
}

.bp-step-item.completed .bp-step-circle {
    background: #10B981;
    border-color: #059669;
    color: #FFFFFF;
}

.bp-step-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #4A5568;
    line-height: 1.3;
}

.bp-step-item.active .bp-step-label {
    color: #0E4D3A;
    font-weight: 800;
}

@media (max-width: 575px) {
    .bp-step-circle {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    .bp-step-label {
        font-size: 11.5px;
    }
    .bp-stepper-nav::before {
        top: 19px;
    }
}

.bp-step-pane {
    display: none;
    animation: bpFadeIn 0.3s ease;
}

.bp-step-pane.active {
    display: block;
}

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

.beneficiary-input-group.has-error input,
.beneficiary-input-group.has-error select,
.beneficiary-input-group.has-error textarea,
.beneficiary-input-group .form-control.is-invalid {
    border-color: #E53E3E !important;
    background-color: #FFF5F5 !important;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.2) !important;
}

.bp-field-error-msg {
    color: #E53E3E;
    font-size: 12px;
    font-weight: 700;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Step 3 Live Summary Review Box */
.bp-summary-review-card {
    background: #F7FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

.bp-summary-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.bp-summary-item {
    font-size: 13.5px;
}

.bp-summary-item__label {
    color: #718096;
    display: block;
    font-size: 12px;
    margin-bottom: 2px;
}
.bp-summary-item__val {
    color: #1A202C;
    font-weight: 700;
}

/* ==========================================================================
   Yelda Unified Direction-Neutral Button & Background Architecture
   Clean Architecture & WCAG AA Compliant
   ========================================================================== */

:root {
    --yelda-radius-btn: 14px;
    --yelda-radius-chip: 10px;
    --yelda-color-emerald-deep: #0A4332;
    --yelda-color-emerald-base: #0E4D3A;
    --yelda-color-gold-base: #C89B3C;
    --yelda-color-gold-dark: #9A6712;
    --yelda-color-navy-dark: #102538;
    --yelda-color-parchment: #FAF6ED;
    --yelda-color-whatsapp-dark: #073B1E;
}

/* 1. Neutralize legacy shutter animation spans */
.cherito-btn__hover {
    display: none !important;
}

/* 2. Primary Action CTA Button (Safe: No !important on display so .d-none works on mobile) */
.cherito-btn:not(.donate-form__amount__btn) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--yelda-radius-btn) !important;
    padding: 13px 28px;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, var(--yelda-color-emerald-deep) 0%, var(--yelda-color-emerald-base) 100%);
    color: #FFFFFF !important;
    border: 1px solid rgba(200, 155, 60, 0.4);
    box-shadow: 0 4px 14px rgba(10, 67, 50, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.cherito-btn:not(.donate-form__amount__btn):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(200, 155, 60, 0.35);
    background: linear-gradient(135deg, #0D5741 0%, #11634B 100%);
    color: #FFFFFF !important;
}

/* 3. Secondary White Button (WCAG AAA Contrast: 14.2:1 on hover) */
.cherito-btn--white {
    background: #FFFFFF !important;
    color: var(--yelda-color-emerald-base) !important;
    border: 1.5px solid var(--yelda-color-emerald-base) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.cherito-btn--white:hover {
    background: #F4EFE6 !important;
    color: #082317 !important;
    border-color: var(--yelda-color-gold-base) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}

/* 4. Project Card Buttons & Error Page Buttons */
.project-item__action,
.error-btn {
    border-radius: var(--yelda-radius-btn) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.project-item__action:hover,
.error-btn:hover {
    transform: translateY(-2px);
}

/* 5. Direct WhatsApp Action Buttons (WCAG AA Contrast: 5.2:1 with dark text) */
#donateWhatsAppBtn,
#sendDirectWhatsAppBtn,
#whatsAppSendLink {
    background: #25D366 !important;
    color: var(--yelda-color-whatsapp-dark) !important;
    font-weight: 800 !important;
    border: 1px solid #1EBE5D !important;
}

#donateWhatsAppBtn i,
#sendDirectWhatsAppBtn i,
#whatsAppSendLink i {
    color: var(--yelda-color-whatsapp-dark) !important;
}

#donateWhatsAppBtn:hover,
#sendDirectWhatsAppBtn:hover,
#whatsAppSendLink:hover {
    background: #1EBE5D !important;
    color: #042110 !important;
    transform: translateY(-2px);
}

/* 6. Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    .cherito-btn,
    .cherito-btn:hover,
    .project-item__action,
    .project-item__action:hover,
    .error-btn,
    .error-btn:hover,
    #donateWhatsAppBtn,
    #donateWhatsAppBtn:hover,
    #sendDirectWhatsAppBtn,
    #sendDirectWhatsAppBtn:hover,
    #whatsAppSendLink,
    #whatsAppSendLink:hover {
        transition: none !important;
        transform: none !important;
        box-shadow: none !important;
    }
}

/* 7. Projects Section: Warm Damascus Parchment Rhythm & High Contrast (WCAG AAA) */
.donations-three {
    background-color: var(--yelda-color-parchment, #FAF6ED) !important;
    position: relative;
}

.donations-three .sec-title__title {
    color: var(--yelda-color-emerald-base, #0E4D3A) !important;
}

.donations-three .text-muted {
    color: #4A5568 !important;
}

/* 8. Donation Amount Selection Chips (Preserves Active State Cleanly) */
.donate-form__amount__btn {
    border-radius: var(--yelda-radius-chip, 10px) !important;
    padding: 8px 18px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border: 1.5px solid #D6C7AF !important;
    background-color: #F4F0ED !important;
    color: #102538 !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
}

.donate-form__amount__btn:hover {
    background-color: #EDE5D8 !important;
    border-color: #C89B3C !important;
}

.donate-form__amount__btn.active {
    background-color: var(--yelda-color-emerald-base, #0E4D3A) !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border-color: var(--yelda-color-gold-base, #C89B3C) !important;
    box-shadow: 0 4px 12px rgba(14, 77, 58, 0.25) !important;
}


