/* ============================================================
   Albarae'm Al-Khadra Maronite Scouts - Haifa
   File: assets/css/style.css
   Purpose: Main website design
   ============================================================ */

/* ------------------------------------------------------------
   Root variables
   ------------------------------------------------------------ */

:root {
    --color-green: #31c84b;
    --color-green-dark: #178f2d;
    --color-green-soft: #eafbf0;

    --color-red: #d62828;
    --color-red-dark: #a91515;
    --color-red-soft: #fff0f0;

    --color-black: #151515;
    --color-dark: #1f2933;
    --color-muted: #6b7280;
    --color-border: #e5e7eb;

    --color-white: #ffffff;
    --color-bg: #f8faf8;
    --color-card: rgba(255, 255, 255, 0.92);

    --shadow-soft: 0 18px 50px rgba(20, 40, 20, 0.10);
    --shadow-card: 0 14px 35px rgba(20, 40, 20, 0.08);
    --shadow-strong: 0 24px 80px rgba(20, 40, 20, 0.16);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --font-main: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-arabic: "Noto Sans Arabic", "Tahoma", sans-serif;

    --container: 1180px;
    --header-height: 92px;

    --transition: 180ms ease;
}

/* ------------------------------------------------------------
   Reset / base
   ------------------------------------------------------------ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-main);
    color: var(--color-dark);
    background:
        radial-gradient(circle at top left, rgba(49, 200, 75, 0.12), transparent 34rem),
        radial-gradient(circle at top right, rgba(214, 40, 40, 0.09), transparent 30rem),
        linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--color-green-dark);
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

::selection {
    color: var(--color-white);
    background: var(--color-green-dark);
}

/* ------------------------------------------------------------
   Utilities
   ------------------------------------------------------------ */

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 9999;
    padding: 10px 14px;
    color: var(--color-white);
    background: var(--color-black);
    border-radius: var(--radius-sm);
    transform: translateY(-140%);
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-main {
    min-height: 55vh;
}

.section {
    padding: 84px 0;
}

.section--soft {
    background:
        linear-gradient(180deg, rgba(234, 251, 240, 0.72), rgba(255, 255, 255, 0.62));
}

.section-header {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--color-green-dark);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-eyebrow::before {
    content: "";
    width: 28px;
    height: 3px;
    background: var(--color-red);
    border-radius: 99px;
}

.section-title {
    margin: 0 0 14px;
    color: var(--color-black);
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.section-text {
    margin: 0;
    max-width: 720px;
    color: var(--color-muted);
    font-size: 1.06rem;
}

.text-center {
    text-align: center;
}

.text-center .section-header {
    margin-inline: auto;
}

.text-center .section-eyebrow {
    justify-content: center;
}

.card {
    padding: 28px;
    background: var(--color-card);
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(14px);
}

.card h2,
.card h3 {
    margin-top: 0;
    color: var(--color-black);
}

.card p:last-child {
    margin-bottom: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition),
        border-color var(--transition),
        color var(--transition);
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-green-dark), var(--color-green));
    box-shadow: 0 14px 30px rgba(49, 200, 75, 0.26);
}

.button--primary:hover {
    color: var(--color-white);
    box-shadow: 0 18px 42px rgba(49, 200, 75, 0.34);
}

.button--secondary {
    color: var(--color-black);
    background: var(--color-white);
    border-color: var(--color-border);
    box-shadow: var(--shadow-card);
}

.button--secondary:hover {
    color: var(--color-green-dark);
    border-color: rgba(49, 200, 75, 0.42);
}

.button--danger {
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-red-dark), var(--color-red));
    box-shadow: 0 14px 30px rgba(214, 40, 40, 0.22);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--color-green-dark);
    background: var(--color-green-soft);
    border: 1px solid rgba(49, 200, 75, 0.20);
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 800;
}

.badge--red {
    color: var(--color-red-dark);
    background: var(--color-red-soft);
    border-color: rgba(214, 40, 40, 0.18);
}

.arabic-text {
    font-family: var(--font-arabic);
}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(229, 231, 235, 0.88);
    backdrop-filter: blur(18px);
}

.top-notice {
    color: var(--color-white);
    background:
        linear-gradient(90deg, var(--color-green-dark), var(--color-green), var(--color-red));
    font-size: 0.82rem;
    font-weight: 700;
}

.top-notice__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 36px;
    text-align: center;
}

.top-notice__dot {
    width: 5px;
    height: 5px;
    flex: 0 0 auto;
    background: currentColor;
    border-radius: 50%;
    opacity: 0.85;
}

.header-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-height);
    padding: 12px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand:hover {
    color: inherit;
}

.brand__logo-wrap {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    background: var(--color-white);
    border: 1px solid rgba(49, 200, 75, 0.22);
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(49, 200, 75, 0.16);
    overflow: hidden;
}

.brand__logo {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.brand__text {
    display: grid;
    min-width: 0;
}

.brand__name {
    color: var(--color-black);
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.brand__tagline {
    max-width: 380px;
    color: var(--color-muted);
    font-size: 0.86rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.primary-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    color: var(--color-dark);
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 800;
    transition:
        color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.primary-nav__link:hover,
.primary-nav__link.is-active {
    color: var(--color-green-dark);
    background: var(--color-green-soft);
}

.primary-nav__link--highlight {
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-green-dark), var(--color-green));
    box-shadow: 0 12px 28px rgba(49, 200, 75, 0.22);
}

.primary-nav__link--highlight:hover,
.primary-nav__link--highlight.is-active {
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-red-dark), var(--color-red));
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    place-items: center;
    gap: 5px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    box-shadow: var(--shadow-card);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-black);
    border-radius: 99px;
    transition: transform var(--transition), opacity var(--transition);
}

body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------------------------------------
   Demo banner
   ------------------------------------------------------------ */

.demo-banner {
    position: relative;
    z-index: 50;
    color: #6a3b00;
    background: #fff4dc;
    border-bottom: 1px solid #f2d49a;
}

.demo-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    text-align: center;
    font-size: 0.92rem;
}

.demo-banner strong {
    color: #9b4c00;
}

/* ------------------------------------------------------------
   Hero / home page
   ------------------------------------------------------------ */

.hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0 72px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 26px auto auto 50%;
    width: 620px;
    height: 620px;
    background:
        radial-gradient(circle, rgba(49, 200, 75, 0.16), transparent 62%),
        radial-gradient(circle at 30% 20%, rgba(214, 40, 40, 0.12), transparent 44%);
    border-radius: 50%;
    transform: translateX(-10%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
    gap: 46px;
    align-items: center;
}

.hero-content {
    max-width: 760px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 12px;
    color: var(--color-green-dark);
    background: rgba(234, 251, 240, 0.88);
    border: 1px solid rgba(49, 200, 75, 0.20);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 900;
}

.hero-title {
    margin: 0 0 18px;
    color: var(--color-black);
    font-size: clamp(2.45rem, 6vw, 5.1rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.hero-title span {
    color: var(--color-green-dark);
}

.hero-subtitle {
    max-width: 720px;
    margin: 0 0 28px;
    color: var(--color-muted);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 720px;
}

.hero-trust__item {
    padding: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(20, 40, 20, 0.06);
}

.hero-trust__item strong {
    display: block;
    color: var(--color-black);
    font-size: 1.25rem;
    line-height: 1.1;
}

.hero-trust__item span {
    display: block;
    margin-top: 4px;
    color: var(--color-muted);
    font-size: 0.86rem;
}

.hero-card {
    position: relative;
    padding: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82));
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 8px;
    background: linear-gradient(90deg, var(--color-green), var(--color-red));
}

.hero-card__logo {
    display: grid;
    place-items: center;
    width: 150px;
    height: 150px;
    margin: 0 auto 22px;
    background: var(--color-white);
    border: 1px solid rgba(49, 200, 75, 0.22);
    border-radius: 50%;
    box-shadow: 0 18px 50px rgba(49, 200, 75, 0.18);
}

.hero-card__logo img {
    width: 128px;
    height: 128px;
    object-fit: contain;
}

.hero-card h2 {
    margin: 0 0 10px;
    color: var(--color-black);
    font-size: 1.65rem;
    line-height: 1.18;
    text-align: center;
}

.hero-card p {
    margin: 0 0 22px;
    color: var(--color-muted);
    text-align: center;
}

.hero-card__list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: rgba(234, 251, 240, 0.62);
    border: 1px solid rgba(49, 200, 75, 0.16);
    border-radius: var(--radius-md);
    font-weight: 700;
}

.hero-card__list li::before {
    content: "✓";
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    color: var(--color-white);
    background: var(--color-green-dark);
    border-radius: 50%;
    font-size: 0.78rem;
}

/* ------------------------------------------------------------
   Grids / content blocks
   ------------------------------------------------------------ */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.feature-card {
    position: relative;
    min-height: 250px;
    padding: 28px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.feature-card::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 130px;
    height: 130px;
    background: var(--color-green-soft);
    border-radius: 50%;
}

.feature-card__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-green-dark), var(--color-green));
    border-radius: 18px;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(49, 200, 75, 0.20);
}

.feature-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    color: var(--color-black);
    font-size: 1.28rem;
}

.feature-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--color-muted);
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 18px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.stat-item {
    padding: 20px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff, #f8fff9);
    border: 1px solid rgba(49, 200, 75, 0.14);
    border-radius: var(--radius-lg);
}

.stat-item strong {
    display: block;
    color: var(--color-black);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.stat-item span {
    display: block;
    margin-top: 8px;
    color: var(--color-muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.cta-band {
    position: relative;
    overflow: hidden;
    padding: 42px;
    color: var(--color-white);
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 24rem),
        linear-gradient(135deg, var(--color-green-dark), var(--color-green));
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-strong);
}

.cta-band::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -70px;
    width: 230px;
    height: 230px;
    border: 34px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
}

.cta-band__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-band h2 {
    margin: 0 0 10px;
    color: var(--color-white);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    letter-spacing: -0.04em;
}

.cta-band p {
    margin: 0;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.86);
}

.cta-band .button {
    flex: 0 0 auto;
}

/* ------------------------------------------------------------
   Page title / simple pages
   ------------------------------------------------------------ */

.page-hero {
    padding: 70px 0 54px;
    background:
        linear-gradient(180deg, rgba(234, 251, 240, 0.72), rgba(255, 255, 255, 0));
}

.page-hero__inner {
    max-width: 840px;
}

.page-hero h1 {
    margin: 0 0 16px;
    color: var(--color-black);
    font-size: clamp(2.35rem, 5vw, 4.3rem);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.page-hero p {
    margin: 0;
    color: var(--color-muted);
    font-size: 1.14rem;
}

.content-wrap {
    padding: 50px 0 86px;
}

.content-card {
    max-width: 900px;
    padding: clamp(26px, 5vw, 46px);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.content-card h2 {
    margin: 34px 0 12px;
    color: var(--color-black);
    font-size: 1.55rem;
    letter-spacing: -0.03em;
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card p,
.content-card li {
    color: var(--color-muted);
}

.content-card a {
    color: var(--color-green-dark);
    font-weight: 800;
}

.content-card ul,
.content-card ol {
    padding-left: 1.25rem;
}

.legal-note {
    padding: 18px;
    color: #6a3b00;
    background: #fff4dc;
    border: 1px solid #f2d49a;
    border-radius: var(--radius-md);
}

/* ------------------------------------------------------------
   Donation page
   ------------------------------------------------------------ */

.donate-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
    gap: 28px;
    align-items: start;
    padding: 58px 0 90px;
}

.donate-info {
    position: sticky;
    top: 158px;
    display: grid;
    gap: 18px;
}

.donate-info-card {
    padding: 28px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.donate-info-card h2,
.donate-info-card h3 {
    margin: 0 0 12px;
    color: var(--color-black);
}

.donate-info-card p {
    margin: 0;
    color: var(--color-muted);
}

.donate-support-list {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.donate-support-list li {
    display: flex;
    gap: 10px;
    padding: 13px;
    background: var(--color-green-soft);
    border: 1px solid rgba(49, 200, 75, 0.16);
    border-radius: var(--radius-md);
    font-weight: 800;
}

.donate-support-list li::before {
    content: "✓";
    color: var(--color-green-dark);
    font-weight: 900;
}

.donate-form-card {
    padding: clamp(22px, 4vw, 34px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
    border: 1px solid rgba(229, 231, 235, 0.98);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(14px);
}

.donate-form-header {
    margin-bottom: 26px;
}

.donate-form-header h1,
.donate-form-header h2 {
    margin: 0 0 10px;
    color: var(--color-black);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.donate-form-header p {
    margin: 0;
    color: var(--color-muted);
}

.demo-payment-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
    padding: 16px;
    color: #6a3b00;
    background: #fff4dc;
    border: 1px solid #f2d49a;
    border-radius: var(--radius-md);
}

.demo-payment-alert strong {
    display: block;
    color: #9b4c00;
}

.donation-form {
    display: grid;
    gap: 24px;
}

.form-section {
    display: grid;
    gap: 16px;
    padding: 22px;
    background: rgba(248, 250, 248, 0.78);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.form-section__title {
    margin: 0;
    color: var(--color-black);
    font-size: 1.12rem;
    font-weight: 900;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-field label,
.form-label {
    color: var(--color-black);
    font-size: 0.9rem;
    font-weight: 850;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--color-black);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    outline: none;
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.form-field textarea {
    min-height: 105px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: rgba(49, 200, 75, 0.68);
    box-shadow: 0 0 0 4px rgba(49, 200, 75, 0.12);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #9ca3af;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.choice-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-card {
    position: relative;
    display: flex;
    min-height: 54px;
}

.choice-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-card span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 12px;
    color: var(--color-dark);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    font-weight: 900;
    text-align: center;
    transition:
        border-color var(--transition),
        background var(--transition),
        color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.choice-card input:checked + span {
    color: var(--color-green-dark);
    background: var(--color-green-soft);
    border-color: rgba(49, 200, 75, 0.58);
    box-shadow: 0 12px 28px rgba(49, 200, 75, 0.12);
}

.choice-card:hover span {
    transform: translateY(-1px);
    border-color: rgba(49, 200, 75, 0.38);
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.amount-option {
    position: relative;
}

.amount-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.amount-option span {
    display: grid;
    place-items: center;
    min-height: 58px;
    color: var(--color-black);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: 950;
    transition:
        border-color var(--transition),
        background var(--transition),
        color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.amount-option input:checked + span {
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-green-dark), var(--color-green));
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(49, 200, 75, 0.24);
}

.amount-option:hover span {
    transform: translateY(-1px);
}

.card-fields {
    display: grid;
    gap: 14px;
    padding: 18px;
    background:
        linear-gradient(135deg, rgba(21, 21, 21, 0.95), rgba(31, 41, 51, 0.95));
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 45px rgba(21, 21, 21, 0.20);
}

.card-fields .form-field label {
    color: rgba(255, 255, 255, 0.84);
}

.card-fields .form-field input {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

.card-fields .form-field input::placeholder {
    color: rgba(255, 255, 255, 0.48);
}

.card-fields .form-field input:focus {
    border-color: rgba(49, 200, 75, 0.75);
    box-shadow: 0 0 0 4px rgba(49, 200, 75, 0.14);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-muted);
    font-size: 0.94rem;
}

.form-check input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--color-green-dark);
    flex: 0 0 auto;
}

.form-check a {
    color: var(--color-green-dark);
    font-weight: 900;
}

.donate-submit-row {
    display: grid;
    gap: 12px;
}

.donate-submit-row .button {
    width: 100%;
    min-height: 58px;
    font-size: 1rem;
}

.secure-note {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9rem;
    text-align: center;
}

/* ------------------------------------------------------------
   FAQ / accordions
   ------------------------------------------------------------ */

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 20px 22px;
    color: var(--color-black);
    font-weight: 900;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--color-green-dark);
    font-size: 1.25rem;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin: 0;
    padding: 0 22px 22px;
    color: var(--color-muted);
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

.site-footer {
    color: rgba(255, 255, 255, 0.84);
    background:
        radial-gradient(circle at top left, rgba(49, 200, 75, 0.16), transparent 32rem),
        linear-gradient(180deg, #162016, #0f1510);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.85fr 1fr 0.7fr;
    gap: 34px;
    padding: 56px 0 42px;
}

.footer-brand__main {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.footer-brand__main:hover {
    color: var(--color-white);
}

.footer-brand__logo {
    width: 76px;
    height: 76px;
    object-fit: contain;
    background: var(--color-white);
    border-radius: 50%;
    padding: 6px;
}

.footer-brand__main strong {
    display: block;
    color: var(--color-white);
    font-size: 1.1rem;
    line-height: 1.25;
}

.footer-brand__main small {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.68);
}

.footer-brand__arabic {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-arabic);
    font-weight: 800;
}

.footer-brand__text,
.footer-tax-note {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.68);
}

.footer-tax-note {
    padding: 13px;
    color: #ffe6b0;
    background: rgba(255, 244, 220, 0.08);
    border: 1px solid rgba(255, 244, 220, 0.16);
    border-radius: var(--radius-md);
    font-size: 0.88rem;
}

.footer-title {
    margin: 0 0 16px;
    color: var(--color-white);
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-list li {
    display: grid;
    gap: 2px;
}

.footer-list span {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.82rem;
    font-weight: 800;
}

.footer-list strong,
.footer-list a {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

.footer-list a:hover,
.footer-legal-links a:hover,
.footer-social a:hover {
    color: var(--color-green);
}

.footer-legal-links,
.footer-social {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.footer-legal-links a,
.footer-social a {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
}

.footer-donate-link {
    display: inline-flex;
    justify-content: center;
    margin-top: 24px;
    padding: 12px 18px;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-red-dark), var(--color-red));
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 16px 35px rgba(214, 40, 40, 0.25);
}

.footer-donate-link:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.9rem;
}

/* ------------------------------------------------------------
   Demo modal
   ------------------------------------------------------------ */

.demo-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.demo-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 10, 0.72);
    backdrop-filter: blur(8px);
}

.demo-modal__panel {
    position: relative;
    width: min(100%, 500px);
    padding: 34px;
    text-align: center;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-strong);
    animation: modalIn 180ms ease both;
}

.demo-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--color-muted);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    font-size: 1.45rem;
    line-height: 1;
}

.demo-modal__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-green-dark), var(--color-green));
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(49, 200, 75, 0.26);
}

.demo-modal h2 {
    margin: 0 0 12px;
    color: var(--color-black);
    font-size: 1.75rem;
    letter-spacing: -0.04em;
}

.demo-modal p {
    margin: 0 0 14px;
    color: var(--color-muted);
}

.demo-modal .button {
    margin-top: 10px;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 1080px) {
    .hero-grid,
    .donate-layout {
        grid-template-columns: 1fr;
    }

    .donate-info {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-band__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 860px) {
    :root {
        --header-height: 78px;
    }

    .top-notice__inner {
        flex-wrap: wrap;
        gap: 6px 10px;
        padding: 7px 0;
        line-height: 1.35;
    }

    .brand__logo-wrap {
        width: 58px;
        height: 58px;
    }

    .brand__logo {
        width: 50px;
        height: 50px;
    }

    .brand__name {
        font-size: 0.98rem;
    }

    .brand__tagline {
        max-width: 230px;
        font-size: 0.78rem;
    }

    .nav-toggle {
        display: grid;
    }

    .primary-nav {
        position: fixed;
        top: calc(var(--header-height) + 36px);
        left: 16px;
        right: 16px;
        z-index: 1000;
        display: grid;
        gap: 10px;
        padding: 16px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-strong);
        transform: translateY(-14px);
        opacity: 0;
        pointer-events: none;
        transition:
            opacity var(--transition),
            transform var(--transition);
        backdrop-filter: blur(18px);
    }

    body.nav-open .primary-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .primary-nav__link {
        justify-content: center;
        min-height: 48px;
    }

    .demo-banner__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
        padding: 10px 0;
        text-align: left;
    }

    .hero {
        padding: 58px 0 54px;
    }

    .hero-trust,
    .grid-3,
    .grid-2,
    .stat-strip,
    .form-grid,
    .form-grid--3 {
        grid-template-columns: 1fr;
    }

    .choice-grid,
    .choice-grid--3 {
        grid-template-columns: 1fr;
    }

    .amount-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section {
        padding: 58px 0;
    }

    .footer-bottom__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .brand__tagline {
        display: none;
    }

    .hero-card,
    .donate-form-card,
    .donate-info-card,
    .content-card {
        border-radius: 22px;
    }

    .hero-card__logo {
        width: 126px;
        height: 126px;
    }

    .hero-card__logo img {
        width: 106px;
        height: 106px;
    }

    .cta-band {
        padding: 30px 22px;
    }

    .form-section {
        padding: 18px;
    }

    .card-fields {
        padding: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        padding-top: 42px;
    }

    .demo-modal__panel {
        padding: 28px 20px;
    }
}

@media (max-width: 420px) {
    .amount-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        display: grid;
    }

    .hero-actions .button {
        width: 100%;
    }
}