/* נוטעים עתיד — עיצוב מותאם ללוגו (ירוק עלים + כחול, RTL) */

/* אתר מלא RTL — יישור לוגי, כיוון וטפסים */
html {
    direction: rtl;
}

html[dir="rtl"] body.body-ngo {
    direction: rtl;
    unicode-bidi: isolate;
}

:root {
    --brand-green: #5cb532;
    --brand-green-dark: #4a9d28;
    --brand-green-soft: #e8f5e4;
    --brand-blue: #1565c0;
    --brand-blue-dark: #0d47a1;
    --brand-blue-soft: #e3f2fd;
    --brand-ink: #1b2838;
    --ngo-sand: #f3f6f0;
    --ngo-sand-light: #fafcf9;
    --ngo-white: #ffffff;
    --ngo-accent-blue: #1565c0;
    --ngo-red: #c9302c;
    --ngo-purple: #7c3aed;
    --ngo-teal: #0f766e;
    /* תאימות שמות ישנים */
    --ngo-olive: var(--brand-green);
    --ngo-olive-dark: var(--brand-green-dark);
    --ngo-charcoal: var(--brand-ink);
    --ngo-charcoal-mid: var(--brand-blue-dark);
    /* רקע עמוד — גוונים עדינים (לבן, ירוק בהיר, כחול בהיר) */
    --page-bg-base: #fafcfb;
    --page-bg-wash-green: rgba(92, 181, 50, 0.055);
    --page-bg-wash-blue: rgba(21, 101, 192, 0.045);
    --page-bg-blob-a: rgba(232, 245, 228, 0.42);
    --page-bg-blob-b: rgba(227, 242, 253, 0.38);
}

body.body-ngo {
    font-family: "Assistant", "Rubik", "Heebo", system-ui, sans-serif;
    color: var(--brand-ink);
    background-color: var(--page-bg-base);
    background-image:
        radial-gradient(ellipse 90% 60% at 100% 0%, var(--page-bg-wash-green) 0%, transparent 58%),
        radial-gradient(ellipse 75% 55% at 0% 100%, var(--page-bg-wash-blue) 0%, transparent 62%),
        radial-gradient(circle 42vw at 15% 28%, var(--page-bg-blob-a) 0%, transparent 52%),
        radial-gradient(circle 38vw at 88% 72%, var(--page-bg-blob-b) 0%, transparent 50%),
        radial-gradient(ellipse 120% 45% at 50% 108%, rgba(227, 242, 253, 0.22) 0%, transparent 55%),
        linear-gradient(168deg, #ffffff 0%, #f7faf8 38%, #f4f8fc 72%, #fafcfb 100%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

@media (prefers-reduced-motion: reduce) {
    body.body-ngo {
        background-image:
            linear-gradient(168deg, #ffffff 0%, #f7faf8 45%, #f5f8fc 100%);
    }
}

/* Top utility bar — כחול מקצועי */
.top-bar-ngo {
    background: linear-gradient(90deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
}

.top-bar-social a {
    color: rgba(255, 255, 255, 0.85);
}

.top-bar-social a:hover {
    color: #fff;
}

.top-search-ngo {
    color: rgba(255, 255, 255, 0.9);
}

.top-search-ngo input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.top-search-ngo input {
    color: #fff;
}

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

/* Header — רקע לבן, לוגו בפינה (RTL) */
.header-ngo {
    background: #fff;
    box-shadow: 0 2px 20px rgba(21, 101, 192, 0.08);
    z-index: 1030;
    position: relative;
    overflow: hidden;
}

/* קישוט עדין בהשראת ה־swoosh בלוגו */
.header-ngo::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: min(52vw, 480px);
    height: 100%;
    background: radial-gradient(ellipse 90% 140% at 100% 0%, rgba(92, 181, 50, 0.14) 0%, transparent 62%);
    pointer-events: none;
}

/* תמונת PNG ישנה — נשמר לתאימות אם יוחזר קובץ */
.navbar-brand-logo-img {
    height: clamp(3rem, 8vw, 4.25rem);
    width: auto;
    max-width: min(100%, 240px);
    object-fit: contain;
    object-position: right center;
}

.header-ngo .navbar-nav .nav-link {
    color: var(--brand-ink) !important;
    font-weight: 600;
    padding: 0.5rem 0.65rem;
    border-radius: 0.5rem;
    transition: color 0.2s ease, background 0.2s ease;
}

.header-ngo .navbar-nav .nav-link:hover {
    color: var(--brand-blue) !important;
    background: var(--brand-green-soft);
}

.header-ngo .navbar-nav .nav-link.active {
    color: var(--brand-green-dark) !important;
    font-weight: 700;
    background: transparent;
    box-shadow: inset 0 -3px 0 0 var(--brand-green);
}

.btn-brand-donate {
    background: var(--brand-green);
    border: none;
    color: #fff !important;
    font-weight: 700;
}

.btn-brand-donate:hover {
    background: var(--brand-green-dark);
    color: #fff !important;
}

/* Hero / carousel */
.hero-carousel-ngo {
    background: linear-gradient(145deg, #ffffff 0%, var(--brand-green-soft) 42%, var(--brand-blue-soft) 100%);
    min-height: 280px;
}

.hero-carousel-ngo .carousel-item {
    min-height: 280px;
}

.hero-overlay-text {
    color: var(--brand-ink);
}

.hero-overlay-text h1 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Icon grid — רקע כחול עמוק */
.section-icon-grid {
    background: linear-gradient(165deg, var(--brand-blue-dark) 0%, #0a3358 100%);
    color: #fff;
    padding: 3rem 1rem 3.5rem;
}

.icon-grid-ngo {
    max-width: 900px;
    margin: 0 auto;
}

.icon-grid-item {
    text-align: center;
    padding: 1rem 0.5rem;
}

.icon-grid-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
}

.icon-grid-item a:hover {
    transform: translateY(-4px);
    color: #fff;
}

.icon-circle-ngo {
    width: 4.25rem;
    height: 4.25rem;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: #fff;
    color: var(--brand-blue-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.icon-grid-item span {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Cards */
.card-ngo {
    border: none;
    border-radius: 0.85rem;
    box-shadow: 0 0.35rem 1.2rem rgba(10, 31, 30, 0.08);
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-ngo:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(10, 31, 30, 0.12);
}

.icon-round {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(92, 181, 50, 0.18);
    color: var(--brand-green-dark);
    font-size: 1.35rem;
}

.page-title {
    font-weight: 800;
    color: var(--brand-blue-dark);
    letter-spacing: -0.02em;
}

/* עמוד אודות — רשימות RTL */
.about-page .about-numbered-list {
    padding-inline-start: 1.5rem;
    list-style-position: outside;
}

.about-page .about-bullets {
    padding-inline-start: 1.25rem;
    list-style-type: disc;
}

/* Section title with lines */
.section-title-lined {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-title-lined h2 {
    display: inline-block;
    font-weight: 800;
    color: var(--brand-blue);
    margin: 0 1rem;
    font-size: 1.75rem;
}

.section-title-lined .line {
    display: inline-block;
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
    vertical-align: middle;
    opacity: 0.75;
}

/* דף פעילויות — כותרת מעל הפסקה, מיושרת ל-start (פינה ב-RTL) */
.activities-page-intro__title {
    font-weight: 800;
    color: var(--brand-blue);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

/* Square media area inside activities cards */
.activities-square-card-ref {
    background: #fff;
    border: 1px solid rgba(21, 101, 192, 0.14);
}

.activities-square-card-ref .activity-rich-card__media {
    /* smaller image area than full square */
    aspect-ratio: auto;
    height: clamp(170px, 20vw, 215px);
    background: linear-gradient(145deg, rgba(92, 181, 50, 0.14) 0%, rgba(21, 101, 192, 0.12) 100%);
}

.activities-square-card-ref .activity-rich-card__img {
    object-fit: cover;
    object-position: center;
}

.activities-square-card-ref .activity-rich-card__title {
    font-size: 1.06rem;
    letter-spacing: -0.01em;
}

.activities-square-card-ref .activity-rich-card__desc {
    font-size: 0.93rem;
    color: #52606d;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .activities-square-card-ref .activity-rich-card__media {
        height: 190px;
    }

    .activities-square-card-ref .activity-rich-card__desc {
        -webkit-line-clamp: 6;
    }
}

/* Activity card (גריד) */
.activity-card-ngo {
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.08);
}

/* חברי העמותה — כרטיס טקסט בלבד (ללא תמונה) */
.member-card-text {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.08);
    padding: 1.35rem 1.15rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.activity-card-ngo .card-img-wrap {
    position: relative;
    height: 160px;
    background: linear-gradient(135deg, #c5d4c8 0%, var(--ngo-olive) 100%);
}

.activity-card-ngo .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-card-ngo .title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: #fff;
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-size: 0.95rem;
}

.activity-meta {
    font-size: 0.85rem;
    color: #555;
}

.activity-box-light {
    background: #eef7ff;
    border-radius: 0.65rem;
    padding: 0.75rem 1rem;
}

.btn-cta-red {
    background: var(--ngo-red);
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 0 0 0.85rem 0.85rem;
    padding: 0.85rem;
    width: 100%;
}

.btn-cta-red:hover {
    background: #a82825;
    color: #fff;
}

/* Activities — rich cards (תמונה + טקסט + וידאו) */
.activity-rich-card {
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0.35rem 1.25rem rgba(0, 0, 0, 0.09);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.activity-rich-card:hover {
    box-shadow: 0 0.5rem 1.75rem rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.activity-rich-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #e8f4ea 0%, #e3eef8 100%);
}

.activity-rich-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.activity-rich-card__title {
    color: var(--brand-blue);
    font-size: 1.125rem;
    line-height: 1.35;
}

.activity-rich-card__desc {
    font-size: 0.95rem;
    line-height: 1.65;
}

.activity-rich-card__video {
    background: #0d1117;
    max-height: min(52vw, 280px);
    object-fit: contain;
}

@media (min-width: 768px) {
    .activity-rich-card__video {
        max-height: 220px;
    }
}

/* דף תרומה — עקבי עם צבעי המותג ועמוד צור קשר */
.donate-page-ref {
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.donate-page-ref__lead {
    font-size: 1.08rem;
    line-height: 1.65;
    max-width: 28rem;
}

.donate-form-ref {
    background: #fff;
    border: 1px solid rgba(21, 101, 192, 0.18);
    border-radius: 0.65rem;
    padding: 1.65rem 1.5rem 1.75rem;
    box-shadow: 0 0.2rem 1rem rgba(13, 71, 161, 0.07);
    position: relative;
}

.donate-form-ref > h2 {
    padding-bottom: 0;
    margin-bottom: 1.15rem !important;
}

.donate-form-ref > h2::after {
    content: "";
    display: block;
    height: 2px;
    margin-top: 0.55rem;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
    max-width: 5rem;
}

.donate-form-ref .form-label {
    color: var(--brand-ink);
    font-size: 0.82rem;
    letter-spacing: 0.01em;
}

.donate-form-ref .form-control,
.donate-form-ref .form-select {
    border-color: rgba(21, 101, 192, 0.22);
    font-size: 0.95rem;
    min-height: 2.65rem;
    background-color: #f8fafc;
    border-radius: 0.4rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.donate-form-ref .form-control:hover,
.donate-form-ref .form-select:hover {
    border-color: rgba(21, 101, 192, 0.38);
}

.donate-form-ref .form-control:focus,
.donate-form-ref .form-select:focus {
    background-color: #fff;
    border-color: rgba(21, 101, 192, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(21, 101, 192, 0.12);
}

.donate-form-ref .donate-form-ref__field {
    margin-bottom: 0.85rem;
}

.donate-form-ref .donate-form-ref__field.donate-form-ref__field--actions {
    margin-bottom: 0;
    margin-top: 0.35rem;
    padding-top: 0.35rem;
}

@media (max-width: 991.98px) {
    .donate-form-ref {
        padding-inline-start: 1.75rem;
        padding-inline-end: 1.35rem;
    }
}

.btn-donate-bit-outline {
    border: 2px solid rgba(21, 101, 192, 0.35);
    color: var(--brand-blue-dark);
    font-weight: 600;
    background: #fff;
    border-radius: 0.35rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-donate-bit-outline:hover {
    background: var(--brand-blue-soft);
    border-color: var(--brand-blue);
    color: var(--brand-blue-dark);
}

.donate-story-card {
    border-radius: 1rem;
    overflow: hidden;
    min-height: min(280px, 42vw);
    background: linear-gradient(145deg, var(--brand-green-soft) 0%, var(--brand-blue-soft) 48%, #e3f2fd 100%);
    box-shadow: 0 0.45rem 1.4rem rgba(21, 101, 192, 0.14);
    position: relative;
}

.donate-story-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 75% 80% at 0% 0%, rgba(92, 181, 50, 0.28) 0%, transparent 58%);
    pointer-events: none;
}

.donate-story-card__inner {
    position: relative;
    z-index: 1;
    padding: 2rem 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.donate-story-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    align-self: flex-start;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--brand-blue-dark);
    background: rgba(255, 255, 255, 0.85);
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.donate-story-card__quote {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 700;
    line-height: 1.45;
    color: var(--brand-ink);
    max-width: 26rem;
}

.donate-thanks-block__title {
    color: var(--brand-blue-dark);
}

/* דף תרומה — תצוגת ממשק תשלום (Tranzila / PayPal) — דוגמה ללא איסוף פרטי כרטיס באתר */
.payment-panel-placeholder {
    padding: 0.65rem 0.85rem;
    border-radius: 0.4rem;
    background: rgba(21, 101, 192, 0.06);
    border: 1px dashed rgba(21, 101, 192, 0.22);
}

.payment-checkout-preview {
    max-width: 400px;
    margin-inline: auto;
}

.tranzila-checkout-preview {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.5rem;
    padding: 1.25rem 1.35rem 1.5rem;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.07);
}

.tranzila-checkout-preview__logo {
    text-align: center;
    font-weight: 700;
    font-size: 1.35rem;
    color: #00b16a;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.tranzila-checkout-preview__secure-note {
    color: #5c6c7a;
    line-height: 1.45;
}

.tranzila-checkout-preview__card-note {
    line-height: 1.45;
    color: #455a64;
}

.tranzila-checkout-preview__divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0.75rem 0 0.65rem;
}

.tranzila-checkout-preview__next-step {
    background: rgba(21, 101, 192, 0.06);
    border: 1px solid rgba(21, 101, 192, 0.12);
    color: var(--brand-blue-dark);
}

.tranzila-checkout-preview__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    opacity: 0.55;
    font-size: 0.7rem;
    color: #78909c;
}

.tranzila-checkout-preview__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.paypal-checkout-preview {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.5rem;
    padding: 1.35rem 1.35rem 1.5rem;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.07);
}

.paypal-checkout-preview__brand {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.paypal-checkout-preview__brand-p {
    color: #003087;
}

.paypal-checkout-preview__brand-pal {
    color: #009cde;
}

.paypal-checkout-preview__secure-note {
    color: #5c6c7a;
    line-height: 1.45;
}

.paypal-checkout-preview__next-step {
    background: rgba(0, 48, 135, 0.06);
    border: 1px solid rgba(0, 48, 135, 0.15);
    color: #003087;
}

/* Contact */
.contact-form-panel {
    background: #f1f3f5;
    border-radius: 0.75rem;
    padding: 1.75rem;
}

.contact-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.contact-detail-row i {
    font-size: 1.15rem;
    margin-top: 0.15rem;
}

.icon-pin {
    color: var(--brand-green);
}

.icon-phone {
    color: #2563eb;
}

.icon-mail {
    color: #2563eb;
}

.map-embed-ngo {
    border: 0;
    width: 100%;
    min-height: 260px;
    border-radius: 0.65rem;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
}

.legal-note {
    font-size: 0.78rem;
    line-height: 1.5;
    color: #555;
}

/* צור קשר — צבעי המותג: ירוק (כמו "נוטעים") + כחול (כמו "עתיד"), כפתור כמו תרומה */
.contact-page-ref .contact-info-ref {
    padding-top: 0.25rem;
}

.contact-line-ref__label {
    color: var(--brand-ink);
    font-weight: 600;
}

.contact-line-ref__value,
.contact-line-ref a.contact-line-ref__value {
    color: var(--brand-blue);
    font-weight: 500;
}

.contact-line-ref--address .contact-line-ref__value {
    color: var(--brand-green-dark);
}

.contact-line-ref a.contact-line-ref__value:hover {
    color: var(--brand-blue-dark);
    text-decoration: underline !important;
}

.contact-line-ref--address a.contact-line-ref__value:hover {
    color: var(--brand-green);
}

.contact-form-ref {
    background: #fff;
    border: 1px solid rgba(21, 101, 192, 0.15);
    border-radius: 0.5rem;
    padding: 1.5rem 1.5rem 1.35rem;
    box-shadow: 0 0.125rem 0.75rem rgba(13, 71, 161, 0.06);
}

.contact-form-ref .form-control {
    border-color: #ced4da;
    font-size: 0.95rem;
}

.contact-form-ref .form-control:focus {
    border-color: rgba(21, 101, 192, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(21, 101, 192, 0.12);
}

.btn-contact-send {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-blue) 100%);
    border: none;
    color: #fff !important;
    font-weight: 700;
    border-radius: 0.35rem;
    min-width: 5.5rem;
    transition: filter 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-contact-send:hover {
    background: linear-gradient(135deg, var(--brand-green-dark) 0%, var(--brand-blue-dark) 100%);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(21, 101, 192, 0.3);
}

/* צור קשר — פריסה נקייה (כרטיס מידע + טופס), רקע עדין */
.contact-page-layout {
    background: linear-gradient(180deg, #e8f4fc 0%, #f5f9fc 38%, #fafcfb 100%);
    margin-inline: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
}

.contact-page-layout .container {
    max-width: 1100px;
}

.contact-page-layout__header {
    padding-top: 0.25rem;
}

.contact-page-layout__title {
    color: var(--brand-blue-dark);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.contact-aside-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 0.35rem 1.75rem rgba(13, 71, 161, 0.08);
    border: 1px solid rgba(21, 101, 192, 0.1);
}

.contact-aside-card__title {
    color: var(--brand-blue-dark);
}

.contact-form-ref--panel {
    border-radius: 1rem;
    padding: 1.75rem 1.65rem 1.85rem;
    box-shadow: 0 0.4rem 2rem rgba(13, 71, 161, 0.09);
    border: 1px solid rgba(21, 101, 192, 0.12);
}

.contact-form-ref__label {
    color: var(--brand-blue-dark);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.contact-form-ref__input,
.contact-form-ref__textarea {
    border-radius: 0.5rem !important;
    border-color: rgba(21, 101, 192, 0.2) !important;
    background-color: #fff;
    min-height: 2.75rem;
}

.contact-form-ref__textarea {
    min-height: 8rem;
    resize: vertical;
}

.contact-form-ref--panel .contact-form-ref__input:focus,
.contact-form-ref--panel .contact-form-ref__textarea:focus {
    border-color: rgba(21, 101, 192, 0.45) !important;
    box-shadow: 0 0 0 0.2rem rgba(21, 101, 192, 0.1);
    background-color: #fff;
}

.btn-contact-send--soft {
    background: linear-gradient(180deg, #7eb8d6 0%, #5a9ec4 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 2px 10px rgba(21, 101, 192, 0.2);
    font-weight: 700;
}

.btn-contact-send--soft:hover {
    background: linear-gradient(180deg, #6aaac9 0%, #4a8fb8 100%) !important;
    filter: brightness(1.02);
    box-shadow: 0 4px 14px rgba(21, 101, 192, 0.28);
    transform: translateY(-1px);
}

@media (max-width: 991.98px) {
    .contact-page-layout {
        margin-inline: 0;
        width: 100%;
        max-width: 100%;
    }

    .contact-aside-card {
        margin-bottom: 0.5rem;
    }
}

/* Footer */
.footer-brand-stripe {
    height: 6px;
    background: linear-gradient(90deg, var(--brand-green) 0%, var(--brand-blue) 100%);
}

.footer-ngo {
    background: linear-gradient(180deg, var(--brand-blue-dark) 0%, #071a2e 100%);
}

.social-link:hover {
    color: #fff !important;
}

/* Info cards row (דף הבית) */
.info-card-header {
    background: linear-gradient(180deg, var(--brand-blue-soft) 0%, #d0e8fc 100%);
    color: var(--brand-blue-dark);
    font-weight: 700;
    text-align: center;
    padding: 0.65rem 1rem;
    border-radius: 0.65rem 0.65rem 0 0;
}

.info-card-body {
    padding: 1rem 1.1rem;
    border: 1px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 0.65rem 0.65rem;
    background: #fff;
    min-height: 140px;
    font-size: 0.92rem;
}

.form-card {
    max-width: 36rem;
    margin-inline: auto;
}

/* Buttons primary override for NGO */
.btn-ngo-primary {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: #fff;
    font-weight: 600;
}

.btn-ngo-primary:hover {
    background: var(--brand-green-dark);
    border-color: var(--brand-green-dark);
    color: #fff;
}

/* ——— Premium UI refresh: שפה, לוגו מילולי, כפתורי כותרת, הירו ——— */
.lang-switch .lang-link {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-weight: 600;
    padding: 0.15rem 0.35rem;
    border-radius: 0.25rem;
    transition: color 0.2s ease, background 0.2s ease;
}

.lang-switch .lang-link:hover {
    color: #fff;
}

.lang-switch .lang-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.logo-mark-icon {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-brand:hover .logo-mark-icon {
    transform: scale(1.04) rotate(-2deg);
}

.brand-wordmark {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.05;
    font-family: "Rubik", "Assistant", sans-serif;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-wordmark__green {
    color: var(--brand-green-dark);
}

.brand-wordmark__blue {
    color: var(--brand-blue);
}

.brand-wordmark--footer {
    font-size: 1.35rem;
}

.brand-wordmark--footer .brand-wordmark__green {
    color: #9fdf7a;
}

.brand-wordmark--footer .brand-wordmark__blue {
    color: #90caf9;
}

.footer-logo-mark {
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.25));
}

.btn-header-login {
    border: 1px solid rgba(21, 101, 192, 0.35);
    color: var(--brand-blue) !important;
    background: #fff;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-header-login:hover {
    background: var(--brand-blue-soft);
    border-color: var(--brand-blue);
    color: var(--brand-blue-dark) !important;
}

.btn-header-register {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
    color: #fff !important;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(21, 101, 192, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-header-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(21, 101, 192, 0.45);
    color: #fff !important;
}

.btn-header-donate {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
    color: #fff !important;
    border: none;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-header-donate:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(74, 157, 40, 0.45);
    color: #fff !important;
}

.py-lg-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
}

/* Hero — באנר מלא רוחב */
.hero-home {
    min-height: min(88vh, 720px);
    display: flex;
    align-items: stretch;
}

.hero-home__bg {
    position: absolute;
    inset: 0;
    background-image: url("https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=1920&q=85");
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 8s ease-out;
}

.hero-home:hover .hero-home__bg {
    transform: scale(1.06);
}

.hero-home__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(13, 71, 161, 0.92) 0%, rgba(13, 71, 161, 0.55) 42%, rgba(74, 157, 40, 0.35) 100%);
}

.hero-home__inner {
    z-index: 1;
}

.hero-home__badge {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.4rem 0.9rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    backdrop-filter: blur(8px);
}

.hero-home__title {
    color: #fff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    line-height: 1.15;
}

.hero-home__lead {
    color: rgba(255, 255, 255, 0.88) !important;
}

.shadow-soft {
    box-shadow: 0 0.5rem 2rem rgba(13, 71, 161, 0.12) !important;
}

.hero-stats {
    max-width: 28rem;
    margin-inline: auto;
}

@media (min-width: 992px) {
    .hero-stats {
        margin-inline: 0 0 auto;
    }
}

.hero-stats.backdrop-blur {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.hero-progress {
    height: 0.65rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.2);
}

.hero-progress .progress-bar {
    background: linear-gradient(90deg, var(--brand-green) 0%, #7dd85a 100%);
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
    border: none;
    color: #fff !important;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(74, 157, 40, 0.45);
    color: #fff !important;
}

.btn-hero-outline {
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #fff !important;
    background: transparent;
    font-weight: 700;
    transition: all 0.25s ease;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff !important;
}

/* כרטיסי חדשות */
.card-premium {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 1.25rem 2.5rem rgba(13, 71, 161, 0.15) !important;
}

.card-premium__img-wrap {
    overflow: hidden;
}

.card-premium__img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.card-premium:hover .card-premium__img {
    transform: scale(1.06);
}

.card-ngo--lift {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-ngo--lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 1rem 2rem rgba(13, 71, 161, 0.12) !important;
}

.btn-gradient-outline {
    border: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--brand-blue), var(--brand-green)) border-box;
    color: var(--brand-blue-dark) !important;
    font-weight: 700;
}

.btn-gradient-outline:hover {
    background: linear-gradient(135deg, var(--brand-blue-soft) 0%, var(--brand-green-soft) 100%);
    border-color: transparent;
    color: var(--brand-blue-dark) !important;
}

/* פוטר מורחב */
.footer-heading {
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: inline-block;
    padding: 0.2rem 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(-4px);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-social {
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social:hover {
    color: #fff !important;
    transform: scale(1.1);
}

/* שיפור כרטיסים כלליים */
.card-ngo {
    border-radius: 1rem !important;
}

body.body-ngo * {
    scroll-behavior: smooth;
}

/* ——— Reference NGO theme (white + pink accent #E94E65) ——— */
:root {
    --accent-pink: #e94e65;
    --accent-pink-dark: #d63d56;
    --accent-pink-soft: #fde8ec;
}

/* נשארים עם רקע body.body-ngo (מעבר רך) — בלי לבן שטוח שמבטל אחידות */
body.body-theme-ref {
    color: var(--brand-ink);
}

.top-bar-ref {
    font-size: 0.8125rem;
    background: linear-gradient(
        90deg,
        rgba(232, 245, 228, 0.55) 0%,
        rgba(255, 255, 255, 0.88) 45%,
        rgba(227, 242, 253, 0.55) 100%
    );
    border-bottom: 1px solid rgba(21, 101, 192, 0.1) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.lang-switch-ref a {
    color: #666;
    text-decoration: none;
    font-weight: 600;
    padding: 0.1rem 0.35rem;
    border-radius: 0.25rem;
    transition: color 0.2s ease, background 0.2s ease;
}

.lang-switch-ref a:hover {
    color: var(--brand-blue);
}

.lang-switch-ref a.active {
    color: var(--brand-blue-dark);
    background: var(--brand-blue-soft);
}

.top-link-ref {
    color: #666 !important;
    transition: color 0.2s ease;
}

.top-link-ref:hover {
    color: var(--brand-blue) !important;
}

.header-ref {
    position: relative;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    z-index: 1020;
}

.logo-mark-icon--ref {
    border-radius: 50%;
    border: 2px solid rgba(74, 157, 40, 0.35);
}

/* Tree logo PNG — עיגול מלא ליד שם העמותה */
.logo-brand-img {
    display: block;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    object-position: center center;
    background: #fff;
    border: 2px solid rgba(21, 101, 192, 0.28);
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.08));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-brand-img--header {
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
}

.logo-brand-img--footer {
    width: 56px;
    height: 56px;
    max-width: 56px;
    max-height: 56px;
}

.navbar-brand:hover .logo-brand-img {
    transform: scale(1.03);
}

.brand-title-ref {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    letter-spacing: -0.02em;
}

.brand-title-ref__green {
    color: var(--brand-green-dark);
}

.footer-ngo--ref .brand-title-ref__green--on-dark {
    color: #8fd96a;
}

.brand-title-ref__blue {
    color: var(--brand-blue);
}

.footer-ngo--ref .brand-title-ref__blue--on-dark {
    color: #90caf9;
}

.nav-ref .nav-link {
    color: var(--brand-ink) !important;
    font-weight: 600;
    padding: 0.5rem 0.65rem;
    border-radius: 0.4rem;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-ref .nav-link:hover {
    color: var(--brand-blue-dark) !important;
    background: var(--brand-blue-soft);
}

.nav-ref .nav-link.active {
    color: var(--brand-green-dark) !important;
    font-weight: 700;
    box-shadow: inset 0 -2px 0 0 var(--brand-green);
    background: var(--brand-green-soft);
}

/* תרומה — ירוק + כחול כמו שם המותג (נוטעים / עתיד) */
.btn-donate-pink {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-blue) 100%) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700;
    transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-donate-pink:hover {
    background: linear-gradient(135deg, var(--brand-green-dark) 0%, var(--brand-blue-dark) 100%) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.35);
}

.footer-accent-line {
    height: 4px;
    background: linear-gradient(90deg, var(--brand-green) 0%, var(--brand-blue) 100%);
}

.footer-ngo--ref {
    background: linear-gradient(180deg, #1a2332 0%, #0f1419 100%);
}

/* Hero carousel (full-bleed image + overlay) */
.hero-carousel-ref {
    min-height: clamp(340px, 54vh, 520px);
}

.hero-carousel-ref .carousel-inner,
.hero-carousel-ref .carousel-item {
    min-height: clamp(340px, 54vh, 520px);
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 28%;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.65) 100%);
}

/* בזמן fade — שני שקפים עם אטימות חלקית גורמים לטקסט "כפול"; מסתירים כיתוב בשקף לא פעיל */
.hero-carousel-ref .carousel.carousel-fade .carousel-item:not(.active) .hero-caption-ref {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
}

.hero-carousel-ref .carousel.carousel-fade .carousel-item.active .hero-caption-ref {
    visibility: visible;
    z-index: 2;
}

/* ביטול text-shadow של Bootstrap על .carousel-caption + צל נפרד על h1 — גורם למראה "טקסט כפול" */
.hero-carousel-ref .carousel-caption.hero-caption-ref {
    text-shadow: none !important;
    filter: none;
}

.hero-caption-ref {
    position: absolute;
    inset-inline: 0;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 100%;
    max-width: min(48rem, 100%);
    margin-inline: auto;
    padding: 1.5rem clamp(1rem, 4vw, 2rem);
    box-sizing: border-box;
    text-align: center;
}

.hero-caption-ref h1 {
    color: #fff;
    text-shadow: none !important;
    margin-inline: auto;
    max-width: 100%;
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
}

.hero-caption-ref__sub {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: min(36rem, 92vw);
    margin-inline: auto !important;
    margin-bottom: 0 !important;
    text-align: center !important;
    text-shadow: none !important;
    -webkit-font-smoothing: antialiased;
}

/* כפתורי קרוסלה — רוחב קבוע, בלי כפילות אייקון (RTL) */
.hero-carousel-ref .hero-carousel-btn.carousel-control-prev,
.hero-carousel-ref .hero-carousel-btn.carousel-control-next {
    width: 3.25rem;
    height: 3.25rem;
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    opacity: 0.9;
    background: transparent !important;
    background-image: none !important;
}

.hero-carousel-ref .hero-carousel-btn.carousel-control-prev {
    inset-inline-start: 0.5rem;
    inset-inline-end: auto;
}

.hero-carousel-ref .hero-carousel-btn.carousel-control-next {
    inset-inline-end: 0.5rem;
    inset-inline-start: auto;
}

.hero-carousel-btn .carousel-control-prev-icon,
.hero-carousel-btn .carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-size: 60% 60%;
    background-color: rgba(255, 255, 255, 0.15);
    display: block;
}

/* Section titles + cards — pink accent */
.section-title-lined--ref h2 {
    color: var(--brand-ink);
}

.section-title-lined--ref .line {
    background: linear-gradient(90deg, var(--accent-pink), #f5a0ad);
}

.btn-outline-accent-ref {
    border: 2px solid var(--accent-pink);
    color: var(--accent-pink) !important;
    font-weight: 600;
    background: transparent;
}

.btn-outline-accent-ref:hover {
    background: var(--accent-pink-soft);
    border-color: var(--accent-pink-dark);
    color: var(--accent-pink-dark) !important;
}

.btn-accent-ref {
    background: var(--accent-pink);
    border: none;
    color: #fff !important;
    font-weight: 600;
}

.btn-accent-ref:hover {
    background: var(--accent-pink-dark);
    color: #fff !important;
}

.icon-round--ref {
    background: var(--accent-pink-soft);
    color: var(--accent-pink);
}

.card-ngo--ref:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(233, 78, 101, 0.12);
}

.card-premium--ref:hover {
    box-shadow: 0 1rem 2rem rgba(233, 78, 101, 0.12) !important;
}

/* טלפון בלבד: שם המותג (המילים) — בלי לגעת בגודל תמונת הלוגו */
@media (max-width: 767.98px) {
    .header-ref .brand-title-ref {
        font-size: clamp(1.35rem, 5.5vw, 1.75rem);
    }
}

/* Home — redesign v4 (match provided screenshots) */
body.home-v4-page-ref .header-ref {
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 10px 28px rgba(13, 71, 161, 0.10);
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

body.home-v4-page-ref .header-ref.header-ref--scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
}

.home-v4-ref {
    background:
        radial-gradient(circle at 12% 0%, rgba(21, 101, 192, 0.08) 0%, transparent 42%),
        radial-gradient(circle at 92% 100%, rgba(92, 181, 50, 0.10) 0%, transparent 48%),
        linear-gradient(180deg, #f7fbff 0%, #f9fcf8 100%);
}

.home-v4-hero-ref {
    position: relative;
    min-height: 520px;
    padding-top: 1rem;
    overflow: hidden;
}

.home-v4-hero-ref__bg {
    position: absolute;
    inset: 0;
    background-image: url("/images/home-v4-hero-donation.png");
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.home-v4-hero-ref__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(92, 181, 50, 0.24) 0%, transparent 48%),
        radial-gradient(circle at 76% 16%, rgba(21, 101, 192, 0.30) 0%, transparent 44%),
        linear-gradient(180deg, rgba(13, 71, 161, 0.92) 0%, rgba(21, 101, 192, 0.78) 55%, rgba(92, 181, 50, 0.22) 100%);
    z-index: 2;
}

.home-v4-hero-ref__intro {
    max-width: 48rem;
    margin-inline: auto;
}

.home-v4-hero-ref__title {
    font-weight: 950;
    letter-spacing: -0.03em;
    line-height: 1.15;
    font-size: clamp(1.8rem, 4.8vw, 3.3rem);
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.home-v4-hero-ref__subtitle {
    color: #475569;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.7;
}

.home-v4-hero-ref__cta {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.home-v4-btn-primary-ref {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-blue) 100%);
    border: none;
    color: #fff !important;
    font-weight: 900;
    box-shadow: 0 18px 46px rgba(13, 71, 161, 0.30);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.home-v4-btn-primary-ref:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 60px rgba(13, 71, 161, 0.38);
    filter: brightness(1.02);
}

.home-v4-btn-secondary-ref {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.70);
    color: #fff !important;
    font-weight: 900;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.home-v4-btn-secondary-ref:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.90);
}

/* Quickbar under hero (like screenshot tabs) */
.home-v4-hero-ref__quickbar {
    margin-top: 1.35rem;
}

.home-v4-quickbar-ref {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.70);
    border-radius: 1.15rem;
    box-shadow: 0 22px 60px rgba(13, 71, 161, 0.18);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
}

.home-v4-quickbar-ref__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.95rem 0.65rem;
    text-decoration: none;
    color: #0f172a;
    font-weight: 900;
    border-left: 1px solid rgba(15, 23, 42, 0.08);
    transition: background 0.2s ease, color 0.2s ease;
}

.home-v4-quickbar-ref__item:last-child {
    border-left: 0;
}

.home-v4-quickbar-ref__item i {
    color: var(--brand-blue-dark);
    font-size: 1.15rem;
}

.home-v4-quickbar-ref__item.is-active {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 100%);
    color: #fff;
}

.home-v4-quickbar-ref__item.is-active i {
    color: #fff;
}

/* Campaign layout (widget + big banner image) */
.home-v4-campaign-wrap-ref {
    margin-top: -0.5rem;
}

.home-v4-chip-ref {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-weight: 900;
    font-size: 0.82rem;
    color: var(--brand-blue-dark);
    background: rgba(21, 101, 192, 0.10);
    border: 1px solid rgba(21, 101, 192, 0.14);
}

.home-v4-chip-ref--green {
    color: #0f3d25;
    background: rgba(92, 181, 50, 0.14);
    border-color: rgba(92, 181, 50, 0.22);
}

.home-v4-chip-ref--dark {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.10);
}

.home-v4-donate-widget-ref {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 1.35rem;
    border: 1px solid rgba(21, 101, 192, 0.12);
    box-shadow: 0 28px 80px rgba(13, 71, 161, 0.20);
    padding: 1.35rem 1.25rem;
}

.home-v4-donate-widget-ref__title {
    font-weight: 950;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.home-v4-donate-widget-ref__label {
    font-size: 0.8rem;
    font-weight: 900;
    color: #64748b;
}

.home-v4-donate-widget-ref__sum {
    font-size: 1.55rem;
    font-weight: 950;
    letter-spacing: -0.02em;
    color: var(--brand-blue-dark);
}

.home-v4-progress-ref {
    height: 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.home-v4-progress-ref .progress-bar {
    background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-green) 100%);
}

.home-v4-donate-widget-ref__donorsTitle {
    font-weight: 950;
    color: #0f172a;
    margin-bottom: 0.6rem;
}

.home-v4-donor-list-ref {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.home-v4-donor-item-ref {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.7rem;
    border-radius: 0.9rem;
    background: linear-gradient(180deg, rgba(21, 101, 192, 0.06) 0%, rgba(92, 181, 50, 0.05) 100%);
    border: 1px solid rgba(21, 101, 192, 0.12);
}

.home-v4-donor-item-ref__name {
    font-weight: 750;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-v4-donor-item-ref__amt {
    font-weight: 950;
    color: var(--brand-blue-dark);
    white-space: nowrap;
}

.home-v4-campaign-card-ref {
    position: relative;
    border-radius: 1.35rem;
    overflow: hidden;
    border: 1px solid rgba(21, 101, 192, 0.12);
    box-shadow: 0 30px 90px rgba(13, 71, 161, 0.16);
    min-height: 320px;
    background: #fff;
}

.home-v4-campaign-card-ref__media {
    position: absolute;
    inset: 0;
    background-image: url("https://images.unsplash.com/photo-1520975593415-5f2a86f3b6a6?auto=format&fit=crop&w=1800&q=80");
    background-size: cover;
    background-position: center;
}

.home-v4-campaign-card-ref__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.20) 0%, transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.0) 0%, rgba(13, 71, 161, 0.52) 60%, rgba(92, 181, 50, 0.22) 100%);
}

.home-v4-campaign-card-ref__content {
    position: relative;
    z-index: 2;
    padding: 1.25rem 1.25rem 1.1rem;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-shadow: 0 14px 44px rgba(0, 0, 0, 0.26);
}

.home-v4-campaign-card-ref__title {
    font-weight: 950;
    letter-spacing: -0.02em;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.home-v4-campaign-card-ref__dots {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.9rem;
}

.home-v4-campaign-card-ref__dots span {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
}

.home-v4-campaign-card-ref__dots span.is-active {
    background: rgba(255, 255, 255, 0.95);
    width: 0.9rem;
}

.home-v4-sponsors-ref {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    align-items: center;
}

.home-v4-sponsor-logo-ref {
    height: 68px;
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.92);
    display: grid;
    place-items: center;
    color: rgba(15, 23, 42, 0.45);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 16px 44px rgba(13, 71, 161, 0.12);
}

.home-v4-section-title-ref {
    font-weight: 950;
    letter-spacing: -0.02em;
    color: var(--brand-ink);
}

/* Home FAQ: always-visible Q&A + one circular AI illustration per item */
.home-v4-faq-ref {
    background: #fff;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.home-v4-faq-ref__card {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

/* Center Q, A, and illustration so left/right space is symmetric */
.home-v4-faq-ref__card [class*="col-"] {
    text-align: center;
}

.home-v4-faq-ref__card:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
}

.home-v4-faq-ref__q {
    font-weight: 950;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.45;
    color: var(--brand-blue-dark);
    margin-bottom: 0.85rem;
}

.home-v4-faq-ref__a {
    color: #475569;
    font-size: 1rem;
    line-height: 1.8;
}

.home-v4-faq-ref__pics {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 10rem;
    padding: 0.5rem 0;
}

.home-v4-faq-ref__fig {
    margin: 0 auto;
    width: min(72vw, 240px);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 22px 55px rgba(13, 71, 161, 0.22);
    border: 3px solid rgba(255, 255, 255, 0.95);
    flex: 0 0 auto;
    animation: homeV4FaqPicFloat 6s ease-in-out infinite;
}

.home-v4-faq-ref__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

@media (prefers-reduced-motion: reduce) {
    .home-v4-faq-ref__fig {
        animation: none !important;
    }
}

@media (max-width: 991.98px) {
    .home-v4-hero-ref {
        min-height: 430px;
        padding-bottom: 0;
    }

    .home-v4-campaign-wrap-ref {
        margin-top: 0;
    }
}

@media (max-width: 767.98px) {
    /* באנר ראשי: רוחב מלא לפי המכשיר, גובה פרופורציונלי (איור מרובע) */
    .home-v4-hero-ref {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        aspect-ratio: 1 / 1;
    }

    /* רק במובייל: איור מרובע נפרד; בדסקטופ נשאר home-v4-hero-donation */
    .home-v4-hero-ref__bg {
        background-image: url("/images/home-v4-hero-mobile.png");
        background-position: center center;
        background-size: cover;
    }

    .home-v4-quickbar-ref {
        grid-template-columns: 1fr;
    }

    .home-v4-quickbar-ref__item {
        justify-content: flex-start;
        border-left: 0;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
    }

    .home-v4-quickbar-ref__item:first-child {
        border-top: 0;
    }

    .home-v4-sponsors-ref {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
