/* ===========================
   Design Tokens
   =========================== */
:root {
    --ink: #0b1f3a;
    --ink-soft: #1d2f4d;
    --stone: #475467;
    --muted: #98a2b3;
    --paper: #f5f7fb;
    --white: #ffffff;
    --brand: #1a56db;
    --brand-dark: #0f2f6b;
    --accent: #f59e0b;
    --accent-soft: #fde7c3;
    --border: #e4e7ec;
    --shadow-soft: 0 20px 60px rgba(15, 47, 107, 0.08);
    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    min-height: 100vh;
}

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

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

.container {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 0 24px;
}

main {
    padding-top: 90px;
}

.section {
    padding: 100px 0;
}

.section-header {
    max-width: 650px;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 42px;
    line-height: 1.2;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 16px;
}

.lead {
    font-size: 18px;
    color: var(--stone);
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(228, 231, 236, 0.6);
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

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

.logo-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: var(--white);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-title {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.05em;
}

.logo-tagline {
    font-size: 12px;
    color: var(--stone);
}

.nav-menu {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--stone);
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand);
    border-bottom-color: var(--brand);
}

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.bar {
    height: 2px;
    width: 20px;
    background: var(--ink);
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

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

.btn-ghost {
    border: 1px solid var(--border);
    color: var(--ink);
    background: transparent;
}

/* ===========================
   Hero
   =========================== */
.hero {
    padding: 140px 0 80px;
    background: radial-gradient(circle at 10% 20%, rgba(26, 86, 219, 0.12), transparent 45%),
                radial-gradient(circle at 80% 0%, rgba(245, 158, 11, 0.15), transparent 45%),
                var(--white);
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(42px, 5vw, 58px);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 32px 0 20px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--stone);
    font-size: 14px;
}

.hero-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
}

.hero-quote {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 24px;
}

.hero-quote span {
    color: var(--accent);
}

.hero-panel-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
    color: var(--stone);
}

.hero-panel-card li i {
    color: var(--brand);
}

.stat-row {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border);
    text-align: left;
    box-shadow: 0 8px 20px rgba(7, 23, 52, 0.05);
}

.stat-card span {
    display: block;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* ===========================
   About
   =========================== */
.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
    align-items: center;
}

.checklist {
    list-style: none;
    margin-top: 24px;
    display: grid;
    gap: 12px;
    color: var(--stone);
}

.checklist i {
    color: var(--brand);
    margin-right: 8px;
}

.insight-cards {
    display: grid;
    gap: 16px;
}

.insight-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 6px 18px rgba(10, 31, 58, 0.05);
}

/* ===========================
   Pillars
   =========================== */
.pillars {
    background: var(--white);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.pillar-card {
    background: var(--paper);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--border);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(26, 86, 219, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    margin-bottom: 18px;
}

.tagline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    margin-bottom: 16px;
}

.chip-group {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.chip-group li {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--border);
    font-size: 13px;
}

.goal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.goal-chip {
    border-radius: var(--radius-sm);
    border: 1px dashed var(--border);
    padding: 18px;
}

.goal-chip span {
    font-weight: 600;
}

.goal-chip small {
    color: var(--stone);
}

/* ===========================
   Programmes
   =========================== */
.programmes {
    background: var(--paper);
}

.programmes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.programme-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    padding: 24px;
    min-height: 170px;
    box-shadow: 0 8px 20px rgba(10, 31, 58, 0.04);
    transition: var(--transition);
}

.programme-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand);
}

/* ===========================
   Leaders
   =========================== */
.leader-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.leader-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.leader-card.secondary {
    border-color: rgba(245, 158, 11, 0.3);
}

.leader-badge {
    display: inline-flex;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(26, 86, 219, 0.1);
    color: var(--brand);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.leader-card.secondary .leader-badge {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent);
}

.leader-card h3 {
    font-size: 32px;
    margin-bottom: 12px;
}

.role {
    color: var(--stone);
    margin-bottom: 18px;
}

.detail-list {
    list-style: none;
    display: grid;
    gap: 12px;
    color: var(--stone);
    margin-bottom: 20px;
}

.tag-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-rail span {
    border-radius: 999px;
    background: var(--paper);
    padding: 6px 16px;
    font-size: 13px;
}

/* ===========================
   Impact & Timeline
   =========================== */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px;
    align-items: start;
}

.impact-stats {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.impact-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    background: var(--white);
}

.impact-card span {
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
}

.timeline {
    border-left: 2px solid var(--border);
    padding-left: 24px;
    display: grid;
    gap: 24px;
}

.timeline-item span {
    font-weight: 700;
    color: var(--brand);
}

/* ===========================
   Gallery
   =========================== */
.gallery {
    background: var(--paper);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.gallery-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    overflow: hidden;
}

.gallery-media {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(26, 86, 219, 0.08), rgba(245, 158, 11, 0.08));
    font-weight: 600;
    color: var(--ink);
}

.gallery-card figcaption {
    padding: 16px;
    font-size: 14px;
    color: var(--stone);
}

/* ===========================
   Testimonials
   =========================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 28px;
    box-shadow: 0 12px 32px rgba(10, 31, 58, 0.06);
    position: relative;
}

.testimonial-card::before {
    content: '“';
    font-size: 64px;
    position: absolute;
    top: -20px;
    left: 20px;
    color: rgba(26, 86, 219, 0.1);
}

.testimonial-card p {
    margin-bottom: 20px;
    color: var(--stone);
}

.author strong {
    display: block;
    font-weight: 700;
}

.author span {
    color: var(--muted);
    font-size: 14px;
}

/* ===========================
   Contact
   =========================== */
.contact {
    background: var(--ink);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    align-items: start;
}

.contact-list {
    list-style: none;
    margin: 24px 0;
    display: grid;
    gap: 12px;
}

.contact-list i {
    color: var(--accent);
    margin-right: 10px;
}

.contact-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-tags span {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    color: var(--ink);
}

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

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    font-size: 14px;
    font-weight: 600;
}

input,
select,
textarea {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font: inherit;
}

textarea {
    resize: vertical;
}

.form-message {
    font-size: 14px;
    margin-top: -10px;
    color: var(--brand);
}

.form-message.error {
    color: #d14343;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: #050b16;
    color: var(--white);
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: var(--muted);
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    border-radius: var(--radius-sm);
    border: none;
    padding: 12px 14px;
}

.newsletter-form button {
    border-radius: var(--radius-sm);
    border: none;
    background: var(--accent);
    color: var(--ink);
    padding: 12px 18px;
    font-weight: 600;
}

.footer-note {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

/* ===========================
   Back to Top
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--brand);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 90px;
        right: -100%;
        flex-direction: column;
        background: var(--white);
        width: 240px;
        height: calc(100vh - 90px);
        padding: 24px;
        box-shadow: var(--shadow-soft);
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 640px) {
    .hero-cta {
        flex-direction: column;
    }

    .timeline {
        border: none;
        padding-left: 0;
    }

    .newsletter-form {
        flex-direction: column;
    }
}
