/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 80px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #111;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --blue: #3B3BCC;
  --blue-dark: #2929AA;
  --blue-light: #e8e8f8;
  --text: #111;
  --gray: #555;
  --light: #f7f7fb;
  --border: #e0e0e8;
  --max: 1200px;
}

/* ── Navigation ───────────────────────────────────────────── */
#main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  font-weight: 900;
  font-size: 0.75rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #111;
  text-transform: uppercase;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
}
.nav-link {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #444;
  padding: 0.35rem 0.55rem;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--blue); background: var(--blue-light); }
.nav-link.active { color: var(--blue); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.nav-social {
  color: #555;
  transition: color 0.15s;
  display: flex;
  align-items: center;
}
.nav-social:hover { color: var(--blue); }
.nav-contact {
  background: var(--blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1.25rem;
  border-radius: 4px;
  transition: background 0.15s;
  white-space: nowrap;
}
.nav-contact:hover { background: var(--blue-dark); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0.75rem 2rem 1rem;
  border-top: 1px solid var(--border);
  gap: 0.25rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  padding: 0.5rem 0.25rem;
  font-size: 0.8rem;
}
.nav-mobile .nav-contact {
  margin-top: 0.5rem;
  text-align: center;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--blue);
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: stretch;
  padding: 1rem 0;
}
.hero-img {
  width: 72%;
  object-fit: cover;
  object-position: 5% center;
  display: block;
}
.hero-box {
  background: #fff;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 260px;
  flex: 1;
}
.hero-box h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}
.hero-box p {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.5;
}
/* Page hero (for inner pages) */
.page-hero {
  background: var(--blue);
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}
.page-hero p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Container ────────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Sections ─────────────────────────────────────────────── */
section { padding: 4rem 0; }
section.light { background: var(--light); }

/* ── Typography ───────────────────────────────────────────── */
h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--blue);
}
h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
p {
  font-size: 0.97rem;
  line-height: 1.75;
  color: #333;
  margin-bottom: 1rem;
}
p:last-child { margin-bottom: 0; }

/* ── Blue heading label ───────────────────────────────────── */
.label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

/* ── Grid layouts ─────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(59,59,204,0.10);
  transform: translateY(-2px);
}

/* ── Rating badge ─────────────────────────────────────────── */
.rating {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonial {
  border-left: 3px solid var(--blue);
  padding-left: 1.25rem;
  margin-top: 1rem;
}
.testimonial p { color: var(--gray); font-style: italic; }
.testimonial strong { display: block; font-style: normal; color: #111; margin-top: 0.4rem; font-size: 0.875rem; }

/* ── Agenda list ──────────────────────────────────────────── */
.agenda-list { list-style: none; }
.agenda-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.agenda-item:last-child { border-bottom: none; }
.agenda-date {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--blue);
  white-space: nowrap;
}
.agenda-title { font-weight: 600; font-size: 0.97rem; margin-bottom: 0.2rem; }
.agenda-loc { font-size: 0.85rem; color: var(--gray); }

/* ── CTA block ────────────────────────────────────────────── */
.cta-block {
  background: var(--blue);
  color: #fff;
  padding: 3.5rem 2rem;
  text-align: center;
  border-radius: 12px;
}
.cta-block h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-block p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }
.btn {
  display: inline-block;
  background: #fff;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--blue-light); }
.btn-blue {
  background: var(--blue);
  color: #fff;
  border: none;
  cursor: pointer;
}
.btn-blue:hover { background: var(--blue-dark); color: #fff; }

/* ── Platform badges ──────────────────────────────────────── */
.platform-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
  transition: border-color 0.15s, color 0.15s;
}
.platform-badge:hover { border-color: var(--blue); color: var(--blue); }

/* ── Media tabs ───────────────────────────────────────────── */
.tab-bar {
  display: flex;
  gap: 0.25rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.tab-btn {
  background: none;
  border: none;
  padding: 0.75rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
  font-family: inherit;
}
.tab-btn:hover { color: var(--blue); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Media grid ───────────────────────────────────────────── */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.media-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.media-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.media-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--light);
}
.media-card-body { padding: 1rem; }
.media-card-body h4 { font-size: 0.9rem; margin-bottom: 0.3rem; }
.media-card-body p { font-size: 0.8rem; color: var(--gray); margin: 0; }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: #111;
  color: #ccc;
  padding: 3rem 0 2rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
}
.footer-logo {
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 0.75rem;
  display: block;
}
.footer-tagline { font-size: 0.875rem; color: #888; margin-bottom: 1.25rem; }
.footer-contact { font-size: 0.875rem; }
.footer-contact a { color: #ccc; }
.footer-contact a:hover { color: #fff; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-nav a {
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
  transition: color 0.15s;
}
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid #222;
  font-size: 0.775rem;
  color: #555;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: #555; transition: color 0.15s; display: flex; }
.footer-social a:hover { color: #ccc; }

/* ── Image placeholder ────────────────────────────────────── */
.img-placeholder {
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.8rem;
  text-align: center;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links, .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .hero { flex-direction: column; min-height: auto; }
  .hero-img { width: 100%; height: 280px; object-fit: contain; object-position: center; }
  .hero-box { padding: 2rem; min-width: unset; }
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .agenda-item { grid-template-columns: 1fr; gap: 0.25rem; }
}
@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }
  section { padding: 3rem 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .nav-inner { padding: 0 1.25rem; }
}
