:root {
  --navy: #10234e;
  --navy-2: #071f45;
  --text: #22304e;
  --muted: #4d5e78;
  --line: #e7edf5;
  --paper: #ffffff;
  --soft: #f7faff;
  --blue: #277ac3;
  --green: #38a267;
  --teal: #22a79a;
  --amber: #d78a18;
  --orange: #f25b12;
  --red: #d83248;
  --violet: #813ba5;
  --pink: #b83272;
  --shadow: 0 8px 24px rgba(16, 35, 78, .07);
  --shadow-lift: 0 14px 34px rgba(16, 35, 78, .12);
  --radius: 12px;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--navy); }

.shell {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.brand-shell {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.icai-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--navy);
  line-height: 1.25;
}

.icai-brand img { width: 56px; height: 56px; object-fit: contain; }
.icai-brand strong { display: block; font-size: 15px; line-height: 1.15; font-weight: 700; }
.icai-brand small { display: block; margin-top: 2px; color: #6a7689; font-size: 11px; font-weight: 600; }

.orbit-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}

.orbit-mark span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid var(--orange);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.orbit-mark strong { font-size: 17px; line-height: 1.25; font-weight: 700; text-align: right; }
.orbit-logo { width: 44px; height: 44px; object-fit: contain; }

.nav-shell {
  border-top: 1px solid var(--line);
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
}

.main-menu { display: flex; align-items: center; gap: 4px; }

.menu-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 14px 14px;
  color: #38445d;
  font-size: 14px;
  font-weight: 600;
  transition: color .18s ease;
}

.menu-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.menu-link:hover { color: var(--navy); }
.menu-link:hover::after { transform: scaleX(1); }

.nav-shell .nav-cta {
  position: absolute;
  right: 0;
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background .18s ease;
}
.nav-shell .nav-cta:hover { background: #16306a; }

.menu-toggle { display: none; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(34, 167, 154, .26), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(242, 91, 18, .18), transparent 26%),
    linear-gradient(135deg, #071f45 0%, #103468 54%, #0d766f 100%);
  color: #fff;
  overflow: hidden;
}

/* faint engineering-grid texture, fading at the edges */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

/* oversized ring, bottom-right — the signature old-design flourish */
.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 360px;
  height: 360px;
  border: 54px solid rgba(255, 255, 255, .10);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

/* ---------- Hero: banner slider ---------- */
.hero-slider {
  position: relative;
  margin: 0 0 32px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 28px 64px rgba(0, 0, 0, .38);
  animation: hero-rise .6s cubic-bezier(.22, .61, .36, 1) both;
}

.hero-slides {
  display: flex;
  width: 100%;
  transition: transform .6s cubic-bezier(.5, .1, .25, 1);
}

.hero-slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
}
.hero-slide img {
  display: block;
  width: 100%;
  height: clamp(220px, 30vw, 360px);
  object-fit: cover;
  object-position: center;
}

/* arrows */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(12, 28, 64, .42);
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s ease, background .2s ease, transform .2s ease;
  z-index: 2;
}
.hero-slider:hover .hero-slider-arrow,
.hero-slider:focus-within .hero-slider-arrow { opacity: 1; }
.hero-slider-arrow:hover { background: var(--orange); border-color: var(--orange); }
.hero-slider-arrow.prev { left: 16px; }
.hero-slider-arrow.next { right: 16px; }
.hero-slider-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* dots */
.hero-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 9px;
  z-index: 2;
}
.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, .75); }
.hero-dot.is-active { width: 26px; background: #ffcf70; }

@media (max-width: 720px) {
  .hero-slider { margin-bottom: 36px; }
  .hero-slider-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slides { transition: none; }
  .hero-slider { animation: none; }
}

/* ---------- Hero: two-column top row ---------- */
.hero-top {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}

.hero-copy { text-align: left; }

.kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #dbe6f5;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.06;
  font-weight: 700;
}
.hero h1 span { color: #ffcf70; }

.hero-lead {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .80);
  font-size: 17px;
}

.hero-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 13px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f0701f, var(--orange));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(224, 90, 24, .34);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.hero-primary-cta svg { width: 18px; height: 18px; fill: currentColor; }
.hero-primary-cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #f67d2e, #ea611f);
  box-shadow: 0 18px 36px rgba(224, 90, 24, .42);
}

/* ---------- Hero: staggered entrance ---------- */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.hero .kicker,
.hero h1,
.hero-lead,
.hero-primary-cta,
.hero-news,
.hero-btn {
  animation: hero-rise .6s cubic-bezier(.22, .61, .36, 1) both;
}
.hero .kicker         { animation-delay: .05s; }
.hero h1              { animation-delay: .12s; }
.hero-lead            { animation-delay: .19s; }
.hero-primary-cta     { animation-delay: .26s; }
.hero-news            { animation-delay: .30s; }
.hero-btn             { animation-delay: .36s; }
.hero-btn:nth-child(2){ animation-delay: .40s; }
.hero-btn:nth-child(3){ animation-delay: .44s; }
.hero-btn:nth-child(4){ animation-delay: .48s; }
.hero-btn:nth-child(5){ animation-delay: .52s; }
.hero-btn:nth-child(6){ animation-delay: .56s; }

/* ---------- Hero: quick-link buttons ---------- */
.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin: 0;
}

.hero-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 18px;
  border-radius: 14px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, #5cb1e4, #2b7fb5);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.hero-btn svg {
  flex: none;
  width: 24px;
  height: 24px;
  fill: #ffcf70;
}

.hero-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #4ea5d9, #2476a8);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .34);
}

/* ---------- Hero: What's New panel ---------- */
.hero-news {
  width: 100%;
  margin: 0;
  padding: 10px 12px 12px;
  text-align: left;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .28);
}

.hero-news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 10px 10px;
}

.hero-news-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2px;
}

.hero-news-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff7a3c;
  box-shadow: 0 0 0 0 rgba(255, 122, 60, .6);
  animation: hn-pulse 2s infinite;
}
@keyframes hn-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 122, 60, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 122, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 60, 0); }
}

.hero-news-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffcf70;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: gap .18s ease, color .18s ease;
}
.hero-news-all svg { width: 15px; height: 15px; fill: currentColor; }
.hero-news-all:hover { gap: 10px; color: #ffe1a3; }

.hero-news-list { list-style: none; margin: 0; padding: 0; }

.hero-news-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.hero-news-list li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
.hero-news-item:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .14);
}

.hn-date {
  display: grid;
  place-items: center;
  width: 50px;
  padding: 7px 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  line-height: 1;
}
.hn-date strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
}

.hn-body { min-width: 0; }
.hn-headline {
  display: block;
  color: #eef3fb;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
}
.hero-news-item:hover .hn-headline { color: #fff; }

.hn-tag {
  display: inline-block;
  margin-top: 7px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
  border: 1px solid transparent;
}
.hn-tag[data-kind="advisory"] { background: rgba(224, 90, 24, .16);  border-color: rgba(224, 90, 24, .4);  color: #ffb48a; }
.hn-tag[data-kind="webcast"]  { background: rgba(31, 111, 178, .18); border-color: rgba(96, 165, 224, .42); color: #9fcbef; }
.hn-tag[data-kind="course"]   { background: rgba(47, 143, 91, .18);  border-color: rgba(94, 196, 138, .42); color: #93d9b1; }
.hn-tag[data-kind="notice"]   { background: rgba(122, 58, 160, .2);  border-color: rgba(176, 120, 210, .42); color: #cca4e6; }

.hn-new {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  vertical-align: middle;
  animation: hn-blink 1.6s ease-in-out infinite;
}
@keyframes hn-blink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.hn-arrow {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: rgba(255, 255, 255, .5);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .18s ease, transform .18s ease;
}
.hero-news-item:hover .hn-arrow { stroke: #ffcf70; transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .hero-news-pulse, .hn-new { animation: none; }
  .hero .kicker, .hero h1, .hero-lead, .hero-primary-cta, .hero-news, .hero-btn {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ===================== SECTION HEADINGS ===================== */
.section-head { max-width: 680px; margin: 0 0 28px; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: rgba(255, 255, 255, .76); }

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.section-head.light .eyebrow { color: #8fc0ea; }

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.12;
  font-weight: 700;
}
.section-head p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }

/* ===================== EVENT BROWSER ===================== */
.event-section {
  padding: 52px 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(34, 167, 154, .12), transparent 26%),
    radial-gradient(circle at 94% 16%, rgba(242, 91, 18, .10), transparent 24%),
    linear-gradient(180deg, #f0f6fc 0%, #e8f2fa 100%);
  scroll-margin-top: 80px;
}

.event-browser {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.event-chiprow { display: flex; flex-wrap: wrap; gap: 8px; }

.event-chip {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.event-chip:hover { border-color: #c7d3e3; color: var(--navy); }
.event-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.event-controls {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.control {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--soft);
}
.control svg { width: 17px; height: 17px; fill: var(--blue); flex: 0 0 auto; }
.control-label { color: var(--muted); font-size: 12px; font-weight: 600; flex: 0 0 auto; }

.control input,
.control select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 14px;
}

.event-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.event-resultcount { margin: 0; color: var(--muted); font-size: 14px; }
.event-resultcount strong { color: var(--navy); font-size: 18px; }
.event-meta-right { display: flex; align-items: center; gap: 14px; }
.control-inline { min-height: 40px; padding: 0 10px; }
.control-inline select { font-size: 13px; }

.link-reset {
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.link-reset:hover { text-decoration: underline; }

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.event-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--cat, var(--blue));
  border-radius: var(--radius);
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

.event-card.cat-webcast { --cat: var(--blue); }
.event-card.cat-seminar { --cat: var(--violet); }
.event-card.cat-workshop { --cat: var(--orange); }
.event-card.cat-certificate { --cat: var(--green); }

.event-card-date {
  display: grid;
  align-content: start;
  justify-items: center;
  padding: 8px 0;
  height: fit-content;
  border-radius: 9px;
  background: var(--soft);
  color: var(--navy);
}
.event-card-date strong { font-size: 22px; line-height: 1; }
.event-card-date span { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--muted); }

.event-card-body { min-width: 0; }
.event-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }

.event-tag {
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--cat, var(--blue));
}
.event-tag.cat-webcast { background: var(--blue); }
.event-tag.cat-seminar { background: var(--violet); }
.event-tag.cat-workshop { background: var(--orange); }
.event-tag.cat-certificate { background: var(--green); }

.event-status {
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.event-status.status-open { background: #e6f4ec; color: #1f7a48; }
.event-status.status-filling-fast { background: #fbf0db; color: #9a610a; }
.event-status.status-closed { background: #eef1f5; color: #75829a; }

.event-card-body h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.3; font-weight: 700; }
.event-card-body p { margin: 0 0 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }

.event-card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 12px; }
.event-card-meta span {
  position: relative;
  padding-left: 14px;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
}
.event-card-meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cat, var(--blue));
}

.event-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.event-card-foot small { color: var(--muted); font-size: 11.5px; }
.event-card-link { color: var(--cat, var(--blue)); font-size: 13px; font-weight: 700; white-space: nowrap; }
.event-card-link:hover { text-decoration: underline; }

.event-empty {
  padding: 48px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  margin-top: 20px;
}
.event-empty strong { display: block; color: var(--navy); font-size: 18px; margin-bottom: 6px; }
.event-empty p { margin: 0 0 12px; color: var(--muted); }

/* ===================== EVENT CALENDAR ===================== */
.calendar-browser {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.cal-searchrow { margin-bottom: 18px; }

.cal-layout {
  display: grid;
  grid-template-columns: 25% 75%;
  gap: 20px;
  align-items: start;
}

/* ----- Topic panel (left) ----- */
.topic-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  overflow: hidden;
}
.topic-panel-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.topic-panel-head h3 { margin: 0; font-size: 15px; font-weight: 700; color: var(--navy); }

.topic-list {
  list-style: none;
  margin: 0;
  padding: 8px;
  max-height: 560px;
  overflow-y: auto;
}

.topic-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background .14s ease, border-color .14s ease;
}
.topic-item:hover { background: #fff; border-color: var(--line); }
.topic-item.active { background: #fff; border-color: #c7d3e3; font-weight: 700; color: var(--navy); box-shadow: var(--shadow); }

.topic-dot { width: 11px; height: 11px; border-radius: 50%; flex: 0 0 auto; }
.topic-name { flex: 1 1 auto; line-height: 1.3; }
.topic-count {
  flex: 0 0 auto;
  min-width: 24px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #e7edf6;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
}
.topic-item.active .topic-count { background: var(--navy); color: #fff; }

/* ----- Calendar panel (right) ----- */
.calendar-panel { min-width: 0; }

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.calendar-nav { display: flex; align-items: center; gap: 12px; }
.calendar-nav h3 { margin: 0; font-size: 20px; font-weight: 700; color: var(--navy); min-width: 170px; text-align: center; }

.cal-nav {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: all .15s ease;
}
.cal-nav:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: #fff; }
.cal-nav:disabled { opacity: .4; cursor: not-allowed; }

.cal-count { margin: 0; color: var(--muted); font-size: 14px; }
.cal-count strong { color: var(--navy); font-size: 18px; }

/* ----- Calendar view toggle (Month / Week / Day) ----- */
.cal-view-toggle {
  display: flex;
  gap: 2px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 3px;
}
.cal-view-btn {
  padding: 5px 14px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.cal-view-btn.active { background: var(--navy); color: #fff; }
.cal-view-btn:hover:not(.active) { background: var(--line); color: var(--navy); }

/* ----- Active POU filter badge ----- */
.cal-pou-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 14px 7px 12px;
  background: #eef6ff;
  border: 1px solid #c3daf7;
  border-radius: 100px;
  font-size: 13px;
  color: var(--navy);
  max-width: max-content;
}
.cal-pou-badge svg { width: 14px; height: 14px; fill: var(--blue); flex-shrink: 0; }
.cal-pou-badge-clear {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 17px;
  color: var(--muted);
  line-height: 1;
  padding: 0 3px;
  margin-left: 4px;
}
.cal-pou-badge-clear:hover { color: var(--red); }

/* ----- Week view ----- */
.cal-week-grid {
  grid-column: 1 / -1;           /* span all 7 cols of parent .calendar-grid */
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cal-week-col {
  background: #fff;
  padding: 10px 7px 10px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cal-week-col.is-today { background: #f0f5ff; }
.cal-week-col.other-month { background: var(--soft); }
.cal-week-dh {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding-bottom: 7px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.cal-week-dn {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .6px;
}
.cal-week-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.cal-week-num.today-num { background: var(--navy); color: #fff; }
.cal-week-events { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.cal-week-ev {
  width: 100%;
  padding: 3px 6px;
  border: none;
  border-radius: 5px;
  background: color-mix(in srgb, var(--ev) 12%, transparent);
  border-left: 3px solid var(--ev);
  color: var(--text);
  font-size: 11px;
  text-align: left;
  cursor: pointer;
  line-height: 1.35;
  transition: opacity .12s;
}
.cal-week-ev:hover { opacity: .75; }
.cal-week-time { display: block; color: var(--muted); font-size: 10px; }
.cal-week-name { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-week-na { color: var(--line); font-size: 20px; text-align: center; margin: auto; }

/* ----- Day view ----- */
.cal-day-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  grid-column: 1 / -1;
}
.cal-day-ev {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--ev);
  border-radius: var(--radius);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  width: 100%;
}
.cal-day-ev:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.cal-day-time {
  min-width: 72px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  padding-top: 2px;
}
.cal-day-body { flex: 1; min-width: 0; }
.cal-day-cat { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.cal-day-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.cal-day-meta { font-size: 12px; color: var(--muted); }

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 6px;
}
.calendar-weekdays span {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}

.cal-cell {
  min-width: 0;
  min-height: 104px;
  padding: 6px;
  border: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}
.cal-cell.empty { background: #fff; }
.cal-cell.has-events { background: var(--soft); }
.cal-cell.is-today { box-shadow: inset 0 0 0 2px var(--blue); }

.cal-daynum { font-size: 12.5px; font-weight: 700; color: var(--navy); }
.cal-cell.is-today .cal-daynum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}

.cal-events { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.cal-event {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 3px 6px;
  border: 0;
  border-left: 3px solid var(--ev, var(--blue));
  border-radius: 5px;
  background: color-mix(in srgb, var(--ev, var(--blue)) 12%, #fff);
  color: var(--navy);
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: filter .14s ease;
}
.cal-event:hover { filter: brightness(.96); }
.cal-event-time { display: block; font-size: 9.5px; font-weight: 700; color: var(--ev, var(--blue)); }
.cal-event-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

/* Multi-day events: a continuous band across the days they cover. */
.cal-event-span {
  background: color-mix(in srgb, var(--ev, var(--blue)) 22%, #fff);
}
.cal-event-span:not(.is-start) {
  border-left-width: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: -6px; /* bleed across cell padding so the band touches the gridline */
}
.cal-event-span:not(.is-end) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  margin-right: -6px;
}
.cal-event-span:not(.is-start) .cal-event-time { color: var(--muted); font-weight: 600; opacity: .85; }

.cal-more {
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-size: 10.5px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  padding: 1px 4px;
}
.cal-more:hover { text-decoration: underline; }

/* ----- Event popup ----- */
.event-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.event-modal[hidden] { display: none; }
.event-modal-backdrop { position: absolute; inset: 0; background: rgba(10, 31, 68, .55); backdrop-filter: blur(2px); }

.event-modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-lift);
  animation: modalIn .2s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.event-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.event-modal-close:hover { color: var(--navy); border-color: #c7d3e3; }

.modal-topic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ev, var(--blue));
}
.modal-title { margin: 10px 0 8px; font-size: 21px; line-height: 1.25; color: var(--navy); padding-right: 30px; }
.modal-blurb { margin: 0 0 18px; color: var(--muted); font-size: 14px; }

.modal-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  margin: 0 0 22px;
}
.modal-meta div { display: flex; flex-direction: column; gap: 2px; }
.modal-meta dt { font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); }
.modal-meta dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--navy); }

.modal-actions { display: flex; }
.modal-cta { position: static; }

.day-list { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.day-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--ev, var(--blue));
  border-radius: 9px;
  background: var(--soft);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .14s ease;
}
.day-row:hover { background: #fff; box-shadow: var(--shadow); }
.day-row-time { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--ev, var(--blue)); width: 72px; }
.day-row-title { flex: 1 1 auto; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--navy); }

/* ===================== BROWSE POUs ===================== */
.pou-section { padding: 52px 0; background: #fff; scroll-margin-top: 80px; }

.pou-browser {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.pou-layout {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 22px;
  align-items: start;
}

/* ----- Map view toggle (India / World) ----- */
.map-view-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.map-view-btn {
  padding: 7px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.map-view-btn:hover { border-color: #c7d3e3; color: var(--navy); }
.map-view-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }

#world-map { width: 100%; height: 560px; position: relative; }
/* Cursor for the India overlay group inside jsvectormap's SVG */
#world-map .india-world-overlay { cursor: pointer; }

/* ----- Left: interactive India map ----- */
.map-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  padding: 12px;
}
#india-map {
  width: 100%;
  height: 560px;
  outline: none;
}
.india-svg { width: 100%; height: 100%; display: block; }
.india-svg .state {
  fill: #e2e8f0;
  stroke: #ffffff;
  stroke-width: 0.6;
  cursor: pointer;
  transition: fill .15s ease, filter .15s ease;
}

/* Council tints. */
.india-svg .state.c-WIRC { fill: #c0d7e9; }
.india-svg .state.c-SIRC { fill: #c5e0d1; }
.india-svg .state.c-NIRC { fill: #f6d1be; }
.india-svg .state.c-EIRC { fill: #dac8e4; }
.india-svg .state.c-CIRC { fill: #edddbc; }

/* Hover highlight (placed after tints so it wins). */
.india-svg .state:hover { fill: #10234e; }

/* Clicked state painted full council colour (placed last so it wins over hover). */
.india-svg .state.state-selected {
  fill: var(--sel, var(--blue));
  stroke: #0a1f44;
  stroke-width: 0.9;
  filter: drop-shadow(0 0 5px rgba(16, 35, 78, .35));
}

.council-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  margin-top: 6px;
  padding: 10px 6px 4px;
  border-top: 1px solid var(--line);
}
.council-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
}
.council-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* ----- Right: POU list ----- */
.pou-panel { min-width: 0; }

.pou-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 613px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.pou-list::-webkit-scrollbar { width: 6px; }
.pou-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }

.pou-hint {
  margin: 0;
  padding: 28px 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.pou-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.pou-results-head h3 { margin: 0; font-size: 20px; font-weight: 700; color: var(--navy); }
.pou-count { margin: 0; color: var(--muted); font-size: 14px; }
.pou-count strong { color: var(--navy); font-size: 18px; }

.pou-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent, var(--blue));
  border-radius: var(--radius);
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.pou-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

.pou-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pou-type {
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--accent, var(--blue));
}
.pou-council { font-size: 11px; font-weight: 700; letter-spacing: .4px; color: var(--muted); }
.pou-card h4 { margin: 2px 0 0; font-size: 16px; font-weight: 700; color: var(--navy); }
.pou-city { margin: 0; color: var(--muted); font-size: 13px; }

.pou-stats { display: flex; gap: 18px; margin-top: 4px; }
.pou-stats span { color: var(--muted); font-size: 12.5px; }
.pou-stats strong { color: var(--navy); font-size: 15px; }

.pou-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 5px;
  margin-top: 10px;
  padding: 6px 14px;
  border: 1.5px solid var(--accent, var(--blue));
  border-radius: 100px;
  background: transparent;
  color: var(--accent, var(--blue));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  cursor: pointer;
  text-decoration: none;
  transition: background .16s, color .16s;
}
.pou-link:hover,
.pou-link:focus-visible {
  background: var(--accent, var(--blue));
  color: #fff;
  text-decoration: none;
}

/* ===================== SERVICES ===================== */
.services-section { padding: 64px 0; }
.services-section .section-head { margin-left: auto; margin-right: auto; text-align: center; }

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

.service-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent, var(--blue));
  border-radius: var(--radius);
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.service-ico {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent, var(--blue)) 12%, #fff);
  color: var(--accent, var(--blue));
}
.service-ico svg { width: 24px; height: 24px; fill: currentColor; }
.service-card strong { display: block; color: var(--navy); font-size: 16px; margin-bottom: 6px; }
.service-card p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* ===================== DASHBOARD BAND ===================== */
.dashboard-band {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(34, 167, 154, .26), transparent 28%),
    radial-gradient(circle at 88% 24%, rgba(242, 91, 18, .20), transparent 26%),
    linear-gradient(135deg, #071f45 0%, #103468 54%, #0d766f 100%);
}
.dashboard-inner { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }
.dashboard-band .section-head { margin-left: auto; margin-right: auto; text-align: center; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.stat {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 120px;
  padding: 24px 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  transition: background .2s ease;
}
.stat:hover { background: rgba(255, 255, 255, .10); }
.stat strong { color: #fff; font-size: clamp(30px, 4vw, 42px); line-height: 1; font-weight: 700; }
.stat span { margin-top: 10px; color: #c4d2e6; font-size: 14px; font-weight: 600; }

/* ===================== IMPACT MAP ===================== */
.impact-section {
  width: 100%;
  padding: 80px 20px 70px;
  scroll-margin-top: 80px;
  background: #fff;
}

.impact-heading { text-align: center; margin: 0 auto 36px; max-width: 760px; }
.impact-heading h2 { margin: 0 0 10px; font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; line-height: 1.12; }
.impact-heading p { color: var(--muted); margin: 0; font-size: 16px; }

.impact-map-wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px;
  background: var(--soft);
  border-radius: 16px;
  border: 1px solid var(--line);
  position: relative;
}

#map-container { width: 100%; height: 600px; background-color: transparent; outline: none; }

.jvm-region { transition: fill .3s cubic-bezier(.4, 0, .2, 1), filter .3s ease; }

.glow-region-blue { filter: drop-shadow(0 0 5px rgba(59, 130, 246, .6)); transition: filter .3s ease; }
.glow-region-blue:hover { filter: drop-shadow(0 0 12px rgba(59, 130, 246, .9)); fill: #2563eb !important; }

.glow-marker-orange { filter: drop-shadow(0 0 8px rgba(249, 115, 22, .8)); }
.glow-marker-blue { filter: drop-shadow(0 0 10px rgba(59, 130, 246, .8)); }
.glow-marker-green { filter: drop-shadow(0 0 6px rgba(16, 185, 129, .8)); }

.map-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
  z-index: 20;
}

.glow-btn {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 12px 16px;
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all .18s ease;
}
.glow-btn:hover { border-color: #c7d3e3; transform: translateY(-1px); }
.glow-btn.active { color: #fff; border-color: transparent; }
.glow-btn:nth-child(1).active { background: var(--blue); }
.glow-btn:nth-child(2).active { background: var(--orange); }
.glow-btn:nth-child(3).active { background: var(--teal); }
.glow-btn:nth-child(4).active { background: var(--green); }

.map-address-card {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 14px;
  row-gap: 4px;
  margin: 0 auto 20px;
  max-width: 760px;
  padding: 16px 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: left;
}

.map-address-card span {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.map-address-card strong { color: var(--navy); font-size: 16px; line-height: 1.2; }
.map-address-card p { margin: 0; color: var(--muted); font-size: 13px; }
.map-address-card.is-active { border-color: rgba(31, 111, 178, .3); box-shadow: 0 14px 30px rgba(31, 111, 178, .12); }

.jvm-tooltip {
  background: rgba(15, 23, 42, .92) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: #f8fafc !important;
  border-radius: 14px !important;
  padding: 16px 20px !important;
  font-family: inherit !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .25), 0 8px 10px -6px rgba(0, 0, 0, .1) !important;
  border: 1px solid rgba(255, 255, 255, .1) !important;
  pointer-events: none !important;
  min-width: 200px;
  z-index: 1000 !important;
  transition: opacity .2s ease, transform .1s ease !important;
}

.tooltip-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.tooltip-title { font-weight: 800; font-size: 16px; color: #fff; margin: 0; }

.tooltip-badge {
  background: rgba(74, 184, 124, .15);
  color: #4ade80;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  border: 1px solid rgba(74, 184, 124, .3);
  margin-left: auto;
}
.hq-badge { background: rgba(56, 189, 248, .15); color: #38bdf8; border-color: rgba(56, 189, 248, .3); }

.tooltip-stat { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.tooltip-stat:last-child { margin-bottom: 0; }
.stat-label { color: #94a3b8; font-size: 13px; font-weight: 600; }
.stat-value { font-weight: 800; color: #e2e8f0; font-size: 14px; }
.unselected-title { color: #94a3b8; font-weight: 700; }

.tooltip-address { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .15); }
.tooltip-address span { display: block; margin-bottom: 5px; color: #94a3b8; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.tooltip-address strong { display: block; color: #f8fafc; font-size: 12px; line-height: 1.35; font-weight: 600; }

.jvm-zoom-btn {
  background-color: #fff !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .05) !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  transition: all .2s ease !important;
}
.jvm-zoom-btn:hover { background-color: #f1f5f9 !important; color: #0f172a !important; transform: translateY(-1px); }

/* ===================== WHAT'S NEW (bottom) ===================== */
.whats-new-section {
  background: linear-gradient(160deg, #0d1e45 0%, #071635 100%);
  padding: 52px 0;
  scroll-margin-top: 80px;
}
.whats-new-inner {
  max-width: 860px;
}
.whats-new-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 4px;
}
.whats-new-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

/* ===================== FOOTER ===================== */
.footer { background: var(--navy-2); color: #dbe6f5; padding: 60px 0 24px; }

.footer-grid {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.15fr;
  gap: 48px;
}

.footer h3 { margin: 0 0 16px; color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }
.footer h3::after { content: ""; display: block; width: 30px; height: 2px; margin-top: 8px; background: #37b8d4; }

.footer p, .footer a { display: block; margin: 0 0 10px; color: #c1cfe2; font-size: 13px; }
.footer a:hover { color: #fff; }

.social-links { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.footer .social-links a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  margin: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .10);
  color: #fff;
  transition: background .2s ease, transform .2s ease;
}
.footer .social-links a:hover { background: var(--blue); transform: translateY(-2px); }
.social-links svg { width: 17px; height: 17px; fill: currentColor; }

.footer-bottom {
  width: min(1180px, calc(100% - 64px));
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #9eadc4;
  font-size: 12px;
}
.footer-bottom a { display: inline; margin: 0; color: #9eadc4; }
.footer-bottom a:hover { color: #fff; }

/* ===================== NAV DROPDOWNS ===================== */
.main-menu { flex-wrap: wrap; }
.menu-parent { position: relative; display: inline-flex; }
button.menu-link { border: 0; background: none; cursor: pointer; font: inherit; }
.menu-caret { margin-left: 5px; font-size: 10px; line-height: 1; opacity: .8; }

.menu-parent .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 248px;
  margin-top: 2px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 60;
}
.menu-parent:hover .dropdown,
.menu-parent:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.menu-parent.align-right .dropdown { left: auto; right: 0; }
.menu-parent.wide .dropdown { min-width: 520px; columns: 2; column-gap: 6px; }

.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: #38445d;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
}
.menu-parent.wide .dropdown a { white-space: normal; break-inside: avoid; }
.dropdown a:hover { background: var(--soft); color: var(--navy); }

/* ===================== ICAI LEARNING CURVE ===================== */
.learning-curve {
  padding: 40px 0;
  background:
    radial-gradient(circle at 10% 86%, rgba(39, 122, 195, .12), transparent 26%),
    radial-gradient(circle at 92% 14%, rgba(34, 167, 154, .12), transparent 24%),
    linear-gradient(180deg, #f7faff 0%, #eef6fb 100%);
  scroll-margin-top: 80px;
}
.learning-curve .section-head { margin-left: auto; margin-right: auto; text-align: center; max-width: 780px; }

.lc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 26px; }
.lc-stat {
  padding: 22px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.lc-stat strong { display: block; color: var(--navy); font-size: clamp(26px, 3.4vw, 38px); line-height: 1; font-weight: 700; }
.lc-stat span { display: block; margin-top: 8px; color: var(--text); font-size: 14px; font-weight: 600; }
.lc-stat small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.lc-stat-up { border-top-color: var(--green); }
.lc-stat-up strong { color: #1f7a48; }

.lc-charts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.lc-chart-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.lc-chart-wide { grid-column: 1 / -1; }
.lc-chart-card h3 { margin: 0; font-size: 17px; font-weight: 700; color: var(--navy); }
.lc-chart-sub { margin: 4px 0 14px; color: var(--muted); font-size: 13px; }
.lc-canvas-wrap { position: relative; flex: 1 1 auto; min-height: 260px; }
.lc-chart-wide .lc-canvas-wrap { min-height: 320px; }
.lc-canvas-wrap canvas { position: absolute; inset: 0; }
.lc-chart-note { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.55; }

/* ===================== INNER PAGE ===================== */
.page-banner {
  background:
    radial-gradient(circle at 88% -10%, rgba(34, 167, 154, .28), transparent 40%),
    radial-gradient(circle at 12% 120%, rgba(242, 91, 18, .18), transparent 40%),
    linear-gradient(135deg, #071f45 0%, #0d3976 55%, #0a7b73 100%);
  color: #fff;
  padding: 40px 0 44px;
}
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .72); }
.breadcrumb a { color: #cfe0f2; font-weight: 600; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb strong { color: #fff; font-weight: 600; }
.breadcrumb span[aria-hidden] { opacity: .5; }
.page-banner h1 { margin: 14px 0 0; color: #fff; font-size: clamp(28px, 4vw, 42px); line-height: 1.12; font-weight: 700; }
.page-lead { margin: 10px 0 0; max-width: 720px; color: rgba(255, 255, 255, .82); font-size: 16px; }

.page-shell { padding: 44px 0 64px; }
.page-body { max-width: 760px; }
.page-article p { margin: 0 0 16px; color: var(--text); font-size: 15.5px; line-height: 1.7; }

.page-links { margin-top: 8px; padding: 20px 22px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); }
.page-links h2 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.page-links ul { margin: 0; padding-left: 18px; }
.page-links li { margin: 6px 0; }
.page-links a { color: var(--navy-2); font-weight: 600; }
.page-links a:hover { text-decoration: underline; }

.page-back { margin-top: 28px; }
.page-back a { color: var(--blue); font-weight: 700; font-size: 14px; }
.page-back a:hover { text-decoration: underline; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .hero-top { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-controls { grid-template-columns: 1fr 1fr; }
  .event-grid { grid-template-columns: repeat(2, 1fr); }
  .cal-layout { grid-template-columns: 1fr; }
  .topic-list { max-height: 220px; }
  .pou-layout { grid-template-columns: 1fr; }
  #india-map { height: 460px; }
  .pou-list { max-height: none; }
  .service-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 820px) {
  .brand-shell { flex-direction: column; min-height: auto; padding: 14px 0; gap: 8px; text-align: center; }
  .icai-brand { justify-content: center; }
  .icai-brand strong { white-space: normal; }
  .orbit-mark strong { text-align: center; }
  .nav-shell { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px; }
  .menu-toggle {
    display: inline-flex;
    justify-content: center;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--navy);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }
  .main-menu { display: none; flex-direction: column; align-items: stretch; }
  .nav-shell nav.open { display: flex; }
  .menu-link { padding: 11px 4px; }
  .menu-link::after { display: none; }
  .nav-shell .nav-cta { position: static; margin-top: 6px; justify-content: center; }
  .map-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .shell, .dashboard-inner, .footer-grid, .footer-bottom { width: calc(100% - 32px); }
  .hero-inner { width: calc(100% - 32px); padding: 52px 0 56px; }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-news-item { grid-template-columns: auto 1fr; gap: 12px; }
  .hn-arrow { display: none; }
  .event-browser, .calendar-browser, .pou-browser { padding: 16px; }
  .event-controls { grid-template-columns: 1fr; }
  .event-grid { grid-template-columns: 1fr; }
  #india-map { height: 380px; }
  .service-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .event-meta { flex-direction: column; align-items: flex-start; }
  .calendar-grid, .calendar-weekdays { gap: 3px; }
  .cal-cell { min-height: 78px; padding: 4px; }
  .cal-event { font-size: 0; padding: 5px; border-left-width: 0; border-radius: 50%; width: 8px; height: 8px; background: var(--ev, var(--blue)); margin: 1px; }
  .cal-event-span { margin: 1px; border-radius: 50%; } /* dots on mobile — drop the band bleed */
  .cal-event-time { display: none; }
  .cal-events { flex-direction: row; flex-wrap: wrap; }
  .calendar-nav h3 { min-width: 0; font-size: 17px; }
  .modal-meta { grid-template-columns: 1fr; }
  .event-modal-card { padding: 22px; }
  #map-container { height: 380px; }
  .map-controls { grid-template-columns: 1fr; }
  .map-address-card { grid-template-columns: 1fr; text-align: center; }
  .map-address-card span { grid-row: auto; justify-self: center; width: fit-content; }
}

/* ----- New components: Learning Curve + nav dropdowns ----- */
@media (max-width: 980px) {
  .lc-stats { grid-template-columns: repeat(2, 1fr); }
  .lc-charts { grid-template-columns: 1fr; }
  .lc-chart-wide { grid-column: auto; }
  .menu-parent.wide .dropdown { min-width: 340px; columns: 1; }
}

@media (max-width: 820px) {
  .menu-parent { display: block; width: 100%; }
  .menu-parent > .menu-link { width: 100%; justify-content: space-between; padding: 11px 4px; }
  .menu-parent .dropdown {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin: 0;
    padding: 0 0 8px 14px;
    min-width: 0;
    columns: 1;
    border: 0;
    box-shadow: none;
    transition: none;
  }
  .menu-parent.open .dropdown { display: block; }
  .menu-parent.wide .dropdown { min-width: 0; columns: 1; }
  .dropdown a { white-space: normal; }
}

@media (max-width: 600px) {
  .lc-stats { grid-template-columns: 1fr; }
  .page-banner { padding: 30px 0 34px; }
  .learning-curve, .page-shell { padding-left: 0; padding-right: 0; }
}

/* ===================== PRODUCT / FEATURE TOUR ===================== */
/* Floating launcher */
.tour-launch {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  font: 600 14px/1 "Poppins", "Segoe UI", Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(16, 35, 78, .32);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tour-launch:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(16, 35, 78, .4); }
.tour-launch svg { width: 20px; height: 20px; fill: var(--orange); }

/* Lock background scroll while the tour drives the page itself */
body.tour-lock { overflow: hidden; }

/* Dimming overlay */
.tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
}
.tour-overlay.is-open { display: block; }

/* The spotlight: a transparent window with a huge shadow dimming the rest */
.tour-spot {
  position: fixed;
  border-radius: 14px;
  box-shadow: 0 0 0 9999px rgba(13, 22, 46, .68);
  outline: 2px solid rgba(255, 255, 255, .9);
  outline-offset: 2px;
  opacity: 0;
  transition: top .3s ease, left .3s ease, width .3s ease, height .3s ease, opacity .25s ease;
  pointer-events: none;
}

/* Caption card */
.tour-card {
  position: fixed;
  width: min(360px, calc(100vw - 32px));
  background: var(--paper);
  border-radius: 16px;
  padding: 22px 22px 18px;
  box-shadow: 0 20px 50px rgba(16, 35, 78, .35);
  transition: top .3s ease, left .3s ease;
}
.tour-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: none;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.tour-close:hover { color: var(--navy); }
.tour-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
}
.tour-title { margin: 8px 0 8px; font-size: 19px; line-height: 1.25; }
.tour-body { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.tour-dots {
  display: flex;
  gap: 6px;
  margin: 16px 0 14px;
}
.tour-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background .2s ease, transform .2s ease;
}
.tour-dots span.is-done { background: var(--navy-2); }
.tour-dots span.is-active { background: var(--orange); transform: scale(1.35); }

.tour-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tour-actions-right { display: flex; gap: 8px; }
.tour-btn {
  border: 0;
  border-radius: 9px;
  padding: 9px 16px;
  font: 600 13.5px/1 "Poppins", "Segoe UI", Arial, sans-serif;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, opacity .15s ease;
}
.tour-btn-primary { background: var(--navy); color: #fff; }
.tour-btn-primary:hover { background: var(--navy-2); }
.tour-btn-ghost { background: transparent; color: var(--muted); padding-left: 8px; padding-right: 8px; }
.tour-btn-ghost:hover { color: var(--navy); }
.tour-btn:disabled { opacity: .35; cursor: default; }

@media (max-width: 600px) {
  .tour-launch span { display: none; }
  .tour-launch { padding: 13px; }
}

/* ===================== SECTION SEPARATORS ===================== */
/* Add a subtle top-border divider to light sections so they don't bleed into each other */
.event-types-section,
.pou-section,
.event-section,
.faculty-section {
  border-top: 2px solid var(--line);
}

/* ===================== COMPACT STAT STRIP (inside hero) ===================== */
.lc-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  overflow: hidden;
  margin: 0 0 28px;
}

.lc-strip-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px;
  background: rgba(255,255,255,.05);
  text-align: center;
  gap: 4px;
}
.lc-strip-stat + .lc-strip-stat { border-left: 1px solid rgba(255,255,255,.10); }

.lc-strip-stat strong {
  color: #ffcf70;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1;
}
.lc-strip-stat span {
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2px;
}

@media (max-width: 720px) {
  .lc-strip { grid-template-columns: repeat(2, 1fr); }
  .lc-strip-stat:nth-child(3) { border-left: 1px solid rgba(255,255,255,.10); }
  .lc-strip-stat:nth-child(2n+1) { border-left: 0; }
}
@media (max-width: 480px) {
  .lc-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ===================== EXTERNAL LEARNING BUTTONS ===================== */
.ext-learning-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.ext-learning-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  transition: transform .15s ease, box-shadow .15s ease;
  animation: hero-rise .6s cubic-bezier(.22,.61,.36,1) both;
  animation-delay: .42s;
}
.ext-learning-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0,0,0,.34);
}
.ext-learning-btn.btn-teal {
  background: linear-gradient(180deg, #2ab8a4, #1a8c80);
}
.ext-learning-btn.btn-teal:hover { background: linear-gradient(180deg, #25a994, #178075); }

.ext-learning-btn.btn-amber {
  background: linear-gradient(180deg, #d97f18, #b96910);
}
.ext-learning-btn.btn-amber:hover { background: linear-gradient(180deg, #c97310, #a85c0c); }

.ext-learning-btn svg {
  flex: none;
  width: 26px;
  height: 26px;
  fill: rgba(255,255,255,.9);
}

@media (max-width: 600px) {
  .ext-learning-row { grid-template-columns: 1fr; }
}

/* ===================== EVENT TYPES CARDS ===================== */
.event-types-section {
  padding: 56px 0;
  background: linear-gradient(180deg, #f4f8ff 0%, #edf3fb 100%);
  scroll-margin-top: 80px;
}

.event-type-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.event-type-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 18px 24px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(145deg,
    var(--et-color, var(--blue)) 0%,
    color-mix(in srgb, var(--et-color, var(--blue)) 75%, #000) 100%);
  cursor: pointer;
  text-align: center;
  font: inherit;
  color: #fff;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--et-color, var(--blue)) 40%, transparent);
}
.event-type-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.18) 0%, transparent 60%);
  pointer-events: none;
}
.event-type-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 36px color-mix(in srgb, var(--et-color, var(--blue)) 55%, transparent);
  filter: brightness(1.08);
}

.event-type-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,255,255,.35);
  flex-shrink: 0;
}
.event-type-icon svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.event-type-card strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.event-type-card p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 11.5px;
  line-height: 1.5;
}
.event-type-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
  border: 1.5px solid rgba(255,255,255,.5);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  margin-top: auto;
  letter-spacing: .3px;
  transition: background .15s, border-color .15s;
}
.event-type-card:hover .event-type-chip {
  background: rgba(255,255,255,.35);
  border-color: rgba(255,255,255,.8);
}

@media (max-width: 980px) { .event-type-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .event-type-grid { grid-template-columns: repeat(2, 1fr); } }


/* ===================== FACULTY SEARCH ===================== */
.faculty-section {
  padding: 52px 0;
  background: #fff;
  scroll-margin-top: 80px;
}

.faculty-search-panel {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  margin-bottom: 28px;
}

.faculty-search-panel .control { background: var(--soft); }

.faculty-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  min-height: 48px;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  font: 600 14px/1 "Poppins", sans-serif;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease;
}
.faculty-search-btn:hover { background: #16306a; }
.faculty-search-btn svg { width: 16px; height: 16px; fill: currentColor; }

.faculty-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.faculty-results-head p { margin: 0; color: var(--muted); font-size: 14px; }
.faculty-results-head strong { color: var(--navy); }

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

.faculty-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.faculty-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

.faculty-card-name {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}
.faculty-expertise {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(39,122,195,.10);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
}
.faculty-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}
.faculty-location svg { width: 14px; height: 14px; fill: var(--muted); flex: 0 0 auto; }
.faculty-pou-link {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.faculty-pou-link:hover { text-decoration: underline; }

.faculty-empty {
  grid-column: 1 / -1;
  padding: 48px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}
.faculty-empty strong { display: block; color: var(--navy); font-size: 17px; margin-bottom: 6px; }
.faculty-empty p { margin: 0 0 14px; font-size: 14px; }
.faculty-empty a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

/* ----- Faculty pagination ----- */
.faculty-page-nav {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.faculty-page-btn {
  padding: 7px 18px;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.faculty-page-btn:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: #fff; }
.faculty-page-btn:disabled { opacity: .4; cursor: not-allowed; }
.faculty-page-info { font-size: 13px; color: var(--muted); font-weight: 600; }

@media (max-width: 980px) { .faculty-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .faculty-search-panel { grid-template-columns: 1fr; }
  .faculty-grid { grid-template-columns: 1fr; }
}
