/* =====================================================================
   Saint Georges Charity Association — Donor-friendly theme (2026)
   Warm, trustworthy, heritage palette: navy + gold + cream + cedar
   ===================================================================== */

:root {
    /* Brand */
    --navy: #123a5e;
    --navy-2: #1d4e75;
    --navy-deep: #0c2942;
    --red: #c23a32;
    --gold: #cf9b43;
    --gold-deep: #b07f2c;
    --gold-soft: #f4e7c8;
    --cedar: #2f7d52;

    /* Neutrals (warm) */
    --ink: #1b2a38;
    --muted: #5a6b7b;
    --line: #e8e1d3;
    --surface: #ffffff;
    --cream: #fbf6ed;
    --cream-2: #f6eede;
    --tint: #eef3f3;

    /* Feedback */
    --success: #237a4d;
    --error: #b22a2a;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(18, 38, 58, 0.06);
    --shadow: 0 16px 40px rgba(18, 38, 58, 0.10);
    --shadow-lg: 0 28px 70px rgba(18, 38, 58, 0.18);
    --shadow-gold: 0 14px 30px rgba(176, 127, 44, 0.28);
    --radius: 10px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --max: 1180px;
    --t: 200ms cubic-bezier(0.22, 0.61, 0.36, 1);

    --font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(1200px 520px at 80% -10%, rgba(207, 155, 67, 0.10), transparent 60%),
        linear-gradient(180deg, var(--cream), var(--surface) 620px);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.rtl {
    direction: rtl;
    font-family: "Tajawal", "Open Sans", sans-serif;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: min(100% - 40px, var(--max));
    margin-inline: auto;
}

/* ===== Shared display headings ===== */
.hero-title,
.section-title,
.impact-title,
.trust-title,
.cta-title {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

.rtl .hero-title,
.rtl .section-title,
.rtl .impact-title,
.rtl .trust-title,
.rtl .cta-title {
    font-family: "Amiri", "Tajawal", serif;
    letter-spacing: 0;
}

/* ===== Eyebrow / kicker ===== */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--gold-deep);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.kicker::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
}

.kicker-light {
    color: var(--gold);
}

.rtl .kicker {
    letter-spacing: 0;
}

/* ===== Header ===== */
.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: rgba(251, 246, 237, 0.86);
    border-bottom: 1px solid rgba(232, 225, 211, 0.9);
    box-shadow: 0 10px 30px rgba(18, 38, 58, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 78px;
}

.logo {
    display: grid;
    grid-template-columns: 50px minmax(150px, 300px);
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    padding: 2px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.logo-text {
    color: var(--navy);
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 9px 13px;
    border-radius: 999px;
    color: #33475b;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    transition: color var(--t), background var(--t);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 5px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--t);
}

.nav-link:hover,
.nav-link.active {
    color: var(--navy);
    background: rgba(207, 155, 67, 0.1);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.lang-btn {
    min-width: 38px;
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
    transition: background var(--t), color var(--t);
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--navy);
    color: #fff;
}

.lang-divider {
    display: none;
}

.mobile-toggle {
    display: none;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 3.5px auto;
    background: var(--navy);
    border-radius: 99px;
    transition: transform var(--t), opacity var(--t);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 14px 26px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 800;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-lg {
    min-height: 56px;
    padding: 16px 34px;
    font-size: 1.02rem;
}

/* Gold "give" button — the primary donor action */
.btn-donate-solid {
    background: linear-gradient(135deg, #e0b35a, var(--gold) 45%, var(--gold-deep));
    color: var(--navy-deep);
    box-shadow: var(--shadow-gold);
}

.btn-donate-solid:hover {
    background: linear-gradient(135deg, #e7bd66, #d9a647 45%, #c08f38);
    box-shadow: 0 18px 38px rgba(176, 127, 44, 0.36);
}

/* Navy form / primary button */
.btn-primary {
    background: linear-gradient(135deg, var(--navy-2), var(--navy));
    color: #fff;
    box-shadow: 0 14px 28px rgba(18, 38, 58, 0.18);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #235a86, #16456a);
}

.btn-secondary {
    background: #fff;
    color: var(--navy);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    color: var(--navy-deep);
}

.btn-ghost {
    background: transparent;
    color: var(--navy);
    border-color: rgba(18, 58, 94, 0.28);
}

.btn-ghost:hover {
    background: rgba(18, 58, 94, 0.06);
    border-color: var(--navy);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #fff;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 132px 0 96px;
    isolation: isolate;
    background:
        linear-gradient(110deg, rgba(8, 28, 46, 0.95), rgba(18, 58, 94, 0.86) 46%, rgba(18, 58, 94, 0.66)),
        url("../img/st georges.png") center/cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    background: linear-gradient(180deg, rgba(251, 246, 237, 0), var(--cream));
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    right: max(24px, 5vw);
    top: 50%;
    transform: translateY(-50%);
    width: min(34vw, 400px);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 40%, rgba(207, 155, 67, 0.28), transparent 62%),
        url("../img/st_georges-ass.png") center/68% no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    opacity: 0.95;
    pointer-events: none;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 74px 74px;
    mask-image: linear-gradient(95deg, #000, transparent 70%);
    -webkit-mask-image: linear-gradient(95deg, #000, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(820px, 100%);
    color: #fff;
}

.hero-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    margin-bottom: 22px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.hero-title {
    max-width: 880px;
    font-size: clamp(2.3rem, 4.6vw, 4.6rem);
    font-weight: 800;
    line-height: 1.06;
    text-wrap: balance;
}

.hero-tagline {
    margin-top: 16px;
    color: var(--gold-soft);
    font-size: clamp(1.12rem, 2vw, 1.6rem);
    font-weight: 700;
}

.hero-intro {
    max-width: 640px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
}

.hero-established {
    display: inline-flex;
    align-items: center;
    margin-top: 22px;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.hero-trust {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-trust svg {
    flex: 0 0 auto;
    color: var(--gold);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: min(640px, 100%);
    margin-top: 26px;
}

.hero-metric {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-metric strong,
.hero-metric span {
    display: block;
}

.hero-metric strong {
    color: #fff;
    font-size: 1.16rem;
    font-weight: 900;
    line-height: 1.1;
}

.hero-metric:nth-child(2) strong {
    direction: ltr;
    unicode-bidi: isolate;
}

.hero-metric span {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    font-weight: 700;
}

/* ===== Sections base ===== */
.section {
    position: relative;
    padding: 96px 0;
}

.section-head {
    max-width: 720px;
    margin: 0 auto 52px;
    text-align: center;
}

.section-head .kicker {
    justify-content: center;
}

.section-title {
    position: relative;
    color: var(--ink);
    text-align: center;
    font-size: clamp(2rem, 3.2vw, 3.1rem);
    font-weight: 800;
    line-height: 1.14;
    text-wrap: balance;
}

.section-head .section-title {
    margin-bottom: 18px;
}

/* Standalone section titles (no .section-head wrapper) keep the underline */
.section > .container > .section-title,
.programs-section .section-title,
.news-section .section-title,
.involved-section .section-title,
.contact-section .section-title {
    margin-bottom: 54px;
}

.section > .container > .section-title::after,
.programs-section .section-title::after,
.news-section .section-title::after,
.involved-section .section-title::after,
.contact-section .section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -18px;
    width: 76px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep));
    border-radius: 99px;
    transform: translateX(-50%);
}

.section-lead {
    color: var(--muted);
    font-size: 1.08rem;
}

.subsection-title {
    margin: -22px 0 30px;
    color: var(--gold-deep);
    text-align: center;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* Alternating section backgrounds (warm) */
.about-section,
.news-section,
.contact-section {
    background: var(--surface);
}

.support-section,
.involved-section {
    background:
        radial-gradient(900px 400px at 15% 0%, rgba(207, 155, 67, 0.08), transparent 60%),
        var(--cream);
}

.programs-section {
    background:
        radial-gradient(900px 420px at 85% 10%, rgba(18, 58, 94, 0.06), transparent 60%),
        var(--cream-2);
}

/* ===== Card base ===== */
.about-card,
.value-card,
.program-card,
.event-card,
.involved-card,
.contact-form-wrapper,
.board-card,
.support-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.about-card:hover,
.value-card:hover,
.program-card:hover,
.event-card:hover,
.involved-card:hover,
.board-card:hover,
.support-card:hover {
    border-color: rgba(207, 155, 67, 0.5);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

/* ===== Impact band ===== */
.impact-band {
    position: relative;
    margin-top: -56px;
    padding: 0 0 30px;
    z-index: 3;
}

.impact-head {
    text-align: center;
    margin-bottom: 26px;
}

.impact-head .kicker {
    justify-content: center;
}

.impact-title {
    color: var(--ink);
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-weight: 800;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.impact-stat {
    position: relative;
    padding: 30px 22px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform var(--t), box-shadow var(--t);
}

.impact-stat::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}

.impact-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.impact-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1;
    color: var(--navy);
    direction: ltr;
    unicode-bidi: isolate;
}

.impact-label {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

/* ===== Support / where your gift goes ===== */
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.support-card {
    padding: 34px 30px;
    overflow: hidden;
}

.support-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t);
}

.rtl .support-card::after {
    transform-origin: right;
}

.support-card:hover::after {
    transform: scaleX(1);
}

.support-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(207, 155, 67, 0.16), rgba(207, 155, 67, 0.06));
    color: var(--gold-deep);
    box-shadow: inset 0 0 0 1px rgba(207, 155, 67, 0.2);
}

.support-card h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 1.28rem;
    font-weight: 800;
}

.support-card p {
    color: var(--muted);
}

.support-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 44px;
}

/* ===== About ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.about-card {
    padding: 34px;
    overflow: hidden;
}

.about-card.full-width {
    grid-column: 1 / -1;
}

.about-card::before,
.value-card::before,
.board-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep), transparent);
}

.about-icon,
.program-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(18, 58, 94, 0.1), rgba(18, 58, 94, 0.04));
    color: var(--navy);
    box-shadow: inset 0 0 0 1px rgba(18, 58, 94, 0.08);
}

.about-card h3,
.program-card h3,
.involved-card h3,
.contact-info h3,
.contact-form-wrapper h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.25;
}

.about-card p,
.program-card p,
.value-card p,
.event-content p,
.involved-card > p,
.contact-item p,
.footer p {
    color: var(--muted);
}

/* ===== Values ===== */
.values-title {
    margin: 64px 0 28px;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
}

.rtl .values-title {
    font-family: "Amiri", "Tajawal", serif;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.value-card {
    padding: 30px 22px;
    text-align: center;
    overflow: hidden;
}

.value-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin: 6px auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-soft), #fff7e6);
    color: var(--gold-deep);
    box-shadow: inset 0 0 0 1px rgba(207, 155, 67, 0.25);
}

.value-card h4 {
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 800;
}

/* ===== Board ===== */
.board-section {
    margin-top: 76px;
    padding-top: 60px;
    border-top: 1px solid var(--line);
}

.board-title {
    color: var(--navy);
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 2.6vw, 2.4rem);
    font-weight: 800;
}

.rtl .board-title {
    font-family: "Amiri", "Tajawal", serif;
}

.board-subtitle {
    margin: 10px 0 34px;
    color: var(--muted);
    text-align: center;
    font-weight: 700;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.board-card {
    padding: 28px 18px;
    text-align: center;
    overflow: hidden;
}

.board-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 4px auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(18, 58, 94, 0.1), rgba(18, 58, 94, 0.04));
    color: var(--navy);
    box-shadow: inset 0 0 0 1px rgba(18, 58, 94, 0.08);
}

.board-card h4 {
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 800;
}

.board-role {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 13px;
    border-radius: 999px;
    background: rgba(207, 155, 67, 0.14);
    color: var(--gold-deep);
    font-size: 0.82rem;
    font-weight: 800;
}

.board-card.board-president {
    background: linear-gradient(140deg, var(--navy), var(--navy-2));
    border-color: transparent;
    color: #fff;
}

.board-card.board-president::before {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.board-card.board-president h4 {
    color: #fff;
}

.board-card.board-president .board-icon {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.board-card.board-president .board-role {
    background: var(--gold);
    color: var(--navy-deep);
}

/* ===== Programs ===== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.program-card {
    position: relative;
    min-height: 248px;
    padding: 32px;
    overflow: hidden;
}

.program-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t);
}

.rtl .program-card::after {
    transform-origin: right;
}

.program-card:hover::after {
    transform: scaleX(1);
}

/* ===== News / Events ===== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.event-card {
    display: grid;
    grid-template-columns: 92px 1fr;
    overflow: hidden;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: linear-gradient(170deg, var(--navy), var(--navy-2));
    color: #fff;
}

.date-day {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
}

.date-month {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.event-content {
    padding: 24px;
}

.event-content h4 {
    margin-bottom: 6px;
    color: var(--navy);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.3;
}

.event-time {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--gold-deep);
    font-size: 0.84rem;
    font-weight: 800;
}

/* ===== Trust band ===== */
.trust-band {
    position: relative;
    padding: 92px 0;
    overflow: hidden;
    background:
        radial-gradient(700px 360px at 85% 0%, rgba(207, 155, 67, 0.16), transparent 60%),
        linear-gradient(150deg, var(--navy-deep), var(--navy) 55%, #0a2238);
    color: #fff;
}

.trust-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(70% 70% at 80% 10%, #000, transparent);
    -webkit-mask-image: radial-gradient(70% 70% at 80% 10%, #000, transparent);
    pointer-events: none;
}

.trust-band .container {
    position: relative;
    z-index: 1;
}

.trust-head {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.trust-head .kicker {
    justify-content: center;
}

.trust-title {
    color: #fff;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    font-weight: 800;
}

.trust-subtitle {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.06rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.trust-item {
    padding: 30px 26px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform var(--t), background var(--t), border-color var(--t);
}

.trust-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(207, 155, 67, 0.4);
}

.trust-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: rgba(207, 155, 67, 0.16);
    color: var(--gold);
    box-shadow: inset 0 0 0 1px rgba(207, 155, 67, 0.3);
}

.trust-item h4 {
    margin-bottom: 9px;
    color: #fff;
    font-size: 1.12rem;
    font-weight: 800;
}

.trust-item p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
}

/* ===== Donation CTA band ===== */
.cta-band {
    position: relative;
    padding: 104px 0;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(120deg, rgba(8, 28, 46, 0.92), rgba(18, 58, 94, 0.72)),
        url("../img/st georges.png") center/cover no-repeat fixed;
    color: #fff;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(800px 400px at 50% 120%, rgba(207, 155, 67, 0.3), transparent 60%);
}

.cta-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 3.6vw, 3.3rem);
    font-weight: 800;
    line-height: 1.12;
    text-wrap: balance;
}

.cta-subtitle {
    max-width: 620px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.12rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 34px;
}

/* ===== Get involved / forms ===== */
.involved-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 28px;
    align-items: start;
}

.involved-card {
    padding: 36px;
}

.donate-card {
    position: relative;
    overflow: hidden;
    border: 0;
    color: #fff;
    background: linear-gradient(150deg, var(--navy), var(--navy-2) 60%, #0a2238);
    box-shadow: var(--shadow-lg);
}

.donate-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(500px 260px at 90% 0%, rgba(207, 155, 67, 0.22), transparent 60%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: auto, 46px 46px, 46px 46px;
    mask-image: linear-gradient(90deg, #000, transparent 86%);
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 86%);
    pointer-events: none;
}

.donate-card > * {
    position: relative;
    z-index: 1;
}

.donate-header {
    text-align: center;
}

.donate-card .donate-icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(207, 155, 67, 0.18);
    color: var(--gold);
    box-shadow: inset 0 0 0 1px rgba(207, 155, 67, 0.34);
}

.donate-card h3 {
    color: #fff;
    font-size: 1.5rem;
}

.donate-intro,
.donate-card .donate-intro {
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.84);
}

.form {
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-group {
    display: grid;
    gap: 7px;
}

.form-group label {
    color: #36475a;
    font-size: 0.9rem;
    font-weight: 800;
}

.form-group input,
.form-group textarea,
.form-group select,
.donation-form select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    font: inherit;
    transition: border-color var(--t), box-shadow var(--t);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(207, 155, 67, 0.18);
}

.btn-donate {
    width: 100%;
    background: linear-gradient(135deg, #e0b35a, var(--gold) 45%, var(--gold-deep));
    color: var(--navy-deep);
    box-shadow: var(--shadow-gold);
}

.btn-donate:hover {
    background: linear-gradient(135deg, #e7bd66, #d9a647 45%, #c08f38);
}

.donation-form {
    display: grid;
    gap: 16px;
    margin: 22px 0;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
}

.donation-form .form-group label {
    color: rgba(255, 255, 255, 0.92);
}

.donate-card .form-group input,
.donate-card .form-group textarea,
.donate-card .form-group select {
    background: rgba(255, 255, 255, 0.97);
    color: var(--ink);
    border-color: rgba(255, 255, 255, 0.2);
}

.donate-contact-info {
    display: grid;
    gap: 11px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
}

.donate-contact-item {
    display: flex;
    align-items: center;
    gap: 11px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.93rem;
}

.donate-contact-item svg {
    flex: 0 0 auto;
    color: var(--gold);
}

.contact-link {
    color: #fff;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(207, 155, 67, 0.7);
}

.contact-link:hover {
    color: var(--gold-soft);
}

/* ===== Alerts ===== */
.alert {
    padding: 14px 16px;
    border-radius: var(--radius);
    font-size: 0.94rem;
    font-weight: 700;
}

.alert-success {
    background: rgba(35, 122, 77, 0.1);
    color: var(--success);
    border: 1px solid rgba(35, 122, 77, 0.26);
}

.alert-error {
    background: rgba(178, 42, 42, 0.1);
    color: var(--error);
    border: 1px solid rgba(178, 42, 42, 0.24);
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.4fr);
    gap: 36px;
    align-items: start;
}

.contact-info {
    padding-top: 6px;
}

.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 24px;
}

.contact-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(18, 58, 94, 0.1), rgba(18, 58, 94, 0.04));
    color: var(--navy);
    box-shadow: inset 0 0 0 1px rgba(18, 58, 94, 0.08);
}

.contact-item h4 {
    margin-bottom: 2px;
    color: var(--ink);
    font-size: 0.96rem;
    font-weight: 800;
}

.contact-form-wrapper {
    padding: 34px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.social-link {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    transition: transform var(--t), background var(--t);
}

.social-link:hover {
    background: var(--gold-deep);
    transform: translateY(-3px);
}

/* ===== Footer ===== */
.footer {
    padding: 70px 0 26px;
    background: linear-gradient(160deg, var(--navy-deep), #0a1c2e);
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr 1.15fr 0.75fr;
    gap: 36px;
}

.footer-logo {
    width: 82px;
    height: 82px;
    object-fit: contain;
    margin-bottom: 16px;
    padding: 8px;
    background: #fff;
    border-radius: 16px;
}

.footer-brand p {
    max-width: 320px;
}

.footer h4 {
    margin-bottom: 16px;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.footer p,
.footer a {
    color: rgba(255, 255, 255, 0.72);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    transition: color var(--t), padding var(--t);
}

.footer a:hover {
    color: var(--gold);
}

.footer-social .social-link {
    background: rgba(255, 255, 255, 0.1);
}

.footer-social .social-link:hover {
    background: var(--gold-deep);
}

.footer-bottom {
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.9rem;
}

/* ===== Floating donate button ===== */
.sticky-donate {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #e0b35a, var(--gold) 45%, var(--gold-deep));
    color: var(--navy-deep);
    font-weight: 800;
    box-shadow: 0 16px 34px rgba(176, 127, 44, 0.42);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.96);
    transition: opacity var(--t), transform var(--t), visibility var(--t), box-shadow var(--t);
}

.sticky-donate.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.sticky-donate:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 20px 40px rgba(176, 127, 44, 0.5);
}

.sticky-donate svg {
    flex: 0 0 auto;
}

.rtl .sticky-donate {
    right: auto;
    left: 22px;
}

/* ===== RTL refinements ===== */
.rtl .hero::after {
    right: auto;
    left: max(24px, 5vw);
}

.rtl .hero-overlay {
    transform: scaleX(-1);
}

.rtl .contact-item,
.rtl .donate-contact-item,
.rtl .hero-trust {
    flex-direction: row-reverse;
    text-align: right;
}

.rtl .hero-trust {
    justify-content: flex-start;
}

.rtl .event-card {
    grid-template-columns: 1fr 92px;
}

.rtl .event-date {
    grid-column: 2;
    grid-row: 1;
}

.rtl .about-card::before,
.rtl .value-card::before,
.rtl .board-card::before {
    background: linear-gradient(270deg, var(--gold), var(--gold-deep), transparent);
}

/* ===== Reveal-on-scroll (set by JS) ===== */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .cta-band {
        background-attachment: scroll;
    }
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .logo {
        grid-template-columns: 46px minmax(120px, 240px);
    }

    .nav-link {
        padding-inline: 10px;
        font-size: 0.85rem;
    }

    .hero::after {
        opacity: 0.32;
        width: 320px;
    }

    .programs-grid,
    .events-grid,
    .support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .impact-grid,
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .board-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .container {
        width: min(100% - 28px, var(--max));
    }

    .navbar {
        min-height: 72px;
    }

    .logo {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .logo-text {
        font-size: 0.86rem;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 14px;
        right: 14px;
        display: grid;
        gap: 6px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow-lg);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity var(--t), transform var(--t);
    }

    .nav-menu.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        padding: 13px 16px;
        text-align: center;
        justify-content: center;
    }

    .nav-link::after {
        display: none;
    }

    .mobile-toggle {
        display: grid;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 84px;
    }

    .hero::after {
        display: none;
    }

    .hero-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .about-grid,
    .involved-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .programs-grid,
    .events-grid,
    .support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        gap: 28px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .section {
        padding: 70px 0;
    }

    .trust-band,
    .cta-band {
        padding: 68px 0;
    }

    .hero {
        padding: 110px 0 70px;
    }

    .hero-logo {
        width: 76px;
        height: 76px;
    }

    .hero-buttons,
    .hero-buttons .btn,
    .support-cta .btn,
    .cta-buttons .btn {
        width: 100%;
    }

    .impact-band {
        margin-top: -40px;
    }

    .impact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .impact-stat {
        padding: 24px 14px;
    }

    .values-grid,
    .programs-grid,
    .events-grid,
    .support-grid,
    .board-grid,
    .trust-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .event-card,
    .rtl .event-card {
        grid-template-columns: 1fr;
    }

    .event-date,
    .rtl .event-date {
        grid-column: auto;
        grid-row: auto;
        flex-direction: row;
        min-height: 64px;
    }

    .about-card,
    .program-card,
    .involved-card,
    .contact-form-wrapper,
    .support-card {
        padding: 26px;
    }

    .donation-form {
        padding: 18px;
    }

    .hero-metric strong {
        font-size: 1rem;
    }

    .hero-metric span {
        font-size: 0.7rem;
    }

    .sticky-donate {
        right: 14px;
        bottom: 14px;
        padding: 12px 18px;
    }

    .rtl .sticky-donate {
        left: 14px;
    }
}

/* ===== Projects & latest-news cards (managed from the admin panel) ===== */
.projects-block {
    margin-top: 66px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.project-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(207, 155, 67, 0.5);
}

.project-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--cream-2);
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-body {
    padding: 22px 24px 26px;
}

.project-status {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: rgba(47, 125, 82, 0.12);
    color: var(--cedar);
}

.status-completed {
    background: rgba(18, 58, 94, 0.1);
    color: var(--navy);
}

.status-upcoming {
    background: rgba(207, 155, 67, 0.16);
    color: var(--gold-deep);
}

.project-body h4 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.3;
}

.project-body p {
    color: var(--muted);
}

@media (max-width: 1100px) {
    .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .projects-grid { grid-template-columns: 1fr; }
}
