:root {
    --bg: #f6efe6;
    --bg-accent: #f2dcc2;
    --surface: rgba(255, 252, 246, 0.78);
    --surface-strong: #fffaf2;
    --text: #2c2118;
    --muted: #725c4a;
    --line: rgba(85, 57, 29, 0.14);
    --shadow: 0 24px 60px rgba(87, 57, 30, 0.14);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --hassan: #2d7dd2;
    --zainab: #d95d39;
    --mohamed: #3b8f5a;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), transparent 34%),
        radial-gradient(circle at top right, rgba(255, 227, 190, 0.78), transparent 28%),
        linear-gradient(180deg, #f8f1e8 0%, #f2e6d8 52%, #efe4d8 100%);
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(10px);
    opacity: 0.45;
}

body::before {
    width: 20rem;
    height: 20rem;
    top: 6rem;
    right: -6rem;
    background: rgba(45, 125, 210, 0.18);
}

body::after {
    width: 18rem;
    height: 18rem;
    bottom: 4rem;
    left: -5rem;
    background: rgba(217, 93, 57, 0.14);
}

.page-shell {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
    gap: 1.5rem;
    align-items: stretch;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(255, 250, 242, 0.92), rgba(246, 234, 219, 0.84));
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.hero-copy h1 {
    margin: 0.35rem 0 0.8rem;
    font-size: clamp(2.4rem, 4vw, 4.5rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.eyebrow {
    margin: 0;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-text {
    max-width: 42rem;
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--muted);
}

.hero-panel {
    display: grid;
    gap: 1rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 150px;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 246, 235, 0.95)),
        var(--surface-strong);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    margin-top: 0.45rem;
    color: var(--muted);
    font-size: 0.98rem;
}

.sections {
    margin-top: 1.5rem;
    display: grid;
    gap: 1.25rem;
}

.person-section {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.section-title {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border: 0;
    border-radius: var(--radius-lg);
    background: transparent;
    color: inherit;
    text-align: left;
    font: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.section-title span:first-child {
    font-size: clamp(1.5rem, 2.3vw, 2.3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.section-title:hover,
.section-title:focus-visible {
    outline: none;
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.45);
}

.section-title::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    margin-left: auto;
    border-radius: 999px;
    background: rgba(44, 33, 24, 0.08);
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.section-title[aria-expanded="true"]::after {
    transform: rotate(45deg);
}

.section-meta {
    margin-inline-start: auto;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.link-grid {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 0.25rem;
}

.link-grid.is-open {
    display: grid;
}

.link-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 251, 245, 0.92);
    box-shadow: 0 12px 26px rgba(72, 47, 24, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.link-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(72, 47, 24, 0.12);
}

.link-header {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1rem 1rem 0.85rem;
}

.link-header a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
}

.link-header a:hover {
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
}

.link-header span {
    color: var(--muted);
    font-size: 0.95rem;
}

iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
    background: #fff;
}

.section-hassan .section-title {
    color: var(--hassan);
}

.section-zainab .section-title {
    color: var(--zainab);
}

.section-mohamed .section-title {
    color: var(--mohamed);
}

.section-hassan .link-item {
    border-top: 4px solid rgba(45, 125, 210, 0.92);
}

.section-zainab .link-item {
    border-top: 4px solid rgba(217, 93, 57, 0.92);
}

.section-mohamed .link-item {
    border-top: 4px solid rgba(59, 143, 90, 0.92);
}

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

    .link-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 1rem, 1200px);
        padding-top: 0.75rem;
    }

    .hero,
    .person-section {
        padding: 0.85rem;
        border-radius: 24px;
    }

    .hero-copy h1 {
        font-size: 2.35rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .section-title {
        flex-wrap: wrap;
        padding: 0.9rem 1rem;
    }

    .section-meta {
        margin-inline-start: 0;
    }

    .section-title::after {
        position: absolute;
        right: 1.4rem;
    }

    iframe {
        height: 240px;
    }
}
