/* Style overrides and additions for the Sahem relief platform */

/* ─── Override all gold buttons → green ─── */
.btn--primary { background: linear-gradient(135deg, #059669, #10b981) !important; color: #fff !important; border: none !important; }
.btn--primary:hover { background: linear-gradient(135deg, #047857, #059669) !important; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(16,185,129,0.3) !important; }
.btn--primary:active { transform: translateY(0); }

/* ══════════════════════════════════ PROJECTS GRID ══════════════════════════════════ */
.projects__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 8px; }
@media (max-width: 680px) { .projects__grid { grid-template-columns: 1fr; } }

/* Single project card: centered with max-width */
.projects__grid--single {
    display: flex;
    justify-content: center;
}
.projects__grid--single .project-card {
    width: 50%;
    max-width: 600px;
    min-width: 300px;
}

.project-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid #e4e4e7; transition: all 0.4s cubic-bezier(0.16,1,0.3,1); }
.project-card__image { height: 200px; overflow: hidden; background: var(--sand); border-radius: 12px 12px 0 0; }
.project-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover .project-card__image img { transform: scale(1.08); }
.project-card__image--placeholder { display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-size: 2rem; background: linear-gradient(135deg, var(--sand), var(--cream)); }
.project-card__body { padding: 24px; }
.project-card__meta {
    display: flex; gap: 16px; flex-wrap: wrap;
    font-size: .78rem; color: #64748b; margin-bottom: 10px;
}
.project-card__meta span { display: inline-flex; align-items: center; gap: 4px; }
.project-card__meta i { color: #10b981; width: 14px; text-align: center; font-size: .8rem; }
.project-card__body p { overflow-wrap: break-word; word-wrap: break-word; hyphens: auto; }
.project-card__actions { display: flex; gap: 12px; margin-top: 16px; }
.project-card .btn--primary {
    width: 100%;
    border-radius: 50px;
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(16,185,129,.3);
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.project-card .btn--primary:hover {
    background: linear-gradient(135deg, #10b981, #34d399);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16,185,129,.4);
}

/* Story cards (in home-content + stories index) */
.stories__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.story-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid #e4e4e7; transition: all 0.4s cubic-bezier(0.16,1,0.3,1); }
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.story-card__image { height: 200px; background-size: cover; background-position: center; }
.story-card__body { padding: 20px; }
.story-card__body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.story-card__meta { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 8px; }
.story-card__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

/* News cards */
.news__columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 768px) { .news__columns { grid-template-columns: 1fr; } }
.news__columns:has(:only-child) { grid-template-columns: 1fr; }
.news-card { display: flex; gap: 16px; padding: 16px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid #e4e4e7; transition: all 0.3s ease; }
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.news-card__date { text-align: center; flex-shrink: 0; width: 48px; }
.news-card__day { display: block; font-size: 1.2rem; font-weight: 800; color: var(--emerald-dark); line-height: 1.1; }
.news-card__month { display: block; font-size: 0.65rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; }
.news-card__body { flex: 1; min-width: 0; }
.news-card__body p { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.news-card__body a { transition: var(--transition); }
.news-card__body a:hover { color: var(--emerald-dark); }
.news-card__campaign { margin-top: 6px; font-size: 0.75rem; color: #71717a; }
.section-header--row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.link-more { font-size: 0.85rem; font-weight: 700; color: var(--emerald-dark); transition: var(--transition); display: inline-flex; align-items: center; gap: 4px; }
.link-more:hover { color: var(--emerald); gap: 8px; }

/* ══════════════════════════════════ GALLERY ══════════════════════════════════ */
.gallery__filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.gallery__filter {
    padding: 8px 24px; border-radius: 999px; border: 2px solid #e4e4e7; background: #fff;
    font-size: 0.85rem; font-weight: 700; cursor: pointer; transition: var(--transition);
    font-family: var(--font-body); color: var(--ink-soft);
}
.gallery__filter:hover { border-color: var(--emerald); color: var(--emerald); }
.gallery__filter--active { border-color: var(--emerald); background: var(--emerald); color: #fff; }
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.gallery-card {
    display: block; border-radius: var(--radius-md); overflow: hidden; position: relative;
    aspect-ratio: 4/3; background: var(--sand); border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-card:hover img { transform: scale(1.08); }
.gallery-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(transparent 60%, rgba(0,0,0,0.7));
    opacity: 0; transition: opacity 0.3s;
    display: flex; align-items: flex-end; padding: 16px;
}
.gallery-card:hover .gallery-card__overlay { opacity: 1; }
.gallery-card__title { color: #fff; font-weight: 700; font-size: 0.9rem; }
.gallery-card__badge {
    position: absolute; top: 8px; inset-inline-end: 8px;
    background: var(--emerald-dark); color: #fff;
    font-size: 0.65rem; font-weight: 700; padding: 4px 12px;
    border-radius: 20px; text-transform: uppercase; z-index: 2; display: flex; align-items: center; gap: 4px;
}
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-card__link { display: block; width: 100%; height: 100%; position: relative; }

/* Video overlay */
.gallery-card__video { position: relative; width: 100%; height: 100%; overflow: hidden; }
.gallery-card__play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 56px; height: 56px; border-radius: 50%; background: rgba(16,185,129,0.9);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.3rem; transition: var(--transition); z-index: 2;
}
.gallery-card__video:hover .gallery-card__play { transform: translate(-50%, -50%) scale(1.1); background: var(--emerald); box-shadow: 0 0 0 8px rgba(16,185,129,0.2); }

/* ══════════════════════════════════ PROGRAMS ══════════════════════════════════ */
.programs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.program-card {
    background: var(--color-bg); border: 1px solid var(--color-border);
    border-radius: var(--radius-md); padding: 32px 24px; text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.program-card__icon { font-size: 2.5rem; margin-bottom: 12px; }
.program-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.program-card > p { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.7; }

/* Program Accordion */
.program-card__accordion { margin-top: 16px; border-top: 1px solid var(--color-border); text-align: start; }
.program-card__summary {
    list-style: none; display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0; cursor: pointer; font-weight: 700; font-size: 0.85rem; color: var(--emerald-dark);
    transition: var(--transition);
}
.program-card__summary::-webkit-details-marker { display: none; }
.program-card__summary:hover { color: var(--emerald); }
.program-card__summary i { transition: transform 0.3s; font-size: 0.75rem; }
.program-card__accordion[open] .program-card__summary i { transform: rotate(180deg); }
.program-card__items { list-style: none; padding: 0 0 8px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.program-card__item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 10px 12px; border-radius: var(--radius-sm);
    background: rgba(16,185,129,0.04); border: 1px solid rgba(16,185,129,0.08);
    transition: var(--transition);
}
.program-card__item:hover { background: rgba(16,185,129,0.08); }
.program-card__item i { font-size: 1.1rem; color: var(--emerald); margin-top: 2px; flex-shrink: 0; }
.program-card__item > div { min-width: 0; }
.program-card__item strong { font-size: 0.85rem; color: var(--ink); }
.program-card__item p { font-size: 0.78rem; color: var(--ink-soft); margin-top: 2px; line-height: 1.4; }

/* ══════════════════════════════════ DONATE SECTION ══════════════════════════════════ */
.donate.section { background: linear-gradient(135deg, var(--ink), var(--ink-soft)); color: var(--cream); }
.donate .section-title { color: #fff; }
.donate .section-tag--light { background: rgba(217,164,65,0.15); border-color: rgba(217,164,65,0.2); color: var(--gold); }
.donate__text { color: rgba(251,248,242,0.8); font-size: 1rem; line-height: 1.7; margin-bottom: 32px; max-width: 520px; }
body.rtl .donate__text { margin-right: 0; }
body.ltr .donate__text { margin-left: 0; }

.donate__inner { display: flex; gap: 40px; align-items: start; }
.donate__inner > .donate__content { flex: 1; min-width: 0; }
.donate__inner > .donate-form { flex: 1; min-width: 0; }
.donate__inner--rtl { flex-direction: row-reverse; }
.donate__inner--ltr { flex-direction: row; }
@media (max-width: 768px) { .donate__inner { flex-direction: column !important; } }

/* ══════════════════════════════════ DONATE FORM (CARD) ══════════════════════════════════ */
.donate-form { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.donate-form > h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; margin-bottom: 24px; color: var(--ink); }
.donate-form label { display: block; margin-bottom: 18px; }
.donate-form label > span:first-child,
.donate-form__presets > span { display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 6px; color: #52525b; letter-spacing: 0.3px; }
.donate-form input[type="text"],
.donate-form input[type="number"],
.donate-form input[type="email"],
.donate-form input[type="tel"],
.donate-form select,
.donate-form textarea {
  width: 100%; padding: 12px 16px; border: 2px solid #e4e4e7; border-radius: var(--radius-sm);
  font-size: 0.95rem; font-family: var(--font-body); transition: all 0.2s ease;
  background: #fafafa; color: var(--ink); outline: none;
}
.donate-form input:focus, .donate-form select:focus, .donate-form textarea:focus {
  border-color: var(--emerald); background: #fff; box-shadow: 0 0 0 4px rgba(16,185,129,0.1);
}
.donate-form textarea { resize: vertical; min-height: 80px; }
.donate-form input::placeholder { color: #a1a1aa; }

/* Amount Presets */
.donate-form__presets { margin-bottom: 18px; }
.amount-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.amount-preset {
  padding: 8px 22px; border: 2px solid #e4e4e7; border-radius: 999px; background: #fff;
  cursor: pointer; font-weight: 700; font-size: 0.85rem; transition: var(--transition);
  font-family: var(--font-body); color: var(--ink); min-width: 60px; text-align: center;
}
.amount-preset:hover { border-color: var(--gold); color: var(--gold); }
.amount-preset--active { border-color: var(--gold); background: var(--gold); color: #fff; box-shadow: 0 4px 12px rgba(217,164,65,0.3); }

/* Checkboxes */
.donate-form__options { display: flex; flex-wrap: wrap; gap: 16px; margin: 24px 0 18px; }
.checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.checkbox-label input[type="checkbox"] {
  width: 20px; height: 20px; accent-color: var(--emerald); cursor: pointer; flex-shrink: 0;
}
.checkbox-label small { font-weight: 400; color: #71717a; }

/* Recurring */
#recurringOptions, .donate-form__recurring { margin-bottom: 18px; padding: 16px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius-sm); }
#recurringOptions label, .donate-form__recurring label { margin-bottom: 0; }

/* Crypto */
.crypto-selection { margin-bottom: 18px; padding: 16px; background: #fefce8; border: 1px solid #fde68a; border-radius: var(--radius-sm); }
.crypto-selection label { margin-bottom: 12px; }
.crypto-selection label:last-child { margin-bottom: 0; }
.crypto-wallet-info__address { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 0.75rem; border-radius: var(--radius-sm); border: 1px solid #e4e4e7; background: #fff; }
.crypto-wallet-info__address code { font-size: 0.85rem; word-break: break-all; flex: 1; direction: ltr; display: inline-block; color: var(--ink); }

/* Payment Method Info */
.payment-method-info { margin-top: 8px; padding: 10px 14px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius-sm); font-size: 0.85rem; color: #065f46; }

/* Submit Button */
.donate-form .btn--block { width: 100%; margin-top: 8px; }
.donate-form .btn--primary.btn--lg { padding: 16px 36px; font-size: 1.05rem; }

/* Campaign Progress in Donate Section */
.campaign-progress { margin-bottom: 28px; padding: 20px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-md); }
.campaign-progress h3 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.progress-bar { height: 6px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; }
.progress-bar__fill { height: 100%; background: linear-gradient(90deg, var(--emerald), var(--emerald-dark)); border-radius: 999px; transition: width 1.5s ease; }
.progress-stats { display: flex; justify-content: space-between; font-size: 0.8rem; color: rgba(251,248,242,0.7); margin-top: 8px; }
.progress-stats strong { color: var(--cream); }

/* ══════════════════════════════════ PAYMENT METHODS GRID ══════════════════════════════════ */
.donate__methods h3 { font-size: 0.95rem; font-weight: 700; color: rgba(251,248,242,0.9); margin-bottom: 16px; }
.payment-methods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.payment-method-card {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md); cursor: pointer; transition: var(--transition);
}
.payment-method-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(217,164,65,0.2); }
.payment-method-card__icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.payment-method-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.payment-method-card__icon i { font-size: 1.5rem; color: var(--gold); }
.payment-method-card__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.payment-method-card__info strong { font-size: 0.8rem; color: var(--cream); }
.payment-method-card__info span { font-size: 0.7rem; color: rgba(251,248,242,0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.payment-method-card__badge { font-size: 0.6rem; font-weight: 700; padding: 2px 8px; background: rgba(16,185,129,0.15); color: var(--emerald); border-radius: 999px; flex-shrink: 0; }

/* ══════════════════════════════════ FAQ ══════════════════════════════════ */
.faq__list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq__item { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.faq__question { padding: 1.25rem; cursor: pointer; font-weight: 600; color: var(--color-text); display: flex; align-items: center; justify-content: space-between; list-style: none; }
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after { content: '+'; font-size: 1.25rem; color: var(--color-primary); font-weight: 700; transition: transform 0.2s; }
.faq__item[open] .faq__question::after { transform: rotate(45deg); }
.faq__answer { padding: 0 1.25rem 1.25rem; color: var(--color-text-muted); line-height: 1.7; }

/* ══════════════════════════════════ VOLUNTEER CTA ══════════════════════════════════ */
.volunteer-cta__box { text-align: center; background: linear-gradient(135deg, #059669, #047857); border-radius: 16px; padding: 3rem 2rem; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.volunteer-cta__box h2 { color: #fff; font-size: 1.75rem; }
.volunteer-cta__box p { color: rgba(255,255,255,0.85); }
.volunteer-cta__actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.volunteer-cta__actions .btn--outline { background: transparent; border: 2px solid rgba(255,255,255,0.5); color: #fff; }
.volunteer-cta__actions .btn--outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ══════════════════════════════════ DONOR WALL ══════════════════════════════════ */
.donor-wall.section { background: linear-gradient(180deg, #0f172a, #1e293b); color: #fff; overflow: hidden; }
.donor-wall .section-title { color: #fff; }
.donor-wall__layout { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
.donor-wall__feed { min-width: 0; }
.donor-wall__stats { display: flex; flex-direction: column; gap: 1rem; }
.donor-stat { text-align: center; padding: 1.5rem; background: rgba(255,255,255,0.05); border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); }
.donor-stat__number { display: block; font-size: 2.5rem; font-weight: 800; background: linear-gradient(135deg,#10b981,#34d399); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.donor-stat__label { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 0.25rem; display: block; }
.donor-feed { max-height: 420px; overflow-y: auto; border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); }
.donor-entry { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.donor-entry:hover { background: rgba(255,255,255,0.05); }
.donor-entry__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,#10b981,#059669); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; flex-shrink: 0; }
.donor-entry__name { display: block; font-size: 0.95rem; color: #fff; }
.donor-entry__amount { font-weight: 700; font-size: 1.1rem; color: #34d399; flex-shrink: 0; }
@media (max-width: 768px) { .donor-wall__layout { grid-template-columns: 1fr; } }

/* ══════════════════════════════════ PAYMENT ══════════════════════════════════ */
.payment-card { background: var(--color-bg); border-radius: var(--radius-md); padding: 2rem; margin-bottom: 2rem; box-shadow: 0 2px 8px rgba(0,0,0,0.05); border: 1px solid var(--color-border); }
.payment-card--narrow { max-width: 420px; margin-left: auto; margin-right: auto; }
.payment-mono { direction: ltr; text-align: start; font-family: monospace; }
.payment-center { text-align: center; padding: 4rem 1rem; }
.payment-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.payment-icon { font-size: 4rem; margin-bottom: 1rem; }
.payment-instructions-box { margin-top: 1rem; padding: 1rem; background: #fefce8; border-radius: var(--radius-sm); border: 1px solid #fde68a; }
.payment-wallet-box { background: #f0fdf4; padding: 1.5rem; border-radius: var(--radius-sm); border: 1px solid #86efac; }
.payment-wallet-address { direction: ltr; font-family: monospace; word-break: break-all; background: var(--color-bg); padding: 0.75rem; border-radius: var(--radius-sm); }

/* ══════════════════════════════════ LIGHTBOX ══════════════════════════════════ */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.lightbox__img { max-width: 90%; max-height: 85%; object-fit: contain; border-radius: 4px; }
.lightbox__close { position: absolute; top: 20px; background: none; border: none; color: #fff; font-size: 36px; cursor: pointer; z-index: 10; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: none; color: #fff; font-size: 48px; padding: 10px 20px; cursor: pointer; border-radius: 8px; line-height: 1; }

/* ══════════════════════════════════ TESTIMONIALS ══════════════════════════════════ */
.testimonial-card { flex: 0 1 auto; width: min(380px,100%); background: var(--color-bg); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); text-align: center; transition: var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testimonial-card__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; display: block; }
.testimonial-card__avatar--initials { width: 64px; height: 64px; border-radius: 50%; background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 12px; }
.testimonial-card__name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.testimonial-card__text { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.6; font-style: italic; }

/* ══════════════════════════════════ PROSE (Page Content) ══════════════════════════════════ */
.prose { max-width: 800px; margin: 0 auto; padding: 0 24px; color: #374151; font-size: 1rem; line-height: 1.8; }
.prose h1 { font-size: 2rem; font-weight: 800; margin: 0 0 24px; color: #1e293b; line-height: 1.2; }
.prose h2 { font-size: 1.5rem; font-weight: 700; margin: 36px 0 12px; color: #1e293b; padding-bottom: 6px; border-bottom: 2px solid #f1f5f9; }
.prose h3 { font-size: 1.2rem; font-weight: 700; margin: 28px 0 8px; color: #1e293b; }
.prose h4 { font-size: 1.05rem; font-weight: 700; margin: 20px 0 6px; color: #334155; }
.prose p { margin-bottom: 16px; }
.prose a { color: #059669; text-decoration: underline; }
.prose a:hover { color: #10b981; }
.prose ul, .prose ol { margin: 12px 0; padding-inline-start: 24px; }
.prose li { margin-bottom: 6px; }
.prose img { max-width: 100%; border-radius: 12px; margin: 20px 0; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.prose blockquote { border-inline-start: 4px solid #10b981; padding: 12px 20px; margin: 20px 0; background: #f0fdf4; border-radius: 0 8px 8px 0; color: #374151; font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .9rem; }
.prose th { background: #f8fafc; font-weight: 700; text-align: start; padding: 10px 14px; border: 1px solid #e2e8f0; }
.prose td { padding: 8px 14px; border: 1px solid #e2e8f0; }
.prose tr:nth-child(even) { background: #fafafa; }
.prose hr { border: none; border-top: 2px solid #f1f5f9; margin: 32px 0; }
.prose strong { font-weight: 700; color: #1e293b; }
.prose code { background: #f1f5f9; padding: 2px 8px; border-radius: 4px; font-size: .85em; color: #1e293b; }
.prose pre { background: #1e293b; color: #e2e8f0; padding: 16px 20px; border-radius: 12px; overflow-x: auto; font-size: .85rem; margin: 20px 0; }
.prose pre code { background: none; padding: 0; color: inherit; }

/* ══════════════════════════════════ ERROR PAGES ══════════════════════════════════ */
.error-section { min-height: 50vh; display: flex; align-items: center; }
.error-container { text-align: center; }
.error-code { font-size: 6rem; font-weight: 900; margin-bottom: 0.5rem; }
.error-title { font-size: 1.5rem; margin-bottom: 1rem; }
.error-desc { max-width: 400px; margin: 0 auto 2rem; }

/* ══════════════════════════════════ CONTACT ══════════════════════════════════ */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 768px) { .contact__grid { grid-template-columns: 1fr; } }
.contact-form { background: var(--color-bg); padding: 32px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.contact-form label { display: block; margin-bottom: 16px; }
.contact-form label span { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; color: var(--color-text-muted); }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 1rem; font-family: var(--font-body); background: var(--color-bg); color: var(--color-text); transition: var(--transition); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(16,185,129,0.1); }
.contact-info__item { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--color-bg); border-radius: var(--radius-md); border: 1px solid var(--color-border); transition: var(--transition); }
.contact-info__item:hover { transform: translateX(5px); }
.contact-info__icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--color-primary); color: #fff; border-radius: 50%; }

.stat-achievement-card, .stat-exec-card, .project-card {
    opacity: 1;
    transform: translateY(24px);
    transition: all 0.7s cubic-bezier(0.16,1,0.3,1);
}
.stat-achievement-card.is-visible, .stat-exec-card.is-visible, .project-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════ ABOUT PAGE (Next.js Design) ══════════════════════════════════ */
.about-page { padding-bottom: 6rem; }

/* ── Our Story Section ── */
.about-story-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 40px;
    align-items: center;
}
@media (max-width: 900px) { .about-story-grid { grid-template-columns: 1fr; } }

.about-story-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-top: 8px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--ink);
}

.about-story-quote {
    background: rgba(16,185,129,0.04);
    border-left: 4px solid var(--emerald);
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}
body.rtl .about-story-quote {
    border-left: none;
    border-right: 4px solid var(--emerald);
    border-radius: 12px 0 0 12px;
}
.about-story-quote p {
    font-size: 1rem;
    font-weight: 600;
    color: #065f46;
    line-height: 1.7;
}
body.dark .about-story-quote {
    background: rgba(16,185,129,0.06);
}
body.dark .about-story-quote p {
    color: #6ee7b7;
}

.about-story-text {
    color: var(--ink-soft);
    line-height: 1.8;
    font-size: 0.95rem;
}
.about-story-text p { margin-bottom: 12px; }

.about-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}
@media (max-width: 500px) { .about-features-grid { grid-template-columns: 1fr; } }

.about-feature-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow-sm);
}
body.dark .about-feature-badge {
    background: #18181b;
    border-color: rgba(255,255,255,0.06);
}
.about-feature-badge__icon {
    color: var(--emerald);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.about-feature-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
}
body.dark .about-feature-badge span {
    color: #e4e4e7;
}

/* ── Story Visual (Image Side) ── */
.about-story-visual { position: relative; overflow: hidden; }
.about-story-visual__glow {
    position: absolute;
    inset: -16px;
    background: linear-gradient(to top right, var(--emerald), #14b8a6);
    border-radius: 20px;
    opacity: 0.15;
    filter: blur(20px);
}
body.dark .about-story-visual__glow { opacity: 0.25; }

.about-story-visual__frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    aspect-ratio: 4/5;
}
body.dark .about-story-visual__frame { border-color: #18181b; }

.about-story-visual__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.about-story-visual__frame:hover .about-story-visual__img { transform: scale(1.05); }

.about-story-visual__badge {
    position: absolute;
    bottom: 24px;
    inset-inline: 24px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
body.dark .about-story-visual__badge {
    background: rgba(24,24,27,0.95);
    border-color: rgba(255,255,255,0.06);
}
.about-story-visual__badge-icon {
    width: 48px;
    height: 48px;
    background: var(--emerald);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.about-story-visual__badge-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 2px;
}
body.dark .about-story-visual__badge-text h4 { color: #fff; }
.about-story-visual__badge-text p {
    font-size: 0.75rem;
    color: #71717a;
    font-weight: 600;
}
body.dark .about-story-visual__badge-text p { color: #a1a1aa; }

/* ── Mission & Vision Cards ── */
.about-mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
@media (max-width: 768px) { .about-mv-grid { grid-template-columns: 1fr; } }

.about-mv-card {
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-height: 280px;
    display: flex;
    align-items: center;
}
.about-mv-card--mission {
    background: linear-gradient(135deg, #022c22, #18181b);
    border: 1px solid rgba(16,185,129,0.15);
}
.about-mv-card--vision {
    background: linear-gradient(135deg, #042f2e, #18181b);
    border: 1px solid rgba(20,184,166,0.15);
}
.about-mv-card__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(16,185,129,0.12) 0%, transparent 60%);
    pointer-events: none;
}
.about-mv-card--vision .about-mv-card__glow {
    background: radial-gradient(circle at top right, rgba(20,184,166,0.12) 0%, transparent 60%);
}
.about-mv-card__body {
    position: relative;
    z-index: 1;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.about-mv-card__icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.about-mv-card__icon--emerald {
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.2);
    color: #34d399;
}
.about-mv-card__icon--teal {
    background: rgba(20,184,166,0.1);
    border: 1px solid rgba(20,184,166,0.2);
    color: #2dd4bf;
}
.about-mv-card__body h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
}
.about-mv-card__body p {
    color: #d4d4d8;
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 500;
}

/* ── Core Values ── */
.section-header--center { text-align: center; }
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 900px) { .about-values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .about-values-grid { grid-template-columns: 1fr; } }

.about-value-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
body.dark .about-value-card {
    background: #18181b;
    border-color: rgba(255,255,255,0.06);
}
.about-value-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.about-value-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.about-value-card__icon--emerald { background: rgba(16,185,129,0.08); color: var(--emerald); }
.about-value-card__icon--teal { background: rgba(20,184,166,0.08); color: #14b8a6; }
.about-value-card__icon--red { background: rgba(239,68,68,0.08); color: #ef4444; }
.about-value-card__icon--indigo { background: rgba(99,102,241,0.08); color: #6366f1; }
.about-value-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
}
body.dark .about-value-card h4 { color: #fff; }
.about-value-card p {
    font-size: 0.85rem;
    color: #71717a;
    line-height: 1.6;
    font-weight: 600;
}
body.dark .about-value-card p { color: #a1a1aa; }

/* ── CTA Section ── */
.about-cta {
    background: linear-gradient(135deg, #064e3b, #042f2e);
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(16,185,129,0.15);
}
.about-cta__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 80%);
    pointer-events: none;
}
.about-cta__body {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.about-cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
}
.about-cta__desc {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    line-height: 1.7;
}
.about-cta__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}
.about-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}
.about-cta__btn--primary {
    background: #fff;
    color: #022c22;
}
.about-cta__btn--primary:hover {
    background: #f4f4f5;
    color: #022c22;
}
.about-cta__btn--outline {
    background: rgba(16,185,129,0.15);
    border: 1px solid rgba(16,185,129,0.25);
    color: #fff;
}
.about-cta__btn--outline:hover {
    background: rgba(16,185,129,0.25);
}
.about-cta__arrow {
    transition: transform 0.2s ease;
    font-size: 0.8rem;
}
.about-cta__btn--primary:hover .about-cta__arrow {
    transform: translateX(4px);
}
body.rtl .about-cta__btn--primary:hover .about-cta__arrow {
    transform: translateX(-4px);
}

/* ── Navbar Programs Mega Menu ── */
.nav__menu--mega {
    width: 420px;
    padding: 12px;
}
.nav__menu--mega > .nav__sub {
    position: relative;
}
.nav__item--parent {
    font-weight: 700;
    color: var(--ink);
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: background 0.15s;
    white-space: nowrap;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 4px;
}
.nav__item--parent:hover {
    background: rgba(16,185,129,0.06);
}
.nav__item--child {
    padding: 6px 14px;
    font-size: 0.8rem;
    color: #52525b;
    display: block;
    border-radius: var(--radius-sm);
    transition: background 0.15s;
    white-space: nowrap;
}
.nav__item--child:hover {
    background: rgba(16,185,129,0.06);
    color: var(--emerald-dark);
}
.nav__item--child:last-child {
    margin-bottom: 6px;
}
.nav__submenu {
    position: absolute;
    top: -12px;
    left: 100%;
    min-width: 260px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0,0,0,0.16);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 60;
}
.nav__sub:hover > .nav__submenu,
.nav__submenu:hover {
    opacity: 1;
    visibility: visible;
}
body.rtl .nav__submenu {
    left: auto;
    right: 100%;
}
body.rtl .nav__menu--mega { left: auto; right: 0; }
@media (max-width: 1280px) {
    .nav__menu--mega { width: 320px; }
    .nav__submenu { min-width: 220px; }
}
@media (max-width: 1100px) {
    .nav__menu--mega { width: 280px; padding: 8px; }
    .nav__submenu { min-width: 200px; top: -8px; }
}

/* ── Override old about-card-hover to use new styling ── */
.about-page .card-hover {
    transition: all 0.3s ease;
}
.about-page .card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* ══════════════════════════════════ DONATE PROJECT / STORY PAGE ══════════════════════════════════ */
.donate-spacer {
    height: 200px;
    background: #18181b;
}

body.donate-page-active { background: #f5f5f0; }

.donate-page { display: flex; gap: 40px; align-items: start; }
.donate-page--rtl { flex-direction: row; }
.donate-page--ltr { flex-direction: row; }
@media (max-width: 900px) { .donate-page { flex-direction: column !important; } }

.donate-page__info { flex: 1; min-width: 0; }
.donate-page__form { flex: 0 0 420px; min-width: 0; }
@media (max-width: 1100px) { .donate-page__form { flex: 0 0 360px; } }
@media (max-width: 900px) { .donate-page__form { flex: 1; } }

.donate-page__image { margin-bottom: 24px; border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.donate-page__image img { width: 100%; display: block; }

.donate-page__gallery { margin-bottom: 24px; }
.donate-page__gallery-main { border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); margin-bottom: 10px; }
.donate-page__gallery-main-img { width: 100%; height: 420px; object-fit: cover; display: block; }
@media (max-width: 768px) { .donate-page__gallery-main-img { height: 260px; } }
.donate-page__gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.donate-page__gallery-thumb {
    width: 80px; height: 60px; object-fit: cover; border-radius: 6px; cursor: pointer;
    opacity: 0.5; transition: all 0.2s; border: 2px solid transparent; flex-shrink: 0;
}
.donate-page__gallery-thumb:hover { opacity: 0.8; }
.donate-page__gallery-thumb--active { opacity: 1; border-color: var(--emerald); }

.donate-page__meta {
    display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px;
    padding: 16px 20px; background: #f0fdf4; border: 1px solid #bbf7d0;
    border-radius: var(--radius-sm); font-size: 0.85rem; color: #065f46;
}
.donate-page__meta span { display: flex; align-items: center; gap: 6px; }
.donate-page__meta i { color: var(--emerald); width: 16px; text-align: center; }

.donate-page__title {
    font-family: var(--font-display); font-size: 1.65rem; font-weight: 800;
    color: var(--ink); margin-bottom: 20px; line-height: 1.3;
}
.donate-page__section-divider {
    height: 1px; background: linear-gradient(90deg, transparent, #e4e4e7, transparent);
    margin: 28px 0;
}
.donate-page__description {
    font-size: 1rem; line-height: 1.8; color: var(--ink-soft);
    margin-bottom: 24px;
}
.donate-page__description h2 { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin: 24px 0 12px; }
.donate-page__description h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 20px 0 10px; }
.donate-page__description img { max-width: 100%; border-radius: var(--radius-md); margin: 16px 0; }
.donate-page__description ul, .donate-page__description ol { padding-inline-start: 20px; margin-bottom: 12px; }
.donate-page__description li { margin-bottom: 6px; }
.donate-page__description blockquote {
    border-inline-start: 4px solid var(--emerald); padding: 12px 20px;
    margin: 16px 0; background: #f0fdf4; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--ink-soft); font-style: italic;
}
.donate-page__description p { margin-bottom: 12px; }

.donate-page__progress {
    margin-bottom: 28px; padding: 20px 24px;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border: 1px solid #bbf7d0; border-radius: var(--radius-md);
}
.donate-page__progress-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px; font-size: 0.85rem; font-weight: 600; color: var(--ink);
}
.donate-page__progress-header span:last-child { color: var(--emerald-dark); }
.donate-page__progress-bar { height: 10px; background: #e4e4e7; border-radius: 999px; overflow: hidden; }
.donate-page__progress-fill { height: 100%; background: linear-gradient(90deg, var(--emerald), #14b8a6); border-radius: 999px; transition: width 1.5s ease; position: relative; }
.donate-page__progress-fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3)); border-radius: 999px; }
.donate-page__progress-stats { display: flex; justify-content: space-between; font-size: 0.85rem; color: #71717a; margin-top: 8px; }
.donate-page__progress-stats span:last-child { font-weight: 700; color: var(--emerald-dark); }

.donate-page__form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,0.12); border: 1px solid #e4e4e7; overflow: hidden; }
.donate-page__form-header {
    display: flex; align-items: center; gap: 10px;
    padding: 20px 28px; background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border-bottom: 1px solid #e4e4e7; font-size: 1.05rem; font-weight: 700; color: var(--ink);
}
.donate-page__form-header i { font-size: 1.2rem; }
.donate-page__form-card .donate-form { border: none; box-shadow: none; padding: 28px; }
.donate-page__form-card .donate-form > h3 { display: none; }

/* Donors list inside donate page */
.donate-page__donors,
.donate-project__donors { margin-top: 24px; }
.donate-page__donors h3,
.donate-project__donors h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; color: var(--ink); }
.donors-list { display: flex; flex-direction: column; gap: 8px; }
.donors-list__item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; background: #fafafa;
    border: 1px solid #e4e4e7; border-radius: var(--radius-sm);
    transition: var(--transition);
}
.donors-list__item:hover { background: #f0fdf4; border-color: #bbf7d0; }
.donors-list__avatar {
    width: 40px; height: 40px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem;
    color: #fff; flex-shrink: 0;
}
.donors-list__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.donors-list__name { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.donors-list__date { font-size: 0.7rem; color: #a1a1aa; }
.donors-list__amount { font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }

.donate-page__donors--empty,
.donate-project__donors--empty { padding: 2rem; text-align: center; color: #94a3b8; background: #fafafa; border: 1px dashed #d1d5db; border-radius: var(--radius-md); }
.donate-page__donors--empty i,
.donate-project__donors--empty i { font-size: 2rem; color: #d1d5db; margin-bottom: 0.75rem; display: block; }

.donate-page__videos {
    display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px;
}
.donate-page__videos--multiple {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}
.donate-page__video {
    width: 100%; border-radius: var(--radius-md); display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.donate-page__videos-label {
    font-size: 1.05rem; font-weight: 700; color: var(--ink);
    margin-bottom: 4px; display: flex; align-items: center; gap: 8px;
}
.donate-page__videos-label i { color: var(--emerald); }

@media (max-width: 768px) {
    .donate-page { flex-direction: column !important; }
    .donate-page__form-card .donate-form { padding: 20px; }
    .donate-spacer { height: 140px; }
}

/* ══════════════════════════════════ HERO DETAILED ══════════════════════════════════ */
.hero-detailed { position: relative; min-height: 60vh; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; padding: 144px 0 80px; text-align: center; animation: fadeIn 0.6s ease forwards; }
.hero-detailed__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(5,46,22,0.92), rgba(24,24,27,0.88), rgba(5,46,22,0.92)); pointer-events: none; }
.hero-detailed__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 0 24px; }
.hero-detailed__tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px; background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.25); border-radius: 999px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #34d399; margin-bottom: 16px; }
.hero-detailed__title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 12px; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.hero-detailed__desc { color: #d4d4d8; font-size: 1rem; max-width: 560px; margin: 0 auto 20px; line-height: 1.6; }
.hero-detailed__stats { display: flex; justify-content: center; gap: 32px; margin-bottom: 20px; flex-wrap: wrap; }
.hero-detailed__stat { text-align: center; }
.hero-detailed__stat-value { display: block; font-size: 1.5rem; font-weight: 900; color: #fff; }
.hero-detailed__stat-label { display: block; font-size: 0.75rem; color: #a1a1aa; text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.hero-detailed .progress-c { max-width: 400px; margin: 0 auto; }
.hero-detailed .progress-c__track { height: 6px; background: rgba(255,255,255,0.1); border-radius: 999px; overflow: hidden; }
.hero-detailed .progress-c__fill { height: 100%; background: linear-gradient(90deg, var(--emerald), var(--emerald-dark)); border-radius: 999px; transition: width 1.5s ease; }
.hero-detailed .progress-c__stats { display: flex; justify-content: space-between; font-size: 0.8rem; color: rgba(251,248,242,0.7); margin-top: 6px; }

/* ══════════════════════════════════ DETAIL PAGE (Content + Sidebar Form) ══════════════════════════════════ */
.detail-page { display: flex; gap: 40px; align-items: start; }
.detail-page--rtl { flex-direction: row-reverse; }
.detail-page--ltr { flex-direction: row; }
@media (max-width: 900px) { .detail-page { flex-direction: column !important; } }
.detail-page__main { flex: 1; min-width: 0; overflow: hidden; }
.detail-page__main .container.prose { overflow: hidden; }
.detail-page__content { font-size: 1rem; line-height: 1.8; color: var(--ink-soft); }
.detail-page__content h2 { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin: 24px 0 12px; }
.detail-page__content h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 24px 0 12px; }
.detail-page__content img { max-width: 100%; border-radius: var(--radius-md); margin: 16px 0; }
.detail-page__content p { margin-bottom: 12px; }
.detail-page__content ul, .detail-page__content ol { padding-inline-start: 20px; margin-bottom: 12px; }
.detail-page__content li { margin-bottom: 6px; }
.detail-page__content blockquote { border-inline-start: 4px solid var(--emerald); padding: 12px 20px; margin: 16px 0; background: #f0fdf4; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-soft); font-style: italic; }
.detail-page__aside { flex: 0 0 400px; min-width: 0; position: sticky; top: 100px; align-self: start; }
@media (max-width: 1100px) { .detail-page__aside { flex: 0 0 340px; } }
@media (max-width: 900px) { .detail-page__aside { flex: 1; position: static; } }
.detail-page__progress { margin: 32px 0; }
.detail-page__form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,0.12); border: 1px solid #e4e4e7; overflow: hidden; }
.detail-page__form-header { display: flex; align-items: center; gap: 10px; padding: 20px 28px; background: linear-gradient(135deg, #f0fdf4, #ecfdf5); border-bottom: 1px solid #e4e4e7; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.detail-page__form-header i { font-size: 1.2rem; color: var(--emerald); }
.detail-page__form-card .donate-form { border: none; box-shadow: none; padding: 24px; }
.detail-page__form-card .donate-form > h3 { display: none; }
.detail-page__form-card .form-group { margin-bottom: 14px; }
.detail-page__form-card label { margin-bottom: 12px; }
.detail-page__form-card .btn--block { margin-top: 4px; }

/* ══════════════════════════════════ PROGRESS BAR COMPONENT ══════════════════════════════════ */
.progress-c { width: 100%; }
.progress-c--inline { display: inline-flex; align-items: center; gap: 8px; }
.progress-c__track { height: 6px; background: #e4e4e7; border-radius: 999px; overflow: hidden; }
.progress-c__fill { height: 100%; background: linear-gradient(90deg, var(--emerald), var(--emerald-dark)); border-radius: 999px; transition: width 1s ease; }
.progress-c__stats { display: flex; justify-content: space-between; font-size: 0.75rem; color: #71717a; margin-top: 4px; }

/* ══════════════════════════════════ SIMILAR GRID ══════════════════════════════════ */
.similar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) { .similar-grid { grid-template-columns: 1fr; } }
@media (min-width: 769px) and (max-width: 1024px) { .similar-grid { grid-template-columns: repeat(2, 1fr); } }
.similar-card { display: block; background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid #e4e4e7; transition: all 0.4s cubic-bezier(0.16,1,0.3,1); }
.similar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.similar-card__image { height: 160px; background-size: cover; background-position: center; }
.similar-card__body { padding: 16px; }
.similar-card__body h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; color: var(--ink); }
.similar-card__meta { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 6px; }
.similar-card .progress-c { margin-top: 8px; }
.similar-card .progress-c__track { height: 4px; }

/* ══════════════════════════════════ DETAIL PAGE VIDEOS ══════════════════════════════════ */
.detail-page__videos { display: grid; gap: 16px; margin: 1.5rem 0; max-width: min(100%, 640px); }
.detail-page__video { width: 100%; border-radius: var(--radius-md); display: block; box-shadow: 0 4px 20px rgba(0,0,0,0.15); max-height: 360px; object-fit: contain; background: #000; }

/* ══════════════════════════════════ GLOBAL WHITE NAVBAR ══════════════════════════════════ */
.header--transparent,
.header--solid { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.06); }

.header--transparent .header__main,
.header--solid .header__main { height: 80px; }

.header--transparent .header__logo,
.header--solid .header__logo { top: 0; height: 56px; }

.header--transparent .header__logo img,
.header--solid .header__logo img { filter: none; width: auto; height: 100%; }

.header--transparent .top-bar,
.header--solid .top-bar { background: #f9fafb; border-bottom: 1px solid #e5e7eb; }

.header--transparent .nav__link,
.header--solid .nav__link,
.header--transparent .top-bar__btn,
.header--solid .top-bar__btn,
.header--transparent .top-bar__contact,
.header--solid .top-bar__contact,
.header--transparent .top-bar__contact a,
.header--solid .top-bar__contact a,
.header--transparent .nav__mobile-toggle,
.header--solid .nav__mobile-toggle { color: #374151; }

.header--transparent .top-bar__btn,
.header--solid .top-bar__btn { border-color: #d1d5db; }
.header--transparent .nav__link:hover,
.header--solid .nav__link:hover { background: #f3f4f6; color: #059669; }

.top-bar__cta { background: #059669; color: #fff; }

/* ── Logo + Site Name (inline) ── */
.header__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; position: relative !important; width: auto !important; height: 50px !important; top: auto !important; right: auto !important; left: auto !important; margin-inline-end: 60px; }
.header__logo img { width: auto; height: 100%; }
@media (min-width: 1024px) { .header__logo { height: 80px !important; margin-inline-end: 100px; } }
.header__brand-text { font-family: var(--font-display); font-size: clamp(0.85rem,1.4vw,1.1rem); font-weight: 800; letter-spacing: -0.3px; white-space: nowrap; color: inherit; }
.header--transparent .header__brand-text { color: #059669; }
.header--solid .header__brand-text { color: #059669; }
.top-bar__cta:hover { background: #047857; }
@media (max-width: 1100px) {
}

/* ─── Footer 3-Column Balanced ─── */
.footer { background: #09090b; color: #a1a1aa; border-top: 1px solid #18181b; }
.footer__top { padding: 36px 20px 0; }
.footer__inner { max-width: var(--max-width); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer__col { flex: 1 1 100%; display: flex; flex-direction: column; }
@media (min-width: 768px) { .footer__col--brand { flex: 0 0 30%; } }
@media (min-width: 768px) { .footer__col--links { flex: 0 0 30%; } }
@media (min-width: 768px) { .footer__col--contact { flex: 0 0 30%; } }

.footer__logo-link { display: inline-block; margin-bottom: 10px; }
.footer__brand .footer__logo { width: 55px; height: auto; display: block; }
.footer__mission { font-size: 0.78rem; color: #a1a1aa; line-height: 1.6; margin: 0 0 10px; }
body.rtl .footer__mission { text-align: right; }
.footer__social { display: flex; gap: 6px; }
body.rtl .footer__social { justify-content: flex-start; }
.footer__social a { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.06); border-radius: 50%; color: #a1a1aa; font-size: 0.72rem; transition: 0.2s; }
.footer__social a:hover { background: #059669; color: #fff; transform: scale(1.1); }

.footer__col h4 { color: #fff; font-size: 0.85rem; font-weight: 700; margin: 0 0 12px; padding-bottom: 6px; position: relative; }
body.rtl .footer__col h4 { text-align: right; }
.footer__col h4::after { content: ''; position: absolute; bottom: 0; width: 20px; height: 2px; background: #059669; border-radius: 2px; }
body.rtl .footer__col h4::after { right: 0; left: auto; }

.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.footer__links li { padding: 0; margin: 0; }
.footer__links a { display: flex; align-items: center; gap: 6px; padding: 4px 0; color: #a1a1aa; font-size: 0.78rem; text-decoration: none; transition: 0.2s; }
body.rtl .footer__links a { text-align: right; }
.footer__links a i { font-size: 0.45rem; color: #52525b; transition: 0.2s; }
.footer__links a:hover { color: #34d399; }
.footer__links a:hover i { color: #34d399; }

.footer__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer__contact li { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: #a1a1aa; }
body.rtl .footer__contact li { justify-content: flex-start; text-align: right; }
.footer__contact i { color: #34d399; width: 14px; text-align: center; flex-shrink: 0; font-size: 0.78rem; }
.footer__contact a { color: #a1a1aa; text-decoration: none; transition: 0.2s; }
.footer__contact a:hover { color: #34d399; }

.footer__bottom { background: #0f0f0f; margin-top: 28px; padding: 14px 20px; text-align: center; }
.footer__bottom-inner { max-width: var(--max-width); margin: 0 auto; }
.footer__bottom p { margin: 0; font-size: 0.72rem; color: #71717a; }

/* ─── Donation Form (shared between projects & stories) ─── */
.pcard { background:#fff; border-radius:14px; box-shadow:0 4px 20px rgba(0,0,0,.08); border:1px solid #e2e8f0; overflow:hidden }
.pcard__head { display:flex; align-items:center; gap:10px; padding:12px 16px; background:linear-gradient(135deg,#059669,#10b981) }
.pcard__head-icon { width:34px; height:34px; background:rgba(255,255,255,.15); border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:.95rem; color:#fff; flex-shrink:0 }
.pcard__head-title { margin:0; font-size:.9rem; font-weight:800; color:#fff }
.pcard__head-sub { margin:1px 0 0; font-size:.7rem; color:rgba(255,255,255,.75) }
.pcard__progress { padding:12px 16px 10px; border-bottom:1px solid #f1f5f9 }
.pcard__stats { display:flex; gap:12px; margin-bottom:8px; justify-content:center }
.pstat { text-align:center }
.pstat i { display:block; font-size:.8rem; color:#10b981; margin-bottom:1px }
.pstat small { display:block; color:#94a3b8; font-size:.6rem; text-transform:uppercase; letter-spacing:.3px }
.pstat--main { flex:0 0 60% }
.pstat--main span { display:block; font-size:1.15rem; font-weight:800; color:#065f46 }
.pstat--dim { flex:0 0 40% }
.pstat--dim span { display:block; font-size:.72rem; font-weight:400; color:#94a3b8; margin-top:5px }
.pcard__bar-wrap { height:5px; background:#e2e8f0; border-radius:999px; overflow:hidden; margin-bottom:3px }
.pcard__bar { height:100%; background:linear-gradient(90deg,#059669,#10b981); border-radius:999px; transition:width .5s ease }
.pcard__pct { text-align:center; font-size:.65rem; color:#94a3b8; margin-bottom:4px }
.pcard__remain { font-size:.72rem; color:#065f46; font-weight:600; text-align:center; display:flex; align-items:center; justify-content:center; gap:4px }
.pcard__latest { padding:6px 16px; font-size:.72rem; color:#64748b; background:#fffbeb; border-bottom:1px solid #fef3c7; display:flex; align-items:center; gap:4px; flex-wrap:wrap }
.pcard__latest strong { color:#1e293b }
.pcard__latest span { color:#94a3b8; font-size:.68rem }
.pcard__form { padding:10px 16px 14px }
.pfld { margin-bottom:9px }
.pfld__label { display:block; margin-bottom:3px; font-size:.65rem; font-weight:700; color:#374151; text-transform:uppercase }
.pgrid { display:grid; gap:8px }
.pgrid--2 { grid-template-columns:1fr 1fr }
.pi { width:100%; padding:7px 10px; border:1.5px solid #e2e8f0; border-radius:7px; font-size:.8rem; background:#fafafa; transition:all .2s; box-sizing:border-box; color:#1e293b; font-family:inherit }
.pi:hover { border-color:#cbd5e1; background:#fff }
.pi:focus { outline:none; border-color:#10b981; background:#fff; box-shadow:0 0 0 3px rgba(16,185,129,.1) }
.pi--area { resize:vertical; min-height:48px; font-family:inherit }
.ppreset { display:flex; flex-wrap:wrap; gap:4px }
.ppreset__btn { padding:5px 13px; border:1.5px solid #e2e8f0; border-radius:6px; background:#fff; font-size:.75rem; font-weight:600; color:#475569; cursor:pointer; transition:all .15s; font-family:inherit }
.ppreset__btn:hover { border-color:#10b981; color:#059669; background:#f0fdf4 }
.ppreset__btn--active { border-color:#059669; background:#059669; color:#fff }
.pcheck { display:flex; align-items:center; gap:6px; cursor:pointer; font-size:.75rem; color:#475569; padding:2px 0 }
.pcheck input[type=checkbox] { width:14px; height:14px; accent-color:#10b981; cursor:pointer; flex-shrink:0 }
.pcheck small { color:#94a3b8; font-size:.7rem }
.pbtn { display:flex; align-items:center; gap:6px; padding:10px 20px; font-size:.85rem; font-weight:700; color:#fff; background:linear-gradient(135deg,#059669,#10b981); border:none; border-radius:9px; cursor:pointer; width:100%; justify-content:center; font-family:inherit; transition:all .2s; box-shadow:0 3px 10px rgba(16,185,129,.25); margin-top:4px }
.pbtn:hover { transform:translateY(-1px); box-shadow:0 5px 16px rgba(16,185,129,.35) }
.pbtn:active { transform:translateY(0) }
.psecure { margin:8px 0 0; font-size:.68rem; color:#94a3b8; display:flex; align-items:center; gap:4px; justify-content:center }
