/* ═══════════════════════════════════════════
   ICEHP 2026 — Shared Stylesheet
   ITB Color Palette
   ═══════════════════════════════════════════ */

:root {
  --itb-blue:    #005AAB;
  --itb-navy:    #1A284D;
  --itb-accent:  #A8BFDC;
  --itb-light:   #E8F0FA;
  --itb-mid:     #003E7E;
  --white:       #FFFFFF;
  --off-white:   #F4F7FB;
  --text:        #1a1a2e;
  --text-muted:  #5a6a8a;
  --border:      #d0ddf0;
  --card-shadow: 0 4px 24px rgba(0,90,171,.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--text); overflow-x: hidden; }

/* ─── TOPBAR ─── */
.topbar {
  background: var(--itb-navy);
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  padding: 7px 60px;
  display: flex; justify-content: space-between; align-items: center;
}
.topbar a { color: rgba(255,255,255,.7); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; gap: 24px; }

/* ─── NAVBAR ─── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--itb-blue);
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 64px;
}
.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 1.3rem;
  color: var(--white); letter-spacing: 1px;
  text-decoration: none;
}
.nav-logo span { color: var(--itb-accent); }
.nav-menu { display: flex; list-style: none; height: 100%; }
.nav-menu > li { position: relative; height: 100%; }
.nav-menu > li > a {
  display: flex; align-items: center; height: 100%;
  padding: 0 18px; color: rgba(255,255,255,.88);
  font-size: .875rem; font-weight: 500;
  text-decoration: none; letter-spacing: .3px;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li.active > a { color: #fff; border-color: var(--itb-accent); }
.nav-menu > li > a .arrow { margin-left: 5px; font-size: .65rem; transition: transform .2s; }
.nav-menu > li:hover > a .arrow { transform: rotate(180deg); }

.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white);
  border-top: 3px solid var(--itb-blue);
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  min-width: 220px; z-index: 300;
}
.nav-menu > li:hover .dropdown { display: block; }
.dropdown a {
  display: block; padding: 12px 20px;
  font-size: .85rem; color: var(--text);
  text-decoration: none; border-bottom: 1px solid var(--border);
  transition: background .15s, color .15s;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--itb-light); color: var(--itb-blue); }
.dropdown a.active { background: var(--itb-light); color: var(--itb-blue); font-weight: 600; }

.nav-cta {
  background: var(--white); color: var(--itb-blue);
  padding: 9px 22px; border-radius: 5px;
  font-weight: 700; font-size: .85rem; text-decoration: none;
  letter-spacing: .3px; white-space: nowrap;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--itb-light); transform: translateY(-1px); }

/* ─── PAGE HERO BANNER (inner pages) ─── */
.page-banner {
  background: linear-gradient(135deg, var(--itb-navy) 0%, var(--itb-mid) 60%, var(--itb-blue) 100%);
  padding: 64px 60px 60px;
  position: relative; overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-banner-inner { position: relative; z-index: 1; max-width: 760px; }
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: .75rem; color: rgba(255,255,255,.5);
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,.5); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.3); }
.page-banner h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800; color: #fff; line-height: 1.1;
  margin-bottom: 12px;
}
.page-banner p {
  font-size: .95rem; color: rgba(255,255,255,.65); line-height: 1.7;
  max-width: 580px;
}

/* ─── SECTION BASE ─── */
.section { padding: 80px 60px; }
.section.alt { background: var(--off-white); }
.section.dark { background: var(--itb-navy); color: var(--white); }
.sec-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--itb-blue); margin-bottom: 8px; }
.section.dark .sec-tag { color: var(--itb-accent); }
.sec-title { font-family: 'Montserrat', sans-serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.15; margin-bottom: 10px; }
.sec-rule { width: 44px; height: 4px; border-radius: 2px; background: var(--itb-blue); margin: 12px 0 32px; }
.section.dark .sec-rule { background: var(--itb-accent); }
.sec-desc { font-size: .95rem; color: var(--text-muted); line-height: 1.75; max-width: 600px; }
.section.dark .sec-desc { color: rgba(255,255,255,.65); }

/* ─── CARD ─── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px;
  box-shadow: var(--card-shadow);
}
.card-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem; color: var(--itb-navy); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--itb-light); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  background: var(--itb-blue); color: #fff;
  padding: 12px 28px; border-radius: 6px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .88rem;
  text-decoration: none; transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--itb-mid); transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  background: transparent; color: var(--itb-blue);
  border: 2px solid var(--itb-blue);
  padding: 11px 28px; border-radius: 6px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .88rem;
  text-decoration: none; transition: all .2s;
}
.btn-outline:hover { background: var(--itb-light); }

/* ─── TIMELINE ─── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--itb-blue), rgba(0,90,171,.1)); }
.tl-item { position: relative; margin-bottom: 28px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: -22px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--itb-blue); border: 2px solid var(--white); box-shadow: 0 0 0 3px rgba(0,90,171,.2); }
.tl-date { font-size: .72rem; font-weight: 700; color: var(--itb-blue); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 3px; }
.tl-event { font-size: .9rem; font-weight: 500; color: var(--itb-navy); }
.tl-desc { font-size: .82rem; color: var(--text-muted); margin-top: 3px; }

/* ─── INFO BLOCK (dark card) ─── */
.info-block { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 16px 20px; }
.info-block .label { font-size: .68rem; font-weight: 700; color: var(--itb-accent); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px; }
.info-block .value { font-size: .88rem; color: #fff; font-weight: 500; line-height: 1.55; }

/* ─── FOOTER ─── */
footer { background: var(--itb-navy); border-top: 4px solid var(--itb-blue); padding: 50px 60px 28px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 40px; }
.footer-brand .logo { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--white); letter-spacing: 1px; margin-bottom: 12px; }
.footer-brand .logo span { color: var(--itb-accent); }
.footer-brand p { font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.7; }
.footer-col h5 { font-family: 'Montserrat', sans-serif; font-size: .72rem; font-weight: 700; color: var(--itb-accent); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .82rem; color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.35); }
.org-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.org-badge { font-size: .68rem; font-weight: 700; color: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.1); padding: 4px 10px; border-radius: 4px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .topbar { display: none; }
  .nav-inner { padding: 0 24px; }
  .page-banner { padding: 48px 24px 44px; }
  .section { padding: 60px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  footer { padding: 40px 24px 20px; }
}
@media (max-width: 640px) {
  .nav-menu { display: none; }
}
