/* ==========================================================================
   EMISC 2027 — LIGHT BLUE MEDICAL HORIZON DESIGN SYSTEM
   Tailored to match the exact Cerulean & Marine Navy palette of the conference logo
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* Logo-Derived Light Blue & Deep Marine Palette */
  --c-blue-primary: #4A96B7;        /* Cerulean Blue from EMISC lettering */
  --c-blue-hover: #357B9C;          /* Deeper interactive hover tone */
  --c-blue-soft: #6BAEC9;           /* Soft vibrant cerulean */
  --c-blue-sky: #A3CDE0;            /* Sky accent from motion echo */
  --c-blue-ice: #D8EBF3;            /* Ice blue tint */
  --c-blue-frost: #EBF4F8;          /* Frost background tint */
  --c-bg-page: #F3F8FB;             /* Clean, light atmospheric background */

  /* Deep Contrast (From the '2027' lettering in the logo) */
  --c-navy-dark: #08384C;           /* High-contrast headings & primary darks */
  --c-navy-deep: #052735;           /* Deep marine navy for footer / accents */
  --c-navy-muted: #1E4D61;          /* Sub-headings and active links */
  --c-text-body: #1E333F;           /* Main readable body copy */
  --c-text-muted: #4E6877;          /* Secondary descriptive text */
  --c-text-light: #7E97A6;          /* Muted meta captions */

  /* Surfaces & Borders */
  --c-white: #FFFFFF;
  --c-border-subtle: #D8E7EE;
  --c-border-light: #EBF2F6;
  --c-border-blue: rgba(74, 150, 183, 0.28);

  /* Typography */
  --f-heading: 'Outfit', sans-serif;
  --f-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --f-mono: 'Space Grotesk', monospace;

  /* Layout & Curves */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-full: 9999px;
  --max-w: 1260px;

  /* Shadows */
  --shadow-subtle: 0 4px 16px rgba(8, 56, 76, 0.04);
  --shadow-card: 0 10px 30px -5px rgba(8, 56, 76, 0.07), 0 2px 8px rgba(74, 150, 183, 0.04);
  --shadow-hover: 0 20px 42px -8px rgba(74, 150, 183, 0.22);
  --shadow-blue-glow: 0 8px 25px rgba(74, 150, 183, 0.35);

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--f-body);
  background-color: var(--c-bg-page);
  color: var(--c-text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-heading);
  color: var(--c-navy-dark);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease-spring);
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Button Utilities */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease-spring);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-blue-primary) 0%, var(--c-blue-hover) 100%);
  color: var(--c-white);
  box-shadow: 0 6px 20px rgba(74, 150, 183, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(74, 150, 183, 0.48);
  background: linear-gradient(135deg, var(--c-blue-soft) 0%, var(--c-blue-primary) 100%);
}

.btn-gold {
  background: linear-gradient(135deg, #08384C 0%, #0F4A63 100%);
  color: var(--c-white);
  box-shadow: 0 6px 20px rgba(8, 56, 76, 0.25);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(8, 56, 76, 0.4);
}

.btn-outline-teal,
.btn-outline-blue {
  background: #ffffff;
  border-color: var(--c-blue-primary);
  color: var(--c-blue-primary);
}

.btn-outline-teal:hover,
.btn-outline-blue:hover {
  background: var(--c-blue-primary);
  color: var(--c-white);
  transform: translateY(-2px);
}

/* ==========================================================================
   Floating Light-Glass Island Navigation
   ========================================================================== */
.site-nav-wrapper {
  position: sticky;
  top: 16px;
  z-index: 1000;
  padding: 0 1.5rem;
}

.nav-island {
  max-width: var(--max-w);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(74, 150, 183, 0.25);
  border-radius: var(--r-full);
  box-shadow: 0 12px 35px -5px rgba(8, 56, 76, 0.08), 0 2px 10px rgba(74, 150, 183, 0.06);
  padding: 0.65rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s var(--ease-spring);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-brand-logo {
  height: 40px;
  width: auto;
  transition: transform 0.3s var(--ease-spring);
}

.nav-brand:hover .nav-brand-logo {
  transform: scale(1.08) rotate(-2deg);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-title {
  font-family: var(--f-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--c-navy-dark);
  line-height: 1.1;
}

.nav-brand-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--c-blue-primary);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-text-muted);
  position: relative;
  padding: 0.4rem 0.2rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--c-navy-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--c-blue-primary);
  transition: width 0.3s var(--ease-spring);
  border-radius: var(--r-full);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--c-blue-primary) 0%, var(--c-blue-hover) 100%);
  color: var(--c-white) !important;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  box-shadow: 0 4px 18px rgba(74, 150, 183, 0.35);
  transition: all 0.3s var(--ease-spring);
}

.nav-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 150, 183, 0.5);
}

.nav-action-btn::after {
  display: none !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--c-navy-dark);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* ==========================================================================
   Hero Stage (Bright, Airy, Light Blue Surgical Horizon)
   ========================================================================== */
.hero-stage {
  position: relative;
  min-height: 90vh;
  padding: 5.5rem 1.5rem 4.5rem;
  background: radial-gradient(circle at 80% 20%, rgba(163, 205, 224, 0.45) 0%, transparent 55%),
              radial-gradient(circle at 15% 85%, rgba(216, 235, 243, 0.6) 0%, transparent 50%),
              linear-gradient(160deg, #EAF3F7 0%, #F5F9FC 45%, #E2EEF5 100%);
  color: var(--c-text-body);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-stage::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(74, 150, 183, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 150, 183, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero Left Editorial */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  border: 1px solid rgba(74, 150, 183, 0.35);
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--c-navy-dark);
  box-shadow: 0 4px 14px rgba(74, 150, 183, 0.12);
  margin-bottom: 1.75rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--c-blue-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--c-blue-primary);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 150, 183, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(74, 150, 183, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 150, 183, 0); }
}

.hero-main-title {
  font-size: 3.8rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.12;
  color: var(--c-navy-dark);
  margin-bottom: 1.5rem;
}

.hero-main-title .gradient-text {
  background: linear-gradient(135deg, var(--c-navy-dark) 20%, var(--c-blue-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-theme-card {
  background: #ffffff;
  border-left: 4px solid var(--c-blue-primary);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1.25rem 1.6rem;
  margin-bottom: 2rem;
  box-shadow: 0 6px 20px rgba(8, 56, 76, 0.05);
}

.hero-theme-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--c-blue-primary);
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.hero-theme-quote {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-navy-dark);
  line-height: 1.5;
  font-style: italic;
}

.hero-details-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--c-navy-dark);
  background: #ffffff;
  border: 1px solid rgba(74, 150, 183, 0.25);
  padding: 0.55rem 1.15rem;
  border-radius: var(--r-full);
  box-shadow: 0 4px 12px rgba(8, 56, 76, 0.04);
}

.hero-detail-chip i {
  color: var(--c-blue-primary);
}

.hero-cta-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.4rem;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--c-blue-primary) 0%, var(--c-blue-hover) 100%);
  color: var(--c-white);
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: var(--shadow-blue-glow);
  transition: all 0.3s var(--ease-spring);
}

.btn-hero-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 35px rgba(74, 150, 183, 0.48);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.2rem;
  border-radius: var(--r-full);
  background: #ffffff;
  border: 1px solid rgba(74, 150, 183, 0.35);
  color: var(--c-navy-dark);
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(8, 56, 76, 0.04);
  transition: all 0.3s var(--ease-spring);
}

.btn-hero-secondary:hover {
  background: #f0f7fb;
  border-color: var(--c-blue-primary);
  color: var(--c-blue-primary);
  transform: translateY(-3px);
}

/* Hero Right: Light Blue 3D-Tilt Brand Display Card */
.hero-right {
  display: flex;
  justify-content: center;
}

.hero-display-card {
  background: #ffffff;
  border: 1px solid rgba(74, 150, 183, 0.28);
  border-radius: var(--r-lg);
  padding: 2.5rem 2.2rem;
  box-shadow: 0 20px 45px -8px rgba(8, 56, 76, 0.12), 0 0 25px rgba(74, 150, 183, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 440px;
}

.hero-display-card::after {
  content: '';
  position: absolute;
  top: -1px; left: 15%; right: 15%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--c-blue-primary), transparent);
}

.logo-showcase-box {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--r-md);
  margin-bottom: 1.8rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-spring);
}

.hero-display-card:hover .logo-showcase-box {
  transform: scale(1.03);
}

.logo-showcase-box img {
  max-width: 270px;
  width: 100%;
  height: auto;
}

/* Live Countdown Component */
.countdown-strip {
  width: 100%;
  margin-top: 0.5rem;
}

.countdown-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--c-text-muted);
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.timer-slot {
  background: #f1f8fc;
  border: 1px solid rgba(74, 150, 183, 0.25);
  border-radius: var(--r-sm);
  padding: 0.75rem 0.4rem;
  text-align: center;
}

.timer-val {
  font-family: var(--f-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--c-navy-dark);
  line-height: 1;
  display: block;
}

.timer-unit {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--c-blue-primary);
  margin-top: 0.3rem;
  display: block;
  font-weight: 700;
}

/* ==========================================================================
   Infinite Marquee Banner (Light Sky Blue Band)
   ========================================================================== */
.marquee-band {
  background: #e2edf3;
  border-top: 1px solid #c9dfea;
  border-bottom: 1px solid #c9dfea;
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marqueeRun 28s linear infinite;
  font-family: var(--f-mono);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--c-navy-muted);
}

.marquee-content span {
  margin: 0 1.5rem;
  color: var(--c-blue-primary);
}

@keyframes marqueeRun {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Key Metrics Bar
   ========================================================================== */
.metrics-row {
  background: #ffffff;
  padding: 3rem 0;
  border-bottom: 1px solid var(--c-border-subtle);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.metric-card {
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s var(--ease-spring);
}

.metric-card:hover {
  transform: translateY(-4px);
}

.metric-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--c-border-subtle);
}

.metric-number {
  font-family: var(--f-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--c-blue-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.metric-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-navy-dark);
}

/* ==========================================================================
   Scientific Pillars (Architectural Card Grid)
   ========================================================================== */
.section-wrapper {
  padding: 6.5rem 0;
}

.section-wrapper.surface-alt {
  background: #eef5f8;
}

.section-lead {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem;
}

.lead-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid rgba(74, 150, 183, 0.3);
  color: var(--c-blue-primary);
  padding: 0.4rem 1.1rem;
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(74, 150, 183, 0.08);
}

.lead-chip.gold {
  background: #ffffff;
  border-color: rgba(8, 56, 76, 0.3);
  color: var(--c-navy-dark);
}

.section-heading {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--c-navy-dark);
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--c-text-muted);
  line-height: 1.7;
}

.pillars-architecture {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.pillar-arch-card {
  background: #ffffff;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border-subtle);
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s var(--ease-spring);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.pillar-arch-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--c-blue-primary);
}

.arch-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
}

.arch-index {
  font-family: var(--f-mono);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--c-blue-primary);
}

.arch-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: #eef6fa;
  color: var(--c-blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.3s var(--ease-spring);
}

.pillar-arch-card:hover .arch-icon {
  background: var(--c-blue-primary);
  color: #ffffff;
  transform: rotate(5deg) scale(1.08);
}

.pillar-arch-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  color: var(--c-navy-dark);
}

.pillar-arch-card p {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   2027 Vision Manifesto & Pre-Registration Call
   (Deep Marine Contrast Box inspired by '2027' in the logo)
   ========================================================================== */
.manifesto-box {
  background: linear-gradient(135deg, #08384C 0%, #0F4A63 100%);
  color: #ffffff;
  border-radius: var(--r-lg);
  padding: 4rem;
  border: 1px solid rgba(163, 205, 224, 0.3);
  box-shadow: 0 25px 60px rgba(8, 56, 76, 0.25);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3.5rem;
  align-items: center;
}

.manifesto-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.manifesto-body {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #dbeaf2;
  margin-bottom: 2rem;
}

.manifesto-points {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.manifesto-point-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  color: #ffffff;
}

.manifesto-point-item i {
  color: var(--c-blue-sky);
}

.manifesto-action-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-md);
  padding: 2.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.action-card-badge {
  background: #ffffff;
  color: var(--c-navy-dark);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-full);
  display: inline-block;
  margin-bottom: 1.25rem;
}

.action-card-h4 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.action-card-p {
  font-size: 0.92rem;
  color: #b8d4e2;
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

/* ==========================================================================
   About Section & Slideshow
   ========================================================================== */
.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4.5rem;
  align-items: center;
}

.about-narrative h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: var(--c-navy-dark);
}

.about-narrative p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--c-text-body);
  margin-bottom: 1.5rem;
}

.quote-highlight {
  background: #ffffff;
  border-left: 4px solid var(--c-blue-primary);
  padding: 1.4rem 1.8rem;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 1.75rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-navy-dark);
  box-shadow: 0 4px 15px rgba(8, 56, 76, 0.04);
}

.slideshow-frame {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--c-border-subtle);
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
  animation: fadeIn 0.8s ease-in-out;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.25rem;
}

.dot {
  height: 10px;
  width: 10px;
  background-color: var(--c-border-subtle);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active, .dot:hover {
  background-color: var(--c-blue-primary);
  width: 28px;
}

/* ==========================================================================
   2027 Program Roadmap Banner
   ========================================================================== */
.roadmap-card {
  background: #ffffff;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border-subtle);
  padding: 3.5rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.roadmap-icon-orb {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: #eef6fa;
  color: var(--c-blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 25px rgba(74, 150, 183, 0.2);
}

/* ==========================================================================
   EMISC 2026 IN RETROSPECT (Archive Section)
   ========================================================================== */
.retrospect-section {
  background: #ffffff;
  border-top: 1px solid var(--c-border-subtle);
  padding: 7rem 0;
}

/* Brief Keynote Spotlight */
.keynote-spotlight-card {
  background: #eef5f8;
  border-radius: var(--r-lg);
  padding: 2.2rem 2.8rem;
  border: 1px solid var(--c-border-subtle);
  border-left: 5px solid var(--c-blue-primary);
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 4rem;
  box-shadow: var(--shadow-card);
}

.keynote-spotlight-avatar {
  width: 135px;
  height: 135px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 2px solid var(--c-blue-primary);
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(8, 56, 76, 0.12);
}

.keynote-spotlight-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.keynote-spotlight-info {
  flex: 1;
}

.keynote-chip {
  background: #ffffff;
  color: var(--c-navy-dark);
  border: 1px solid rgba(74, 150, 183, 0.3);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-full);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.keynote-name {
  font-size: 1.85rem;
  color: var(--c-navy-dark);
  margin-bottom: 0.25rem;
}

.keynote-title {
  color: var(--c-blue-primary);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.keynote-brief {
  color: var(--c-text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* 2026 Historical Poster Card */
.retrospect-poster-card {
  background: #f8fafc;
  border: 1px solid var(--c-border-subtle);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

.retrospect-poster-img {
  width: 100%;
  border-radius: var(--r-md);
  box-shadow: 0 10px 25px rgba(8, 56, 76, 0.12);
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.retrospect-poster-img:hover {
  transform: scale(1.03);
}

.retrospect-poster-text h4 {
  font-size: 1.6rem;
  color: var(--c-navy-dark);
  margin-bottom: 0.75rem;
}

.retrospect-poster-text p {
  color: var(--c-text-body);
  line-height: 1.7;
  margin-bottom: 0.85rem;
  font-size: 1.02rem;
}

/* Panelists Grid */
.panelists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 4.5rem;
}

.panelist-card {
  background: #ffffff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--c-border-subtle);
  text-align: center;
  transition: all 0.3s var(--ease-spring);
}

.panelist-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--c-blue-primary);
}

.panelist-img {
  height: 240px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-bottom: 1px solid var(--c-border-subtle);
}

.panelist-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.panelist-info {
  padding: 1.4rem;
}

.panelist-info h3 {
  font-size: 1.2rem;
  color: var(--c-blue-primary);
  margin-bottom: 0.3rem;
}

.panelist-info .role {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--c-navy-dark);
}

.panelist-info .institution {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin-top: 0.4rem;
}

.panelist-bio {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin-top: 1rem;
  line-height: 1.55;
  text-align: left;
  border-top: 1px solid var(--c-border-subtle);
  padding-top: 0.8rem;
}

/* Schedule Accordion & Items */
.schedule-container {
  max-width: 900px;
  margin: 0 auto 4.5rem;
}

.schedule-day {
  margin-bottom: 2.8rem;
}

.day-title {
  font-size: 1.5rem;
  color: var(--c-navy-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.4rem;
  border-bottom: 3px solid var(--c-blue-primary);
  display: inline-block;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.schedule-item {
  background: #ffffff;
  border-left: 5px solid var(--c-blue-primary);
  padding: 1.5rem 1.8rem;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--c-border-subtle);
  border-left-width: 5px;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.schedule-item .time {
  font-weight: 700;
  color: var(--c-blue-primary);
  min-width: 120px;
  font-size: 1rem;
}

.schedule-item .details h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--c-navy-dark);
}

.schedule-item .speaker {
  font-style: italic;
  color: var(--c-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.schedule-item .location {
  font-size: 0.9rem;
  color: var(--c-blue-primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.schedule-item .description {
  font-size: 0.95rem;
  color: var(--c-text-body);
  line-height: 1.6;
}

/* Speaker Avatars Bubble */
.speaker-avatars {
  display: flex;
  margin: 10px 0;
  flex-wrap: wrap;
  padding-left: 10px;
}

.avatar-bubble {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(8,56,76,0.15);
  transition: transform 0.2s ease, z-index 0.2s ease;
  margin-left: -15px;
  background-color: #eee;
}

.avatar-bubble:hover {
  transform: scale(1.15) translateY(-4px);
  z-index: 10;
}

.avatar-bubble img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Lightbox Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #eee;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(8, 56, 76, 0.92));
  color: #fff;
  padding: 1.25rem 0.9rem 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ==========================================================================
   Partners & Sponsors (Light Blue Surface)
   ========================================================================== */
.partners-section {
  background: #eaf2f7;
  border-top: 1px solid #d2e4ee;
  color: var(--c-navy-dark);
  padding: 6.5rem 0;
}

.partners-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  margin: 3.5rem 0 4.5rem;
}

.partner-box {
  background: #ffffff;
  padding: 1.2rem 2rem;
  border-radius: var(--r-md);
  box-shadow: 0 6px 20px rgba(8, 56, 76, 0.08);
  border: 1px solid #d8e7ee;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 90px;
  transition: all 0.3s var(--ease-spring);
}

.partner-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--c-blue-primary);
}

.partner-box img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

.partner-box.featured {
  border: 2px solid var(--c-blue-primary);
}

/* Partner CTA Card */
.partner-contact-card {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(74, 150, 183, 0.35);
  border-radius: var(--r-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.partner-contact-card h3 {
  font-size: 2rem;
  color: var(--c-navy-dark);
  margin-bottom: 0.75rem;
}

.partner-email-link {
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--c-blue-primary);
  margin: 0.75rem 0 1rem;
  transition: color 0.3s ease;
}

.partner-email-link:hover {
  color: var(--c-navy-dark);
}

.partner-phone-text {
  font-size: 1.15rem;
  color: var(--c-navy-muted);
  font-weight: 600;
}

/* ==========================================================================
   Footer (Deep Marine Contrast)
   ========================================================================== */
.footer-wrap {
  background: #052735;
  color: #ffffff;
  padding: 5rem 0 0;
}

.footer-content-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.6fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--c-blue-soft);
}

.footer-tagline-text {
  font-size: 0.95rem;
  color: #bcd4e0;
  margin: 1.2rem 0 1.5rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-contact-item {
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #d8ebf3;
}

.footer-contact-item i {
  color: var(--c-blue-sky);
  width: 18px;
}

.newsletter-pill {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--r-full);
  overflow: hidden;
  padding: 4px;
  transition: all 0.3s ease;
}

.newsletter-pill:focus-within {
  border-color: var(--c-blue-sky);
  box-shadow: 0 0 0 3px rgba(74, 150, 183, 0.3);
}

.newsletter-pill input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.75rem 1.25rem;
  color: #ffffff;
  font-family: var(--f-body);
  outline: none;
  font-size: 0.95rem;
}

.newsletter-pill input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-submit {
  background: linear-gradient(135deg, var(--c-blue-soft) 0%, var(--c-blue-primary) 100%);
  border: none;
  color: #ffffff;
  font-weight: 800;
  padding: 0 1.5rem;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.newsletter-submit:hover {
  transform: scale(1.05);
}

.social-pill-row {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.social-pill {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s var(--ease-spring);
}

.social-pill:hover {
  transform: translateY(-3px);
  background: var(--c-blue-primary);
  color: #ffffff;
  border-color: var(--c-blue-primary);
  box-shadow: 0 6px 20px rgba(74, 150, 183, 0.4);
}

.copyright-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.8rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #8bb1c4;
}

/* ==========================================================================
   Modals & Lightbox
   ========================================================================== */
.custom-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(8, 56, 76, 0.75);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.modal-content {
  background: #ffffff;
  padding: 35px;
  border-radius: var(--r-lg);
  max-width: 520px;
  width: 90%;
  position: relative;
  box-shadow: 0 25px 60px rgba(8, 56, 76, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close-btn {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: var(--c-text-muted);
  transition: color 0.2s ease;
  line-height: 1;
}

.close-btn:hover { color: var(--c-blue-primary); }

.lightbox .lightbox-content {
  background: transparent;
  box-shadow: none;
  max-width: 90vw;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-height: 80vh;
  max-width: 100%;
  border-radius: var(--r-md);
  box-shadow: 0 10px 50px rgba(8, 56, 76, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.9);
}

.lightbox-caption {
  color: #ffffff;
  margin-top: 18px;
  font-size: 1.4rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(8, 56, 76, 0.7);
}

.lightbox .close-btn {
  color: #ffffff;
  position: fixed;
  top: 24px; right: 32px;
  font-size: 44px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; text-align: center; }
  .hero-left { align-items: center; }
  .hero-theme-card { text-align: left; }
  .hero-details-row { justify-content: center; }
  .hero-cta-group { justify-content: center; }
  .pillars-architecture { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-card:nth-child(2)::after { display: none; }
  .manifesto-box { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-layout { grid-template-columns: 1fr; gap: 3rem; }
  .retrospect-poster-card { grid-template-columns: 1fr; text-align: center; }
  .retrospect-poster-img { max-width: 280px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .site-nav-wrapper { padding: 0 0.85rem; top: 10px; }
  .nav-island { border-radius: var(--r-md); padding: 0.6rem 1.1rem; }
  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 15px;
    right: 15px;
    background: #ffffff;
    flex-direction: column;
    padding: 1.8rem;
    border-radius: var(--r-md);
    box-shadow: 0 15px 40px rgba(8, 56, 76, 0.15);
    border: 1px solid rgba(74, 150, 183, 0.25);
    gap: 1.25rem;
  }
  .nav-menu.active { display: flex; }
  .mobile-toggle { display: block; }
  .hero-main-title { font-size: 2.5rem; }
  .hero-theme-quote { font-size: 1.1rem; }
  .pillars-architecture { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric-card::after { display: none !important; }
  .keynote-spotlight-card { flex-direction: column; text-align: center; padding: 2rem; }
  .manifesto-box { padding: 2.2rem 1.8rem; }
  .footer-content-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-col h3::after { left: 50%; transform: translateX(-50%); }
  .footer-contact-item { justify-content: center; }
  .social-pill-row { justify-content: center; }
}
