/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: #1a2332;
    background: #f8fafb;
    line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #0e6e4e; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== VARIABLES ===== */
:root {
    --green-dark:  #0a5c40;
    --green:       #0e6e4e;
    --green-light: #18a870;
    --gold:        #c9a227;
    --gold-light:  #f0c94a;
    --teal:        #0d7a8a;
    --bg-light:    #f0f7f4;
    --white:       #ffffff;
    --text:        #1a2332;
    --text-muted:  #5a6878;
    --border:      #d8e8e2;
    --shadow:      0 4px 24px rgba(10,92,64,.10);
    --radius:      12px;
}

/* ===== HEADER ===== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--green-dark);
    box-shadow: 0 2px 16px rgba(0,0,0,.18);
}
.header-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 0 24px;
    display: flex; align-items: center; gap: 24px;
    height: 68px;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    color: #fff; text-decoration: none; flex-shrink: 0;
}
.logo-icon { font-size: 1.6rem; }
.logo-title { display: block; font-size: 1.15rem; font-weight: 700; line-height: 1.1; }
.logo-sub   { display: block; font-size: .68rem; color: #a8d5c2; letter-spacing: .04em; }
.main-nav {
    display: flex; align-items: center; gap: 2px;
    margin-left: auto; flex-wrap: wrap;
}
.nav-link {
    color: #d4ede5; font-size: .83rem; font-weight: 500;
    padding: 6px 11px; border-radius: 6px;
    transition: background .2s, color .2s;
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
    background: var(--green-light); color: #fff;
    text-decoration: none;
}
.nav-toggle {
    display: none; background: none; border: none;
    color: #fff; font-size: 1.5rem; cursor: pointer; margin-left: auto;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--teal) 60%, #063d2c 100%);
    color: #fff; padding: 80px 24px 70px;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: url('images/image3.jpeg') center/cover no-repeat;
    opacity: .12; pointer-events: none;
}
.hero-inner {
    max-width: 900px; margin: 0 auto; position: relative; text-align: center;
}
.hero-badge {
    display: inline-block; background: var(--gold); color: #1a1a00;
    font-size: .8rem; font-weight: 700; letter-spacing: .06em;
    padding: 4px 14px; border-radius: 20px; margin-bottom: 20px;
}
.hero h1 {
    font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 700; line-height: 1.35;
    margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-desc {
    font-size: 1.05rem; color: #c8e8de; max-width: 720px;
    margin: 0 auto 36px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-block; padding: 12px 28px;
    border-radius: 8px; font-weight: 600; font-size: .95rem;
    transition: transform .15s, box-shadow .15s;
    cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); text-decoration: none; }
.btn-primary { background: var(--gold); color: #1a1000; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-green { background: var(--green-light); color: #fff; }

/* ===== SECTION ===== */
.section { padding: 70px 24px; }
.section-alt { background: var(--bg-light); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title {
    font-size: 1.65rem; font-weight: 700; color: var(--green-dark);
    margin-bottom: 8px;
}
.section-sub {
    color: var(--text-muted); margin-bottom: 40px; font-size: 1rem;
}
.divider {
    width: 52px; height: 4px; background: var(--gold);
    border-radius: 2px; margin: 10px 0 36px;
}

/* ===== CARDS ===== */
.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 36px rgba(10,92,64,.14); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 22px 24px; }
.card-icon { font-size: 2rem; margin-bottom: 10px; }
.card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--green-dark); }
.card-text { color: var(--text-muted); font-size: .93rem; }
.card-gold-top { border-top: 4px solid var(--gold); }
.card-green-top { border-top: 4px solid var(--green-light); }
.card-teal-top  { border-top: 4px solid var(--teal); }

/* ===== STATS ===== */
.stats { display: flex; gap: 20px; flex-wrap: wrap; margin: 40px 0; }
.stat {
    flex: 1 1 160px; background: var(--white); border-radius: var(--radius);
    padding: 28px 24px; text-align: center; box-shadow: var(--shadow);
    border-bottom: 4px solid var(--gold);
}
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--green-dark); }
.stat-label { font-size: .85rem; color: var(--text-muted); margin-top: 4px; }

/* ===== TEAM ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.team-card {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 28px 22px; text-align: center;
    transition: transform .2s;
}
.team-card:hover { transform: translateY(-3px); }
.team-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--teal));
    color: #fff; font-size: 1.6rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.team-name { font-size: 1rem; font-weight: 700; color: var(--green-dark); }
.team-title { font-size: .83rem; color: var(--gold); font-weight: 600; margin: 4px 0; }
.team-inst { font-size: .8rem; color: var(--text-muted); }
.team-orcid { display: inline-block; margin-top: 10px; font-size: .75rem; background: #e8f5f0; color: var(--green); padding: 3px 10px; border-radius: 20px; }

/* ===== TABLE ===== */
.data-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.data-table th {
    background: var(--green-dark); color: #fff;
    padding: 12px 16px; text-align: left; font-weight: 600;
}
.data-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: #f3faf7; }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
    content: ''; position: absolute; left: 10px; top: 0; bottom: 0;
    width: 3px; background: linear-gradient(to bottom, var(--green-light), var(--gold));
    border-radius: 2px;
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-dot {
    position: absolute; left: -26px; top: 4px;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--green-light); border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--green-light);
}
.timeline-title { font-weight: 700; color: var(--green-dark); margin-bottom: 4px; }
.timeline-text { color: var(--text-muted); font-size: .92rem; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.contact-info-box { background: var(--green-dark); color: #fff; border-radius: var(--radius); padding: 36px 32px; }
.contact-info-box h3 { font-size: 1.2rem; margin-bottom: 24px; color: var(--gold-light); }
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-label { font-size: .78rem; color: #a8d5c2; margin-bottom: 2px; }
.contact-val { font-size: .95rem; }
.contact-val a { color: var(--gold-light); }
.contact-form { background: var(--white); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.2rem; color: var(--green-dark); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 10px 14px; border: 1px solid var(--border);
    border-radius: 8px; font-family: inherit; font-size: .93rem;
    transition: border-color .2s, box-shadow .2s; color: var(--text);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--green-light);
    box-shadow: 0 0 0 3px rgba(24,168,112,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== SUPPORTER ===== */
.logos-grid {
    display: flex; flex-wrap: wrap; gap: 32px;
    justify-content: center; align-items: center;
    margin-top: 32px;
}
.logo-item { text-align: center; }
.logo-item img { height: 80px; width: auto; object-fit: contain; filter: grayscale(20%); transition: filter .2s, transform .2s; }
.logo-item img:hover { filter: none; transform: scale(1.05); }
.logo-item p { font-size: .78rem; color: var(--text-muted); margin-top: 8px; }

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--teal) 100%);
    color: #fff; padding: 52px 24px 44px;
}
.page-hero-inner { max-width: 900px; margin: 0 auto; }
.breadcrumb { font-size: .82rem; color: #a8d5c2; margin-bottom: 10px; }
.breadcrumb a { color: #a8d5c2; }
.page-hero h1 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
.page-hero p { color: #c8e8de; margin-top: 10px; max-width: 680px; }

/* ===== INFO BOX ===== */
.info-box {
    background: var(--bg-light); border-left: 4px solid var(--green-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 24px; margin: 24px 0;
}
.info-box.gold { border-left-color: var(--gold); }

/* ===== FOOTER ===== */
.site-footer { background: #0d1e16; color: #b8cec6; padding: 56px 24px 0; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 36px; padding-bottom: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 14px; font-size: .95rem; }
.footer-col p { font-size: .85rem; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #b8cec6; font-size: .85rem; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-col a { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid #1e3328; text-align: center; padding: 18px 24px; font-size: .8rem; color: #5a7a6a; }

/* ===== GALLERY ===== */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.04); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .main-nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--green-dark); padding: 12px 0; }
    .main-nav.open { display: flex; }
    .nav-link { padding: 10px 24px; border-radius: 0; }
    .contact-grid { grid-template-columns: 1fr; }
    .stats { gap: 12px; }
    .hero { padding: 50px 16px 44px; }
}
