:root {
    --navy: #0041a5;
    --navy-deep: #002c78;
    --navy-ink: #001a4d;
    --sky: #2596be;
    --sky-deep: #1b7ea3;
    --sky-soft: #e7f5fa;
    --paper: #f4f8fb;
    --white: #ffffff;
    --ink: #10233f;
    --muted: #4d6278;
    --line: #d5e3ee;
    --shadow: 0 22px 50px rgba(0, 44, 120, 0.12);
    --header: 78px;
    --font: "Manrope", "Noto Sans Arabic", "Segoe UI", sans-serif;
    --card: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.94);
    --display: "Fraunces", Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: var(--font);
    font-size: 1.05rem;
    line-height: 1.65;
}

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

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

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0;
}

p {
    margin: 0;
}

button,
input,
textarea {
    font: inherit;
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--white);
    color: var(--navy);
    padding: 0.6rem 1rem;
    z-index: 50;
}

.skip:focus {
    top: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.wrap {
    width: min(1180px, calc(100% - 2.4rem));
    margin-inline: auto;
}

.topbar {
    background: var(--navy-ink);
    color: #d7ebf5;
    font-size: 0.92rem;
}

.topbar-inner {
    display: flex;
    justify-content: flex-end;
    gap: 1.4rem;
    padding: 0.45rem 0;
}

.topbar-inner span,
.topbar-inner a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.topbar a:hover {
    color: white;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: var(--header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.brand img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    box-shadow: 0 0 0 2px #d7e8f3;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    color: var(--navy);
    font-size: 0.98rem;
    letter-spacing: 0.01em;
}

.brand-text small {
    color: var(--sky-deep);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--navy-deep);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: -0.015em;
    padding: 0.48rem 0.68rem;
    border-radius: 999px;
}

.nav a:hover,
.nav a.is-active {
    background: var(--sky-soft);
    color: var(--navy);
}

.nav-cta {
    background: var(--navy) !important;
    color: white !important;
    margin-left: 0.4rem;
}

.nav-cta:hover,
.nav-cta.is-active {
    background: var(--navy-deep) !important;
    color: white !important;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--navy);
}

.hero,
.page-hero,
.cta-band,
.section-navy {
    background:
        radial-gradient(circle at 88% 12%, rgba(37, 150, 190, 0.45), transparent 26%),
        radial-gradient(circle at 8% 90%, rgba(37, 150, 190, 0.28), transparent 30%),
        linear-gradient(155deg, var(--navy-ink) 0%, var(--navy) 58%, #0c62ad 100%);
    color: white;
}

.hero {
    padding: 4.2rem 0 4.8rem;
    overflow: hidden;
}

.hero-grid,
.cta-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.eyebrow,
.kicker {
    margin: 0 0 0.8rem;
    color: var(--sky);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.kicker-light {
    color: #b9e6f4;
}

h1 {
    font-size: clamp(2.7rem, 5vw, 4.6rem);
    max-width: 16ch;
}

h1 span {
    display: block;
    color: #d7f3fb;
}

.lead,
.hero .lead,
.page-hero .lead {
    margin-top: 1.2rem;
    max-width: 42rem;
    font-size: 1.12rem;
    color: #e7f4fa;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 700;
    cursor: pointer;
}

.btn-light {
    background: white;
    color: var(--navy);
}

.btn-light:hover {
    background: var(--sky-soft);
}

.btn-ghost {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-navy {
    background: var(--navy);
    color: white;
}

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

.seal-wrap {
    justify-self: end;
    position: relative;
    width: min(340px, 100%);
    aspect-ratio: 1;
    padding: 18px;
    border-radius: 50%;
    background: white;
    animation: floaty 7s ease-in-out infinite;
    box-shadow:
        0 0 0 14px rgba(255, 255, 255, 0.08),
        0 0 0 28px rgba(37, 150, 190, 0.28),
        var(--shadow);
}

.seal-wrap::after {
    content: "";
    position: absolute;
    inset: -22px;
    border-radius: 50%;
    border: 1.5px dashed rgba(255, 255, 255, 0.55);
    animation: spin 28s linear infinite;
}

.seal-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.focus {
    background: white;
    border-bottom: 1px solid var(--line);
}

.focus-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1.4rem;
    padding: 1rem 0;
}

.focus-row span {
    color: var(--navy);
    font-weight: 700;
    font-size: 0.92rem;
}

.focus-row span::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 0.5rem;
    border-radius: 50%;
    background: var(--sky);
}

.section {
    padding: 5rem 0;
}

.section-tint {
    background: linear-gradient(180deg, var(--paper), #fff);
}

.section-navy {
    padding: 4.5rem 0;
}

.section-navy h2,
.cta-band h2,
.page-hero h1,
.hero h1 {
    color: white;
}

.split,
.vm,
.section-head,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.section h2,
.prose-block h2,
.step h2,
.detail-card h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    color: var(--navy);
    margin-bottom: 0.8rem;
}

.section-navy h2,
.cta-band h2 {
    color: white;
    max-width: 22ch;
}

.prose,
.prose-block p,
.vm-card p,
.step p,
.detail-card p,
.cta-band p {
    color: var(--muted);
    font-size: 1.05rem;
}

.section-navy p,
.cta-band p,
.hero .lead,
.page-hero .lead {
    color: #e4f3f8;
}

.narrow {
    max-width: 760px;
}

.prose-block p + p {
    margin-top: 1rem;
}

.text-link {
    display: inline-flex;
    margin-top: 1.1rem;
    color: var(--navy);
    font-weight: 700;
    border-bottom: 2px solid var(--sky);
    padding-bottom: 0.1rem;
}

.text-link:hover {
    color: var(--sky-deep);
}

.vm-card,
.program-card,
.detail-card,
.info-card,
.step {
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.6rem;
}

.vm-card {
    box-shadow: var(--shadow);
    min-height: 100%;
}

.vm-card h2 {
    font-size: clamp(1.6rem, 2.4vw, 2.15rem);
}

.section-head {
    align-items: end;
    margin-bottom: 1.6rem;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.program-card {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-height: 100%;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.program-card:hover,
.detail-card:hover {
    transform: translateY(-3px);
    border-color: var(--sky);
}

.index {
    color: var(--sky-deep);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.program-card h3 {
    color: var(--navy);
    font-size: 1.45rem;
}

.program-card p,
.detail-card p,
.step p {
    color: var(--muted);
}

.value-list,
.result-list {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 0;
    display: grid;
    gap: 0.8rem;
}

.value-list {
    grid-template-columns: repeat(5, 1fr);
}

.value-list-light {
    grid-template-columns: repeat(5, 1fr);
}

.value-list li,
.result-list li {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    padding: 1.1rem;
    font-weight: 600;
}

.value-list-light li {
    background: white;
    border-color: var(--line);
    color: var(--navy);
}

.result-list {
    grid-template-columns: 1fr 1fr;
}

.result-list li {
    background: white;
    border-color: var(--line);
    color: var(--ink);
    font-weight: 500;
    display: flex;
    gap: 0.8rem;
}

.result-list li::before {
    content: "";
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    margin-top: 0.45rem;
    border-radius: 50%;
    background: var(--sky);
    box-shadow: 0 0 0 4px var(--sky-soft);
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pills li {
    background: var(--sky-soft);
    color: var(--navy);
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-weight: 700;
    font-size: 0.92rem;
}

.page-hero {
    padding: 4rem 0 3.2rem;
}

.page-hero h1 {
    max-width: 18ch;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
}

.program-detail,
.steps {
    display: grid;
    gap: 1rem;
}

.detail-card,
.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.2rem;
    align-items: start;
}

.detail-card .index,
.step .index {
    font-family: var(--display);
    font-size: 1.8rem;
    color: var(--sky);
}

.step .pills {
    margin-top: 1rem;
}

.cta-band {
    padding: 4rem 0;
}

.cta-inner {
    grid-template-columns: 1.4fr auto;
}

.contact-grid {
    align-items: start;
}

.contact-aside {
    display: grid;
    gap: 0.8rem;
}

.info-card h2 {
    font-family: var(--font);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sky-deep);
    margin-bottom: 0.35rem;
}

.info-card a {
    color: var(--navy);
    font-weight: 700;
}

.contact-form {
    display: grid;
    gap: 0.9rem;
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 1.4rem;
    box-shadow: var(--shadow);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.field {
    display: grid;
    gap: 0.35rem;
}

.field span {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.92rem;
}

.field em {
    color: var(--muted);
    font-style: normal;
    font-weight: 500;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid #c5d7e6;
    border-radius: 14px;
    padding: 0.8rem 0.9rem;
    background: #fbfdfe;
    color: var(--ink);
}

.field input:focus,
.field textarea:focus {
    outline: 3px solid rgba(37, 150, 190, 0.35);
    border-color: var(--sky);
}

.hp {
    position: absolute;
    left: -9999px;
}

.alert {
    border-radius: 14px;
    padding: 0.9rem 1rem;
    margin: 0;
}

.alert-success {
    background: var(--sky-soft);
    color: var(--navy-ink);
    border-left: 4px solid var(--sky);
}

.alert-error {
    background: #fff4f2;
    color: #7a261c;
    border-left: 4px solid #c24132;
}

.alert-error ul {
    margin: 0.4rem 0 0;
    padding-left: 1.1rem;
}

.site-footer {
    background: var(--navy-ink);
    color: #d5e8f2;
    padding-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.9fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.brand-light .brand-text strong,
.brand-light .brand-text small {
    color: white;
}

.footer-note {
    margin-top: 1rem;
    max-width: 34ch;
    color: #b7d0de;
}

.site-footer h2 {
    font-family: var(--font);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9fd4e8;
    margin-bottom: 0.7rem;
}

.site-footer a,
.site-footer p {
    display: block;
    margin: 0.25rem 0;
}

.site-footer a:hover {
    color: white;
}

.footer-base {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1rem 0 1.2rem;
    color: #9bb6c6;
    font-size: 0.92rem;
}

:focus-visible {
    outline: 3px solid var(--sky);
    outline-offset: 3px;
}

@media (max-width: 980px) {
    .hero-grid,
    .split,
    .vm,
    .section-head,
    .contact-grid,
    .cta-inner,
    .footer-grid,
    .program-grid,
    .value-list,
    .value-list-light {
        grid-template-columns: 1fr;
    }

    .seal-wrap {
        justify-self: start;
        width: min(280px, 80%);
    }

    .program-grid,
    .result-list {
        grid-template-columns: 1fr 1fr;
    }

    .value-list,
    .value-list-light {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1180px) {
    .nav-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 0.8rem 1.2rem 1.1rem;
        background: white;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .nav.is-open {
        display: flex;
    }

    .nav-cta {
        margin-left: 0;
        text-align: center;
        justify-content: center;
    }

    .header-inner {
        position: relative;
    }
}

@media (max-width: 760px) {
    .topbar {
        display: none;
    }

    .brand-text strong {
        font-size: 0.86rem;
    }

    .hero,
    .page-hero {
        padding: 2.6rem 0 2.8rem;
    }

    .section {
        padding: 3.2rem 0;
    }

    .program-grid,
    .result-list,
    .value-list,
    .value-list-light,
    .field-row,
    .detail-card,
    .step {
        grid-template-columns: 1fr;
    }

    .footer-base {
        flex-direction: column;
    }
}

.icon {
    width: 1.05em;
    height: 1.05em;
    flex: 0 0 auto;
}

.hero {
    position: relative;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.hero-orb-a,
.hero-orb-b {
    background: rgba(255, 255, 255, 0.14);
}

.hero-orb-a {
    width: 180px;
    height: 180px;
    top: 8%;
    left: 42%;
    animation: drift 9s ease-in-out infinite;
}

.hero-orb-b {
    width: 90px;
    height: 90px;
    bottom: 12%;
    left: 8%;
    animation: drift 11s ease-in-out infinite reverse;
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .lead,
.hero-copy .actions,
.page-hero .eyebrow,
.page-hero h1,
.page-hero .lead {
    animation: rise 0.8s ease both;
}

.hero-copy h1,
.page-hero h1 { animation-delay: 0.12s; }
.hero-copy .lead,
.page-hero .lead { animation-delay: 0.22s; }
.hero-copy .actions { animation-delay: 0.34s; }

.btn {
    gap: 0.45rem;
}

.text-link {
    align-items: center;
    gap: 0.35rem;
}

.program-card {
    position: relative;
    overflow: hidden;
    animation: rise 0.7s ease both;
    animation-delay: var(--delay, 0ms);
}

.program-card::after {
    content: "";
    position: absolute;
    inset: auto -20% -40% auto;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 150, 190, 0.18), transparent 70%);
    transition: transform 0.4s ease;
}

.program-card:hover::after {
    transform: scale(1.4);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.icon-bubble {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: var(--sky-soft);
    color: var(--navy);
}

.icon-bubble .icon {
    width: 22px;
    height: 22px;
}

.program-card:hover .icon-bubble {
    transform: rotate(-8deg) scale(1.06);
}

.card-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--navy);
    font-weight: 800;
    font-size: 0.92rem;
}

.program-panel {
    min-height: 100%;
}

.program-panel h2 {
    font-size: 1.55rem;
}

.card-grid,
.team-grid,
.report-grid {
    display: grid;
    gap: 1.1rem;
}

.card-grid,
.team-grid {
    grid-template-columns: repeat(3, 1fr);
}

.report-grid {
    grid-template-columns: repeat(4, 1fr);
}

.project-card,
.news-card,
.team-card,
.a4-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    animation: rise 0.7s ease both;
}

.project-card a,
.news-card a {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    color: inherit;
}

.media-frame {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(145deg, var(--navy), var(--sky));
    overflow: hidden;
}

.media-frame img,
.story-hero,
.story-figure img,
.manage-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-news {
    aspect-ratio: 16 / 9;
}

.card-copy,
.team-body,
.a4-copy {
    display: grid;
    gap: 0.45rem;
    padding: 1.05rem 1.1rem 1.2rem;
}

.card-copy h3,
.team-body h3,
.a4-copy h3 {
    color: var(--navy);
    font-size: 1.35rem;
}

.card-copy p,
.team-body p,
.a4-copy p {
    color: var(--muted);
}

.meta,
.meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    color: var(--sky-deep);
    font-size: 0.86rem;
    font-weight: 700;
}

.meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.status,
.pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.status {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    background: white;
}

.status-ongoing,
.pill.ongoing { color: #0b6f93; background: #e5f6fb; }
.status-planned,
.pill.planned { color: #8a5a12; background: #fff4df; }
.status-completed,
.pill.completed { color: #0f7a52; background: #e5f8ef; }

.project-card:hover,
.news-card:hover,
.team-card:hover,
.a4-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.team-grid {
    align-items: stretch;
}

.team-card {
    display: flex;
    flex-direction: column;
    animation-delay: var(--delay, 0ms);
}

.team-photo {
    position: relative;
    aspect-ratio: 4 / 4.4;
    background: linear-gradient(160deg, var(--navy), var(--sky));
}

.team-photo img,
.avatar-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-fallback {
    display: grid;
    place-items: center;
    color: white;
    font-family: var(--display);
    font-size: 4rem;
}

.team-role {
    position: absolute;
    left: 0.8rem;
    bottom: 0.8rem;
    background: white;
    color: var(--navy);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 800;
}

.team-body a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--navy);
    font-weight: 800;
    font-size: 0.9rem;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.3rem;
}

.filter-bar button {
    border: 1px solid var(--line);
    background: white;
    color: var(--navy);
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    font-weight: 800;
    cursor: pointer;
}

.filter-bar button.is-active,
.filter-bar button:hover {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
}

.a4-card {
    padding: 0.9rem 0.9rem 1.1rem;
    background: linear-gradient(180deg, #f8fbfe, white);
}

.a4 {
    position: relative;
    aspect-ratio: 1 / 1.414;
    background: white;
    border-radius: 4px 12px 12px 4px;
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        8px 16px 30px rgba(0, 44, 120, 0.12);
    transform: rotate(-0.6deg);
    transition: transform 0.35s ease;
}

.a4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.a4-card:hover .a4 {
    transform: rotate(0deg) translateY(-4px);
}

.a4-tag {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: white;
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    border-radius: 999px;
    padding: 0.2rem 0.45rem;
}

.a4-empty {
    height: 100%;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.6rem;
    padding: 1rem;
    text-align: center;
    color: var(--navy);
    background:
        linear-gradient(180deg, var(--navy), transparent 42%),
        #f4f8fb;
}

.a4-empty .icon {
    width: 36px;
    height: 36px;
    color: white;
}

.story {
    display: grid;
    gap: 1.4rem;
}

.story-hero,
.story-figure img {
    width: 100%;
    border-radius: 22px;
    max-height: 420px;
}

.story-figure img {
    height: 100%;
    object-fit: cover;
}

.choice-set {
    border: 0;
    margin: 0;
    padding: 0;
}

.choice-set legend {
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.55rem;
}

.choice-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.choice {
    position: relative;
}

.choice input {
    position: absolute;
    opacity: 0;
}

.choice span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 52px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfdfe;
    font-weight: 800;
    color: var(--navy);
}

.choice input:checked + span,
.choice input:focus-visible + span {
    border-color: var(--navy);
    background: var(--sky-soft);
    box-shadow: 0 0 0 3px rgba(37, 150, 190, 0.2);
}

.info-card h2 {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}

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

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes drift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(16px); }
}

@media (max-width: 980px) {
    .card-grid,
    .team-grid,
    .report-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .card-grid,
    .team-grid,
    .report-grid,
    .choice-row {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .program-card,
    .detail-card,
    .hero-copy .eyebrow,
    .hero-copy h1,
    .hero-copy .lead,
    .hero-copy .actions,
    .page-hero .eyebrow,
    .page-hero h1,
    .page-hero .lead,
    .seal-wrap,
    .seal-wrap::after,
    .hero-orb-a,
    .hero-orb-b,
    .project-card,
    .news-card,
    .team-card,
    .a4-card {
        animation: none;
        transition: none;
    }

    .caret {
        animation: none;
    }
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-inline-start: 0.4rem;
}

.lang-switch label {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--navy);
    background: var(--sky-soft);
    border-radius: 999px;
    padding: 0.28rem 0.55rem 0.28rem 0.7rem;
}

.lang-switch select {
    border: 0;
    background: transparent;
    color: var(--navy);
    font-weight: 800;
    max-width: 7.2rem;
}

.theme-btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: white;
    color: var(--navy);
    display: grid;
    place-items: center;
    cursor: pointer;
}

html:not(.dark) .icon-sun,
html.dark .icon-moon {
    display: none;
}

.type-static,
.type-line {
    display: block;
}

.hero h1 .type-line span {
    display: inline;
    color: inherit;
}

.type-line {
    min-height: 1.15em;
    color: #d7f3fb;
}

.caret {
    display: inline-block;
    width: 3px;
    height: 0.82em;
    margin-inline-start: 3px;
    background: #d7f3fb;
    vertical-align: -0.05em;
    animation: blink 1s steps(1) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.about-hero {
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 2rem;
    align-items: center;
}

.about-seal {
    width: min(180px, 40vw);
    border-radius: 50%;
    background: white;
    padding: 8px;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.12);
}

.team-section {
    background:
        radial-gradient(circle at 10% 0%, rgba(37, 150, 190, 0.16), transparent 32%),
        linear-gradient(180deg, #fff, var(--paper));
}

.team-card {
    padding: 0.7rem 0.7rem 1.15rem;
    background: linear-gradient(180deg, #fff, #f7fbfe);
    box-shadow: 0 18px 40px rgba(0, 44, 120, 0.08);
}

.team-photo {
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 4.6;
}

.team-ring {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 16px;
    pointer-events: none;
}

.team-body .team-role {
    position: static;
    display: inline-flex;
    width: fit-content;
    margin-bottom: 0.15rem;
    background: var(--sky-soft);
    color: var(--navy);
}

.team-card h3 {
    font-size: 1.55rem;
}

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

.team-photo img {
    transition: transform 0.45s ease;
}

.contact-board,
.partner-grid {
    display: grid;
    gap: 1rem;
}

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

.contact-tile,
.partner-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 1.3rem;
    box-shadow: var(--shadow);
}

.contact-tile h2,
.partner-card h3 {
    color: var(--navy);
    margin: 0.7rem 0 0.35rem;
}

.contact-tile a,
.partner-card a {
    color: var(--navy);
    font-weight: 800;
}

.contact-tile-wide {
    grid-column: 1 / -1;
    display: grid;
    justify-items: start;
    gap: 0.45rem;
}

.feedback-wrap {
    max-width: 820px;
}

.feedback-form {
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 150, 190, 0.16), transparent 28%),
        white;
}

.partners-band {
    padding: 4.2rem 0 1rem;
    background: linear-gradient(180deg, #fff, var(--paper));
}

.partner-grid {
    grid-template-columns: repeat(4, 1fr);
}

.partner-logo {
    width: 84px;
    height: 84px;
    border-radius: 22px;
    overflow: hidden;
    background: var(--sky-soft);
    display: grid;
    place-items: center;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.4rem;
}

.value-showcase {
    grid-template-columns: repeat(3, 1fr);
}

.value-showcase li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    font-size: 1.05rem;
}

.site-footer {
    margin-top: 0;
    background:
        radial-gradient(circle at 90% 0%, rgba(37, 150, 190, 0.25), transparent 26%),
        var(--navy-ink);
}

.footer-grid a {
    padding: 0.15rem 0;
}

html[lang="ar"] body {
    font-family: "Noto Sans Arabic", Manrope, sans-serif;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 {
    font-family: "Noto Sans Arabic", Georgia, serif;
}

html.dark {
    --paper: #07111f;
    --white: #102033;
    --ink: #e7f2f8;
    --muted: #b7c9d6;
    --line: #24384c;
    --sky-soft: #163044;
    --card: #102033;
    --header-bg: rgba(8, 16, 30, 0.92);
    color-scheme: dark;
}

html.dark body {
    background: #07111f;
    color: var(--ink);
}

html.dark .site-header,
html.dark .theme-btn,
html.dark .nav,
html.dark .vm-card,
html.dark .program-card,
html.dark .project-card,
html.dark .news-card,
html.dark .team-card,
html.dark .a4-card,
html.dark .contact-form,
html.dark .contact-tile,
html.dark .partner-card,
html.dark .info-card,
html.dark .step,
html.dark .detail-card,
html.dark .focus,
html.dark .lang-switch label,
html.dark .field input,
html.dark .field textarea,
html.dark .choice span,
html.dark .filter-bar button,
html.dark .value-list-light li,
html.dark .result-list li,
html.dark .section-tint,
html.dark .partners-band,
html.dark .team-section {
    background: #102033;
    color: var(--ink);
    border-color: var(--line);
}

html.dark .site-header {
    background: var(--header-bg);
}

html.dark .brand-text strong,
html.dark .nav a,
html.dark .program-card h3,
html.dark .card-copy h3,
html.dark .team-body h3,
html.dark h2,
html.dark .text-link,
html.dark .field span,
html.dark .lang-switch select,
html.dark .theme-btn {
    color: #e7f4fb;
}

html.dark .nav a:hover,
html.dark .nav a.is-active {
    background: #163044;
}

html.dark .section-navy h2,
html.dark .cta-band h2,
html.dark .hero h1,
html.dark .page-hero h1,
html.dark .hero .lead,
html.dark .page-hero .lead {
    color: white;
}

html.dark .prose,
html.dark .card-copy p,
html.dark .team-body p,
html.dark .lead {
    color: var(--muted);
}

@media (max-width: 980px) {
    .partner-grid,
    .contact-board,
    .value-showcase,
    .about-hero {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .partner-grid,
    .contact-board,
    .value-showcase,
    .about-hero,
    .header-inner {
        grid-template-columns: 1fr;
    }

    .header-inner {
        display: flex;
    }

    .brand-text strong {
        max-width: 42vw;
    }

    .lang-switch select {
        max-width: 4.6rem;
    }

    .hero-orb-a {
        left: auto;
        right: -30px;
        top: 6%;
    }

    .about-seal {
        display: none;
    }

    .type-line {
        font-size: 0.92em;
    }
}

.topbar-inner {
    justify-content: space-between;
    align-items: center;
}

.topbar-contact,
.quick-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.quick-links .lang-switch label,
.quick-links .theme-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #eef7fb;
    border-color: rgba(255, 255, 255, 0.22);
}

.quick-links .lang-switch select,
.quick-links .theme-btn {
    color: #eef7fb;
}

.quick-links .theme-btn {
    width: 36px;
    height: 36px;
}

.quick-links .lang-switch select option {
    color: var(--navy);
}

.hero {
    position: relative;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 78% 30%, rgba(255, 255, 255, 0.14), transparent 24%),
        linear-gradient(115deg, transparent 0 38%, rgba(37, 150, 190, 0.28) 39%, transparent 41% 62%, rgba(240, 193, 74, 0.28) 63%, transparent 65%);
}

.shader-line {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 7px;
    background: linear-gradient(90deg, #128a4e, #e7c15a, #e24b4b, #7a4dff, #0041a5, #2596be, #128a4e);
    background-size: 220% 100%;
    animation: shader 8s linear infinite;
}

@keyframes shader {
    to { background-position: 220% 0; }
}

.hero .eyebrow,
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.stats-band {
    position: relative;
    z-index: 2;
    margin-top: -2.2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
}

.stat-card {
    display: grid;
    gap: 0.25rem;
    padding: 1.05rem 1rem 1.1rem;
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(0, 44, 120, 0.12);
    animation: rise 0.7s ease both;
    animation-delay: var(--delay, 0ms);
}

.stat-card strong {
    font-family: var(--display);
    font-size: 2.35rem;
    line-height: 1;
    color: var(--navy);
}

.stat-card > span:last-child {
    color: var(--muted);
    font-weight: 700;
}

.focus-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.focus-row span::before {
    content: none;
}

.vm {
    align-items: stretch;
}

.vm-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.vm-card h2.vm-copy {
    font-family: var(--font);
    font-size: 1.08rem;
    font-weight: 650;
    line-height: 1.7;
    letter-spacing: -0.01em;
    color: var(--navy);
    margin: 0;
}

.page-plain {
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 150, 190, 0.08), transparent 28%),
        var(--paper);
}

.plain-title {
    color: var(--navy);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.page-plain .lead {
    color: var(--muted);
    margin-bottom: 1.4rem;
}

.contact-board {
    grid-template-columns: 1fr 1fr;
    max-width: 860px;
}

.map-block {
    margin-top: 1.5rem;
}

.map-block iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.map-block p {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    color: var(--navy);
    font-weight: 800;
}

.partners-band {
    background:
        radial-gradient(circle at 50% 0%, rgba(224, 176, 58, 0.16), transparent 32%),
        #f4efe4;
    text-align: center;
}

.partners-band .section-head {
    display: block;
    text-align: center;
    margin-bottom: 2rem;
}

.tricolor {
    display: block;
    width: 74px;
    height: 5px;
    margin: 0 auto 0.9rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #1f8a4c 0 33%, #e0b03a 33% 66%, #c4453a 66% 100%);
}

.partner-grid {
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    gap: 2rem 1rem;
}

.partner-medal {
    display: grid;
    justify-items: center;
    gap: 0.9rem;
    width: min(100%, 220px);
    text-align: center;
}

.medal {
    width: 168px;
    height: 168px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    padding: 16px;
    background: white;
    box-shadow:
        0 0 0 10px #f7f3ea,
        0 0 0 12px rgba(196, 164, 90, 0.7),
        0 16px 34px rgba(80, 60, 20, 0.08);
    transition: transform 0.35s ease;
}

.partner-medal:hover .medal {
    transform: translateY(-8px) scale(1.04);
}

.medal img,
.medal-letter {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: white;
}

.medal-letter {
    display: grid;
    place-items: center;
    color: var(--navy);
    font-family: var(--display);
    font-size: 2.4rem;
}

.partner-medal h3 {
    margin: 0;
    color: #1c6b45;
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.25;
}

.nav a .icon,
.site-footer a .icon {
    transition: transform 0.2s ease;
}

.nav a:hover .icon {
    transform: translateY(-2px);
}

.footer-grid h2,
.footer-grid a,
.footer-grid p:not(.footer-note) {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}

.site-footer a:hover .icon {
    transform: translateX(4px);
}

.result-list li::before {
    content: none;
}

.result-list .icon {
    color: var(--navy);
    margin-top: 0.2rem;
}

html.dark .stat-card,
html.dark .page-plain,
html.dark .partners-band {
    background: #102033;
}

html.dark .stat-card strong,
html.dark .plain-title,
html.dark .vm-card h2.vm-copy,
html.dark .map-block p {
    color: #e7f4fb;
}

html.dark .partner-medal h3 {
    color: #8ddeaf;
}

html.dark .medal {
    background: #163044;
    box-shadow:
        0 0 0 10px #102033,
        0 0 0 12px rgba(224, 176, 58, 0.55),
        0 16px 34px rgba(0, 0, 0, 0.25);
}

@media (max-width: 980px) {
    .stats-grid,
    .partner-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .topbar {
        display: block;
    }

    .topbar-contact {
        display: none;
    }

    .topbar-inner {
        justify-content: flex-end;
    }

    .contact-board {
        grid-template-columns: 1fr;
    }

    .map-block iframe {
        height: 280px;
    }
}

@media (max-width: 520px) {
    .stats-grid,
    .partner-grid {
        grid-template-columns: 1fr;
    }

    .medal {
        width: 140px;
        height: 140px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shader-line,
    .stat-card,
    .medal,
    .brand,
    .brand img,
    .site-header::after,
    .page-hero::after {
        animation: none;
    }
}

.site-header {
    position: sticky;
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: linear-gradient(90deg, #128a4e, #e7c15a, #e24b4b, #7a4dff, #0041a5, #2596be, #128a4e);
    background-size: 220% 100%;
    box-shadow: 0 0 12px rgba(37, 150, 190, 0.85), 0 0 22px rgba(231, 193, 90, 0.55);
    animation: shader 6s linear infinite;
    pointer-events: none;
}

.header-inner .brand {
    margin-inline-start: -8px;
    animation: brand-settle 0.8s ease both;
}

.brand img {
    animation: logo-glow 4.6s ease-in-out infinite;
}

@keyframes brand-settle {
    from { opacity: 0; transform: translateX(-18px); }
    to { opacity: 1; transform: none; }
}

@keyframes logo-glow {
    0%, 100% { box-shadow: 0 0 0 2px #d7e8f3; }
    50% { box-shadow: 0 0 0 3px #b9e6f4, 0 0 18px rgba(37, 150, 190, 0.65); }
}

html[dir="rtl"] .header-inner .brand {
    animation-name: brand-settle-rtl;
}

@keyframes brand-settle-rtl {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: none; }
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 2.3rem 0 2rem;
}

.page-hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.page-hero .eyebrow,
.page-hero h1,
.page-hero .lead,
.page-hero .actions {
    animation: rise 0.7s ease both;
}

.page-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, #128a4e, #e7c15a, #e24b4b, #7a4dff, #0041a5, #2596be, #128a4e);
    background-size: 220% 100%;
    animation: shader 7s linear infinite;
}

.stat-figure {
    display: flex;
    align-items: flex-start;
    gap: 0.05rem;
    margin: 0.2rem 0 0;
}

.stat-figure strong {
    font-size: 2.7rem;
    line-height: 0.9;
    background: linear-gradient(180deg, #002c78, #0c62ad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-figure span {
    color: #d7a21a;
    font-family: var(--display);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
}

.doc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.1rem;
    margin-top: 0.6rem;
}

.doc-actions .text-link {
    margin-top: 0;
}

.doc-sheet {
    max-width: 820px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 2rem 1.4rem;
    box-shadow: var(--shadow);
}

.doc-sheet h2,
.doc-sheet h3 {
    color: var(--navy);
    margin: 1.3rem 0 0.4rem;
}

.doc-sheet h3 {
    font-family: var(--font);
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.doc-sheet p,
.doc-sheet li {
    color: var(--ink);
    font-size: 1.05rem;
}

.doc-sheet ul {
    margin: 0.3rem 0 0;
    padding-inline-start: 1.2rem;
}

html.dark .stat-figure strong {
    background: linear-gradient(180deg, #d7f3fb, #7ec8e3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

html.dark .doc-sheet {
    background: #102033;
}

html.dark .doc-sheet h2,
html.dark .doc-sheet h3,
html.dark .doc-sheet p,
html.dark .doc-sheet li {
    color: #e7f4fb;
}

html {
    zoom: 1.1;
}

.partner-grid {
    grid-template-columns: repeat(5, 1fr);
}

.partner-medal h3 {
    font-family: "Fraunces", Georgia, serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.35;
    color: #0e6b56;
}

.partners-band {
    position: relative;
    padding-bottom: 2.6rem;
}

.partners-band::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: linear-gradient(90deg, #128a4e, #e7c15a, #e24b4b, #7a4dff, #0041a5, #2596be, #128a4e);
    background-size: 220% 100%;
    box-shadow: 0 0 14px rgba(37, 150, 190, 0.55), 0 0 22px rgba(231, 193, 90, 0.35);
    animation: shader 7s linear infinite;
}

html.dark .partner-medal h3 {
    color: #8ddeaf;
}

.medal {
    width: 128px;
    height: 128px;
    padding: 8px;
    background: #fff;
}

.medal img {
    background: #fff;
    border-radius: 50%;
    object-fit: contain;
    padding: 6px;
    box-shadow: inset 0 0 0 8px #fff;
}

.vm-card .icon-bubble,
.icon-lg {
    width: 64px;
    height: 64px;
    border-radius: 20px;
}

.vm-card .icon-bubble .icon,
.icon-lg .icon {
    width: 30px;
    height: 30px;
}

.vm-card h2.vm-copy {
    font-size: 1.02rem;
    line-height: 1.75;
    flex: 1;
}

.who-band {
    padding-top: 1.2rem;
}

.who-panel {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 150, 190, 0.12), transparent 32%),
        white;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 2rem 2rem 2rem 2.3rem;
    box-shadow: 0 22px 50px rgba(0, 44, 120, 0.08);
}

.who-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 7px;
    background: linear-gradient(180deg, #128a4e, #e7c15a, #0041a5);
}

.who-intro h2 {
    max-width: 14ch;
    margin-bottom: 0;
}

.who-copy p {
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--ink);
}

.program-card {
    background:
        linear-gradient(180deg, #fff, #f7fbfe);
    border: 1px solid #d5e6f2;
    box-shadow: 0 16px 36px rgba(0, 44, 120, 0.07);
    padding: 1.35rem 1.25rem 1.2rem;
}

.program-card .index {
    position: absolute;
    top: 0.85rem;
    inset-inline-end: 1rem;
    font-family: var(--display);
    font-size: 1.7rem;
    color: rgba(0, 65, 165, 0.16);
}

.program-card .icon-bubble {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(180deg, #e8f6fb, #fff);
    box-shadow: 0 10px 20px rgba(0, 65, 165, 0.08);
}

.program-card .icon-bubble .icon {
    width: 26px;
    height: 26px;
}

.program-card h3 {
    font-size: 1.32rem;
    max-width: 16ch;
}

.how-band {
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 150, 190, 0.14), transparent 28%),
        linear-gradient(180deg, #f7fbfe, #fff);
}

.how-head {
    max-width: 720px;
}

.how-head p:last-child {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0 1.6rem;
}

.how-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.25rem;
    box-shadow: 0 14px 30px rgba(0, 44, 120, 0.06);
}

.how-card h3 {
    color: var(--navy);
    margin: 0.75rem 0 0.35rem;
    font-size: 1.25rem;
}

.how-card p {
    color: var(--muted);
    margin: 0;
}

html.dark .who-panel,
html.dark .how-card,
html.dark .how-band,
html.dark .program-card {
    background: #102033;
    border-color: var(--line);
}

html.dark .who-copy p,
html.dark .how-card h3,
html.dark .how-head p:last-child,
html.dark .how-card p {
    color: #d5e6f0;
}

@media (max-width: 1100px) {
    .partner-grid,
    .how-grid,
    .who-panel {
        grid-template-columns: 1fr 1fr;
    }

    .who-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .partner-grid,
    .how-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .partner-grid,
    .how-grid {
        grid-template-columns: 1fr;
    }
}

.partner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 1.7rem 2.8rem;
    max-width: 1080px;
    margin-inline: auto;
}

.partner-medal {
    width: 164px;
    gap: 0.7rem;
}

.medal {
    width: 158px;
    height: 158px;
    padding: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow:
        0 0 0 7px #fff,
        0 0 0 9px #e8c56a,
        0 0 0 13px rgba(232, 197, 106, 0.28),
        0 16px 28px rgba(70, 48, 12, 0.1);
}

.partner-medal:hover .medal {
    transform: translateY(-6px) scale(1.03);
    box-shadow:
        0 0 0 7px #fff,
        0 0 0 9px #efcf78,
        0 0 0 14px rgba(232, 197, 106, 0.4),
        0 20px 34px rgba(70, 48, 12, 0.14);
}

.medal img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: none;
    transform: scale(1.22);
}

.partner-medal h3 {
    font-family: "Fraunces", Georgia, serif;
    font-size: 0.6rem;
    font-weight: 560;
    font-style: italic;
    letter-spacing: 0.03em;
    line-height: 1.35;
    color: #1a3d78;
}

html.dark .partner-medal h3 {
    color: #f0d48a;
}

html.dark .medal {
    background: radial-gradient(circle at 50% 42%, #1c3d5c 0 62%, #12283d 100%);
    box-shadow:
        0 0 0 7px #102033,
        0 0 0 9px rgba(240, 212, 138, 0.75),
        0 0 0 13px rgba(240, 212, 138, 0.18),
        0 16px 28px rgba(0, 0, 0, 0.32);
}

@media (max-width: 560px) {
    .partner-grid {
        gap: 1.4rem 1.6rem;
    }

    .partner-medal {
        width: 142px;
    }

    .medal {
        width: 136px;
        height: 136px;
    }
}

.topbar {
    position: relative;
    padding-top: 5px;
    background:
        linear-gradient(90deg, rgba(18, 138, 78, 0.2), transparent 18%, transparent 82%, rgba(37, 150, 190, 0.22)),
        var(--navy-ink);
}

.topbar::before,
.topbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #128a4e, #e7c15a, #e24b4b, #7a4dff, #0041a5, #2596be, #128a4e);
    background-size: 220% 100%;
    animation: shader 6s linear infinite;
    box-shadow: 0 0 16px rgba(37, 150, 190, 0.85), 0 0 22px rgba(231, 193, 90, 0.55);
    pointer-events: none;
}

.topbar::before {
    top: 0;
}

.topbar::after {
    bottom: 0;
    height: 3px;
    animation-duration: 8s;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 0.32rem;
}

.social-links a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-2px) scale(1.08);
    color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
}

.social-links .icon {
    width: 14px;
    height: 14px;
}

.social-fb { background: #1877f2; }
.social-x { background: #111827; }
.social-wa { background: #25d366; }
.social-in { background: #0a66c2; }
.social-yt { background: #ff0033; }

.hero,
.page-hero {
    background:
        radial-gradient(circle at 8% 18%, rgba(226, 75, 75, 0.32), transparent 26%),
        radial-gradient(circle at 92% 12%, rgba(231, 193, 90, 0.38), transparent 24%),
        radial-gradient(circle at 78% 88%, rgba(37, 150, 190, 0.42), transparent 30%),
        radial-gradient(circle at 18% 90%, rgba(122, 77, 255, 0.28), transparent 28%),
        linear-gradient(145deg, #041428 0%, #06316d 42%, #0c62ad 74%, #128a9a 100%);
}

.hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    inset: -10% -5%;
    pointer-events: none;
    background:
        radial-gradient(circle at 22% 30%, rgba(255, 255, 255, 0.2) 0 7%, transparent 8%),
        radial-gradient(circle at 74% 24%, rgba(255, 255, 255, 0.14) 0 11%, transparent 12%),
        linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.08) 48%, transparent 54%);
    animation: drift 14s ease-in-out infinite;
}

.page-hero {
    padding: 2.8rem 0 2.5rem;
}

.page-hero::after,
.shader-line {
    height: 6px;
    box-shadow: 0 0 16px rgba(37, 150, 190, 0.75), 0 0 22px rgba(231, 193, 90, 0.45);
}

.seal-wrap img,
.about-seal {
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.16), 0 0 32px rgba(231, 193, 90, 0.35);
}

@media (prefers-reduced-motion: reduce) {
    .topbar::before,
    .topbar::after,
    .hero::before,
    .page-hero::before {
        animation: none;
    }
}

.topbar-name {
    margin: 0;
    color: #fff;
    font-weight: 800;
    font-size: 0.84rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.home-programs .programs-head h2 {
    font-size: clamp(2.15rem, 4vw, 3.05rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    background: linear-gradient(100deg, #002c78 0%, #0c62ad 58%, #128a4e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-programs .kicker {
    color: #0e6b56;
}

.program-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background:
        linear-gradient(#fff, #f8fbfe) padding-box,
        linear-gradient(135deg, rgba(18, 138, 78, 0.45), rgba(0, 65, 165, 0.28)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 18px 40px rgba(0, 44, 120, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.program-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, #128a4e, #e7c15a, #0041a5);
}

.program-grid .program-card:nth-child(6n + 2)::before { background: linear-gradient(90deg, #0c62ad, #2596be); }
.program-grid .program-card:nth-child(6n + 3)::before { background: linear-gradient(90deg, #7a4dff, #2596be); }
.program-grid .program-card:nth-child(6n + 4)::before { background: linear-gradient(90deg, #e7c15a, #e24b4b); }
.program-grid .program-card:nth-child(6n + 5)::before { background: linear-gradient(90deg, #128a4e, #0c62ad); }
.program-grid .program-card:nth-child(6n + 6)::before { background: linear-gradient(90deg, #0041a5, #7a4dff); }

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 44, 120, 0.14);
}

.program-card h3,
.program-card h2 {
    letter-spacing: -0.03em;
}

html.dark .home-programs .programs-head h2 {
    background: linear-gradient(100deg, #d7f3fb, #8ddeaf);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

html.dark .program-card {
    background: #102033;
    border-color: var(--line);
}

h2 {
    letter-spacing: -0.03em;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}
