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

:root {
    --navy:        #1C3A6B;
    --navy-dark:   #132847;
    --navy-mid:    #244C8A;
    --green:       #2E7A32;
    --green-light: #3D9642;
    --white:       #FFFFFF;
    --off-white:   #F4F6F9;
    --gray-light:  #E4E9F0;
    --gray:        #8892A0;
    --text-dark:   #1A2332;
    --text-body:   #3D4A58;
    --shadow:      0 2px 20px rgba(28,58,107,0.10);
    --shadow-lg:   0 8px 40px rgba(28,58,107,0.18);
    --radius:      8px;
    --max:         1100px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--white);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    line-height: 1.3;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-light); }

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 32px;
}

section { padding: 80px 0; }
.section-alt { background: var(--off-white); }

.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
}

.section-intro {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 660px;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* ── NAV ── */
#nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gray-light);
}

#nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo img { height: 42px; width: auto; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-body);
    padding: 6px 13px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
}

.nav-links a:hover { color: var(--navy); background: var(--off-white); }

.nav-cta {
    background: var(--green) !important;
    color: var(--white) !important;
    padding: 8px 18px !important;
}

.nav-cta:hover { background: var(--green-light) !important; color: var(--white) !important; }

/* ── HERO ── */
#hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 65%, var(--navy-mid) 100%);
    padding: 96px 0 80px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: rgba(46,122,50,0.07);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(126,216,127,0.5); }
    50%       { opacity: 0.7; box-shadow: 0 0 0 5px rgba(126,216,127,0); }
}

.avail-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.avail-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7ED87F;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

.hero-tag {
    display: inline-block;
    background: rgba(46,122,50,0.25);
    border: 1px solid rgba(46,122,50,0.5);
    color: #7ED87F;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 22px;
}

#hero h1 {
    font-size: 2.9rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.78);
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.75;
}

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

.btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover {
    background: var(--green-light);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(46,122,50,0.4);
}

.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.35); }
.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    transform: translateY(-1px);
}

.hero-logo-card {
    background: var(--white);
    border-radius: 12px;
    padding: 28px 36px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.25);
}

.hero-logo-card img { width: 210px; display: block; }

/* ── STATS ── */
#stats { background: var(--green); padding: 40px 0; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    text-align: center;
}

.stat-item {
    color: var(--white);
    padding: 8px 16px;
    border-right: 1px solid rgba(255,255,255,0.25);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    display: block;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.88;
    line-height: 1.3;
}

/* ── ABOUT ── */
#about .about-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 64px;
    align-items: start;
}

#about p { margin-bottom: 18px; font-size: 1.02rem; }

.about-card {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 32px;
    color: var(--white);
}

.about-card h3 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--green);
}

.highlight-item {
    display: flex;
    gap: 12px;
    margin-bottom: 13px;
    align-items: flex-start;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.82);
}

.h-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
    margin-top: 6px;
}

/* ── IMPACT ── */
#impact .impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.impact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--green);
    transition: box-shadow 0.2s, transform 0.2s;
}

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

.impact-icon {
    width: 42px;
    height: 42px;
    background: rgba(46,122,50,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.impact-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 12px; font-weight: 600; }

.impact-card ul { list-style: none; padding: 0; }

.impact-card ul li {
    font-size: 0.87rem;
    padding: 3px 0 3px 15px;
    position: relative;
    color: var(--text-body);
}

.impact-card ul li::before { content: '›'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ── CASE STUDIES ── */
#case-studies .case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 60px;
}

.case-card {
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.case-glance { flex-grow: 1; }

.case-header {
    background: var(--navy);
    padding: 26px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    transition: background 0.2s;
    user-select: none;
}

.case-header:hover { background: var(--navy-mid); }

.case-num {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 6px;
}

.case-header h3 { font-size: 1.1rem; color: var(--white); line-height: 1.3; }

.case-toggle {
    color: rgba(255,255,255,0.55);
    font-size: 1.6rem;
    flex-shrink: 0;
    transition: transform 0.3s;
    line-height: 1;
    margin-top: 2px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

.case-card.open .case-toggle { transform: rotate(45deg); }

.case-glance {
    background: rgba(46,122,50,0.07);
    padding: 14px 30px;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--gray-light);
}

.glance-item { font-size: 0.82rem; }

.glance-item strong {
    display: block;
    color: var(--green);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 1px;
    margin-bottom: 1px;
}

.case-body {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, padding 0.3s;
}

.case-card.open .case-body { max-height: 2400px; padding: 28px 30px; }

.case-body h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--green);
    margin-top: 22px;
    margin-bottom: 10px;
}

.case-body h4:first-child { margin-top: 0; }
.case-body p { font-size: 0.93rem; margin-bottom: 10px; }

.case-body ul { list-style: none; padding: 0; margin-bottom: 10px; }

.case-body ul li {
    font-size: 0.91rem;
    padding: 4px 0 4px 18px;
    position: relative;
}

.case-body ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-size: 0.82rem; }

/* ── MINI CASE STUDIES ── */
.mini-section-title {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.mini-card {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 22px;
    border-left: 3px solid var(--green);
    transition: box-shadow 0.2s, transform 0.2s;
}

.mini-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.mini-card h4 { font-size: 0.92rem; color: var(--navy); margin-bottom: 8px; font-weight: 600; }
.mini-card p { font-size: 0.84rem; color: var(--text-body); margin-bottom: 8px; }
.mini-card .outcome { font-size: 0.8rem; color: var(--green); font-weight: 600; }

/* ── EXPERIENCE ── */
.timeline { position: relative; padding-left: 30px; }

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 0;
    width: 2px;
    background: var(--gray-light);
}

.timeline-item { position: relative; margin-bottom: 38px; }

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--green);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--green);
}

.tl-dates {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.tl-role {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 2px;
}

.tl-org { font-size: 0.92rem; color: var(--gray); font-weight: 500; margin-bottom: 10px; }

.tl-list { list-style: none; padding: 0; }

.tl-list li {
    font-size: 0.9rem;
    padding: 3px 0 3px 16px;
    position: relative;
}

.tl-list li::before { content: '›'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ── INNOVATION ── */
#innovation .inno-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.inno-card {
    text-align: center;
    padding: 38px 24px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    border-bottom: 3px solid var(--navy);
}

.inno-icon { font-size: 1.9rem; margin-bottom: 14px; }
.inno-card h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 16px; }

.funding-total {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--navy);
    font-weight: 700;
    margin: 10px 0 8px;
}

.inno-card ul { list-style: none; text-align: left; padding: 0; }

.inno-card ul li {
    font-size: 0.88rem;
    padding: 5px 0 5px 15px;
    border-bottom: 1px solid var(--gray-light);
    position: relative;
}

.inno-card ul li:last-child { border-bottom: none; }
.inno-card ul li::before { content: '›'; position: absolute; left: 0; color: var(--navy); }

/* ── AFFILIATIONS ── */
#affiliations .aff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

#affiliations h3 {
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--green);
}

.aff-list { list-style: none; padding: 0; }

.aff-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.93rem;
}

/* ── CONTACT ── */
#contact {
    background: var(--navy-dark);
    color: var(--white);
    text-align: center;
}

#contact .section-label { color: rgba(255,255,255,0.45); }
#contact .section-title { color: var(--white); }
#contact .section-intro { color: rgba(255,255,255,0.65); margin: 0 auto 40px; }

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius);
    padding: 18px 30px;
    color: var(--white);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    font-size: 0.93rem;
}

.contact-link:hover {
    background: rgba(46,122,50,0.22);
    border-color: var(--green);
    color: var(--white);
}

.link-icon { font-size: 1.3rem; line-height: 1; }
.link-icon-text { font-size: 1.3rem; font-weight: 700; font-family: 'Inter', sans-serif; line-height: 1; }
.link-meta { font-size: 0.72rem; opacity: 0.55; margin-bottom: 2px; }

.contact-note { margin-top: 44px; font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* ── FOOTER ── */
footer {
    background: var(--navy-dark);
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 22px 0;
    text-align: center;
}

footer p { color: rgba(255,255,255,0.28); font-size: 0.8rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-logo-card { display: none; }
    #hero h1 { font-size: 2.1rem; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
    .stat-item:last-child { border-bottom: none; }
    #about .about-grid { grid-template-columns: 1fr; }
    .impact-grid { grid-template-columns: 1fr 1fr !important; }
    .case-grid { grid-template-columns: 1fr !important; }
    .mini-grid { grid-template-columns: 1fr 1fr !important; }
    .inno-grid { grid-template-columns: 1fr !important; }
    .aff-grid { grid-template-columns: 1fr !important; }
    .nav-links { display: none; }
    section { padding: 60px 0; }
}

@media (max-width: 600px) {
    .container { padding: 0 18px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    #hero h1 { font-size: 1.8rem; }
    .section-title { font-size: 1.75rem; }
    .mini-grid { grid-template-columns: 1fr !important; }
}
