/* ==========================================================================
   Wafaa for Idlib Campaign - Public Transparency Portal Styles
   Colors: Idlib (#0f332f, #b6a67d) | Wafaa (#006665, #7ec8a8)
   ========================================================================== */

:root {
    --idlib-pine: #0f332f;
    --idlib-gold: #b6a67d;
    --idlib-gold-light: #e6ca85;
    --wafaa-teal: #006665;
    --wafaa-mint: #7ec8a8;
    --wafaa-mint-light: #d4f3e4;
    --orient-navy: #0a2540;
    --wafaa-bg-dark: #091a18;
    --wafaa-card-border: rgba(182, 166, 125, 0.25);
    --wafaa-card-shadow: 0 10px 30px rgba(15, 51, 47, 0.08);
}

.wafaa-page {
    background-color: #ffffff;
    color: #2b3b38;
    overflow-x: hidden;
}

.wafaa-page.ltr,
[dir="ltr"] .wafaa-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.wafaa-hero {
    position: relative;
    min-height: 640px;
    background: linear-gradient(180deg, rgba(11, 38, 35, 0.45) 0%, rgba(9, 26, 24, 0.65) 100%),
        url('/images/wafaa_banner.jpg') center top / cover no-repeat;
    display: flex;
    align-items: center;
    padding: 85px 0 75px;
    color: #ffffff;
    box-shadow: inset 0 -20px 30px rgba(0, 0, 0, 0.25);
}

.wafaa-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(0, 102, 101, 0.12) 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.wafaa-emblems-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.wafaa-emblem-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid var(--idlib-gold);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.wafaa-emblem-card:hover {
    transform: translateY(-2px);
    border-color: var(--idlib-gold-light);
    box-shadow: 0 6px 25px rgba(182, 166, 125, 0.35);
}

.wafaa-emblem-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    padding: 2px;
    border: 1.5px solid var(--idlib-gold);
}

.wafaa-emblem-text {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.wafaa-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 18px;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.7));
    text-transform: none;
}

.wafaa-hero-title span {
    background: linear-gradient(135deg, #ffffff 30%, var(--wafaa-mint) 70%, var(--idlib-gold-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wafaa-hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.7;
    max-width: 820px;
    margin: 0 auto 35px;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

/* LTR English Overrides - Sleek & Uncluttered */
[dir="ltr"] .wafaa-hero-title,
body:not([dir="rtl"]) .wafaa-hero-title {
    font-size: clamp(1.8rem, 3.2vw, 2.7rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
    text-transform: none;
}

[dir="ltr"] .wafaa-hero-subtitle,
body:not([dir="rtl"]) .wafaa-hero-subtitle {
    font-size: clamp(0.95rem, 1.25vw, 1.15rem);
    max-width: 680px;
    line-height: 1.65;
    letter-spacing: -0.01em;
    margin: 0 auto 28px;
}

/* Hero Metrics Ribbon */
.wafaa-metrics-ribbon {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    max-width: 1050px;
    margin: 110px auto 0;
}

.wafaa-metric-box {
    background: rgba(15, 51, 47, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(182, 166, 125, 0.3);
    border-radius: 14px;
    padding: 16px 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.wafaa-metric-box:hover {
    border-color: var(--idlib-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.wafaa-metric-box.highlight {
    background: linear-gradient(135deg, rgba(0, 102, 101, 0.75) 0%, rgba(15, 51, 47, 0.85) 100%);
    border: 1.5px solid var(--idlib-gold);
    box-shadow: 0 0 20px rgba(182, 166, 125, 0.25);
}

.wafaa-metric-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wafaa-metric-value {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

[dir="ltr"] .wafaa-metric-label,
body:not([dir="rtl"]) .wafaa-metric-label {
    text-transform: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

[dir="ltr"] .wafaa-metric-value,
body:not([dir="rtl"]) .wafaa-metric-value {
    font-size: clamp(16px, 1.25vw, 20px);
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.wafaa-metric-box.highlight .wafaa-metric-value {
    color: var(--idlib-gold-light);
}

/* ==========================================================================
   2. FOUNDER PLEDGE & TRANSPARENCY SECTION
   ========================================================================== */
.wafaa-pledge-section {
    padding: 80px 0;
    background: #ffffff;
    border-bottom: 1px solid #dce8e2;
}

.wafaa-pledge-card {
    background: linear-gradient(145deg, #ffffff 0%, #f6faf8 100%);
    border: 1.5px solid rgba(182, 166, 125, 0.45);
    border-radius: 24px;
    padding: 40px 42px;
    box-shadow: 0 16px 45px rgba(15, 51, 47, 0.07);
    position: relative;
    overflow: hidden;
}

.wafaa-pledge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--wafaa-teal) 0%, var(--idlib-gold) 50%, var(--wafaa-mint) 100%);
}

/* Founder Executive Portrait Card */
.founder-portrait-card {
    background: #ffffff;
    border: 1.5px solid #dbe7e1;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(15, 51, 47, 0.07);
    text-align: center;
    transition: all 0.3s ease;
}

.founder-portrait-card:hover {
    box-shadow: 0 16px 40px rgba(0, 102, 101, 0.14);
    border-color: var(--idlib-gold);
}

.founder-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #1a2422;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.founder-img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    object-position: center 12%;
    display: block;
    transition: transform 0.4s ease;
}

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

.founder-pledge-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: linear-gradient(135deg, rgba(11, 38, 35, 0.94) 0%, rgba(0, 102, 101, 0.94) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid var(--idlib-gold);
    border-radius: 12px;
    padding: 8px 12px;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.pledge-badge-amount {
    font-size: 22px;
    font-weight: 700;
    color: var(--idlib-gold-light);
    line-height: 1.15;
    letter-spacing: 0.2px;
}

.pledge-badge-title {
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    margin-top: 2px;
}

.founder-meta {
    padding-top: 14px;
}

.founder-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--idlib-pine);
    margin-bottom: 4px;
}

.founder-role {
    font-size: 12.5px;
    color: #556c67;
    margin-bottom: 10px;
    line-height: 1.45;
}

.founder-affiliations {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.affiliation-tag {
    font-size: 11px;
    font-weight: 700;
    background: #edf5f2;
    color: var(--wafaa-teal);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #cfe2db;
}

/* Founder Content Area - Executive Trust Seals */
.founder-trust-seal-bar {
    display: inline-flex;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #d8e6df;
    border-radius: 14px;
    padding: 10px 18px;
    gap: 20px;
    box-shadow: 0 3px 12px rgba(15, 51, 47, 0.04);
    margin-bottom: 20px;
    max-width: 100%;
}

.trust-seal-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.seal-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 102, 101, 0.09);
    color: var(--wafaa-teal, #006665);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 102, 101, 0.18);
}

.seal-icon-box.verified {
    background: rgba(182, 166, 125, 0.15);
    color: #7d6428;
    border-color: rgba(182, 166, 125, 0.35);
}

.seal-text-content {
    display: flex;
    flex-direction: column;
    text-align: start;
}

.seal-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--wafaa-teal, #006665);
    letter-spacing: 0.3px;
    line-height: 1.25;
}

.audit-seal .seal-label {
    color: #876922;
}

.seal-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--idlib-pine, #0f332f);
    line-height: 1.35;
}

.trust-seal-divider {
    width: 1px;
    background: #dbe8e1;
    align-self: stretch;
    margin: 2px 0;
}

.founder-title {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--idlib-pine);
    margin-bottom: 16px;
}

/* Quote Box */
.founder-quote-box {
    position: relative;
    background: #ffffff;
    border: 1px solid #dce8e3;
    border-inline-start: 4px solid var(--wafaa-teal);
    border-radius: 14px;
    padding: 22px 28px;
    margin-bottom: 22px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.quote-mark-bg {
    position: absolute;
    bottom: 12px;
    inset-inline-end: 20px;
    font-size: 42px;
    color: rgba(182, 166, 125, 0.16);
    pointer-events: none;
    line-height: 1;
}

[dir="rtl"] .quote-mark-bg {
    transform: scaleX(-1);
}

.founder-quote-text {
    font-size: 15.5px;
    line-height: 1.85;
    color: #2b3d39;
    font-weight: 500;
    margin: 0;
    position: relative;
    z-index: 1;
}

[dir="ltr"] .founder-quote-text {
    font-size: 15px;
    line-height: 1.75;
    letter-spacing: -0.1px;
}

/* 3 Core Strategic Pillars */
.pledge-pillars-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

@media (max-width: 991.98px) {
    .pledge-pillars-row {
        grid-template-columns: 1fr;
    }
}

.pledge-pillar-item {
    background: #ffffff;
    border: 1.5px solid #dce8e2;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.pledge-pillar-item:hover {
    border-color: var(--wafaa-teal);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 101, 0.08);
}

.pillar-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 102, 101, 0.1);
    color: var(--wafaa-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.pillar-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--idlib-pine);
    margin-bottom: 2px;
}

.pillar-desc {
    font-size: 11.5px;
    color: #637974;
    line-height: 1.45;
}

/* Action Links */
.founder-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.founder-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.founder-link-btn.wiki {
    background: #f1f4f6;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.founder-link-btn.wiki:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.founder-link-btn.gah {
    background: linear-gradient(135deg, var(--idlib-pine) 0%, var(--wafaa-teal) 100%);
    color: #ffffff;
    border: 1px solid var(--idlib-gold);
}

.founder-link-btn.gah:hover {
    background: linear-gradient(135deg, #0b2522 0%, #00504f 100%);
    color: var(--idlib-gold-light);
    box-shadow: 0 4px 14px rgba(15, 51, 47, 0.25);
}

.founder-link-btn.orient {
    background: #ffffff;
    color: var(--wafaa-teal);
    border: 1.5px solid var(--wafaa-teal);
}

.founder-link-btn.orient:hover {
    background: var(--wafaa-teal);
    color: #ffffff;
}

.founder-link-btn.video {
    background: rgba(182, 166, 125, 0.12);
    color: #6a5725;
    border: 1.5px solid var(--idlib-gold);
    cursor: pointer;
}

.founder-link-btn.video:hover {
    background: var(--idlib-gold);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(182, 166, 125, 0.35);
}

/* ==========================================================================
   3. FINANCIAL TRANSPARENCY GAUGE & CHARTS
   ========================================================================== */
.wafaa-transparency-section {
    padding: 85px 0 95px;
    background: linear-gradient(180deg, #edf5f2 0%, #dfeee8 100%);
    border-top: 1px solid #d0e2dc;
    border-bottom: 1px solid #d0e2dc;
    position: relative;
}

.section-badge {
    display: inline-block;
    padding: 7px 18px;
    background: rgba(0, 102, 101, 0.12);
    border: 1.5px solid rgba(0, 102, 101, 0.28);
    border-radius: 50px;
    color: var(--wafaa-teal);
    font-weight: 700;
    font-size: 13.5px;
    margin-bottom: 14px;
}

.section-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--idlib-pine);
    margin-bottom: 15px;
}

.section-subtext {
    font-size: 16px;
    color: #4c635f;
    max-width: 720px;
    margin: 0 auto 45px;
    line-height: 1.7;
}

/* Grand Gauge Display Card */
.wafaa-gauge-card {
    background: #ffffff;
    border: 1.5px solid #cce0d8;
    border-radius: 24px;
    padding: 38px 40px;
    box-shadow: 0 16px 45px rgba(12, 43, 39, 0.09);
    margin-bottom: 35px;
}

.gauge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.gauge-stat-box {
    padding: 22px 20px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.gauge-stat-box.pledge {
    background: linear-gradient(135deg, rgba(182, 166, 125, 0.14) 0%, rgba(182, 166, 125, 0.05) 100%);
    border: 1.5px solid rgba(182, 166, 125, 0.55);
}

.gauge-stat-box.spent {
    background: linear-gradient(135deg, rgba(0, 102, 101, 0.1) 0%, rgba(0, 102, 101, 0.04) 100%);
    border: 1.5px solid rgba(0, 102, 101, 0.4);
}

.gauge-stat-box.remaining {
    background: linear-gradient(135deg, rgba(38, 166, 91, 0.1) 0%, rgba(38, 166, 91, 0.04) 100%);
    border: 1.5px solid rgba(38, 166, 91, 0.4);
}

.gauge-stat-title {
    font-size: 14px;
    font-weight: 700;
    color: #4b635e;
    margin-bottom: 8px;
}

.gauge-stat-number {
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.gauge-stat-box.pledge .gauge-stat-number {
    color: #8c733f;
}

.gauge-stat-box.spent .gauge-stat-number {
    color: var(--wafaa-teal);
}

.gauge-stat-box.remaining .gauge-stat-number {
    color: var(--idlib-pine);
}

/* ==========================================================================
   CLEAN & ELEGANT FINANCIAL PROGRESS SECTION
   ========================================================================== */
.wafaa-progress-clean-container {
    margin-top: 25px;
    padding: 22px 26px;
    background: #f7faf8;
    border: 1.5px solid #dce8e1;
    border-radius: 18px;
    transition: all 0.3s ease;
}

.wafaa-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

.progress-title-side {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.progress-label {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--idlib-pine);
    display: inline-flex;
    align-items: center;
}

.progress-ratio {
    font-size: 13.5px;
    font-weight: 600;
    color: #5d756f;
}

.progress-value-side {
    display: flex;
    align-items: center;
}

.progress-pct {
    font-size: 22px;
    font-weight: 700;
    color: var(--wafaa-teal);
    letter-spacing: -0.3px;
}

.wafaa-progress-track {
    height: 16px;
    background: #e2ede8;
    border-radius: 50px;
    display: flex;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.07);
    border: 1px solid #d2e3dc;
}

.wafaa-progress-fill {
    height: 100%;
    position: relative;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.wafaa-progress-fill.completed {
    background: linear-gradient(to left, #09332e 0%, var(--wafaa-teal) 100%);
    box-shadow: 0 0 8px rgba(0, 102, 101, 0.4);
    min-width: 12px;
}

[dir="ltr"] .wafaa-progress-fill.completed {
    background: linear-gradient(to right, #09332e 0%, var(--wafaa-teal) 100%);
}

.wafaa-progress-fill.inprogress {
    background: repeating-linear-gradient(-45deg,
            var(--idlib-gold),
            var(--idlib-gold) 6px,
            #cfbf93 6px,
            #cfbf93 12px);
    box-shadow: 0 0 8px rgba(182, 166, 125, 0.45);
    min-width: 12px;
    border-inline-start: 1.5px solid rgba(255, 255, 255, 0.8);
}

.wafaa-progress-fill.planned {
    background: linear-gradient(to left, #93c5fd 0%, #1d4ed8 100%);
    box-shadow: 0 0 8px rgba(29, 78, 216, 0.4);
    min-width: 12px;
    border-inline-start: 1.5px solid rgba(255, 255, 255, 0.8);
}

[dir="ltr"] .wafaa-progress-fill.planned {
    background: linear-gradient(to right, #93c5fd 0%, #1d4ed8 100%);
}

/* Financial Status Breakdown Grid (Executive Dashboard Cards) */
.wafaa-progress-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e2ebe6;
}

.progress-breakdown-card {
    background: #ffffff;
    border: 1px solid #d8e5df;
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 2px 6px rgba(12, 43, 39, 0.03);
    transition: all 0.22s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.progress-breakdown-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(12, 43, 39, 0.07);
}

.progress-breakdown-card.completed {
    border-inline-start: 4px solid var(--wafaa-teal, #006665);
    background: linear-gradient(135deg, rgba(0, 102, 101, 0.04) 0%, #ffffff 100%);
}

.progress-breakdown-card.inprogress {
    border-inline-start: 4px solid var(--idlib-gold, #b6a67d);
    background: linear-gradient(135deg, rgba(182, 166, 125, 0.06) 0%, #ffffff 100%);
}

.progress-breakdown-card.planned {
    border-inline-start: 4px solid #2563eb;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, #ffffff 100%);
}

.progress-breakdown-card.remaining {
    border-inline-start: 4px solid #475569;
    background: linear-gradient(135deg, rgba(71, 85, 105, 0.04) 0%, #ffffff 100%);
}

.breakdown-status-col {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
}

.breakdown-status-name {
    font-size: 13px;
    font-weight: 700;
    color: #4b635e;
    line-height: 1.25;
}

.breakdown-value-col {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.status-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-indicator-dot.completed {
    background: var(--wafaa-teal, #006665);
    box-shadow: 0 0 6px rgba(0, 102, 101, 0.5);
}

.status-indicator-dot.inprogress {
    background: var(--idlib-gold, #b6a67d);
    box-shadow: 0 0 6px rgba(182, 166, 125, 0.6);
    animation: statusPulse 2s infinite ease-in-out;
}

.status-indicator-dot.planned {
    background: #2563eb;
    box-shadow: 0 0 6px rgba(37, 99, 235, 0.5);
}

.status-indicator-dot.remaining {
    background: #64748b;
}

.breakdown-pct-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 20px;
    line-height: 1.2;
    flex-shrink: 0;
}

.breakdown-pct-badge.completed {
    background: rgba(0, 102, 101, 0.12);
    color: var(--wafaa-teal, #006665);
}

.breakdown-pct-badge.inprogress {
    background: rgba(182, 166, 125, 0.2);
    color: #7d6428;
}

.breakdown-pct-badge.planned {
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
}

.breakdown-pct-badge.remaining {
    background: rgba(71, 85, 105, 0.12);
    color: #334155;
}

.breakdown-amount {
    font-size: 17px;
    font-weight: 800;
    color: var(--idlib-pine, #0f332f);
    letter-spacing: -0.2px;
    line-height: 1.25;
}

/* Sector Breakdown Cards */
.sector-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.sector-card {
    background: #ffffff;
    border: 1px solid #d8e5df;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 2px 8px rgba(12, 43, 39, 0.04);
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-inline-start: 3.5px solid var(--wafaa-teal);
}

.sector-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(12, 43, 39, 0.08);
    border-color: var(--wafaa-teal);
}

.sector-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.sector-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #fff;
}

.sector-title {
    font-size: 15px;
    font-weight: 650;
    color: var(--idlib-pine);
    margin: 0;
}

.sector-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--wafaa-teal);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.sector-meta {
    font-size: 13px;
    color: #6c807b;
    display: flex;
    justify-content: space-between;
}

/* ==========================================================================
   4. TRANSPARENCY LEDGER (ACTIVITIES & PROJECTS)
   ========================================================================== */
.wafaa-ledger-section {
    padding: 85px 0 110px;
    background: #ffffff;
    position: relative;
}

/* Filters & Search Toolbar - Compact & Modern */
.ledger-toolbar {
    background: #f8faf9;
    border: 1px solid #dce8e1;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(15, 51, 47, 0.03);
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ledger-search-input {
    border: none !important;
    height: 100%;
    padding: 6px 12px;
    font-size: 13px;
    background: #ffffff;
    color: var(--idlib-pine);
    outline: none;
}

.ledger-search-input:focus {
    box-shadow: none;
    outline: none;
}

.filter-pills-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.filter-pill {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #d4e5de;
    background: #ffffff;
    color: #3f5953;
    text-decoration: none;
    transition: all 0.18s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--wafaa-teal);
    border-color: var(--wafaa-teal);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 102, 101, 0.2);
}

.filter-pill.active i {
    color: #ffffff !important;
}

/* Status Filter Tabs (Executive Segmented Bar) - Compact */
.ledger-status-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #eaf2ee;
    padding: 4px;
    border-radius: 50px;
    border: 1px solid #d2e3dc;
    margin: 0 auto 18px auto;
    max-width: fit-content;
}

.status-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6.5px 16px;
    border-radius: 50px;
    border: none;
    background: transparent;
    color: #4b635e;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.status-tab-btn:hover {
    color: var(--idlib-pine);
    background: rgba(255, 255, 255, 0.65);
}

.status-tab-btn.active {
    background: #ffffff;
    color: var(--idlib-pine);
    box-shadow: 0 2px 8px rgba(15, 51, 47, 0.08);
}

.status-tab-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-tab-dot.completed {
    background: var(--wafaa-teal);
    box-shadow: 0 0 6px rgba(0, 102, 101, 0.5);
}

.status-tab-dot.inprogress {
    background: var(--idlib-gold);
    box-shadow: 0 0 6px rgba(182, 166, 125, 0.7);
    animation: statusPulse 2s infinite ease-in-out;
}

.status-tab-dot.planned {
    background: #1d4ed8;
    box-shadow: 0 0 6px rgba(29, 78, 216, 0.5);
}

.status-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    background: #e2ede8;
    color: #455e58;
}

.status-tab-btn.active .status-tab-count {
    background: var(--wafaa-teal);
    color: #ffffff;
}

.status-tab-btn[data-status="InProgress"].active .status-tab-count {
    background: var(--idlib-gold);
    color: #ffffff;
}

@keyframes statusPulse {
    0% {
        transform: scale(0.92);
        box-shadow: 0 0 0 0 rgba(182, 166, 125, 0.7);
    }

    70% {
        transform: scale(1.08);
        box-shadow: 0 0 0 8px rgba(182, 166, 125, 0);
    }

    100% {
        transform: scale(0.92);
        box-shadow: 0 0 0 0 rgba(182, 166, 125, 0);
    }
}

.status-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--idlib-gold);
    display: inline-block;
    margin-inline-end: 6px;
    animation: statusPulse 2s infinite ease-in-out;
    vertical-align: middle;
}

.ledger-toolbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.ledger-toolbar-main {
    gap: 12px;
}

.ledger-search-box {
    flex: 1;
    min-width: 250px;
    max-width: 480px;
}

.search-input-group {
    box-shadow: 0 1px 3px rgba(15, 51, 47, 0.03);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #d4e3dc;
    background: #ffffff;
    height: 36px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.search-input-group .input-group-text {
    border: none !important;
    font-size: 13px;
    padding: 0 10px 0 12px;
    color: #647b74;
}

.search-input-group:focus-within {
    border-color: var(--wafaa-teal);
    box-shadow: 0 0 0 2.5px rgba(0, 102, 101, 0.12);
}

.ledger-actions-box {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.view-switcher-group {
    background: #e8f1ed;
    padding: 2.5px;
    border-radius: 8px;
    display: inline-flex;
    border: 1px solid #d5e4dd;
    height: 34px;
}

.btn-view-mode {
    border: none;
    background: transparent;
    padding: 4px 11px;
    border-radius: 6px !important;
    font-size: 12px;
    font-weight: 600;
    color: #4b635e;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.btn-view-mode:hover {
    color: var(--idlib-pine);
}

.btn-view-mode.active {
    background: #ffffff;
    color: var(--idlib-pine);
    box-shadow: 0 1px 4px rgba(15, 51, 47, 0.08);
}

.btn-reset-filters {
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #d2e3dc;
    color: #556c66;
    background: #ffffff;
    padding: 5px 12px;
    height: 34px;
    border-radius: 8px !important;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.btn-reset-filters:hover {
    background: #eaf3ef;
    color: var(--idlib-pine);
    border-color: #b7cece;
}

/* Secondary Row: Sector Pills + Results Counter Combined */
.ledger-toolbar-sub {
    border-top: 1px solid #edf4f0;
    padding-top: 8px;
    margin-top: 2px;
}

.ledger-results-counter {
    font-size: 12px;
    color: #556c66;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    background: #edf5f1;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid #dce8e1;
    height: 34px;
}

.ledger-results-counter strong {
    color: var(--idlib-pine);
    margin: 0 3px;
    font-weight: 700;
}

/* Activity Cards Grid - Compact & Refined */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

.activity-card {
    background: #ffffff;
    border: 1px solid #dfe9e4;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 2px 8px rgba(15, 51, 47, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.activity-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 51, 47, 0.08);
    border-color: var(--wafaa-teal);
}

.activity-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.activity-category-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2.5px 8px;
    border-radius: 5px;
    background: rgba(0, 102, 101, 0.07);
    color: var(--wafaa-teal);
    border: 1px solid rgba(0, 102, 101, 0.12);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.activity-status-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2.5px 8px;
    border-radius: 5px;
}

.activity-status-badge.completed {
    background: #eef9f3;
    color: #0d8a55;
    border: 1px solid rgba(13, 138, 85, 0.18);
}

.activity-status-badge.inprogress {
    background: #fef8eb;
    color: #a16207;
    border: 1px solid rgba(182, 166, 125, 0.35);
}

.activity-status-badge.planned {
    background: #f0f6ff;
    color: #1d4ed8;
    border: 1px solid rgba(29, 78, 216, 0.18);
}

.activity-title {
    font-size: 15px;
    font-weight: 650;
    color: var(--idlib-pine);
    line-height: 1.38;
    margin-bottom: 10px;
    min-height: 42px;
}

[dir="ltr"] .activity-title {
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.activity-amount-box {
    background: #f8faf9;
    border: 1px solid #e5eee9;
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.activity-amount-label {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.2;
    margin-bottom: 2px;
}

.activity-amount-box .small.text-muted {
    font-size: 11px !important;
    color: #7b8f8a !important;
}

.activity-amount-val {
    font-size: 17px;
    font-weight: 700;
    color: var(--wafaa-teal);
    letter-spacing: -0.02em;
}

.activity-notes {
    font-size: 12px;
    color: #556c67;
    line-height: 1.5;
    margin-bottom: 14px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

.activity-footer-actions {
    display: flex;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #f0f5f2;
}

.btn-doc-download {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6.5px 12px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    background: #f7faf9;
    color: #435b56;
    border: 1px solid #dce7e2;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-doc-download:hover {
    background: #eef4f1;
    color: var(--idlib-pine);
    border-color: #cbdad3;
}

.btn-project-link {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6.5px 12px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(0, 102, 101, 0.08);
    color: var(--wafaa-teal);
    border: 1px solid rgba(0, 102, 101, 0.22);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-project-link:hover {
    background: var(--wafaa-teal);
    color: #fff;
    border-color: var(--wafaa-teal);
    box-shadow: 0 3px 10px rgba(0, 102, 101, 0.2);
}

.activity-card.is-inprogress {
    border-color: rgba(182, 166, 125, 0.4);
    border-top: 2px solid var(--idlib-gold);
}

.activity-card.is-inprogress:hover {
    border-color: var(--idlib-gold);
    box-shadow: 0 10px 24px rgba(182, 166, 125, 0.12);
}

/* Executive Table View */
.ledger-table-container {
    background: #ffffff;
    border: 1.5px solid #d8e7e1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 51, 47, 0.05);
}

.ledger-table {
    margin-bottom: 0;
    width: 100%;
    vertical-align: middle;
}

.ledger-table thead {
    background: #f0f7f4;
    border-bottom: 1.5px solid #d4e5de;
}

.ledger-table thead th {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--idlib-pine);
    padding: 16px 18px;
    border: none;
    letter-spacing: -0.1px;
}

[dir="ltr"] .ledger-table thead th {
    font-size: 12.5px;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #3b5049;
}

.ledger-table tbody tr {
    border-bottom: 1px solid #edf3f0;
    transition: background-color 0.2s ease;
}

.ledger-table tbody tr:last-child {
    border-bottom: none;
}

.ledger-table tbody tr:hover {
    background-color: #f7faf8;
}

.ledger-table-row.is-inprogress {
    background-color: rgba(254, 243, 199, 0.15);
}

.ledger-table-row.is-inprogress:hover {
    background-color: rgba(254, 243, 199, 0.35);
}

.ledger-table td {
    padding: 16px 18px;
    vertical-align: middle;
    border: none;
}

/* Zebra striping for row contrast */
.ledger-table tbody tr:nth-child(even) {
    background-color: #f8fafa;
}

.ledger-table tbody tr:nth-child(even):hover {
    background-color: #f0f7f4;
}

/* Mobile: merged meta column (date + sector + status + amount + links) */
.mobile-meta {
    display: none;
    padding: 14px 16px;
    border-top: 1px solid #edf3f0;
}

@media (max-width: 767px) {
    .mobile-meta {
        display: table-cell;
        width: 30%;
    }

    .col-activity {
        width: 70%;
    }

    .mobile-activity-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 6px;
    }

    .mobile-link-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 6px;
        background-color: #f0f7f4;
        color: var(--wafaa-teal);
        font-size: 13px;
        transition: background-color 0.2s, color 0.2s;
    }

    .mobile-link-btn:hover {
        background-color: var(--wafaa-teal);
        color: #ffffff;
    }

    .mobile-meta-item {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        margin-bottom: 6px;
    }

    .mobile-meta-item:last-child {
        margin-bottom: 0;
        justify-content: flex-end;
    }

    .mobile-meta-amount {
        font-weight: 700;
        color: var(--wafaa-teal);
    }

    .mobile-meta-actions .d-inline-flex {
        gap: 4px;
    }
}

.table-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 6px;
    background: #eef5f2;
    color: #4b635e;
    font-size: 12.5px;
    font-weight: 600;
}

.table-activity-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--idlib-pine);
    margin-bottom: 4px;
    line-height: 1.35;
}

.table-activity-notes {
    font-size: 12.5px;
    color: #657b76;
    line-height: 1.4;
    max-width: 460px;
}

.table-project-ref {
    font-size: 12px;
    margin-top: 4px;
}

.table-project-ref a {
    color: var(--wafaa-teal);
    font-weight: 600;
    text-decoration: none;
}

.table-project-ref a:hover {
    text-decoration: underline;
}

.table-amount-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--wafaa-teal);
    letter-spacing: -0.01em;
}

.btn-outline-teal {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    border: 1.5px solid var(--wafaa-teal);
    color: var(--wafaa-teal);
    background: transparent;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-outline-teal:hover {
    background: var(--wafaa-teal);
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(0, 102, 101, 0.25);
}

.btn-outline-gold {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    border: 1.5px solid var(--idlib-gold);
    color: #927529;
    background: transparent;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-outline-gold:hover {
    background: var(--idlib-gold);
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(182, 166, 125, 0.35);
}

/* Empty State */
.activities-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 18px;
    border: 1px dashed #cedbd5;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS (TABLETS, MOBILES & SMALL SCREENS)
   ========================================================================== */

/* Medium Devices & Tablets (< 992px) */
@media (max-width: 991.98px) {
    .wafaa-hero {
        min-height: auto;
        padding: 60px 0 50px;
    }

    .wafaa-emblems-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 14px;
        margin-bottom: 22px;
        justify-content: center;
    }

    .wafaa-emblem-card {
        padding: 8px 16px;
        border-radius: 14px;
    }

    .wafaa-emblem-img {
        width: 46px;
        height: 46px;
    }

    .wafaa-emblem-text {
        font-size: 14px;
        font-weight: 700;
    }

    .wafaa-metrics-ribbon {
        margin: 36px auto 0;
        gap: 14px;
        grid-template-columns: repeat(2, 1fr);
        max-width: 680px;
    }

    .wafaa-pledge-section {
        padding: 50px 0;
    }

    .wafaa-pledge-card {
        padding: 28px 24px;
        border-radius: 20px;
    }

    /* Founder portrait at top of section on mobile/tablet */
    .founder-portrait-card {
        max-width: 380px;
        margin: 0 auto 16px auto;
        padding: 16px;
        border-radius: 18px;
    }

    .founder-img {
        height: 280px;
    }

    .founder-content-wrapper {
        text-align: start;
    }

    .founder-trust-seal-bar {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        padding: 12px 16px;
    }

    .trust-seal-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .pledge-pillars-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .wafaa-transparency-section {
        padding: 55px 0 65px;
    }

    .wafaa-gauge-card {
        padding: 26px 24px;
        border-radius: 20px;
    }

    .gauge-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

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

    .wafaa-ledger-section {
        padding: 55px 0 70px;
    }
}

/* Mobile Devices (< 768px) */
@media (max-width: 767.98px) {

    /* Section Outer Spacings */
    .wafaa-hero {
        padding: 44px 0 34px;
    }

    .wafaa-pledge-section {
        padding: 36px 0;
    }

    .wafaa-transparency-section {
        padding: 36px 0 44px;
    }

    .wafaa-ledger-section {
        padding: 36px 0 50px;
    }

    /* Hero Section Responsive */
    .wafaa-emblems-wrapper {
        gap: 12px;
        margin-bottom: 20px;
        justify-content: center;
    }

    .wafaa-emblem-card {
        padding: 8px 16px;
        gap: 10px;
        border-radius: 14px;
    }

    .wafaa-emblem-img {
        width: 44px;
        height: 44px;
    }

    .wafaa-emblem-text {
        font-size: 13.5px;
        font-weight: 700;
    }

    .wafaa-hero-title {
        font-size: clamp(1.85rem, 6.2vw, 2.35rem);
        margin-bottom: 14px;
        line-height: 1.32;
        font-weight: 800;
    }

    [dir="ltr"] .wafaa-hero-title,
    body:not([dir="rtl"]) .wafaa-hero-title {
        font-size: clamp(1.65rem, 5.5vw, 2.1rem);
        line-height: 1.32;
    }

    .wafaa-hero-subtitle {
        font-size: 15px;
        line-height: 1.7;
        margin: 0 auto 20px;
        max-width: 100%;
        padding: 0 4px;
        font-weight: 500;
    }

    [dir="ltr"] .wafaa-hero-subtitle,
    body:not([dir="rtl"]) .wafaa-hero-subtitle {
        font-size: 14.5px;
        line-height: 1.65;
    }

    .wafaa-metrics-ribbon {
        margin: 26px auto 0;
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }

    .wafaa-metric-box {
        padding: 13px 12px;
        border-radius: 14px;
    }

    .wafaa-metric-label {
        font-size: 12.5px;
        font-weight: 600;
        margin-bottom: 4px;
        letter-spacing: 0;
    }

    .wafaa-metric-value {
        font-size: 20px;
        font-weight: 800;
    }

    .wafaa-metric-box.highlight .wafaa-metric-value {
        font-size: 21px;
        font-weight: 800;
    }

    /* Section 2: Founder Pledge Card & Reordering */
    .wafaa-pledge-card {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .founder-portrait-card {
        max-width: 100%;
        padding: 14px;
        border-radius: 16px;
        margin-bottom: 14px;
    }

    .founder-img {
        height: 250px;
        border-radius: 14px;
    }

    .founder-pledge-badge {
        padding: 8px 14px;
        bottom: 10px;
        left: 10px;
        right: 10px;
        border-radius: 12px;
    }

    .pledge-badge-amount {
        font-size: 22px;
        font-weight: 800;
    }

    .pledge-badge-title {
        font-size: 12px;
        font-weight: 600;
    }

    .founder-name {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 4px;
    }

    .founder-role {
        font-size: 13px;
        margin-bottom: 10px;
        line-height: 1.45;
    }

    .founder-affiliations {
        gap: 6px;
    }

    .affiliation-tag {
        font-size: 11.5px;
        padding: 3px 10px;
        font-weight: 700;
    }

    /* Founder Executive Trust Seals */
    .founder-trust-seal-bar {
        flex-direction: column;
        width: 100%;
        padding: 12px 14px;
        gap: 10px;
        border-radius: 14px;
        margin-bottom: 16px;
    }

    .trust-seal-item {
        gap: 12px;
    }

    .seal-icon-box {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 9px;
    }

    .seal-label {
        font-size: 11.5px;
        font-weight: 800;
    }

    .seal-title {
        font-size: 13.5px;
        font-weight: 700;
    }

    .trust-seal-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .founder-title {
        font-size: 20px;
        line-height: 1.35;
        margin-bottom: 14px;
        text-align: start;
        font-weight: 700;
    }

    [dir="ltr"] .founder-title,
    body:not([dir="rtl"]) .founder-title {
        font-size: 19px;
        letter-spacing: -0.01em;
    }

    .founder-quote-box {
        padding: 16px 18px;
        margin-bottom: 16px;
        border-radius: 14px;
    }

    .founder-quote-text {
        font-size: 14.5px;
        line-height: 1.75;
        font-weight: 500;
    }

    [dir="ltr"] .founder-quote-text,
    body:not([dir="rtl"]) .founder-quote-text {
        font-size: 14px;
        line-height: 1.65;
    }

    .quote-mark-bg {
        font-size: 34px;
        bottom: 8px;
        inset-inline-end: 12px;
    }

    .pledge-pillars-row {
        gap: 10px;
        margin-bottom: 18px;
    }

    .pledge-pillar-item {
        padding: 12px 14px;
        gap: 12px;
        border-radius: 12px;
    }

    .pillar-icon-box {
        width: 38px;
        height: 38px;
        font-size: 15px;
        border-radius: 10px;
    }

    .pillar-title {
        font-size: 14px;
        font-weight: 700;
        text-align: start;
    }

    .pillar-desc {
        font-size: 12.5px;
        line-height: 1.5;
        text-align: start;
    }

    .founder-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        width: 100%;
    }

    .founder-link-btn {
        width: 100%;
        padding: 9px 10px;
        font-size: 12.5px;
        min-height: 38px;
        justify-content: center;
        text-align: center;
        border-radius: 9px;
        font-weight: 600;
    }

    [dir="ltr"] .founder-link-btn,
    body:not([dir="rtl"]) .founder-link-btn {
        font-size: 12px;
        letter-spacing: -0.2px;
    }

    /* Section 3: Financial Transparency */
    .section-badge {
        font-size: 12.5px;
        padding: 6px 14px;
        margin-bottom: 10px;
    }

    .section-heading {
        font-size: 21px;
        margin-bottom: 10px;
        line-height: 1.35;
        font-weight: 700;
    }

    .section-subtext {
        font-size: 14.5px;
        line-height: 1.65;
        margin: 0 auto 22px;
        padding: 0 4px;
    }

    .wafaa-gauge-card {
        padding: 18px 16px;
        border-radius: 16px;
        margin-bottom: 22px;
    }

    .gauge-grid {
        gap: 12px;
        margin-bottom: 18px;
    }

    .gauge-stat-box {
        padding: 14px 16px;
        border-radius: 12px;
    }

    .gauge-stat-title {
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 4px;
    }

    .gauge-stat-number {
        font-size: 22px;
        font-weight: 800;
    }

    .wafaa-progress-clean-container {
        padding: 16px 14px;
        border-radius: 14px;
        margin-top: 16px;
    }

    .wafaa-progress-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: 8px;
    }

    .progress-title-side {
        width: 100%;
        justify-content: space-between;
    }

    .progress-label {
        font-size: 13.5px;
        font-weight: 700;
    }

    .progress-ratio {
        font-size: 12.5px;
        font-weight: 600;
    }

    .progress-pct {
        font-size: 20px;
        font-weight: 800;
    }

    .wafaa-progress-track {
        height: 13px;
    }

    .wafaa-progress-breakdown-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-top: 14px !important;
        padding-top: 14px !important;
    }

    .progress-breakdown-card {
        padding: 10px 12px !important;
        border-radius: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        min-height: 72px !important;
    }

    .breakdown-status-col {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin-bottom: 6px !important;
    }

    .breakdown-status-name {
        font-size: 12px !important;
        font-weight: 700 !important;
        color: #4b635e !important;
    }

    .breakdown-value-col {
        display: flex !important;
        align-items: baseline !important;
        justify-content: space-between !important;
        gap: 6px !important;
        width: 100% !important;
    }

    .breakdown-amount {
        font-size: 15.5px !important;
        font-weight: 800 !important;
    }

    .breakdown-pct-badge {
        font-size: 10.5px !important;
        padding: 2px 6px !important;
    }

    .sector-breakdown-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sector-card {
        padding: 14px 16px;
        border-radius: 12px;
    }

    .sector-header {
        margin-bottom: 6px;
        gap: 10px;
    }

    .sector-icon-box {
        width: 36px;
        height: 36px;
        font-size: 14px;
        border-radius: 9px;
    }

    .sector-title {
        font-size: 14.5px;
        font-weight: 700;
    }

    .sector-amount {
        font-size: 17.5px;
        font-weight: 800;
        margin-bottom: 2px;
    }

    .sector-meta {
        font-size: 12.5px;
    }

    /* Section 4: Operational Ledger & Filters */
    .ledger-toolbar {
        padding: 14px;
        border-radius: 14px;
        gap: 12px;
    }

    .ledger-status-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
        padding: 4px;
        margin-bottom: 16px;
    }

    .status-tab-btn {
        padding: 8px 8px;
        font-size: 12.5px;
        font-weight: 700;
        justify-content: center;
        width: 100%;
        border-radius: 8px;
        gap: 6px;
        min-height: 38px;
    }

    .status-tab-count {
        font-size: 11.5px;
        padding: 2px 7px;
    }

    .ledger-toolbar-main {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .ledger-search-box {
        min-width: 100%;
        max-width: 100%;
    }

    .search-input-group {
        height: 40px;
    }

    .ledger-search-input {
        font-size: 13.5px;
    }

    .ledger-actions-box {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        gap: 8px !important;
    }

    .view-switcher-group {
        height: 36px;
        flex-shrink: 0;
    }

    .btn-view-mode {
        padding: 5px 12px;
        font-size: 12.5px;
        font-weight: 600;
    }

    .btn-reset-filters {
        display: none !important;
    }

    .ledger-results-counter {
        width: auto !important;
        font-size: 12px !important;
        padding: 5px 12px !important;
        border-radius: 20px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        flex-shrink: 0;
        margin: 0 !important;
    }

    /* Sector Filter Pills: 2 per line (50% each) on Mobile */
    .ledger-toolbar-sub {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        border-top: 1px solid #edf4f0;
        padding-top: 10px;
        margin-top: 4px;
    }

    .filter-pills-row {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .filter-pill {
        width: 100% !important;
        min-height: 42px !important;
        padding: 8px 10px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 7px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        box-sizing: border-box !important;
    }

    /* Activity Cards (Default Mobile View) */
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .activity-card {
        padding: 16px;
        border-radius: 14px;
    }

    .activity-category-badge {
        font-size: 12px;
        padding: 4px 10px;
    }

    .activity-status-badge {
        font-size: 12px;
        padding: 4px 10px;
    }

    .activity-title {
        font-size: 15px;
        min-height: auto;
        margin-bottom: 8px;
        line-height: 1.4;
        text-align: start;
        font-weight: 700;
    }

    .activity-amount-box {
        padding: 8px 12px;
        margin-bottom: 10px;
        border-radius: 8px;
    }

    .activity-amount-label {
        font-size: 12px;
        font-weight: 600;
    }

    .activity-amount-val {
        font-size: 17.5px;
        font-weight: 800;
    }

    .activity-notes {
        font-size: 13px;
        margin-bottom: 10px;
        min-height: auto;
        line-height: 1.55;
        text-align: start;
    }

    .activity-footer-actions {
        gap: 8px;
        padding-top: 10px;
        flex-wrap: wrap;
    }

    .btn-project-link,
    .btn-doc-download {
        padding: 7px 12px;
        font-size: 12.5px;
        border-radius: 8px;
        min-height: 36px;
        font-weight: 600;
    }

    /* Ledger Table (When user switches on mobile) */
    .ledger-table-container {
        border-radius: 14px;
    }

    .ledger-table thead th {
        padding: 10px 12px;
        font-size: 12.5px;
        font-weight: 700;
    }

    .ledger-table td {
        padding: 10px 12px;
    }

    .table-activity-title {
        font-size: 14px;
        line-height: 1.35;
        text-align: start;
        font-weight: 700;
    }

    .table-activity-notes {
        font-size: 12.5px;
        text-align: start;
    }

    .mobile-meta {
        padding: 10px 12px;
    }

    .mobile-meta-item {
        font-size: 12.5px;
        margin-bottom: 4px;
        gap: 5px;
    }

    .mobile-meta-amount {
        font-size: 14px;
        font-weight: 700;
    }

    .mobile-link-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
        border-radius: 6px;
    }

    .activities-empty-state {
        padding: 38px 16px;
        border-radius: 14px;
    }
}

/* Compact Smartphones (< 576px) */
@media (max-width: 575.98px) {
    .wafaa-hero {
        padding: 38px 0 28px;
    }

    .wafaa-pledge-card {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .founder-portrait-card {
        padding: 12px;
        border-radius: 14px;
    }

    .founder-img {
        height: 235px;
    }

    .founder-links {
        gap: 7px;
    }

    .founder-link-btn {
        font-size: 12px;
        padding: 8px 6px;
        min-height: 36px;
        gap: 5px;
    }

    .wafaa-gauge-card {
        padding: 16px 12px;
        border-radius: 14px;
    }

    .wafaa-progress-clean-container {
        padding: 14px 12px;
        border-radius: 12px;
    }

    .gauge-stat-box {
        padding: 12px 14px;
        border-radius: 10px;
    }

    .gauge-stat-number {
        font-size: 20px;
    }

    .sector-card {
        padding: 12px 14px;
        border-radius: 10px;
    }

    .activity-card {
        padding: 14px 12px;
        border-radius: 12px;
    }
}

/* Narrow Smartphones (< 500px): 1 Card per Row (100% Width) */
@media (max-width: 499.98px) {
    .wafaa-progress-breakdown-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        margin-top: 12px !important;
        padding-top: 12px !important;
        width: 100% !important;
    }

    .progress-breakdown-card {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 12px !important;
        min-height: 48px !important;
        border-radius: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        gap: 8px !important;
        overflow: hidden !important;
    }

    .breakdown-status-col {
        margin-bottom: 0 !important;
        gap: 7px !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        overflow: hidden !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    .breakdown-status-name {
        font-size: 13px !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .breakdown-value-col {
        width: auto !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 7px !important;
        flex-shrink: 0 !important;
        display: inline-flex !important;
    }

    .breakdown-amount {
        font-size: 15px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .breakdown-pct-badge {
        font-size: 10.5px !important;
        padding: 2.5px 7px !important;
        line-height: 1.2 !important;
        flex-shrink: 0 !important;
    }
}

@media (max-width: 359.98px) {
    .breakdown-status-name {
        font-size: 12px !important;
    }
    .breakdown-amount {
        font-size: 14px !important;
    }
    .breakdown-pct-badge {
        font-size: 10px !important;
        padding: 2px 5px !important;
    }
    .progress-breakdown-card {
        padding: 8px 10px !important;
    }
}

/* Extra Small Screens (< 375px) */
@media (max-width: 375px) {
    .founder-links {
        grid-template-columns: 1fr;
    }

    .wafaa-metrics-ribbon {
        grid-template-columns: 1fr;
    }

    .filter-pill {
        font-size: 11.5px !important;
        padding: 6px 4px !important;
        gap: 5px !important;
    }

    .status-tab-btn {
        font-size: 11.5px;
        padding: 7px 4px;
    }

    .founder-img {
        height: 205px;
    }
}

/* ==========================================================================
   FLOATING MINI-PLAYER / PICTURE-IN-PICTURE VIDEO
   ========================================================================== */
.wafaa-floating-player {
    position: fixed;
    inset: 0;
    z-index: 2050;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: all 0.35s ease;
}

.wafaa-floating-player.is-hidden {
    display: none !important;
}

/* Backdrop */
.wafaa-player-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 24, 21, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.wafaa-floating-player.is-expanded .wafaa-player-backdrop {
    opacity: 1;
    pointer-events: auto;
}

/* Player Window */
.wafaa-player-window {
    position: fixed;
    background: #0d1f1c;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
    border: 1.5px solid rgba(182, 166, 125, 0.45);
    pointer-events: auto;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2060;
}

/* Expanded State (Center Stage Modal) */
.wafaa-floating-player.is-expanded .wafaa-player-window {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 860px);
    border-radius: 20px;
}

/* Mini State (Floating Picture-in-Picture in Corner) */
.wafaa-floating-player.is-mini .wafaa-player-window {
    top: auto;
    left: auto;
    bottom: 24px;
    inset-inline-end: 24px;
    transform: none;
    width: 360px;
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45), 0 0 0 1.5px var(--idlib-gold);
    animation: miniFloatIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes miniFloatIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.92);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Player Header */
.wafaa-player-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: linear-gradient(135deg, #0b2623 0%, #133a34 100%);
    border-bottom: 1px solid rgba(182, 166, 125, 0.25);
    color: #ffffff;
    user-select: none;
}

.wafaa-player-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-inline-end: 10px;
}

.wafaa-floating-player.is-mini .wafaa-player-title {
    font-size: 12px;
}

.wafaa-player-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.btn-player-action {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-player-action:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.btn-player-action.btn-close-player:hover {
    background: #dc3545;
    color: #ffffff;
}

/* Button visibility toggling between expanded and mini */
.wafaa-floating-player.is-expanded .btn-expand {
    display: none !important;
}

.wafaa-floating-player.is-mini .btn-minimize {
    display: none !important;
}

/* Body & Iframe */
.wafaa-player-body {
    background: #000000;
    position: relative;
}

.wafaa-player-body iframe {
    border: none;
    width: 100%;
    height: 100%;
}

@media (max-width: 576px) {
    .wafaa-floating-player.is-mini .wafaa-player-window {
        width: calc(100% - 32px);
        bottom: 16px;
        inset-inline-end: 16px;
        max-width: 320px;
    }
}