/* ================= BASE + VARIABLES ================= */

:root {

    /* Typography spacing system */
  --space-paragraph: 1rem;     /* paragraph-to-paragraph spacing */
  --space-flow: 0.85rem;       /* spacing between mixed elements */

  --color-bg-main: #010d26;   /* main background */
  --color-accent-1: #033e8c;
  --color-accent-2: #022859;
  --color-accent-3: #0487d9;
  --color-accent-4: #04b2d9;
  --color-accent-gold: #f2b705;
  --color-light-panel: #c1dceb;
  --color-text-main: #e5e7eb;
  --color-text-muted: #9ca3af;

  --font-heading: "gibson", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "source-sans-3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-padding-top: 125px;      /* same number as above */
}

/* Reset-ish */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-bg-main);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ================= HEADER / NAV ================= */

.site-header {
  position: fixed;          /* fixed at top */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(1, 13, 38, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(4, 135, 217, 0.3);
}

.header-spacer {
  height: 70px;  /* must roughly match header height */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 40px;  /* adjust to your actual logo */
  width: auto;
}

/* Nav list */
.main-nav {
  font-size: 0.9rem;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-link {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  color: #e5e7eb;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover {
  background-color: var(--color-accent-1);
  color: #ffffff;
}

.nav-link.active {
  background-color: var(--color-accent-3);
  color: #ffffff;
}

/* Currently “dull” but clickable */
.nav-muted {
  opacity: 0.7;
}

/* Dropdowns */
.nav-item {
  position: relative;
}

.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: #010d26;
  border-radius: 0.5rem;
  padding: 0.4rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  display: none;
}

.has-dropdown:hover .dropdown {
  display: block;  /* open on hover */
}

.dropdown li {
  list-style: none;
}

.dropdown-link {
  display: block;
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  color: #e5e7eb;
  white-space: nowrap;
}

.dropdown-link:hover {
  background-color: var(--color-accent-1);
}

/* "Dull" dropdown entries (but still clickable for now) */
.dropdown-muted {
  opacity: 0.6;
}

.dropdown-link.active {
  background-color: rgba(4, 135, 217, 0.25);
  color: #ffffff;
}

/* ================= HERO + CAROUSEL ================= */

.hero {
  margin-top: 0;  /* header is already accounted for by spacer */
}

.hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
}
.hero-temp {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
}

/* Foreground banner centered, same footprint as carousel */
.hero-banner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* clicks pass through if banner has no buttons */
}

.hero-banner img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
}

/* Maintain aspect ratio with a min height if images are not loaded yet */
.hero-carousel::before {
  content: "";
  display: block;
  padding-top: 40%; /* height ~40% of width; adjust to match your images */
}

/* ================= COUNTDOWN ================= */

.countdown-section {
  padding: 1.5rem 0 2.5rem;
}

.countdown-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
}

.countdown-timer {
  font-size: 1.2rem;
  font-weight: 600;
}

/* ================= ABOUT + DATES ================= */

.about-dates {
  padding: 1.5rem 0 2.5rem;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.panel {
  background-color: rgba(193, 220, 235, 0.09); /* subtle panel */
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(4, 135, 217, 0.35);
}

.panel-about h2,
.panel-dates h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.panel-about p {
  color: var(--color-text-main);
}


.dates-list {
  list-style: none;
}

.dates-list li + li {
  margin-top: 0.4rem;
}

.date-label {
  font-weight: 600;
  color: var(--color-accent-gold);
}

/* ======== TIMELINE AS TABLE (GRID LAYOUT) ======== */

.timeline-table {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline-row {
  display: grid;
  grid-template-columns: 20px 160px 1fr;
  align-items: start;
  gap: 0.8rem;
  margin-bottom: 1rem;

  /* Fade-in prep */
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-row.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ICON COLUMN */
.col-icon {
  width: 12px;
  height: 12px;
  margin-top: 0.3rem;
  border-radius: 999px;
  background-color: var(--color-accent-3);
  box-shadow: 0 0 0 3px rgba(4, 135, 217, 0.35);
}

/* DATE COLUMN */
.col-date {
  font-weight: 700;
  color: var(--color-accent-gold);
}

/* TEXT COLUMN */
.col-text {
  line-height: 1.5;
}

/* ======== TIMELINE STATES (past / future / next) ======== */

.timeline-row.past-deadline .col-text {
  opacity: 0.6;
}

.timeline-row.future-deadline .col-icon {
  background-color: var(--color-accent-4);
}

.timeline-row.next-deadline .col-icon {
  background-color: var(--color-accent-gold);
  box-shadow: 0 0 0 4px rgba(242, 183, 5, 0.5);
}

.timeline-row.next-deadline {
  background-color: rgba(4, 135, 217, 0.18);
  border-radius: 0.5rem;
  padding: 0.3rem 0.5rem;
}

/* ================= POSTER DOWNLOAD ================= */

.poster-section {
  padding: 0 0 2.5rem;
}

.poster-card {
  background-color: rgba(193, 220, 235, 0.09);
  border-radius: 1rem;
  border: 1px solid rgba(4, 135, 217, 0.35);
  padding: 1.2rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.poster-text h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.poster-text p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 36rem;
}

.poster-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--color-accent-3),
    var(--color-accent-4)
  );
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}

.poster-download-btn:hover {
  background: linear-gradient(
    to right,
    var(--color-accent-4),
    var(--color-accent-3)
  );
}

/* ================= SUBMISSIONS: CTA BUTTON ================= */

.submission-cta {
  margin-bottom: 1.5rem;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  margin-top: 0.4rem;

  background: linear-gradient(90deg, var(--color-accent-3), var(--color-accent-4));
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(4, 135, 217, 0.35);
}

/* Disabled / "in preparation" state */
.submit-btn--disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none; /* prevents clicking */
  box-shadow: none;
  filter: grayscale(0.25);
  transform: none;
}

.submission-note {
  margin-top: 0.6rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  max-width: 52rem;
}

.submission-cta {
  text-align: center;
}

/* ================= TOPICS OF INTEREST ================= */

.topics-section {
  padding: 0 0 2.5rem;
}

.topics-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.topics-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.topics-grid ul {
  list-style: disc;
  padding-left: 1.3rem;
}

.topics-grid li + li {
  margin-top: 0.4rem;
}

/* Stack into one column on small screens */
@media (max-width: 800px) {
  .topics-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= KEYNOTE SPEAKERS ================= */

.keynotes {
  padding: 0 0 2.5rem;
}

.keynotes-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* reuse committee-members but tune layout */
.keynotes-grid {
  gap: 1.2rem;
}

/* Make keynote cards a bit wider so 3 fit neatly */
.keynote-card {
  width: min(260px, 100%);
}

/* Slightly larger photo for keynote */
.keynote-photo img {
  width: 120px;
  height: 120px;
}

/* Keynote Speaker name color */
.keynote-card .committee-name {
  color: var(--color-accent-3);
  letter-spacing: 0.5px;
}

/* Topic line (more prominent than institution, less than name) */
.keynote-topic {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-main);
  line-height: 1.4;
  margin: 0.25rem 0 0.35rem;
}

/* Responsive: cards go full width on very small screens */
@media (max-width: 600px) {
  .keynote-card {
    width: 100%;
  }
}

.keynote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.35rem auto 0.6rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(4, 178, 217, 0.45);
  background-color: rgba(4, 135, 217, 0.12);
  color: var(--color-text-main);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.keynote-btn:hover {
  background-color: rgba(4, 135, 217, 0.2);
  transform: translateY(-1px);
}

/* ================= LATEST NEWS ================= */

.latest-news {
  padding: 1.5rem 0 2.5rem;
}

.section-title {
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.section-title-link {
  border-bottom: 2px solid var(--color-accent-3);
  padding-bottom: 0.1rem;
}

.section-title-link:hover {
  color: var(--color-accent-4);
  border-color: var(--color-accent-4);
}

.news-list {
  list-style: none;
  border-radius: 1rem;
  border: 1px solid rgba(4, 135, 217, 0.25);
  padding: 1rem 1.25rem;
  background-color: rgba(1, 13, 38, 0.6);
}

.news-list li + li {
  margin-top: 0.4rem;
}

.news-date {
  font-weight: 600;
  color: var(--color-accent-gold);
}




/* ================= FOOTER ================= */

.site-footer {
  background-color: #010d26;
  border-top: 1px solid rgba(4, 135, 217, 0.4);
  padding: 1rem 0 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 1.5rem;
  text-align: center;
}

.site-footer a {
  color: var(--color-accent-4);
}

.site-footer a:hover {
  color: var(--color-accent-3);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 800px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .nav-list {
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-inline: 1rem;
  }

  .header-spacer {
    height: 90px; /* header taller when wrapped */
  }
}

.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item.past-deadline .timeline-content {
  opacity: 0.6;
}

.timeline-item.future-deadline .timeline-icon {
  background-color: var(--color-accent-4);
}

.timeline-item.next-deadline .timeline-icon {
  background-color: var(--color-accent-gold);
  box-shadow: 0 0 0 4px rgba(242, 183, 5, 0.5);
}

.timeline-item.next-deadline .timeline-content {
  background-color: rgba(4, 135, 217, 0.18);
  border-radius: 0.5rem;
  padding: 0.4rem 0.6rem;
}

/* ========== Organizing Committee Layout ========== */

.committee-section {
  margin-bottom: 2.5rem;
}

.committee-role {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(4, 135, 217, 0.4);
  padding-bottom: 0.3rem;
}

.committee-members {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.committee-card {
  background-color: rgba(193, 220, 235, 0.06);
  border-radius: 1rem;
  border: 1px solid rgba(4, 135, 217, 0.25);
  padding: 1rem;
  width: min(220px, 100%);
  text-align: center;
}

.committee-photo img {
  width: 110px;
  height: 110px;
  border-radius: 999px;
  object-fit: cover;
  margin: 0 auto 0.75rem;
  filter: grayscale(0.1);
}

.committee-name {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;   /* makes the NAME appear in ALL CAPS */
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

/* Institution/country is deliberately less visually prominent */
.committee-affiliation {
  font-size: 0.85rem;
  color: var(--color-text-muted);  /* uses muted text colour */
  font-weight: 400;
  line-height: 1.4;
}

/* Responsive: full-width cards on very narrow screens */
@media (max-width: 600px) {
  .committee-card {
    width: 100%;
  }
}

.submission-banner {
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(242, 183, 5, 0.65);
  background-color: rgba(242, 183, 5, 0.08);
  font-size: 0.95rem;
  font-weight: 600;
}

.submission-section {
  max-width: 52rem;
}

.submission-heading {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.submission-section p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== Keynotes Page ========== */

.keynotes-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.keynote-page-card {
  background-color: rgba(193, 220, 235, 0.06);
  border-radius: 1rem;
  border: 1px solid rgba(4, 135, 217, 0.25);
  padding: 1.2rem;
}

.keynote-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.keynote-headshot {
  width: 110px;
  height: 110px;
  border-radius: 999px;
  object-fit: cover;
}

.keynote-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--color-accent-4); /* nice highlight colour */
}

.keynote-title,
.keynote-affil {
  margin: 0.15rem 0;
  color: var(--color-text-main);
  font-size: 0.95rem;
}

.keynote-label {
  font-weight: 700;
  color: var(--color-accent-gold);
}

.keynote-affil {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.keynote-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin: 0.5rem 0 0.35rem;
}

.keynote-body p {
  color: var(--color-text-main);
  line-height: 1.7;
  font-size: 0.95rem;
}

.keynote-divider {
  border: 0;
  height: 1px;
  background: rgba(4, 135, 217, 0.25);
  margin: 1rem 0;
}

/* Mobile */
@media (max-width: 700px) {
  .keynote-header {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ================= PAGE CONTENT (TRAVEL / VENUE / ACCOMMODATION) ================= */

.page-content {
  padding: 1.75rem 0 2.5rem;
}

.page-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.page-subtitle {
  color: var(--color-text-muted);
  max-width: 46rem;
}

.page-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1.25rem;
}

.page-toc a {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(4, 135, 217, 0.25);
  background-color: rgba(1, 13, 38, 0.45);
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.page-toc a:hover {
  color: #fff;
  border-color: rgba(4, 178, 217, 0.45);
}

/* Make the TOC stay visible on desktop */
@media (min-width: 900px) {
  .page-toc {
    position: sticky;
    top: 78px; /* header height + small offset */
    z-index: 20;
    padding: 0.6rem;
    border-radius: 1rem;
    background: rgba(1, 13, 38, 0.85);
    border: 1px solid rgba(4, 135, 217, 0.18);
    backdrop-filter: blur(6px);
  }
}

.content-section {
  margin-bottom: 1.25rem;
}

.section-h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.card-h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

/* Apply accent heading colors across other page headings */
.panel-about h2,
.panel-dates h2,
.topics-title,
.keynotes-title,
.section-title {
  color: var(--color-accent-4);
}

/* ================= VENUE SPLIT (INFO + MAP) ================= */

.venue-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr; /* slightly wider info column */
  gap: 1.25rem;
  align-items: start;
  margin-top: 0.75rem;
}

.venue-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-accent-4);
  margin-bottom: 0.4rem;
}

.venue-address {
  color: var(--color-text-muted);
  line-height: 1.5;
}

.venue-description {
  max-width: 52rem;
}

.venue-actions {
  margin-top: 1rem;
}

/* Google Maps Button */
.map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  background: linear-gradient(90deg, var(--color-accent-3), var(--color-accent-4));
  color: #ffffff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.map-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(4, 135, 217, 0.35);
}

/* Embedded Map */
.map-embed-wrapper {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(4, 135, 217, 0.25);
  background: rgba(1, 13, 38, 0.35);
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* Responsive: stack on smaller screens */
@media (max-width: 900px) {
  .venue-split {
    grid-template-columns: 1fr;
  }

  .map-embed-wrapper iframe {
    height: 320px;
  }
}

/* ================= HEADING COLOR SYSTEM ================= */

/* Page title: keep readable, add subtle gold accent */
.page-title {
  color: var(--color-text-main);
  position: relative;
  display: inline-block;
}

.page-title::after {
  content: "";
  display: block;
  height: 3px;
  width: 56px;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--color-accent-gold),
    rgba(242, 183, 5, 0)
  );
}

/* H2 section headings */
.section-h2 {
  color: var(--color-accent-4);
  letter-spacing: 0.2px;
}

/* H3 subheadings (cards, sections) */
.card-h3 {
  color: var(--color-accent-3);
}

/* Feature card titles */
.feature-title {
  color: var(--color-text-main);
  position: relative;
  padding-top: 0.2rem;
}

.feature-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-accent-4);
}

.muted {
  color: var(--color-text-muted);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.info-card {
  background-color: rgba(193, 220, 235, 0.06);
  border: 1px solid rgba(4, 135, 217, 0.25);
  border-radius: 1rem;
  padding: 1rem;
}

.bullets {
  list-style: disc;
  padding-left: 1.2rem;
}

.bullets li + li {
  margin-top: 0.35rem;
}

.divider {
  height: 1px;
  background: rgba(4, 135, 217, 0.25);
  margin: 1rem 0;
}

.inline-link {
  color: var(--color-accent-4);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.inline-link:hover {
  color: var(--color-accent-3);
}

.link-row {
  margin-top: 0.5rem;
}

.note-panel {
  background-color: rgba(4, 135, 217, 0.12);
  border-color: rgba(4, 178, 217, 0.35);
}

.note-text {
  font-size: 0.95rem;
  color: var(--color-text-main);
}

@media (max-width: 800px) {
  .page-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
}


/* ================= HERO CAROUSEL (USED ON TRAVEL PAGE) ================= */

.travel-hero .hero-inner {
  padding-top: 1.1rem;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  height: 360px;
  border: 1px solid rgba(4, 135, 217, 0.22);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 20s infinite;
}

/* Replace the URLs below with your final 4 images */
.slide-1 {
  background-image: url("../img/travel/VCIP-Carousel-1.jpg");
  animation-delay: 0s;
}
.slide-2 {
  background-image: url("../img/travel/VCIP-Carousel-2.jpg");
  animation-delay: 5s;
}
.slide-3 {
  background-image: url("../img/travel/VCIP-Carousel-3.jpg");
  animation-delay: 10s;
}
.slide-4 {
  background-image: url("../img/travel/VCIP-Carousel-4.jpg");
  animation-delay: 15s;
}

@keyframes heroFade {
  0%, 20%   { opacity: 1; }
  25%, 100% { opacity: 0; }
}

@media (max-width: 700px) {
  .hero-carousel {
    height: 240px;
  }
}

.section-spacer {
  height: clamp(1rem, 2vw, 2rem);
}


/* ================= FEATURE GRID (HOST CITY) ================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.feature-card {
  position: relative;
  background-color: rgba(4, 135, 217, 0.06);
  border: 1px solid rgba(4, 135, 217, 0.22);
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(4, 178, 217, 0.85),
    rgba(4, 135, 217, 0.95),
    rgba(193, 220, 235, 0.75)
  );
  box-shadow: 0 0 10px rgba(4, 178, 217, 0.35);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(4, 178, 217, 0.5);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-main);
}

.feature-text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= UNIFORM TYPOGRAPHY FLOW ================= */

/* Reset default paragraph margin (we control spacing with + selectors) */
p {
  margin: 0;
}

/* Paragraph-to-paragraph spacing across main content containers */
.panel p + p,
.info-card p + p,
.keynote-page-card p + p,
.submission-section p + p,
.poster-text p + p {
  margin-top: var(--space-paragraph);
}

/* Spacing between mixed elements (p -> ul, ul -> p, etc.) */
.panel p + ul,
.panel ul + p,
.info-card p + ul,
.info-card ul + p,
.keynote-page-card p + ul,
.keynote-page-card ul + p,
.submission-section p + ul,
.submission-section ul + p {
  margin-top: var(--space-flow);
}

/* Headings followed by paragraph */
.panel h2 + p,
.panel h3 + p,
.info-card h3 + p,
.keynote-page-card h3 + p,
.submission-section h2 + p,
.submission-section h3 + p {
  margin-top: 0.6rem;
}



