:root {
    --blue: #053A78;
    --blue-2: #0B5FB6;
    --red: #D71920;
    --paper: #F7FAFF;
    --surface: #FFFFFF;
    --ink: #071B36;
    --muted: #51657D;
    --line: rgba(7, 27, 54, 0.12);
    --shadow: 0 18px 50px rgba(7, 27, 54, 0.14);
    --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 114px; }
body {
    font-family: "Tajawal", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.port-link {
    position: absolute;
    left: 14px;
    top: 140px;
    z-index: 30;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--blue);
    text-decoration: none;
    font: 800 0.78rem "Inter", system-ui, sans-serif;
    box-shadow: var(--shadow);
}

.hotline {
    min-height: 42px;
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    padding: 9px 5vw;
    background: var(--blue);
    color: white;
    font-weight: 800;
}
.hotline a { text-decoration: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 14px 5vw;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.brand-mark {
    min-width: 76px;
    min-height: 48px;
    display: inline-grid;
    place-items: center;
    border: 2px solid var(--blue);
    color: var(--red);
    border-radius: 7px;
    font: 800 1.18rem "Noto Kufi Arabic", system-ui, sans-serif;
}
.brand b {
    display: block;
    color: var(--blue);
    font-family: "Noto Kufi Arabic", system-ui, sans-serif;
}
.brand small {
    display: block;
    color: var(--muted);
    direction: ltr;
    font: 700 0.82rem "Inter", system-ui, sans-serif;
}
nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 800;
}
nav a { text-decoration: none; color: var(--blue); }
.nav-cta {
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--red);
    color: white;
}

.hero {
    min-height: 600px;
    position: relative;
    display: grid;
    align-items: center;
    overflow: hidden;
}
.hero-img,
.hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-img { object-fit: cover; }
.hero-shade {
    background:
        linear-gradient(90deg, rgba(247, 250, 255, 0.1), rgba(247, 250, 255, 0.62) 45%, rgba(247, 250, 255, 0.94) 74%),
        linear-gradient(0deg, rgba(5, 58, 120, 0.34), transparent 55%);
}
.hero-content {
    position: relative;
    width: min(700px, 90vw);
    margin: 70px 5vw 70px auto;
}
.hero-tag,
.section-kicker,
.section-head span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(215, 25, 32, 0.1);
    color: var(--red);
    font-weight: 900;
}
h1,
h2,
h3 {
    font-family: "Noto Kufi Arabic", "Tajawal", system-ui, sans-serif;
    line-height: 1.2;
}
h1 {
    max-width: 680px;
    margin: 18px 0;
    color: var(--blue);
    font-size: clamp(3.2rem, 7vw, 6.2rem);
}
.hero p {
    max-width: 610px;
    color: #30475E;
    font-size: 1.14rem;
}
.lead-en {
    margin-top: 10px;
    direction: ltr;
    font: 700 1rem "Inter", system-ui, sans-serif;
    color: var(--blue-2) !important;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}
.btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 900;
}
.btn.donate { background: var(--red); color: white; }
.btn.volunteer { background: var(--blue); color: white; }

.contact-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-block: 1px solid var(--line);
    background: white;
}
.contact-strip > * {
    min-height: 112px;
    padding: 24px 5vw;
    text-decoration: none;
    border-left: 1px solid var(--line);
}
.contact-strip b {
    display: block;
    color: var(--blue);
    font: 900 1.25rem "Noto Kufi Arabic", system-ui, sans-serif;
}
.contact-strip span { color: var(--muted); }

.activities {
    padding: 86px 5vw 96px;
}
.section-head {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}
.section-head h2,
.donate-panel h2,
.volunteer-copy h2 {
    margin-top: 14px;
    color: var(--blue);
    font-size: clamp(2rem, 4vw, 3.8rem);
}
.activity-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.activity-grid article {
    min-height: 245px;
    padding: 24px;
    text-align: center;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.activity-icon {
    width: 76px;
    height: 76px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 18px;
    background: rgba(5, 58, 120, 0.08);
    position: relative;
}
.activity-icon::before,
.activity-icon::after {
    content: "";
    position: absolute;
    background: var(--blue);
}
.people::before {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    top: 14px;
    right: 23px;
}
.people::after {
    width: 48px;
    height: 24px;
    border-radius: 24px 24px 8px 8px;
    bottom: 14px;
    right: 14px;
}
.clothes::before {
    width: 48px;
    height: 44px;
    top: 16px;
    right: 14px;
    clip-path: polygon(17% 0, 34% 0, 50% 12%, 66% 0, 83% 0, 100% 24%, 80% 38%, 80% 100%, 20% 100%, 20% 38%, 0 24%);
}
.food::before {
    width: 48px;
    height: 32px;
    border-radius: 0 0 28px 28px;
    bottom: 16px;
    right: 14px;
}
.food::after {
    width: 38px;
    height: 18px;
    border-radius: 50% 50% 0 0;
    top: 18px;
    right: 19px;
    background: var(--red);
}
.blood::before {
    width: 36px;
    height: 36px;
    top: 20px;
    right: 20px;
    background: var(--red);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}
.activity-grid h3 { color: var(--blue); font-size: 1.25rem; }
.activity-grid p { margin-top: 8px; color: var(--muted); }

.donate-panel {
    padding: 86px 5vw;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: start;
    background: var(--blue);
    color: white;
}
.donate-panel .section-kicker { background: white; color: var(--red); }
.donate-panel h2 { color: white; }
.donate-panel p { margin-top: 14px; color: rgba(255, 255, 255, 0.78); }
.donate-form {
    display: grid;
    gap: 14px;
    padding: 24px;
    border-radius: var(--radius);
    background: white;
    color: var(--ink);
}
label { display: grid; gap: 6px; font-weight: 900; }
input,
select {
    width: 100%;
    border: 2px solid var(--line);
    border-radius: 6px;
    padding: 12px 14px;
    background: #F7FAFF;
    color: var(--ink);
    font: 700 1rem "Tajawal", system-ui, sans-serif;
}
button {
    min-height: 48px;
    border: 0;
    border-radius: 7px;
    background: var(--red);
    color: white;
    font: 900 1rem "Tajawal", system-ui, sans-serif;
    cursor: pointer;
}
.form-ok {
    padding: 12px;
    border-radius: 6px;
    background: #EEF6FF;
    color: var(--blue) !important;
    font-weight: 900;
}

.volunteer-section {
    padding: 86px 5vw 96px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
    background: white;
}
.volunteer-copy p {
    margin-top: 14px;
    max-width: 640px;
    color: var(--muted);
}
.steps { display: grid; gap: 14px; }
.steps article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
}
.steps b {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--blue);
    color: white;
    font-family: "Inter", system-ui, sans-serif;
}
.steps span { color: var(--muted); font-weight: 800; }

.site-footer {
    padding: 28px 5vw 42px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    background: #061A34;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
}

@media (max-width: 920px) {
    .site-header { align-items: flex-start; flex-direction: column; }
    .port-link { top: 250px; }
    nav { width: 100%; overflow-x: auto; padding-bottom: 4px; }
    .hero { min-height: 560px; }
    .hero-content { margin: 58px auto 54px; }
    .hero-shade {
        background:
            linear-gradient(0deg, rgba(247, 250, 255, 0.96), rgba(247, 250, 255, 0.18)),
            linear-gradient(90deg, rgba(247, 250, 255, 0.42), rgba(247, 250, 255, 0.74));
    }
    .contact-strip,
    .activity-grid,
    .donate-panel,
    .volunteer-section { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .activity-grid { grid-template-columns: 1fr; }
    .hotline { justify-content: flex-start; gap: 12px; }
}
