/* ── ICPADM 2027 Shared Styles ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --blue:       #00629B;
  --blue-dark:  #004d7a;
  --blue-light: #e8f4fb;
  --teal:       oklch(52% 0.12 185);
  --teal-light: oklch(95% 0.04 185);
  --purple:     oklch(48% 0.12 285);
  --purple-light: oklch(95% 0.04 285);
  --green:      #1a7a4a;
  --gold:       #b8920a;
  --navy:       #050d25;
  --text:       #1a2535;
  --text-muted: #6b7a8d;
  --border:     #dde5ef;
  --surface:    #f4f8fc;
  --white:      #ffffff;
  --radius:     8px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.05);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }

h1, h2, h3, h4 { font-family: 'Inter', sans-serif; font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h3 { font-size: 1.25rem; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── NAVBAR ───────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--blue);
  height: 60px;
  display: flex; align-items: center;
  padding: 0 40px;
  gap: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.navbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; flex-shrink: 0; }
.navbar-logo { width: 36px; height: 36px; background: white; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.navbar-logo span { color: var(--blue); font-size: 10px; font-weight: 700; font-family: sans-serif; letter-spacing: -0.5px; }
.navbar-logo-img { width: 44px; height: 44px; background: white; border-radius: 8px; padding: 3px; object-fit: contain; flex-shrink: 0; box-shadow: 0 1px 4px rgba(0,0,0,0.15); }
.navbar-title { display: flex; flex-direction: column; gap: 1px; }
.navbar-title strong { font-family: 'Inter', sans-serif; font-size: 15px; color: white; font-weight: 700; line-height: 1; }
.navbar-title small { font-size: 10px; color: rgba(255,255,255,0.65); line-height: 1; }
.navbar-nav { display: flex; align-items: stretch; gap: 0; height: 100%; }
.navbar-nav a {
  display: flex; align-items: center;
  padding: 0 14px; height: 100%;
  color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 500;
  text-decoration: none; white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s, background .15s;
  position: relative;
}
.navbar-nav a:hover { color: white; background: rgba(255,255,255,0.08); border-bottom-color: rgba(255,255,255,0.4); }
.navbar-nav a.active { color: white; border-bottom-color: white; }
.navbar-nav .dropdown { position: relative; }
.navbar-nav .dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: white; border-radius: 8px; min-width: 200px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  padding: 6px 0; z-index: 200;
}
.navbar-nav .dropdown:hover .dropdown-menu { display: block; }
.navbar-nav .dropdown-menu a {
  display: block; height: auto; padding: 9px 18px;
  color: var(--text); font-size: 13px; border-bottom: none;
  transition: background .12s, color .12s;
}
.navbar-nav .dropdown-menu a:hover { background: var(--blue-light); color: var(--blue); }
.navbar-actions { display: flex; gap: 8px; margin-left: 16px; flex-shrink: 0; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .15s; text-decoration: none; border: none; font-family: 'Inter', sans-serif; }
.btn-white { background: white; color: var(--blue); }
.btn-white:hover { background: #e8f4fb; color: var(--blue-dark); text-decoration: none; }
.btn-outline-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; text-decoration: none; }
.btn-blue { background: var(--blue); color: white; }
.btn-blue:hover { background: var(--blue-dark); text-decoration: none; }
.btn-teal { background: var(--teal); color: white; }
.btn-teal:hover { filter: brightness(1.1); text-decoration: none; }
.btn-outline-blue { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline-blue:hover { background: var(--blue-light); text-decoration: none; }
.btn-lg { padding: 12px 28px; font-size: 15px; border-radius: 8px; }

/* ── ANNOUNCEMENT BAR ─────────────────────────────────────────── */
.announce-bar {
  background: var(--blue-light); border-bottom: 1px solid #c8dff0;
  padding: 7px 40px; display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.announce-bar span { color: var(--blue); }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge-green { background: #dcfce7; color: var(--green); border: 1px solid #86efac; }
.badge-blue { background: var(--blue-light); color: var(--blue); border: 1px solid #93c5e8; }
.badge-gold { background: #fef9c3; color: var(--gold); border: 1px solid #fde047; }
.badge-purple { background: var(--purple-light); color: var(--purple); border: 1px solid oklch(75% 0.1 285); }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  background: white; position: relative; overflow: hidden;
  padding: 64px 40px 56px;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 28px 28px; opacity: 0.5;
}
.hero-inner { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-title { font-family: 'Inter', sans-serif; font-weight: 800; font-size: clamp(2rem, 3.5vw, 2.75rem); color: #000; line-height: 1.15; margin-bottom: 12px; }
.hero-title em { font-style: normal; color: #000; }
.hero-subtitle { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; display: flex; gap: 20px; flex-wrap: wrap; }
.hero-subtitle span { display: flex; align-items: center; gap: 6px; }
.hero-subtitle span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); display: block; flex-shrink: 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { display: flex; flex-direction: column; gap: 14px; }
.hero-img-placeholder {
  height: 200px; border-radius: 12px;
  background: repeating-linear-gradient(45deg, #dde8f5 0, #dde8f5 4px, #f0f5ff 4px, #f0f5ff 12px);
  border: 2px dashed #bed0e8; display: flex; align-items: center; justify-content: center;
  color: #a0b0c8; font-size: 13px; text-align: center; line-height: 1.4;
}
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hero-stat { background: var(--surface); border: 1.5px solid var(--border); border-top: 3px solid var(--blue); border-radius: 6px; padding: 12px 10px; text-align: center; }
.hero-stat strong { display: block; font-family: 'Inter', sans-serif; font-size: 1.5rem; color: var(--blue); line-height: 1; }
.hero-stat small { font-size: 11px; color: var(--text-muted); }

/* ── COUNTDOWN ────────────────────────────────────────────────── */
.countdown-wrap { background: var(--navy); padding: 20px 40px; }
.countdown-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.countdown-label { color: rgba(255,255,255,0.5); font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
.countdown-units { display: flex; gap: 10px; }
.countdown-unit { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 10px 16px; text-align: center; min-width: 64px; }
.countdown-unit strong { display: block; font-family: 'Inter', sans-serif; font-size: 1.8rem; color: white; line-height: 1; }
.countdown-unit span { font-size: 10px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 1px; }
.countdown-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── SECTION ──────────────────────────────────────────────────── */
.section { padding: 60px 40px; }
.section-sm { padding: 40px 40px; }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-header { margin-bottom: 40px; }
.section-header h2 { color: var(--text); }
.section-header p { color: var(--text-muted); margin-top: 8px; font-size: 15px; }
.section-divider { height: 1px; background: var(--border); margin: 0 40px; }
.section-bg { background: var(--surface); }
.section-navy { background: var(--navy); }

/* ── CARDS ────────────────────────────────────────────────────── */
.card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.card-accent-blue { border-top: 3px solid var(--blue); }
.card-accent-teal { border-top: 3px solid var(--teal); }
.card-accent-purple { border-top: 3px solid var(--purple); }
.card-accent-green { border-top: 3px solid var(--green); }
.card-hover { transition: box-shadow .2s, transform .2s; cursor: pointer; }
.card-hover:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ── GRID LAYOUTS ─────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ── TIMELINE ─────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--blue) 0%, var(--teal) 50%, var(--purple) 100%); border-radius: 2px; }
.timeline-item { position: relative; margin-bottom: 20px; display: flex; gap: 16px; align-items: flex-start; }
.timeline-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--blue); border: 2.5px solid white; box-shadow: 0 0 0 1.5px var(--blue); flex-shrink: 0; margin-top: 3px; margin-left: -7px; }
.timeline-dot.teal { background: var(--teal); box-shadow: 0 0 0 1.5px var(--teal); }
.timeline-dot.purple { background: var(--purple); box-shadow: 0 0 0 1.5px var(--purple); }
.timeline-dot.gold { background: var(--gold); box-shadow: 0 0 0 1.5px var(--gold); }
.timeline-date { font-size: 11px; font-weight: 700; color: var(--blue); width: 88px; flex-shrink: 0; padding-top: 2px; }
.timeline-content strong { display: block; font-size: 14px; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.timeline-content small { font-size: 12px; color: var(--text-muted); }

/* ── SPEAKER CARD ─────────────────────────────────────────────── */
.speaker-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.speaker-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.speaker-avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 12px; background: repeating-linear-gradient(45deg,#dde8f5 0,#dde8f5 4px,#f0f5ff 4px,#f0f5ff 9px); border: 3px solid var(--blue-light); display: flex; align-items: center; justify-content: center; color: #a0b0c8; font-size: 10px; }
.speaker-name { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.speaker-affil { font-size: 12px; color: var(--blue); margin-bottom: 4px; }
.speaker-topic { font-size: 11px; color: var(--text-muted); font-style: italic; }

/* ── SPONSOR TIERS ─────────────────────────────────────────────── */
.sponsor-row { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.sponsor-tier-label { font-weight: 700; font-size: 12px; min-width: 110px; flex-shrink: 0; }
.sponsor-logo { background: white; border: 1px solid var(--border); border-radius: 6px; padding: 8px 18px; font-size: 12px; color: var(--text-muted); font-weight: 600; }

/* ── FOOTER ───────────────────────────────────────────────────── */
.footer { background: var(--navy); color: rgba(255,255,255,0.65); }
.footer-main { padding: 48px 40px; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand strong { font-family: 'Inter', sans-serif; color: white; font-size: 16px; display: block; margin-bottom: 4px; }
.footer-brand p { font-size: 12px; line-height: 1.6; margin-top: 8px; }
.footer-col h4 { color: rgba(255,255,255,0.85); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 8px; text-decoration: none; transition: color .15s; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 16px 40px; max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 12px; }

/* ── PAGE HERO (inner pages) ──────────────────────────────────── */
.page-hero { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); padding: 48px 40px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 32px 32px; }
.page-hero-inner { max-width: 1120px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero h1 { color: white; font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 15px; max-width: 600px; }
.breadcrumb { display: flex; gap: 6px; align-items: center; font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.breadcrumb span { color: rgba(255,255,255,0.35); }

/* ── TABLE ────────────────────────────────────────────────────── */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { background: var(--blue); color: white; padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table tr:hover td { background: var(--blue-light); }

/* ── FORM ─────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-control { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 6px; font-size: 14px; font-family: 'Inter', sans-serif; color: var(--text); transition: border-color .15s, box-shadow .15s; background: white; }
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,98,155,0.1); }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ── UTILS ────────────────────────────────────────────────────── */
.text-blue { color: var(--blue); }
.text-muted { color: var(--text-muted); }
.text-white { color: white; }
.font-serif { font-family: 'Inter', sans-serif; }
.fw-700 { font-weight: 700; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.placeholder-img { background: repeating-linear-gradient(45deg,#dde8f5 0,#dde8f5 4px,#f0f5ff 4px,#f0f5ff 12px); border: 2px dashed #bed0e8; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #a0b0c8; font-size: 12px; text-align: center; }

/* ── ENTRANCE ANIMATIONS ──────────────────────────────────────── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.anim-fadein { animation: fadeIn .5s ease both; }
.anim-fadeinup { animation: fadeInUp .5s ease both; }
.anim-delay-1 { animation-delay: .1s; }
.anim-delay-2 { animation-delay: .2s; }
.anim-delay-3 { animation-delay: .3s; }
.anim-delay-4 { animation-delay: .4s; }

/* ── ANNOUNCEMENT TICKER (marquee) ────────────────────────────── */
.ticker {
  background: var(--navy); color: white; overflow: hidden;
  display: flex; align-items: center; height: 40px;
  border-bottom: 2px solid var(--teal);
}
.ticker-label {
  background: var(--teal); color: white; font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; padding: 0 16px;
  height: 100%; display: flex; align-items: center; flex-shrink: 0; white-space: nowrap;
  z-index: 2; position: relative;
}
.ticker-viewport { overflow: hidden; flex: 1; height: 100%; position: relative; }
.ticker-track { display: flex; align-items: center; height: 100%; gap: 48px; white-space: nowrap; position: absolute; will-change: transform; animation: ticker-scroll 32s linear infinite; padding-left: 24px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.9); }
.ticker-item::before { content: '●'; color: var(--teal); font-size: 8px; }
.ticker-item strong { color: #ffd966; font-weight: 600; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── WELCOME MESSAGE ──────────────────────────────────────────── */
.welcome-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.welcome-chair { text-align: center; }
.welcome-chair-photo {
  width: 200px; height: 240px; border-radius: 12px; margin: 0 auto 16px;
  background: repeating-linear-gradient(45deg,#dde8f5 0,#dde8f5 5px,#f0f5ff 5px,#f0f5ff 12px);
  border: 3px solid var(--blue-light); display: flex; align-items: center; justify-content: center;
  color: #a0b0c8; font-size: 12px;
}
.welcome-chair strong { display: block; font-family: 'Inter', sans-serif; font-size: 1.1rem; color: var(--text); }
.welcome-chair span { font-size: 13px; color: var(--blue); font-weight: 600; }
.welcome-chair small { font-size: 12px; color: var(--text-muted); display: block; margin-top: 2px; }
.welcome-text p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.welcome-text .signature { font-family: 'Inter', sans-serif; font-style: italic; font-size: 1.05rem; color: var(--text); margin-top: 20px; }
.welcome-quote-mark { font-family: 'Inter', sans-serif; font-size: 4rem; color: var(--blue-light); line-height: 0.5; height: 30px; display: block; }

/* ── CONFERENCE HISTORY ───────────────────────────────────────── */
.history-track { display: flex; gap: 0; overflow-x: auto; padding: 20px 0 12px; position: relative; }
.history-node { flex: 0 0 auto; width: 130px; text-align: center; position: relative; padding: 0 6px; }
.history-dot { width: 16px; height: 16px; border-radius: 50%; background: white; border: 3px solid var(--blue); margin: 8px auto 0; position: relative; z-index: 1; }
.history-node.current .history-dot { background: var(--teal); border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-light); width: 20px; height: 20px; margin-top: 6px; }
.history-year { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1rem; color: var(--blue); margin-bottom: 6px; }
.history-node.current .history-year { color: var(--teal); }
.history-city { font-size: 12px; color: var(--text-muted); margin-top: 10px; }
.history-node.current .history-city { color: var(--text); font-weight: 700; }
.history-edition { font-size: 10px; color: var(--text-muted); opacity: 0.7; }

/* ── TRAVEL GRANTS ────────────────────────────────────────────── */
.grants-banner { background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%); border-radius: 14px; padding: 32px 40px; color: white; display: flex; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.grants-banner::before { content: '✈'; position: absolute; right: 30px; top: 50%; transform: translateY(-50%); font-size: 120px; opacity: 0.12; }
.grants-content { flex: 1; position: relative; z-index: 1; }
.grants-content h3 { color: white; font-size: 1.4rem; margin-bottom: 8px; }
.grants-content p { color: rgba(255,255,255,0.85); font-size: 14px; line-height: 1.6; max-width: 560px; }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .navbar { padding: 0 20px; }
  .section { padding: 40px 20px; }
  .welcome-grid { grid-template-columns: 1fr; }
  .grants-banner { flex-direction: column; text-align: center; }
}
