/* ==========================================================================
   I Всеукраїнський студентський хірургічний форум (USSF 2026)
   Brand Identity: Graphic Designer Myroniuk Brandbook & Logobook
   Typography: Russo One (Headings) & Pragmatica (Body & Subtitles)
   Color Palette:
     MAIN:                 Ink Black (#00081b)
     SUBTITLES / ACCENT 1: Pacific Cyan (#1b9aaa)
     SUBTITLES / ACCENT 2: Rich Mahogany (#330202 / #380404)
     CONTRAST:             White (#ffffff) & Slate Gray (#94a3b8)
   ========================================================================== */

@font-face {
  font-family: 'Russo One';
  src: url('fonts/RussoOne.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Body and UI typography loaded via Google Fonts (Inter & Manrope) with 100% Ukrainian Cyrillic coverage */

:root {
  /* Designer Brandbook Palette */
  --brand-main: #00081b;          /* Ink Black (firm color) */
  --brand-cyan: #1b9aaa;          /* Pacific Cyan (primary accent / subtitles) */
  --brand-cyan-light: #26b6c7;
  --brand-cyan-glow: rgba(27, 154, 170, 0.45);
  --brand-mahogany: #330202;      /* Rich Mahogany */
  --brand-mahogany-accent: #380404;
  --brand-cherry: #510404;        /* Black Cherry */
  --brand-evergreen: #052e2b;     /* Evergreen */

  --brand-white: #ffffff;
  --brand-gray: #94a3b8;          /* Slate Gray */
  --brand-dark-card: #030d24;     /* Dark Navy Cards */
  --brand-dark-card-border: rgba(27, 154, 170, 0.25);
  --brand-card-hover-border: rgba(27, 154, 170, 0.65);

  /* Backwards-compatible mappings for existing components */
  --nmu-blue: #1b9aaa;
  --nmu-blue-light: #26b6c7;
  --nmu-blue-dark: #00081b;
  --nmu-navy: #00081b;
  --nmu-navy-deep: #00081b;

  --nmu-gold: #1b9aaa;
  --nmu-gold-light: #26b6c7;
  --nmu-gold-dark: #147481;
  --nmu-gold-soft: rgba(27, 154, 170, 0.15);

  --burgundy: #330202;
  --burgundy-light: #510404;
  --clinical-green: #052e2b;

  --white: #ffffff;
  --cream: #00081b;
  --cream-warm: #020a1c;
  --cream-dark: rgba(27, 154, 170, 0.2);
  --bg-dark: #00081b;
  --card-dark: #030d24;
  --card-dark-border: rgba(27, 154, 170, 0.22);

  --text-dark: #ffffff;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-light: #ffffff;
  --text-dim: rgba(248, 250, 252, 0.75);

  /* Designer Typography Architecture */
  --font-serif: 'Russo One', sans-serif;
  --font-headings: 'Russo One', sans-serif;
  --font-sans: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --transition-fast: 0.35s ease;
  --transition-mid: 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 1.8s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 4px 15px rgba(0, 8, 27, 0.6);
  --shadow-md: 0 10px 30px rgba(0, 8, 27, 0.8);
  --shadow-lg: 0 20px 50px rgba(0, 8, 27, 0.9);
  --shadow-cyan: 0 10px 35px rgba(27, 154, 170, 0.35);
  --shadow-blue: 0 10px 35px rgba(27, 154, 170, 0.35);
}

/* ============ RESET & BASE (ZERO HORIZONTAL OVERFLOW) ============ */
*, *::before, *::after {

  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

img, svg, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ============ LANGUAGE TOGGLE ============ */
.lang-ua .en {
  display: none !important;
}

.lang-en .ua {
  display: none !important;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, .serif-font {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  overflow-wrap: break-word;
  word-break: break-word;
}

p {
  font-size: 1rem;
  color: var(--text-body);
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* ============ CONTAINER & UTILITIES ============ */
.section-inner {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--nmu-blue);
}

.section-label.center {
  justify-content: center;
}

.section-label.center::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--nmu-blue);
}

.section-label.light {
  color: var(--white);
}

.section-label.light::before,
.section-label.light::after {
  background: var(--nmu-gold);
}

.section-title {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--nmu-navy);
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.section-title.light {
  color: var(--white);
}

.divider {
  width: 64px;
  height: 3px;
  background: linear-gradient(to right, var(--nmu-blue), var(--nmu-gold));
  margin-bottom: 2.8rem;
  border-radius: 2px;
}

.divider.center {
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(to right, transparent, var(--nmu-blue), transparent);
}

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.4rem;
  background: var(--brand-cyan);
  color: var(--brand-main);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 18px rgba(27, 154, 170, 0.4);
}

.btn-primary:hover {
  background: var(--brand-cyan-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 154, 170, 0.6);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2.2rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  border-color: var(--brand-cyan);
  background: rgba(27, 154, 170, 0.15);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1.5px solid rgba(27, 154, 170, 0.35);
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-outline-dark:hover {
  background: var(--brand-cyan);
  color: var(--brand-main);
  border-color: var(--brand-cyan);
}

/* White Pill CTA Buttons (Designer Logobook Page 7) */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 1.3vw, 1.4rem);
  padding: clamp(0.85rem, 1.25vh, 1.15rem) clamp(1.9rem, 2.6vw, 2.8rem);
  border-radius: 9999px;
  font-family: var(--font-headings);
  font-size: clamp(1rem, 1.28vw, 1.22rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid #ffffff;
  background: #ffffff;
  color: #00081b;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.55), 0 0 20px rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}

.btn-pill:hover {
  background: #ffffff;
  color: #00081b;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 35px rgba(27, 154, 170, 0.6), 0 0 25px rgba(255, 255, 255, 0.85);
}

.btn-pill-secondary {
  background: #ffffff;
  color: #00081b;
  border: 2px solid #ffffff;
}

.btn-pill-secondary:hover {
  background: #ffffff;
  color: #00081b;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 35px rgba(27, 154, 170, 0.6), 0 0 25px rgba(255, 255, 255, 0.85);
}

.btn-arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(34px, 2.4vw, 40px);
  height: clamp(34px, 2.4vw, 40px);
  border-radius: 50%;
  background: #00081b;
  color: #ffffff;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.btn-arrow-icon svg {
  width: clamp(15px, 1.2vw, 18px);
  height: clamp(15px, 1.2vw, 18px);
  stroke: currentColor;
}

.btn-pill:hover .btn-arrow-icon,
.btn-pill-secondary:hover .btn-arrow-icon {
  transform: translateX(4px);
  background: var(--brand-cyan);
  color: #ffffff;
}

/* ============ BRAND HEADER NAVIGATION (WHITE THEME) ============ */
nav#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  z-index: 1000;
  padding: 0.75rem clamp(1rem, 2.5vw, 2.5rem) 0.75rem clamp(0.75rem, 1.6vw, 1.6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff; /* White navbar */
  border-bottom: 1px solid rgba(0, 8, 27, 0.08);
  box-shadow: 0 4px 20px rgba(0, 8, 27, 0.06);
  transition: all 0.3s ease;
}

nav#mainNav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.6rem clamp(1rem, 2.5vw, 2.5rem) 0.6rem clamp(0.75rem, 1.6vw, 1.6rem);
  border-bottom: 1px solid rgba(27, 154, 170, 0.3);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.nav-brand {
  display: flex;
  flex-direction: row; /* Horizontal */
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
  flex: 0 1 auto;
  margin-left: 0;
}

.nav-brand-logo {
  height: clamp(38px, 4.4vh, 46px);
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.nav-brand:hover .nav-brand-logo {
  transform: scale(1.02);
}

.nav-brand-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-width: 0;
}

.nav-brand-title {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 0.92vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #00081b; /* Dark navy text on white header */
  line-height: 1.15;
  text-transform: uppercase;
  white-space: normal;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: clamp(1rem, 1.8vw, 2.2rem);
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 800; /* Bold text for section buttons */
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000000 !important; /* Solid black section buttons */
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #000000;
  transform: scaleX(0);
  transition: transform var(--transition-fast);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-cyan) !important;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  background: var(--brand-cyan);
  box-shadow: 0 0 8px var(--brand-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

/* Language Toggle Button */
.lang-btn {
  background: transparent;
  border: 1.5px solid var(--brand-cyan);
  color: var(--brand-cyan);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.lang-btn:hover {
  background: var(--brand-cyan);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(27, 154, 170, 0.45);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--brand-cyan);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ============ MOBILE MENU OVERLAY ============ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 8, 27, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mobile-menu a:hover {
  color: var(--brand-cyan);
}

.mobile-menu-close {
  position: absolute;
  top: 1.8rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
}

/* ============ HERO SECTION (Designer Logobook Page 7) ============ */
/* ============ HERO SECTION (Designer Logobook Page 7) ============ */
#hero {
  height: 100vh;
  max-height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--brand-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-top: clamp(94px, 12vh, 120px);
  padding-bottom: clamp(1rem, 3vh, 2.5rem);
  box-sizing: border-box;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  background-image: url('images/Myroniuk/back1_dark.jpeg');
  background-size: cover;
  background-position: center;
  transform: scaleX(-1);
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  display: none; /* No darkening overlay */
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  position: relative;
  z-index: 3;
  padding: 0;
  box-sizing: border-box;
}

.hero-title-wrap {
  width: 100%;
  text-align: center;
  z-index: 10; /* Layer for title */
  margin-bottom: 0;
  position: relative;
  flex: 0 0 auto;
}

.hero-title {
  font-family: var(--font-headings);
  font-size: clamp(1.26rem, 2.95vw, 3.25rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0.01em;
  color: var(--brand-cyan);
  margin: 0 auto;
  max-width: 100vw;
  text-shadow: 0 0 40px rgba(27, 154, 170, 0.45);
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-mobile-br {
  display: none;
}

/* Hero Centerpiece Area: full-bleed width so right edge touches viewport right edge */
.hero-centerpiece-area {
  position: relative;
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

/* 3D Artwork: hand & needle holder emerging directly from right screen edge, NO OVERLAP on title */
.hero-3d-art {
  position: absolute;
  right: 0; /* Adheres flush to right edge of screen so hand emerges directly from right */
  top: 100%;
  transform: none;
  width: min(76vw, calc((100vh - clamp(150px, 20vh, 200px)) * 2.1686));
  max-width: 76vw;
  height: auto;
  max-height: calc(100vh - clamp(150px, 20vh, 200px));
  object-fit: contain;
  object-position: right top;
  pointer-events: none;
  z-index: 4; /* Below the title text (z-index 10) so title is 100% unobstructed */
  filter: brightness(50%);
}

/* Soft Pure White Backlight Glow for the USSF Logo */
.hero-logo-backlight {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(280px, 42vw, 680px);
  height: clamp(140px, 22vh, 320px);
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.12) 45%, transparent 75%);
  filter: blur(45px);
  z-index: 9;
  pointer-events: none;
}

/* Large White USSF Logo Layered Directly Over Hero with Luminous White Backlight */
.hero-white-ussf-logo {
  position: relative;
  z-index: 10; /* Above backlight and 3D art */
  width: auto;
  max-width: clamp(231px, 40vw, 567px);
  height: auto;
  max-height: clamp(84px, 30vh, 220px);
  object-fit: contain;
  display: block;
  margin: 0 auto;
  pointer-events: none;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 35px rgba(255, 255, 255, 0.5));
  animation: heroLogoAppear 1.6s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-ctas {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-left: clamp(1.5rem, 5.5vw, 5.5rem);
  padding-right: clamp(1.5rem, 5.5vw, 5.5rem);
  z-index: 15;
  margin-top: auto;
  box-sizing: border-box;
  flex: 0 0 auto;
}

@keyframes heroLogoAppear {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(16px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 35px rgba(255, 255, 255, 0.5));
  }
}

/* ============ ABOUT SECTION (Designer Logobook Page 8) ============ */
#about {
  padding: 7.5rem 0 5.5rem;
  background: var(--brand-main);
  position: relative;
  overflow: hidden;
}

.about-needle-bg {
  position: absolute;
  top: 48%;
  left: 40%;
  transform: translate(-50%, -50%) rotate(15deg) scaleX(-1);
  width: 115%;
  max-width: 1350px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 0 35px rgba(27, 154, 170, 0.4));
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-left {
  position: sticky;
  top: 6.5rem;
  display: flex;
  justify-content: center;
}

.about-emblem-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 380px;
}

.about-emblem-svg {
  width: 100%;
  height: auto;
}

.about-text .section-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 0.85rem;
  display: inline-block;
}

.about-text .section-label::before,
.about-text .section-label::after {
  display: none;
}

.about-text .section-title {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 400;
  color: var(--brand-white);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.about-text .divider {
  width: 60px;
  height: 3px;
  background: var(--brand-cyan);
  margin-bottom: 2rem;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(27, 154, 170, 0.5);
}

.about-text p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.85;
  color: #cbd5e1;
  margin-bottom: 1.4rem;
}

.about-text strong {
  color: #ffffff;
  font-weight: 700;
}

/* ============ MERGED ORGANIZERS & COMMITTEE SECTION (Pages 9-10) ============ */
#organizers {
  padding: 7.5rem 0;
  background-color: #eef2f5;
  background-image: url('images/Myroniuk/back_cells.jpeg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
  color: var(--brand-main);
}

.organizers-bg-canvas {
  display: none;
}

#organizers .section-label {
  color: var(--brand-cyan);
}

#organizers .section-label::before,
#organizers .section-label::after {
  background: var(--brand-cyan);
}

#organizers .section-title {
  color: var(--brand-main);
  text-shadow: none;
}

#organizers .divider.center {
  background: linear-gradient(to right, transparent, var(--brand-cyan), transparent);
}

#organizers .section-inner {
  position: relative;
  z-index: 2;
}

.organizers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 3.5rem;
}

.organizer-card {
  background: var(--brand-dark-card);
  border: 1px solid var(--brand-dark-card-border);
  padding: 2.6rem 2rem;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 8, 27, 0.7);
  position: relative;
  overflow: hidden;
}

.organizer-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-cyan);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.organizer-card:hover {
  background: #051433;
  border-color: var(--brand-card-hover-border);
  box-shadow: 0 15px 40px rgba(0, 8, 27, 0.9), 0 0 25px rgba(27, 154, 170, 0.25);
}

.organizer-card:hover::before {
  transform: scaleX(1);
}

.organizer-logo-box {
  width: 140px;
  height: 96px;
  margin: 0 auto 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(27, 154, 170, 0.25);
  border-radius: 8px;
  padding: 0.9rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.organizer-logo-box img,
.organizer-logo-box svg {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.organizer-card h3 {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--brand-white);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.organizer-card p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--brand-gray);
  line-height: 1.6;
}

/* Committee Sub-block inside Organizers */
.organizers-committee-block {
  margin-top: 4.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(27, 154, 170, 0.35);
}

.organizers-subheading {
  text-align: center;
  margin-bottom: 2.8rem;
}

.organizers-subheading h3 {
  font-family: var(--font-headings);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 400;
  color: var(--brand-main);
  text-shadow: none;
}

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

@media (min-width: 900px) {
  .leader-card:nth-child(11) {
    grid-column: 1 / -1;
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }
}

.leader-card {
  background: var(--brand-dark-card);
  border: 1px solid var(--brand-dark-card-border);
  padding: 2.2rem;
  border-radius: 12px;
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(0, 8, 27, 0.7);
}

.leader-card:hover {
  background: #051433;
  border-color: var(--brand-card-hover-border);
  box-shadow: 0 15px 40px rgba(0, 8, 27, 0.9), 0 0 25px rgba(27, 154, 170, 0.25);
}

.leader-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #00081b;
  color: var(--brand-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-headings);
  font-size: 1.45rem;
  font-weight: 400;
  border: 2px solid var(--brand-cyan);
  box-shadow: 0 0 18px rgba(27, 154, 170, 0.35);
}

.leader-role-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  background: rgba(27, 154, 170, 0.12);
  border: 1px solid rgba(27, 154, 170, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.leader-info h3 {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--brand-white);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.leader-bio {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--brand-gray);
  line-height: 1.65;
}

.committee-note {
  margin-top: 2.8rem;
  text-align: center;
  padding: 1.6rem;
  background: rgba(3, 13, 36, 0.6);
  border: 1px dashed rgba(27, 154, 170, 0.3);
  border-radius: 8px;
}

.committee-note p {
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 500;
  color: #cbd5e1;
}

/* ============ PARTICIPATION FORMATS ============ */
#formats {
  padding: 6.5rem 0;
  background: var(--cream-warm);
}

#formats .section-label {
  color: var(--brand-cyan);
}

#formats .section-title {
  color: var(--brand-white);
}

#formats .divider.center {
  background: linear-gradient(to right, transparent, var(--brand-cyan), transparent);
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.2rem;
  align-items: stretch;
}

.formats-grid > a,
.format-card-link {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.format-card {
  background: var(--brand-dark-card);
  border: 1px solid var(--brand-dark-card-border);
  padding: 2.8rem 2rem;
  text-align: center;
  border-radius: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 100%;
  flex: 1 1 auto;
  box-sizing: border-box;
  transition: all var(--transition-mid);
  box-shadow: 0 10px 30px rgba(0, 8, 27, 0.7);
}

.format-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-cyan);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
  border-radius: 0 0 12px 12px;
}

.format-card:hover {
  background: #051433;
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 8, 27, 0.9), 0 0 25px rgba(27, 154, 170, 0.25);
  border-color: var(--brand-card-hover-border);
}

.format-card:hover::after {
  transform: scaleX(1);
}

.format-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(27, 154, 170, 0.12);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
  transition: all var(--transition-mid);
  border: 1px solid rgba(27, 154, 170, 0.3);
}

.format-card:hover .format-icon {
  background: var(--brand-cyan);
  color: var(--brand-main);
  transform: scale(1.06);
  box-shadow: 0 0 20px rgba(27, 154, 170, 0.4);
}

.format-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.format-card h3 {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--brand-white);
  margin-bottom: 0.8rem;
  line-height: 1.3;
  min-height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.format-card p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--brand-gray);
  line-height: 1.6;
  margin-bottom: 1.6rem;
  flex-grow: 1;
  display: flex;
  align-items: center;
  text-align: center;
}

.format-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  background: rgba(27, 154, 170, 0.12);
  border: 1px solid rgba(27, 154, 170, 0.3);
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  margin-top: auto;
  min-height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
}

/* ============ SCIENTIFIC PROGRAM ============ */
#program {
  padding: 7rem 0;
  background: #f8fafc;
}

#program .section-label {
  color: var(--brand-cyan);
}

#program .section-title {
  color: var(--brand-main);
}

#program .divider {
  background: linear-gradient(to right, var(--brand-cyan), rgba(27, 154, 170, 0.2));
}

.program-header {
  margin-bottom: 2.8rem;
}

/* ============ 1. BUILDING & FLOOR PLAN ============ */
.building-plan-block {
  background: var(--brand-dark-card);
  border: 1px solid var(--brand-dark-card-border);
  border-radius: 12px;
  padding: 2.4rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 10px 30px rgba(0, 8, 27, 0.7);
  position: relative;
  overflow: hidden;
}

.building-plan-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-cyan);
}

.building-plan-header {
  margin-bottom: 2rem;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(27, 154, 170, 0.12);
  border: 1px solid rgba(27, 154, 170, 0.3);
  color: var(--brand-cyan);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.plan-title {
  font-family: var(--font-headings);
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 400;
  color: var(--brand-white);
  margin-bottom: 0.4rem;
}

.plan-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--brand-gray);
  max-width: 760px;
}

.building-floors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.2rem;
}

.floor-card {
  background: rgba(0, 8, 27, 0.7);
  border: 1px solid rgba(27, 154, 170, 0.22);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.floor-card:hover {
  border-color: var(--brand-cyan);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 8, 27, 0.8), 0 0 15px rgba(27, 154, 170, 0.2);
}

.floor-card-gold {
  background: linear-gradient(135deg, #030d24 0%, #08193f 100%);
  border-color: var(--brand-cyan);
  color: var(--white);
}

.floor-card-gold:hover {
  border-color: var(--brand-cyan-light);
  box-shadow: 0 10px 25px rgba(27, 154, 170, 0.3);
}

.floor-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-headings);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  background: var(--brand-cyan);
  color: var(--brand-main);
  margin-bottom: 1.2rem;
}

.floor-badge.gold {
  background: var(--nmu-gold);
  color: var(--nmu-navy-deep);
}

.floor-rooms-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.floor-room-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed var(--cream-dark);
}

.floor-room-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.floor-card-gold .floor-room-item {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.room-pin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--nmu-blue);
  color: var(--white);
  font-family: var(--font-headings);
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(29, 66, 138, 0.25);
}

.room-pin.neutral {
  background: #64748B;
  font-size: 0.65rem;
}

.room-pin.gold {
  background: var(--nmu-gold);
  color: var(--nmu-navy-deep);
  font-size: 0.9rem;
}

.room-details strong {
  display: block;
  font-family: var(--font-headings);
  font-size: 0.94rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.2rem;
  line-height: 1.25;
}

.floor-card-gold .room-details strong {
  color: var(--white);
}

.room-details p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0;
}

.floor-card-gold .room-details p {
  color: rgba(248, 250, 252, 0.78);
}

/* Blueprint Diagram Box */
.blueprint-diagram-box {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  padding: 1.4rem;
  overflow: hidden;
}

.blueprint-legend {
  display: flex;
  gap: 1.8rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-body);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot.blue { background: var(--nmu-blue); }
.legend-dot.gold { background: var(--nmu-gold); }
.legend-dot.gray { background: #94A3B8; }

.blueprint-svg-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.blueprint-svg {
  width: 100%;
  min-width: 680px;
  height: auto;
  display: block;
}

/* ============ 2. EMBEDDED PDF VIEWER ============ */
.program-pdf-viewer {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(15, 27, 51, 0.08);
  margin-bottom: 3.8rem;
  overflow: hidden;
  position: relative;
}

.program-pdf-viewer::before {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1.5px solid var(--nmu-gold);
  opacity: 0.45;
  pointer-events: none;
  border-radius: 8px;
}

.pdf-viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.6rem;
  background: #F8FAFC;
  border-bottom: 1px solid var(--cream-dark);
  flex-wrap: wrap;
  gap: 1rem;
}

.pdf-toolbar-info {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.pdf-toolbar-info svg {
  color: var(--nmu-blue);
  flex-shrink: 0;
}

.pdf-toolbar-info strong {
  display: block;
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--nmu-navy);
  line-height: 1.2;
}

.pdf-badge {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nmu-blue);
  background: rgba(29, 66, 138, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  margin-top: 0.2rem;
}

.pdf-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.pdf-action-btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.78rem;
  border-radius: 4px;
}

.pdf-iframe-container {
  width: 100%;
  height: 700px;
  background: #525659;
}

.pdf-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.pdf-mobile-fallback {
  display: none;
  padding: 1.5rem;
  background: var(--white);
  border-top: 1px solid var(--cream-dark);
  text-align: center;
}

.pdf-mobile-fallback p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pdf-mobile-btns {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ 3. PROGRAM DAYS NAVIGATION (2 BUTTONS) ============ */
.program-days-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  max-width: 760px;
  margin: 0 auto 2.2rem;
}

.day-nav-btn {
  background: var(--white);
  border: 2px solid var(--cream-dark);
  padding: 1.2rem 1.6rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.day-nav-btn:hover {
  border-color: var(--nmu-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.day-nav-btn.active {
  background: var(--nmu-blue);
  border-color: var(--nmu-blue);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(29, 66, 138, 0.3);
}

.day-nav-badge {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nmu-gold);
}

.day-nav-btn.active .day-nav-badge {
  color: var(--nmu-gold-light);
}

.day-nav-label {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--nmu-navy);
}

.day-nav-btn.active .day-nav-label {
  color: var(--white);
}

/* ============ 4. DAY 1 TRACKS SUB-NAVIGATION (3 BUTTONS) ============ */
.day1-tracks-nav {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
  transition: all 0.3s ease;
  width: 100%;
}

.day1-tracks-nav.hidden {
  display: none !important;
}

.track-nav-btn {
  background: var(--white);
  border: 1.5px solid #cbd5e1;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-headings);
  color: var(--brand-main);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 8, 27, 0.04);
}

.track-nav-btn .track-badge {
  font-weight: 800;
  font-size: 0.84rem;
  color: var(--brand-cyan);
  letter-spacing: 0.02em;
}

.track-nav-btn .track-badge::after {
  content: ":";
  margin-right: 0.2rem;
}

.track-nav-btn .track-label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brand-main); /* ТЕМНИЙ КОЛІР ДЛЯ НАЗВ СЕКЦІЙ */
}

.track-nav-btn:hover {
  border-color: var(--brand-cyan);
  color: var(--brand-main);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(27, 154, 170, 0.18);
}

.track-nav-btn.active {
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
  border: 2px solid var(--brand-cyan);
  color: var(--brand-main);
  box-shadow: 0 0 0 3px rgba(27, 154, 170, 0.2), 0 4px 14px rgba(0, 8, 27, 0.08);
}

.track-nav-btn.active .track-badge {
  color: var(--brand-cyan);
  font-weight: 800;
}

.track-nav-btn.active .track-label {
  color: var(--brand-main); /* ТЕМНИЙ КОЛІР ДЛЯ НАЗВ СЕКЦІЙ */
  font-weight: 800;
}

.program-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.program-panel.active {
  display: block;
}

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

/* ============ PRESENTATION REGULATIONS CARD ============ */
.presentation-regulations-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #CBD5E1;
  border-left: 5px solid #1D428A;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 1.6rem 2rem;
  margin: 1.8rem auto 2.2rem;
  max-width: 100%;
}

.pr-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #E2E8F0;
}

.pr-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(29, 66, 138, 0.08);
  border: 1px solid rgba(29, 66, 138, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1D428A;
  flex-shrink: 0;
}

.pr-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1B9AAA;
  margin-bottom: 0.2rem;
}

.pr-title {
  font-family: var(--font-headings);
  font-size: 1.22rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  line-height: 1.3;
}

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

.pr-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #F8FAFC;
  border-radius: 8px;
  padding: 0.95rem;
  border: 1px solid #E2E8F0;
}

.pr-item-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.pr-item-content strong {
  display: block;
  font-size: 0.86rem;
  color: #1D428A;
  margin-bottom: 0.25rem;
}

.pr-item-content p {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 991px) {
  .pr-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pr-grid {
    grid-template-columns: 1fr;
  }
  .presentation-regulations-card {
    padding: 1.25rem 1.1rem;
  }
}

.section-overview-banner {
  background: var(--white);
  border-left: 4px solid var(--nmu-blue);
  padding: 1.8rem 2.2rem;
  margin-bottom: 2.2rem;
  border-radius: 0 6px 6px 0;
  box-shadow: var(--shadow-sm);
}

.section-overview-banner h3 {
  font-family: var(--font-headings);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--nmu-navy);
  margin-bottom: 0.4rem;
}

.section-overview-banner p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

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

.topic-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  padding: 1.8rem;
  border-radius: 6px;
  transition: all var(--transition-mid);
}

.topic-card:hover {
  transform: translateY(-3px);
  border-color: var(--nmu-blue);
  box-shadow: var(--shadow-md);
}

.topic-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  margin-bottom: 0.85rem;
}

.badge-combat {
  background: rgba(128, 35, 35, 0.1);
  color: var(--burgundy);
}

.badge-abdominal {
  background: rgba(27, 94, 56, 0.1);
  color: var(--clinical-green);
}

.badge-onco {
  background: rgba(29, 66, 138, 0.1);
  color: var(--nmu-blue);
}

.topic-card h4 {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--nmu-navy);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.topic-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Day 2 Featured Card */
.workshop-featured-card {
  background: linear-gradient(135deg, #091326 0%, #122448 60%, #1D428A 100%);
  color: var(--white);
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}

.workshop-featured-card h3 {
  font-family: var(--font-headings);
  font-size: 2rem;
  font-weight: 800;
  color: var(--nmu-gold-light);
  margin-bottom: 1rem;
}

.workshop-featured-card p {
  font-size: 0.98rem;
  color: rgba(248, 250, 252, 0.85);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.workshop-priority-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(197, 155, 39, 0.18);
  border: 1px solid var(--nmu-gold);
  color: var(--nmu-gold-light);
  padding: 0.45rem 1rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
}

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

.workshop-list li {
  font-size: 0.92rem;
  color: var(--white);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.workshop-list li:last-child {
  border-bottom: none;
}

.workshop-list li svg {
  width: 16px;
  height: 16px;
  fill: var(--nmu-gold-light);
  flex-shrink: 0;
}

/* ============ REGISTRATION SECTION ============ */
#registration {
  padding: 7rem 0;
  background: #ffffff;
}

#registration .section-label {
  color: var(--brand-cyan);
}

#registration .section-title {
  color: var(--brand-main);
}

#registration .divider.center {
  background: linear-gradient(to right, transparent, var(--brand-cyan), transparent);
}

.reg-steps-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin: 3.2rem 0;
}

.reg-step-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-top: 3px solid var(--brand-cyan);
  padding: 2.2rem 1.8rem;
  border-radius: 8px;
  position: relative;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0, 8, 27, 0.04);
}

.reg-step-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  border-top-color: var(--brand-cyan-light);
  box-shadow: 0 10px 25px rgba(27, 154, 170, 0.12);
}

.step-num {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-cyan);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.reg-step-card h4 {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-main);
  margin-bottom: 0.5rem;
}

.reg-step-card p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
}

.reg-cta-center {
  text-align: center;
  margin-top: 3.2rem;
}

.reg-cta-center .btn-primary {
  padding: 1.25rem 3.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: var(--brand-cyan);
  color: var(--brand-main);
  border: 1px solid var(--brand-cyan-light);
  box-shadow: 0 10px 25px rgba(27, 154, 170, 0.35);
  transition: transform var(--transition-mid), box-shadow var(--transition-mid);
}

.reg-cta-center .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(27, 154, 170, 0.45);
}

.reg-note-box {
  max-width: 780px;
  margin: 2.8rem auto 0;
  padding: 1.4rem 2.2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid rgba(27, 154, 170, 0.35);
  border-left: 6px solid var(--brand-cyan);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 8, 27, 0.06);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-mid), box-shadow var(--transition-mid);
}

.reg-note-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(27, 154, 170, 0.12);
}

.reg-note-box::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(27, 154, 170, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.reg-note-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(27, 154, 170, 0.12);
  border: 1px solid rgba(27, 154, 170, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cyan);
}

.reg-note-content {
  flex: 1;
}

.reg-note-text {
  font-family: var(--font-headings);
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  font-weight: 600;
  color: var(--brand-main);
  line-height: 1.65;
  margin: 0;
}

.reg-note-text strong.reg-free-highlight {
  display: inline-block;
  color: #065f46;
  background: rgba(16, 185, 129, 0.14);
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.reg-note-text strong.reg-cert-highlight {
  color: var(--brand-cyan);
  font-weight: 700;
  border-bottom: 2px solid var(--brand-cyan);
  padding-bottom: 1px;
}

@media (max-width: 640px) {
  .reg-note-box {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem 1.25rem;
    gap: 0.85rem;
  }
  .reg-note-icon {
    width: 44px;
    height: 44px;
  }
}

/* ============ UNIVERSAL SECTION BACKGROUND IMAGE SUPPORT ============ */
section {
  scroll-margin-top: 80px;
}

section[style*="background-image"],
footer[style*="background-image"] {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: relative;
}

/* ============ PLACEHOLDER SECTIONS (PRIZES & FAQ) ============ */
.section-placeholder {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
  background-color: var(--nmu-navy-deep);
  color: var(--text-light);
}

.section-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(3, 13, 36, 0.88) 0%, rgba(8, 25, 63, 0.82) 100%);
  z-index: 1;
}

.section-placeholder .section-inner {
  position: relative;
  z-index: 2;
}

.section-placeholder .section-label {
  color: var(--brand-cyan);
}

.section-placeholder .section-title {
  color: var(--white);
}

.placeholder-content-card {
  max-width: 680px;
  margin: 2.4rem auto 0;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px dashed rgba(27, 154, 170, 0.45);
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 8, 27, 0.25);
  transition: all var(--transition-fast);
}

.placeholder-content-card:hover {
  border-color: var(--brand-cyan);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0, 8, 27, 0.35);
}

.placeholder-icon-box {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: rgba(27, 154, 170, 0.15);
  border: 1.5px solid var(--brand-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cyan);
  box-shadow: 0 4px 15px rgba(27, 154, 170, 0.2);
}

.placeholder-text {
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(248, 250, 252, 0.9);
  margin: 0;
}

/* ============ VENUE SECTION ============ */
#venue {
  padding: 4.5rem 0;
  background: #f8fafc;
  scroll-margin-top: 80px;
}

#venue .section-label {
  color: var(--brand-cyan);
  margin-bottom: 0.4rem;
}

#venue .section-title {
  color: var(--brand-main);
  margin-bottom: 0.75rem;
}

#venue .divider {
  background: linear-gradient(to right, var(--brand-cyan), rgba(27, 154, 170, 0.2));
  margin-bottom: 1.5rem;
}

.venue-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.2rem;
  align-items: stretch;
  margin-top: 1rem;
}

.venue-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.venue-info h3 {
  font-family: var(--font-headings);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--brand-main);
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.venue-address {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.venue-route-block {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 8, 27, 0.03);
}

.venue-route-block h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.venue-route-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.venue-route-block ul li {
  font-size: 0.9rem;
  color: #334155;
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.45;
}

.nav-buttons-row {
  display: flex;
  gap: 0.85rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.nav-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1.5rem;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: var(--brand-main);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 8, 27, 0.04);
}

.nav-map-btn svg {
  width: 18px;
  height: 18px;
}

.nav-map-btn:hover {
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27, 154, 170, 0.15);
}

.venue-map-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 8, 27, 0.08);
  border: 1.5px solid #cbd5e1;
  height: 100%;
  min-height: 380px;
  display: flex;
}

.venue-map-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: none;
  flex: 1;
}

#venuePlanBlock {
  margin-top: 2.8rem;
  margin-bottom: 0;
}

#venuePlanBlock .building-floors-grid {
  margin-bottom: 0;
}

/* ============ FOOTER ============ */
footer#contacts {
  background: var(--nmu-navy-deep);
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.footer-brand p {
  font-size: 0.86rem;
  color: rgba(248, 250, 252, 0.6);
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nmu-gold-light);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.7rem;
}

.footer-col ul li a {
  font-size: 0.84rem;
  color: rgba(248, 250, 252, 0.75);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-contact-item {
  margin-bottom: 0.9rem;
  font-size: 0.84rem;
  color: rgba(248, 250, 252, 0.75);
  line-height: 1.6;
}

.footer-contact-item strong {
  display: block;
  color: var(--white);
  font-size: 0.86rem;
  margin-bottom: 0.2rem;
}

.footer-contact-item a {
  color: var(--nmu-gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(248, 250, 252, 0.45);
}

/* ============ REGISTRATION MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 16, 30, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: #ffffff;
  color: var(--brand-main);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: 2.6rem;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 8, 27, 0.35);
  border: 1px solid #e2e8f0;
  transform: translateY(28px) scale(0.95);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.modal-overlay.open .modal-window {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-window.has-preview {
  max-width: 860px;
  width: 95%;
}

/* ========================================================
   STEP 2: FORM PREVIEW & VERIFICATION STYLES
   ======================================================== */
.form-preview-step {
  animation: fadeIn 0.35s ease;
  text-align: left;
}

.preview-step-header {
  margin-bottom: 1.2rem;
}

.preview-step-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-cyan);
  background: rgba(27, 154, 170, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.preview-step-title {
  font-family: var(--font-headings);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--brand-main);
  margin-bottom: 0.35rem;
}

.preview-step-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 1.1rem;
  line-height: 1.5;
}

.preview-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.84rem;
  color: #334155;
}

.preview-meta-item strong {
  color: var(--brand-main);
  margin-right: 0.25rem;
}

.doc-size-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
}

.doc-size-pill.over-limit {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.preview-size-error-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #fef2f2;
  border: 1.5px solid #ef4444;
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  margin: 1.1rem 0;
  color: #991b1b;
  font-size: 0.88rem;
  line-height: 1.5;
  animation: shake 0.4s ease;
}

.preview-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

.btn-back-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  color: #475569;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-back-edit:hover {
  background: #e2e8f0;
  color: var(--brand-main);
  border-color: #94a3b8;
  transform: translateX(-2px);
}

.btn-confirm-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: 250px;
  padding: 0.95rem 2.4rem;
  font-size: 1.05rem;
  font-weight: 800;
  font-family: var(--font-headings);
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, #1b9aaa 0%, #137785 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 9999px;
  box-shadow: 0 4px 18px rgba(27, 154, 170, 0.42);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-confirm-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(27, 154, 170, 0.6);
  background: linear-gradient(135deg, #22d3ee 0%, #1b9aaa 100%);
  color: var(--brand-main) !important;
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #F1F5F9;
  border: 1px solid #cbd5e1;
  color: var(--brand-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 0;
}

.modal-close-btn:hover {
  background: var(--brand-cyan);
  color: var(--brand-main);
  border-color: var(--brand-cyan);
  transform: rotate(90deg) scale(1.06);
  box-shadow: 0 4px 14px rgba(27, 154, 170, 0.35);
}

.modal-close-btn:active {
  transform: scale(0.95);
}

.modal-title {
  font-family: var(--font-headings);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--brand-main);
  margin-bottom: 0.35rem;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 1.8rem;
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-main);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: #0f172a;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-cyan);
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 0 0 3px rgba(27, 154, 170, 0.18);
}

.modal-window .btn-outline-dark {
  color: #475569;
  border-color: #cbd5e1;
  background: #f8fafc;
}

.modal-window .btn-outline-dark:hover {
  background: #e2e8f0;
  color: var(--brand-main);
  border-color: #94a3b8;
}

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

.form-row > .form-group {
  min-width: 0;
}

.form-row.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.form-row.form-row-3 .form-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.form-row.form-row-3 label {
  white-space: normal;
  word-break: break-word;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  line-height: 1.35;
}

@media (max-width: 768px) {
  .form-row,
  .form-row.form-row-3 {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
}

.form-success-message {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}

.form-success-message h3 {
  font-family: var(--font-headings);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--nmu-navy);
  margin-bottom: 0.75rem;
}

.form-success-message p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Structured Abstract Fields */
.abstract-structured-container {
  background: #F8FAFC;
  border: 1.5px solid #e2e8f0;
  border-left: 4px solid var(--brand-cyan);
  border-radius: 8px;
  padding: 1.4rem 1.2rem;
  margin-bottom: 1.4rem;
}

.form-section-heading {
  font-family: var(--font-headings);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--brand-main);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.abstract-criteria-info {
  font-size: 0.78rem;
  color: #475569;
  background: rgba(27, 154, 170, 0.06);
  border: 1px solid rgba(27, 154, 170, 0.18);
  border-radius: 6px;
  padding: 0.6rem 0.85rem;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

/* ========================================================
   ABSTRACT TIP BANNER & 3200 CHARACTERS COUNTER
   ======================================================== */
.abstract-tip-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid #e2e8f0;
  border-left: 5px solid var(--brand-cyan);
  border-radius: 8px;
  padding: 1.2rem 1.35rem;
  margin-bottom: 1.4rem;
  box-shadow: 0 4px 18px rgba(0, 8, 27, 0.04);
}

.abstract-tip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.abstract-tip-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-headings);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-cyan);
  background: rgba(27, 154, 170, 0.1);
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
}

.abstract-limit-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-headings);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-main);
  background: rgba(27, 154, 170, 0.1);
  border: 1px solid rgba(27, 154, 170, 0.25);
  padding: 0.28rem 0.75rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.abstract-limit-badge.badge-exceeded {
  background: #fef2f2;
  border-color: #f87171;
  color: #b91c1c;
}

.abstract-tip-message {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.abstract-tip-message strong {
  color: var(--brand-main);
}

/* Interactive Character Counter */
.abstract-counter-container {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.85rem 1.05rem;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
}

.counter-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
  font-size: 0.84rem;
  flex-wrap: wrap;
}

.counter-title {
  color: #475569;
  font-weight: 600;
}

.counter-digits {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  color: var(--brand-main);
}

.counter-digits strong {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--brand-cyan);
  transition: color 0.3s ease;
}

.counter-digits strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--nmu-blue);
  transition: color 0.3s ease;
}

.counter-digits strong.limit-warning {
  color: #d97706;
}

.counter-digits strong.limit-exceeded {
  color: #dc2626;
}

.counter-unit {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.counter-bar-track {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.counter-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #1D428A 0%, #254AA5 100%);
  border-radius: 999px;
  transition: width 0.25s cubic-bezier(0.2, 1, 0.3, 1), background 0.3s ease;
}

.counter-bar-fill.bar-warning {
  background: linear-gradient(90deg, #d97706 0%, #f59e0b 100%);
}

.counter-bar-fill.bar-exceeded {
  background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%);
  animation: pulseExceeded 1.2s infinite;
}

@keyframes pulseExceeded {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

.counter-warning-msg {
  margin-top: 0.65rem;
  padding: 0.6rem 0.85rem;
  border-radius: 6px;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
  font-size: 0.82rem;
  line-height: 1.5;
  animation: fadeInMsg 0.3s ease;
}

@keyframes fadeInMsg {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.spec-pill.spec-limit {
  background: rgba(197, 155, 39, 0.12);
  border-color: rgba(197, 155, 39, 0.4);
  color: var(--nmu-navy);
}

.spec-pill.spec-limit svg {
  color: var(--nmu-gold-dark);
}

.abstract-structured-container .form-group {
  margin-bottom: 1.1rem;
}

.abstract-structured-container .form-group:last-child {
  margin-bottom: 0;
}

.abstract-structured-container input[type="text"],
.abstract-structured-container textarea {
  background: #ffffff;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  box-sizing: border-box;
}

.abstract-structured-container input[type="text"]:focus,
.abstract-structured-container textarea:focus {
  outline: none;
  border-color: var(--brand-cyan);
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 0 0 3px rgba(27, 154, 170, 0.18);
}

.success-pdf-box {
  background: #F8FAFC;
  border: 1px solid var(--cream-dark);
  border-left: 3px solid var(--nmu-gold);
  border-radius: 6px;
  padding: 1.3rem;
  margin: 1.6rem 0;
  text-align: left;
}

.success-pdf-box strong {
  display: block;
  font-family: var(--font-headings);
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--nmu-navy);
  margin-bottom: 0.4rem;
}

.success-pdf-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
  line-height: 1.45;
}

.modal-window.has-preview {
  max-width: 840px;
  width: 95%;
}

.success-device-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-left: 4px solid var(--nmu-blue);
  border-radius: 6px;
  padding: 0.85rem 1.1rem;
  margin: 1.2rem 0;
  text-align: left;
}

.device-box-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.device-box-content {
  flex: 1;
}

.device-box-content strong {
  display: block;
  font-size: 0.88rem;
  color: var(--nmu-navy);
  margin-bottom: 0.2rem;
}

.saved-file-path {
  display: block;
  font-family: monospace;
  font-size: 0.8rem;
  color: #1E40AF;
  word-break: break-all;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.abstract-preview-card {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  margin: 1.4rem 0;
  overflow: hidden;
  text-align: left;
}

.preview-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 0.75rem 1rem;
}

.preview-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--nmu-navy);
}

.preview-template-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--nmu-gold);
  color: var(--nmu-navy);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.preview-frame-wrap {
  width: 100%;
  height: 440px;
  background: #F1F5F9;
  position: relative;
}

.preview-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #FFF;
}

.success-actions-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.success-actions-row .btn-primary,
.success-actions-row .btn-outline-dark {
  flex: 1 1 auto;
  text-align: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  font-size: 0.82rem;
}

/* ========================================================
   MODERN HIGH-PERFORMANCE ANIMATION SUITE (Inspired by liveronco.com & luxury web)
======================================================== */

/* 1. SCROLL READING PROGRESS BAR */
#scrollProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #102A43, #C59B27, #D4A843, #F2EBD9);
  box-shadow: 0 0 12px rgba(212, 168, 67, 0.85);
  z-index: 99999;
  transition: width 0.1s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* 2. FLOATING BACK TO TOP BUTTON */
#backToTopBtn {
  position: fixed;
  bottom: 2.2rem;
  right: 2.2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(16, 42, 67, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(212, 168, 67, 0.45);
  color: #D4A843;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 168, 67, 0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(0.85);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

#backToTopBtn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

#backToTopBtn:hover {
  background: #D4A843;
  color: #0A192F;
  border-color: #D4A843;
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 18px 36px rgba(212, 168, 67, 0.45);
}

#backToTopBtn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: transform 0.25s ease;
}

#backToTopBtn:hover svg {
  transform: translateY(-2px);
}

/* 3. SCROLL REVEAL ANIMATIONS (IntersectionObserver) - Noticeably Smooth & Crisp */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.96) translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Stagger Delays - Balanced, Refined Sequential Pace */
.delay-1  { transition-delay: 0.05s !important; }
.delay-2  { transition-delay: 0.10s !important; }
.delay-3  { transition-delay: 0.15s !important; }
.delay-4  { transition-delay: 0.20s !important; }
.delay-5  { transition-delay: 0.25s !important; }
.delay-6  { transition-delay: 0.30s !important; }
.delay-7  { transition-delay: 0.35s !important; }
.delay-8  { transition-delay: 0.40s !important; }
.delay-9  { transition-delay: 0.45s !important; }
.delay-10 { transition-delay: 0.50s !important; }
.delay-11 { transition-delay: 0.55s !important; }

/* Organizers & Committee Staggered Wave Reveal - Balanced, Smooth & Crisp Pace */
.organizers-grid .organizer-card,
.committee-grid .leader-card {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.35s ease !important;
  will-change: opacity, transform;
}

.organizers-grid .organizer-card.visible,
.committee-grid .leader-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.organizers-grid .organizer-card:hover,
.committee-grid .leader-card.visible:hover {
  transform: translateY(-4px) scale(1) !important;
}

.organizers-grid .organizer-card:nth-child(1) { transition-delay: 0.05s !important; }
.organizers-grid .organizer-card:nth-child(2) { transition-delay: 0.12s !important; }
.organizers-grid .organizer-card:nth-child(3) { transition-delay: 0.19s !important; }

.committee-grid .leader-card:nth-child(1)  { transition-delay: 0.04s !important; }
.committee-grid .leader-card:nth-child(2)  { transition-delay: 0.08s !important; }
.committee-grid .leader-card:nth-child(3)  { transition-delay: 0.12s !important; }
.committee-grid .leader-card:nth-child(4)  { transition-delay: 0.16s !important; }
.committee-grid .leader-card:nth-child(5)  { transition-delay: 0.20s !important; }
.committee-grid .leader-card:nth-child(6)  { transition-delay: 0.24s !important; }
.committee-grid .leader-card:nth-child(7)  { transition-delay: 0.28s !important; }
.committee-grid .leader-card:nth-child(8)  { transition-delay: 0.32s !important; }
.committee-grid .leader-card:nth-child(9)  { transition-delay: 0.36s !important; }
.committee-grid .leader-card:nth-child(10) { transition-delay: 0.40s !important; }
.committee-grid .leader-card:nth-child(11) { transition-delay: 0.44s !important; }
.committee-grid .leader-card:nth-child(12) { transition-delay: 0.48s !important; }
.committee-grid .leader-card:nth-child(13) { transition-delay: 0.52s !important; }
.committee-grid .leader-card:nth-child(14) { transition-delay: 0.56s !important; }
.committee-grid .leader-card:nth-child(n+15) { transition-delay: 0.60s !important; }


/* 4. HERO SECTION ANIMATIONS (Exact liveronco.com style) */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageAppear {
  0% {
    opacity: 0;
    transform: translateY(35px) scale(0.9) rotate(-3deg);
    filter: blur(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(2deg);
    filter: blur(0);
  }
}

@keyframes heroImageAppearMobile {
  0% {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-title {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.5s 0.3s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

.hero-ctas {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1.4s 0.8s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes buttonShimmer {
  0% {
    transform: translateX(-100%) rotate(30deg);
  }
  100% {
    transform: translateX(250%) rotate(30deg);
  }
}

/* 5. BUTTON MICRO-INTERACTIONS & SHINE SWEEP */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -80%;
  width: 30%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(30deg);
  pointer-events: none;
  opacity: 0;
}

.btn-primary:hover::after {
  opacity: 1;
  animation: buttonShimmer 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(212, 168, 67, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 168, 67, 0.25);
}

/* 6. CARD 3D HOVER STATES & GLOW */
.format-card,
.organizer-card,
.leader-card,
.topic-card,
.reg-step-card,
.workshop-featured-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  will-change: transform, box-shadow;
}

.format-card:hover,
.organizer-card:hover,
.leader-card:hover,
.topic-card:hover,
.reg-step-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.12), 0 0 22px rgba(212, 168, 67, 0.16);
  border-color: rgba(212, 168, 67, 0.45);
}

/* 7. TAB & PANEL SMOOTH TRANSITION */
@keyframes panelFadeSlide {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.program-panel.active {
  display: block;
  animation: panelFadeSlide 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.program-panel.active .topic-card:nth-child(1) { animation: fadeUp 0.5s 0.05s cubic-bezier(0.16, 1, 0.3, 1) both; }
.program-panel.active .topic-card:nth-child(2) { animation: fadeUp 0.5s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both; }
.program-panel.active .topic-card:nth-child(3) { animation: fadeUp 0.5s 0.19s cubic-bezier(0.16, 1, 0.3, 1) both; }
.program-panel.active .topic-card:nth-child(4) { animation: fadeUp 0.5s 0.26s cubic-bezier(0.16, 1, 0.3, 1) both; }
.program-panel.active .topic-card:nth-child(5) { animation: fadeUp 0.5s 0.33s cubic-bezier(0.16, 1, 0.3, 1) both; }
.program-panel.active .topic-card:nth-child(6) { animation: fadeUp 0.5s 0.40s cubic-bezier(0.16, 1, 0.3, 1) both; }

.workshop-list li:nth-child(1) { animation: fadeUp 0.5s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both; }
.workshop-list li:nth-child(2) { animation: fadeUp 0.5s 0.18s cubic-bezier(0.16, 1, 0.3, 1) both; }
.workshop-list li:nth-child(3) { animation: fadeUp 0.5s 0.26s cubic-bezier(0.16, 1, 0.3, 1) both; }
.workshop-list li:nth-child(4) { animation: fadeUp 0.5s 0.34s cubic-bezier(0.16, 1, 0.3, 1) both; }
.workshop-list li:nth-child(5) { animation: fadeUp 0.5s 0.42s cubic-bezier(0.16, 1, 0.3, 1) both; }

/* 8. ACCESSIBILITY: RESPECT PREFERS-REDUCED-MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-title,
  .hero-ctas,
  .hero-image-wrapper {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============ HERO QUICK PILLS & PORTRAIT STYLES ============ */
.hero-date-text {
  display: inline-block;
  line-height: 1.3;
}

.hero-quick-pills {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.35rem;
}

.quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.quick-pill svg {
  color: var(--nmu-gold-light);
  flex-shrink: 0;
}

.about-emblem-container {
  border: 1px solid rgba(27, 154, 170, 0.28);
  border-radius: 16px;
}

/* ============ MOBILE STICKY REGISTRATION BAR ============ */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(14, 28, 54, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
  padding: 0.65rem 1rem;
  padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  transform: translateY(120%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sticky-bar.visible {
  transform: translateY(0);
}

.mobile-sticky-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mobile-sticky-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-sticky-sub {
  font-size: 0.68rem;
  color: var(--nmu-gold-light);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-sticky-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #c5a059 0%, #dfbe7a 100%);
  color: #0b172a;
  border: none;
  border-radius: 9999px;
  padding: 0.55rem 1.15rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-sticky-btn:active {
  transform: scale(0.96);
}

/* ============ RESPONSIVE MEDIA QUERIES ============ */
@media (max-width: 1024px) {
  .hero-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
    gap: 2.2rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-quick-pills {
    justify-content: center;
  }

  .hero-image-wrapper {
    max-width: 440px;
    margin: 0 auto;
    transform: none;
    animation: heroImageAppearMobile 1s 0.5s ease forwards;
  }

  .hero-image {
    height: 300px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-left {
    position: static;
  }

  .organizers-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .committee-grid {
    grid-template-columns: 1fr;
  }

  .topics-grid {
    grid-template-columns: 1fr;
  }

  .building-plan-block {
    padding: 1.8rem;
  }

  .building-floors-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .pdf-iframe-container {
    height: 550px;
  }

  .workshop-featured-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  #venue {
    padding: 4rem 0;
  }

  .venue-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1.8rem;
  }

  .venue-map-wrapper {
    min-height: 320px;
    height: 320px;
  }

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

  #venuePlanBlock {
    margin-top: 2.2rem;
  }

  .section-placeholder {
    padding: 4.5rem 0;
  }

  .placeholder-content-card {
    margin-top: 2rem;
    padding: 2rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  nav#mainNav {
    padding: 0.65rem 1rem;
    max-width: 100vw;
  }

  nav#mainNav.scrolled {
    padding: 0.55rem 1rem;
  }

  .nav-brand-logo {
    height: 32px;
  }

  .nav-brand-title {
    font-size: clamp(0.62rem, 2.4vw, 0.75rem);
    line-height: 1.15;
  }

  .nav-brand-sub {
    font-size: 0.58rem;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-actions {
    gap: 0.6rem;
  }

  .lang-btn {
    padding: 0.32rem 0.65rem;
    font-size: 0.72rem;
  }

  /* ========================================================
     MOBILE ADAPTATION: HERO SECTION (Mockup 1)
     ======================================================== */
  #hero {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    height: 100dvh;
    min-height: calc(var(--vh, 1vh) * 100);
    min-height: 100dvh;
    max-height: calc(var(--vh, 1vh) * 100);
    max-height: 100dvh;
    padding-top: calc(68px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #00081b;
  }

  .hero-bg-media {
    position: absolute;
    inset: 0;
    background-image: url('images/Myroniuk/back1_dark.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.65;
    z-index: 1;
    pointer-events: none;
    transform: none;
  }

  .hero-3d-art {
    position: absolute;
    right: -60px;
    top: 25px;
    width: clamp(460px, 142vw, 640px);
    height: auto;
    max-height: none;
    max-width: none;
    transform: rotate(-48deg);
    transform-origin: 65% 35%;
    z-index: 2;
    pointer-events: none;
    filter: brightness(0.68) contrast(1.1);
    display: block;
    margin: 0;
  }

  .hero-inner {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
    gap: 0;
  }

  .hero-logo-box {
    display: none;
  }

  .hero-title-wrap {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    flex: 0 0 auto;
    z-index: 6;
  }

  .hero-mobile-br {
    display: block;
  }

  .hero-title {
    font-family: var(--font-headings);
    font-size: clamp(1.08rem, 4.3vw, 1.35rem);
    line-height: 1.22;
    color: #22d3ee; /* Vibrant Pacific Cyan / Teal */
    text-shadow: 0 0 20px rgba(34, 211, 238, 0.55);
    text-align: center;
    margin: 0 auto;
    max-width: 92vw;
    white-space: normal;
    text-transform: none;
    letter-spacing: 0.02em;
    padding: 0 0.4rem;
  }

  .hero-centerpiece-area {
    position: relative;
    width: 100%;
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    pointer-events: none;
    margin: 0.15rem 0;
  }

  .hero-logo-backlight {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(240px, 78vw, 340px);
    height: clamp(120px, 20vh, 170px);
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.55) 0%, rgba(27, 154, 170, 0.35) 45%, transparent 75%);
    filter: blur(35px);
    z-index: 1;
    pointer-events: none;
  }

  .hero-white-ussf-logo {
    position: relative;
    z-index: 2;
    width: clamp(220px, 70vw, 310px);
    height: auto;
    max-height: clamp(82px, 16vh, 130px);
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 35px rgba(27, 154, 170, 0.65));
    pointer-events: none;
    display: block;
    margin: 0 auto;
    animation: none;
  }

  .hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    width: 100%;
    max-width: 325px;
    margin: 0 auto;
    padding: 0 0.4rem;
    box-sizing: border-box;
    z-index: 15;
    flex: 0 0 auto;
  }

  .hero-ctas .btn-pill {
    background: #ffffff !important;
    color: #00081b !important;
    border-radius: 14px !important;
    padding: clamp(0.58rem, 1.8vh, 0.74rem) 1.15rem !important;
    font-family: var(--font-headings) !important;
    font-size: clamp(0.92rem, 3.8vw, 1.06rem) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
    border: none !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .hero-ctas .btn-pill:active {
    transform: scale(0.98);
  }

  .hero-ctas .btn-pill .btn-arrow-icon {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 50% !important;
    background: #00081b !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 0.75rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  }

  .hero-ctas .btn-pill .btn-arrow-icon svg {
    width: 15px !important;
    height: 15px !important;
    stroke: #ffffff !important;
    stroke-width: 3px !important;
  }

  @media (max-height: 620px) {
    #hero {
      padding-top: calc(56px + env(safe-area-inset-top, 0px));
      padding-bottom: calc(0.45rem + env(safe-area-inset-bottom, 0px));
    }
    .hero-title {
      font-size: 0.98rem;
    }
    .hero-white-ussf-logo {
      max-height: 70px;
      width: 190px;
    }
    .hero-ctas {
      gap: 0.35rem;
    }
    .hero-ctas .btn-pill {
      padding: 0.45rem 1rem !important;
      font-size: 0.88rem !important;
    }
    .hero-ctas .btn-pill .btn-arrow-icon {
      width: 26px !important;
      height: 26px !important;
      min-width: 26px !important;
    }
  }

  /* ========================================================
     MOBILE ADAPTATION: ABOUT SECTION (Mockup 2)
     ======================================================== */
  #about {
    background: #00081b;
    padding: 3.5rem 0 3.8rem;
    position: relative;
    overflow: hidden;
  }

  .about-needle-bg {
    position: absolute;
    left: 50%;
    top: 60%;
    transform: translate(-50%, -50%) rotate(-45deg) scaleX(-1);
    width: 105%;
    max-width: 400px;
    height: auto;
    max-height: none;
    opacity: 0.42;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 0 25px rgba(27, 154, 170, 0.45));
  }

  .about-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    position: relative;
    z-index: 3;
  }

  .about-left {
    position: static;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 0.4rem;
    z-index: 5;
  }

  .about-emblem-container {
    max-width: 160px;
    padding: 0;
    margin: 0 auto;
    background: none;
    border: none;
    box-shadow: none;
  }

  .about-emblem-svg {
    width: 140px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.25));
  }

  .about-text {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .about-text .section-label {
    display: none; /* Removed as in Mockup 2 */
  }

  .about-text .divider {
    display: none; /* Removed as in Mockup 2 */
  }

  .about-text .section-title {
    font-family: var(--font-headings);
    font-size: clamp(1.3rem, 5.2vw, 1.65rem);
    line-height: 1.25;
    color: #ffffff;
    text-align: center;
    background: rgba(0, 8, 27, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.85rem 1rem;
    border-radius: 10px;
    margin: 0 -0.5rem 1.4rem -0.5rem;
    width: calc(100% + 1rem);
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .about-text p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #f1f5f9;
    text-align: left;
    padding: 0 0.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
    margin-bottom: 1.2rem;
  }

  .formats-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .building-plan-block {
    padding: 1.4rem 1.1rem;
    margin-bottom: 2.5rem;
    border-radius: 12px;
  }

  .blueprint-diagram-box {
    padding: 0.85rem;
  }

  .blueprint-legend {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .pdf-iframe-container {
    height: 380px;
  }

  .pdf-viewer-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .pdf-toolbar-actions {
    justify-content: stretch;
  }

  .pdf-toolbar-actions .pdf-action-btn {
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  .pdf-mobile-fallback {
    display: block;
  }

  /* Program Days Segmented Toggle on Mobile */
  .program-days-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
  }

  .day-nav-btn {
    padding: 0.75rem 0.6rem;
    text-align: center;
    flex-direction: column;
    gap: 0.35rem;
  }

  .day-nav-badge {
    font-size: 0.72rem;
  }

  .day-nav-label {
    font-size: 0.82rem;
  }

  /* Day 1 Section 1, 2, 3 tabs - fit screen width in 3-column segmented grid */
  .day1-tracks-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
    width: 100%;
    margin-bottom: 1.3rem;
    box-sizing: border-box;
    overflow-x: visible;
    padding: 0;
  }

  .day1-tracks-nav .track-nav-btn {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.65rem 0.2rem;
    border-radius: 8px;
    box-sizing: border-box;
    white-space: normal;
  }

  .day1-tracks-nav .track-nav-btn .track-badge {
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
  }

  .day1-tracks-nav .track-nav-btn .track-badge::after {
    content: ""; /* No colon on stacked mobile layout */
  }

  .day1-tracks-nav .track-nav-btn .track-label {
    font-size: 0.68rem;
    line-height: 1.2;
    margin-top: 0.2rem;
    font-weight: 700;
    color: var(--brand-main); /* ТЕМНИЙ КОЛІР */
    text-align: center;
    white-space: normal;
    word-break: normal;
  }
  
  .reg-steps-timeline {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  /* ========================================================
     MOBILE ADAPTATION: ORGANIZERS SECTION (Mockup 3)
     ======================================================== */
  #organizers {
    padding-top: 0 !important;
    padding-bottom: 3.5rem;
    background-color: #0c101a;
    background-image: url('images/Myroniuk/back_cells.jpeg');
    background-size: cover;
    background-position: center;
    position: relative;
  }

  #organizers::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 4, 15, 0.68);
    z-index: 1;
    pointer-events: none;
  }

  #organizers .section-inner {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
  }

  #organizers .section-title {
    background: #141820;
    color: #ffffff;
    font-family: var(--font-headings);
    font-size: clamp(1.35rem, 5.2vw, 1.7rem);
    text-align: center;
    padding: 1.15rem 1rem;
    margin: 0 -1rem 2.2rem -1rem !important;
    width: calc(100% + 2rem);
    box-sizing: border-box;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 3;
    opacity: 1 !important;
    transform: none !important;
  }

  .organizers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .organizer-card {
    background: #00081b !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65) !important;
    padding: 0.75rem 0.35rem !important;
    max-width: none !important;
    width: 100% !important;
    box-sizing: border-box;
    opacity: 1 !important;
    transform: none !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .organizer-logo-box {
    background: #ffffff;
    border-radius: 9px;
    width: 44px;
    height: 44px;
    margin: 0 auto 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    flex: 0 0 auto;
  }

  .organizer-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .organizer-card h3 {
    color: #ffffff;
    font-family: var(--font-headings);
    font-size: clamp(0.68rem, 2.2vw, 0.78rem);
    margin-bottom: 0.25rem;
    line-height: 1.2;
    word-break: break-word;
    hyphens: auto;
  }

  .organizer-card p {
    color: #94a3b8;
    font-size: clamp(0.56rem, 1.8vw, 0.64rem);
    line-height: 1.25;
    margin: 0;
  }

  .organizers-committee-block {
    margin-top: 2rem;
    width: 100%;
  }

  .organizers-subheading h3 {
    color: #ffffff;
    font-family: var(--font-headings);
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 1rem;
    opacity: 1 !important;
    transform: none !important;
  }

  .committee-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .leader-card {
    background: #00081b !important;
    border: 1px solid rgba(27, 154, 170, 0.25) !important;
    border-radius: 14px !important;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.75rem 0.5rem !important;
    box-sizing: border-box;
    display: flex;
  }

  .leader-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
    margin: 0 auto 0.35rem;
    flex: 0 0 auto;
  }

  .leader-role-badge {
    font-size: 0.58rem;
    padding: 2px 6px;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    display: inline-block;
  }

  .leader-card h3 {
    font-size: clamp(0.76rem, 2.4vw, 0.86rem);
    line-height: 1.2;
    margin-bottom: 0.25rem;
  }

  .leader-bio {
    font-size: clamp(0.62rem, 1.9vw, 0.68rem);
    line-height: 1.3;
    color: #94a3b8;
    margin: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  #venue {
    padding: 3.2rem 0;
  }

  .venue-grid {
    gap: 1.4rem;
    margin-top: 1.4rem;
  }

  .venue-map-wrapper {
    min-height: 280px;
    height: 280px;
  }

  .venue-map-wrapper iframe {
    min-height: 280px;
    height: 280px;
  }

  #venuePlanBlock {
    margin-top: 1.8rem;
  }

  .section-placeholder {
    padding: 3.5rem 0;
  }

  .placeholder-content-card {
    padding: 1.8rem 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .modal-window {
    width: 95%;
    max-height: 92vh;
    padding: 2rem 1.1rem 1.5rem;
    border-radius: 12px;
  }

  .modal-close-btn {
    top: 0.65rem;
    right: 0.65rem;
    width: 36px;
    height: 36px;
  }

  /* Mobile Sticky Action Bar */
  .mobile-sticky-bar {
    display: flex;
  }

  #backToTopBtn {
    bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px)) !important;
    right: 1rem !important;
    width: 42px !important;
    height: 42px !important;
  }
}

@media (max-width: 480px) {
  nav#mainNav {
    padding: 0.5rem 0.75rem;
  }

  .nav-brand {
    gap: 0.45rem;
  }

  .nav-logo-img {
    height: 30px;
    max-width: 85px;
  }

  .nav-brand-title {
    font-size: 0.86rem;
  }

  .nav-brand-sub {
    display: none; /* Hide subtitle on tiny phones to completely eliminate overflow */
  }

  .section-inner {
    padding: 0 0.85rem;
  }

  .hero-title {
    font-size: clamp(1.12rem, 5vw, 1.35rem);
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    text-wrap: balance;
    padding: 0;
  }

  .day1-tracks-nav {
    gap: 0.35rem;
    margin-bottom: 1.1rem;
  }

  .day1-tracks-nav .track-nav-btn {
    padding: 0.52rem 0.15rem;
    border-radius: 6px;
  }

  .day1-tracks-nav .track-nav-btn .track-badge {
    font-size: 0.72rem;
  }

  .day1-tracks-nav .track-nav-btn .track-label {
    font-size: 0.62rem;
    margin-top: 0.15rem;
    font-weight: 700;
    color: var(--brand-main);
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .quick-pill {
    padding: 0.3rem 0.6rem;
    font-size: 0.68rem;
  }

  .building-plan-block {
    padding: 1rem 0.75rem;
  }

  .pdf-iframe-container {
    display: none; /* Mobile fallback provides clean download / view buttons */
  }

  .pdf-mobile-fallback {
    padding: 1.2rem 0.9rem;
  }

  .pdf-mobile-btns {
    flex-direction: column;
  }

  .pdf-mobile-btns a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .modal-window {
    padding: 1.8rem 0.9rem 1.4rem;
  }
}

/* ========================================================
   EVACUATION & VENUE BLUEPRINT NAVIGATION
======================================================== */
.plan-tabs-nav {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.plan-tab-btn {
  background: white;
  border: 1px solid white;
  border-radius: 6px;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-headings);
  font-size: 0.84rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.plan-tab-btn:hover {
  background: var(--white);
  border-color: var(--nmu-blue);
  color: var(--nmu-blue);
}

.plan-tab-btn.active {
  background: var(--nmu-navy);
  border-color: var(--nmu-navy);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(10, 22, 43, 0.2);
}

.evacuation-blueprint-stamp {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--cream-dark);
}

.stamp-badge {
  font-family: var(--font-headings);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  text-transform: uppercase;
}

.stamp-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stamp-meta strong {
  color: var(--nmu-navy);
  font-weight: 700;
}

.evacuation-svg {
  width: 100%;
  min-width: 780px;
  height: auto;
  display: block;
}

.svg-floor-group {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.svg-floor-group.dimmed {
  opacity: 0.22;
}

.svg-floor-group.highlighted {
  opacity: 1;
}

/* ========================================================
   ABSTRACT AUTO-GENERATION ACCENT BANNER
======================================================== */
.abstract-auto-notice {
  background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
  border: 1.5px solid rgba(27, 154, 170, 0.35);
  border-left: 5px solid var(--brand-cyan);
  border-radius: 8px;
  padding: 1.3rem 1.4rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 4px 18px rgba(27, 154, 170, 0.08);
  position: relative;
  overflow: hidden;
}

.abstract-auto-notice::before {
  display: none;
}

.auto-notice-header {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 0.75rem;
}

.auto-notice-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--brand-main);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 8, 27, 0.2);
}

.auto-notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-headings);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-cyan);
  background: rgba(27, 154, 170, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.35rem;
  border: 1px solid rgba(27, 154, 170, 0.25);
}

.pulse-beacon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseBeacon 1.8s infinite;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.auto-notice-title {
  font-family: var(--font-headings);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--brand-main);
  margin: 0;
  line-height: 1.3;
}

.auto-notice-desc {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 0.95rem;
}

.auto-notice-specs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0.3rem 0.65rem;
  font-size: 0.79rem;
  color: #334155;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.spec-pill strong {
  color: var(--brand-main);
}

.spec-pill svg {
  color: #10B981;
}

.spec-pill.spec-live {
  background: rgba(27, 154, 170, 0.12);
  color: var(--brand-main);
  border-color: rgba(27, 154, 170, 0.35);
}

.spec-pill.spec-live svg {
  color: var(--brand-cyan);
}

/* ========================================================
   APA GUIDELINES & CITATION BOX
======================================================== */
.apa-guidelines-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-left: 4px solid var(--brand-cyan);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.apa-notice-line,
.apa-citation-rule {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: #334155;
  line-height: 1.45;
}

.apa-highlight-link {
  display: inline-block;
  background: rgba(27, 154, 170, 0.12);
  color: var(--brand-cyan) !important;
  font-weight: 800;
  font-size: 0.84rem;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  text-decoration: underline;
  text-underline-offset: 2px;
  border: 1px solid rgba(27, 154, 170, 0.3);
  transition: all var(--transition-fast);
}

.apa-highlight-link:hover {
  background: var(--brand-cyan);
  color: var(--brand-main) !important;
  box-shadow: 0 2px 8px rgba(27, 154, 170, 0.3);
  transform: translateY(-1px);
}

/* ========================================================
   IMRAD ABSTRACT CONTENT CHECKLIST COMPONENT
======================================================== */
.imrad-checklist-card {
  background: #ffffff;
  border: 1.5px solid rgba(27, 154, 170, 0.3);
  border-radius: 12px;
  margin-bottom: 1.4rem;
  box-shadow: 0 4px 20px rgba(0, 8, 27, 0.06);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.imrad-checklist-card:hover {
  border-color: rgba(27, 154, 170, 0.5);
  box-shadow: 0 6px 24px rgba(27, 154, 170, 0.12);
}

.imrad-checklist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  background: linear-gradient(135deg, rgba(27, 154, 170, 0.08) 0%, rgba(0, 8, 27, 0.03) 100%);
  border-bottom: 1px solid rgba(27, 154, 170, 0.18);
  cursor: pointer;
  user-select: none;
  gap: 1rem;
}

.imrad-header-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.imrad-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-main);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 8, 27, 0.2);
}

.imrad-badge-tag {
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  background: rgba(27, 154, 170, 0.12);
  border: 1px solid rgba(27, 154, 170, 0.25);
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.25rem;
}

.imrad-title {
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-main);
  margin: 0;
  line-height: 1.25;
}

.imrad-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--brand-cyan);
  font-size: 0.82rem;
  font-weight: 600;
}

.imrad-chevron {
  transition: transform 0.3s ease;
}

.imrad-checklist-card.collapsed .imrad-chevron {
  transform: rotate(-90deg);
}

.imrad-checklist-card.collapsed .imrad-checklist-body,
.imrad-checklist-card.collapsed .imrad-alert-box {
  display: none;
}

.imrad-alert-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #f0fdf4;
  border-bottom: 1px solid #bbf7d0;
  padding: 0.85rem 1.4rem;
  color: #166534;
  font-size: 0.88rem;
  line-height: 1.5;
}

.imrad-alert-box svg {
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

.imrad-checklist-body {
  padding: 1.3rem;
  background: #fafbfc;
}

.imrad-sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.imrad-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem 1.15rem;
  position: relative;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.imrad-step-card:hover {
  border-color: var(--brand-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(27, 154, 170, 0.08);
}

.imrad-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(27, 154, 170, 0.12);
  color: var(--brand-cyan);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(27, 154, 170, 0.3);
}

.imrad-step-content {
  flex: 1;
}

.imrad-step-title {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-main);
  margin-bottom: 0.45rem;
}

.imrad-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.imrad-points li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.83rem;
  color: #334155;
  line-height: 1.45;
  margin-bottom: 0.35rem;
}

.imrad-points li:last-child {
  margin-bottom: 0;
}

.imrad-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #10b981;
  font-weight: bold;
  font-size: 0.85rem;
}

.imrad-tech-rules {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--brand-cyan);
  border-radius: 8px;
  padding: 1rem 1.2rem;
}

.imrad-tech-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headings);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-main);
  margin-bottom: 0.65rem;
}

.imrad-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}

.imrad-tech-item {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.5;
  background: #f8fafc;
  padding: 0.7rem 0.85rem;
  border-radius: 6px;
  border: 1px solid #edf2f7;
}

.imrad-tech-item strong {
  display: block;
  color: var(--brand-main);
  margin-bottom: 0.25rem;
  font-size: 0.84rem;
}

/* Micro field hints */
.field-hint {
  display: block;
  font-size: 0.77rem;
  color: #64748b;
  margin-top: 0.35rem;
  line-height: 1.35;
}

/* ========================================================
   FORM INPUTS & PLACEHOLDER FULL VISIBILITY
======================================================== */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #8492A6 !important;
  font-size: 0.85rem !important;
  line-height: 1.45 !important;
  opacity: 0.95 !important;
  font-style: normal;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-size: 0.9rem;
  width: 100%;
  box-sizing: border-box;
}

.form-group textarea {
  min-height: 75px;
  line-height: 1.5;
  tab-size: 4;
  -moz-tab-size: 4;
}

/* ========================================================
   REFERENCES TEXTAREA STYLING
======================================================== */
.references-textarea {
  width: 100%;
  min-height: 115px;
  line-height: 1.55;
  font-family: inherit;
  font-size: 0.88rem;
  padding: 0.75rem 0.95rem;
  border-radius: 6px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #0f172a;
  box-sizing: border-box;
  resize: vertical;
  transition: all var(--transition-fast);
  tab-size: 4;
  -moz-tab-size: 4;
}

.references-textarea:focus {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(27, 154, 170, 0.18);
  outline: none;
}

/* ========================================================
   EMAIL DISPATCH & SMTP STYLES
======================================================== */
.smtp-help-box {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 6px;
  padding: 0.85rem 1.1rem;
  font-size: 0.84rem;
  color: #1E40AF;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.email-options-panel {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  padding: 1.2rem;
  text-align: left;
  animation: fadeIn 0.3s ease;
}

.email-options-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headings);
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--nmu-navy);
  margin-bottom: 0.4rem;
}

.email-options-desc {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 0.9rem;
}

.email-options-btns {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.btn-email-option {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-email-option.btn-gmail {
  background: #EA4335;
  color: #FFFFFF;
  border: 1px solid #D93025;
}

.btn-email-option.btn-gmail:hover {
  background: #D93025;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 67, 53, 0.3);
}

.btn-email-option.btn-client {
  background: #FFFFFF;
  color: var(--nmu-navy);
  border: 1px solid var(--cream-dark);
}

.btn-email-option.btn-client:hover {
  background: #F1F5F9;
  border-color: var(--nmu-blue);
  color: var(--nmu-blue);
}

.btn-email-option.btn-smtp {
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #CBD5E1;
}

.btn-email-option.btn-smtp:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.email-status-success {
  background: #ECFDF5;
  border: 1.5px solid #10B981;
  color: #065F46;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  font-size: 0.86rem;
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
}

.email-status-error {
  background: #FEF2F2;
  border: 1.5px solid #EF4444;
  color: #991B1B;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  font-size: 0.86rem;
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
}

.spinner-small {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: -2px;
  margin-right: 0.35rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========================================================
   DYNAMIC REFERENCES CONSTRUCTOR (ДЖЕРЕЛА)
======================================================== */
.ref-builder-container {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.ref-builder-container:focus-within {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(27, 154, 170, 0.12);
}

.ref-builder-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ref-builder-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.45rem 0.6rem;
  transition: all var(--transition-fast);
}

.ref-builder-row:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.ref-builder-row:focus-within {
  background: #ffffff;
  border-color: var(--brand-cyan);
  box-shadow: 0 2px 6px rgba(27, 154, 170, 0.1);
}

.ref-item-num {
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brand-cyan);
  min-width: 26px;
  text-align: right;
  user-select: none;
  flex-shrink: 0;
}

.ref-item-field {
  flex: 1;
  min-width: 0;
}

.ref-item-input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #1e293b;
  padding: 0.35rem 0.2rem;
  outline: none;
  box-sizing: border-box;
}

.ref-item-input::placeholder {
  color: #94a3b8;
  font-size: 0.83rem;
}

.btn-ref-remove {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.btn-ref-remove:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.btn-ref-remove:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.ref-builder-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #e2e8f0;
}

.btn-add-reference {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(27, 154, 170, 0.08);
  color: var(--brand-cyan);
  border: 1.5px dashed var(--brand-cyan);
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.btn-add-reference:hover {
  background: var(--brand-cyan);
  color: #ffffff;
  border-style: solid;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(27, 154, 170, 0.25);
}

.ref-builder-hint {
  font-size: 0.78rem;
  color: #64748b;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

@media (max-width: 576px) {
  .ref-builder-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-add-reference {
    justify-content: center;
    width: 100%;
  }
}

/* Honeypot Bot Trap */
.form-hp-trap {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
  z-index: -100 !important;
}

/* Cloudflare Turnstile Security Box */
.turnstile-security-box {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 65px;
}

@media (max-width: 576px) {
  .turnstile-security-box {
    justify-content: center;
  }
}

/* ==========================================================================
   WORKSHOPS PANEL & CARDS (DAY 2)
   ========================================================================== */
.workshops-banner-card {
  background: linear-gradient(135deg, #091326 0%, #122448 60%, #1D428A 100%);
  color: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid rgba(197, 155, 39, 0.3);
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}

.workshops-banner-title {
  font-family: var(--font-headings);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--nmu-gold-light);
  margin: 0.8rem 0 0.8rem 0;
  line-height: 1.3;
}

.workshops-banner-text {
  font-size: 0.98rem;
  color: rgba(248, 250, 252, 0.9);
  line-height: 1.68;
  margin-bottom: 1.2rem;
}

.workshops-banner-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: rgba(245, 158, 11, 0.14);
  border-left: 3px solid #F59E0B;
  padding: 0.9rem 1.1rem;
  border-radius: 6px;
  color: #FDE68A;
  font-size: 0.88rem;
  line-height: 1.5;
}

.workshops-banner-alert svg {
  flex-shrink: 0;
  stroke: #FBBF24;
  margin-top: 1px;
}

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.workshop-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.workshop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(29, 66, 138, 0.12);
  border-color: rgba(29, 66, 138, 0.35);
}

.workshop-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.workshop-badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.ws-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 600;
}

.ws-badge-room {
  background: rgba(29, 66, 138, 0.08);
  color: #1D428A;
  border: 1px solid rgba(29, 66, 138, 0.2);
}

.ws-badge-meta {
  background: rgba(27, 154, 170, 0.08);
  color: #0E7490;
  border: 1px solid rgba(27, 154, 170, 0.2);
}

.ws-number {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 800;
  color: #CBD5E1;
}

.workshop-card-title {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0F172A;
  margin-bottom: 0.85rem;
}

.workshop-card-desc {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.workshop-card-skills {
  margin-bottom: 1.25rem;
  background: rgba(29, 66, 138, 0.035);
  border: 1px solid rgba(29, 66, 138, 0.12);
  border-radius: 8px;
  padding: 0.95rem 1.05rem;
}

.skills-heading {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1D428A;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.65rem;
}

.skills-heading svg {
  color: #1B9AAA;
  flex-shrink: 0;
}

.skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.skills-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  line-height: 1.48;
  color: #334155;
}

.skills-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #10B981;
  font-weight: 800;
  font-size: 0.88rem;
}

.workshop-card-equip {
  background: #F8FAFC;
  border-radius: 8px;
  border: 1px dashed #CBD5E1;
  padding: 0.85rem 1rem;
  margin-top: auto;
  margin-bottom: 1.25rem;
}

.equip-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748B;
  margin-bottom: 0.3rem;
}

.equip-text {
  font-size: 0.85rem;
  color: #334155;
  line-height: 1.5;
  margin: 0;
}

.workshop-card-footer {
  margin-top: auto;
}

.btn-workshop-register {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #1D428A 0%, #15326C 100%);
  color: #ffffff;
  padding: 0.75rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-workshop-register:hover {
  background: linear-gradient(135deg, #15326C 0%, #0F234B 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(29, 66, 138, 0.25);
}

@media (max-width: 768px) {
  .workshops-banner-card {
    padding: 1.5rem;
  }
  .workshops-banner-title {
    font-size: 1.45rem;
  }
  .workshops-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FAQ ACCORDION & REAL-TIME SEARCH
   ========================================================================== */
.faq-section {
  padding: 6rem 0;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.faq-search-wrapper {
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.faq-search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 50px;
  border: 2px solid rgba(29, 66, 138, 0.18);
  padding: 0.65rem 1.4rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-search-box:focus-within {
  border-color: #1D428A;
  box-shadow: 0 8px 30px rgba(29, 66, 138, 0.2);
}

.faq-search-icon {
  color: #1D428A;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

#faqSearchInput {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.98rem;
  color: #1E293B;
  background: transparent;
}

.faq-search-clear {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 0.4rem;
  transition: color 0.15s;
}

.faq-search-clear:hover {
  color: #0F172A;
}

.faq-search-meta {
  text-align: center;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #E2E8F0;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.faq-accordion-container {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.faq-category-block {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
  padding: 1.8rem 2rem;
}

.faq-category-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid #F1F5F9;
  padding-bottom: 0.85rem;
}

.faq-cat-badge {
  background: linear-gradient(135deg, #1D428A 0%, #1B9AAA 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.faq-category-title {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}

.faq-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
  border-color: #CBD5E1;
}

.faq-item.open {
  border-color: #1D428A;
  box-shadow: 0 4px 14px rgba(29, 66, 138, 0.08);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s;
}

.faq-question-btn:hover {
  background-color: #F8FAFC;
}

.faq-q-text {
  font-family: var(--font-headings);
  font-size: 1rem;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.45;
}

.faq-chevron-box {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.2s;
}

.faq-item.open .faq-chevron-box {
  transform: rotate(180deg);
  background: rgba(29, 66, 138, 0.1);
}

.faq-chevron {
  stroke: #64748B;
  transition: stroke 0.2s;
}

.faq-item.open .faq-chevron {
  stroke: #1D428A;
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer-panel {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.3rem 1.2rem 1.3rem;
  border-top: 1px solid #F1F5F9;
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.68;
}

.faq-answer-content p {
  margin: 0;
  color: black;
}

.faq-no-results {
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 3rem 2rem;
  max-width: 540px;
  margin: 2rem auto 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  color: #475569;
}

.faq-no-results svg {
  stroke: #94A3B8;
  margin-bottom: 1rem;
}

.faq-no-results h4 {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.faq-no-results p {
  font-size: 0.92rem;
  color: #64748B;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .faq-category-block {
    padding: 1.2rem 1.2rem;
  }
  .faq-question-btn {
    padding: 0.9rem 1rem;
  }
  .faq-q-text {
    font-size: 0.92rem;
  }
}

/* ==========================================================================
   REGISTRATION MODAL TABS & WORKSHOP FORM
   ========================================================================== */
.reg-modal-tabs-header {
  display: flex;
  gap: 0.5rem;
  background: #F1F5F9;
  padding: 0.35rem;
  border-radius: 8px;
  margin-bottom: 1.6rem;
  border: 1px solid #E2E8F0;
}

.reg-modal-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  background: transparent;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reg-modal-tab-btn.active {
  background: #ffffff;
  color: #1D428A;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

.workshop-priority-switch-card {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  transition: border-color 0.2s, background 0.2s;
}

.workshop-priority-switch-card:hover {
  border-color: #1D428A;
  background: #F0F7FF;
}

.switch-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  cursor: pointer;
  margin: 0;
}

.switch-checkbox-label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.custom-checkbox-marker {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 2px solid #94A3B8;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.15s;
}

.custom-checkbox-marker svg {
  display: none;
}

.switch-checkbox-label input:checked + .custom-checkbox-marker {
  background: #1D428A;
  border-color: #1D428A;
  color: #ffffff;
}

.switch-checkbox-label input:checked + .custom-checkbox-marker svg {
  display: block;
}

.switch-text strong {
  display: block;
  font-size: 0.92rem;
  color: #0F172A;
  margin-bottom: 0.2rem;
}

.switch-text small {
  display: block;
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.4;
}

@media (max-width: 576px) {
  .reg-modal-tabs-header {
    flex-direction: column;
    gap: 0.35rem;
  }
  .reg-modal-tab-btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   ACADEMIC GUIDE TRIGGER CARD & MODAL
   ========================================================================== */
.academic-guide-trigger-card {
  background: linear-gradient(135deg, #F0F7FF 0%, #F8FAFC 100%);
  border: 1.5px solid #BFDBFE;
  border-radius: 10px;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1.4rem;
  margin-bottom: 1.4rem;
}

.academic-guide-trigger-card:hover {
  border-color: #1D428A;
  box-shadow: 0 6px 20px rgba(29, 66, 138, 0.1);
  transform: translateY(-1px);
}

.academic-guide-trigger-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.academic-guide-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(29, 66, 138, 0.1);
  color: #1D428A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.academic-guide-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1D428A;
  background: rgba(29, 66, 138, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.25rem;
}

.academic-guide-trigger-heading {
  font-family: var(--font-headings);
  font-size: 0.98rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 0.2rem 0;
}

.academic-guide-trigger-sub {
  font-size: 0.84rem;
  color: #64748B;
  margin: 0;
  line-height: 1.4;
}

.btn-guide-modal-open {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #1D428A;
  color: #ffffff;
  padding: 0.55rem 0.95rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.82rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.btn-guide-modal-open:hover {
  background: #15326C;
}

.academic-guide-modal-window {
  max-width: 820px;
  width: 92%;
  max-height: 88vh;
  overflow-y: auto;
}

.guide-modal-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #1D428A;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 640px) {
  .academic-guide-trigger-card {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.9rem;
  }
  .btn-guide-modal-open {
    justify-content: center;
    width: 100%;
  }
}

/* ============ CONSENT / PRIVACY POLICY CHECKBOX & MODAL ============ */
.consent-checkbox-card {
  margin: 1.25rem 0 0.5rem 0;
  padding: 1rem 1.2rem;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.consent-checkbox-card:hover {
  border-color: var(--brand-cyan);
  background: #f0f7ff;
}

.consent-checkbox-card.shake-highlight {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
  animation: consentShake 0.4s ease-in-out;
}

@keyframes consentShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.privacy-policy-link {
  color: var(--brand-cyan) !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.privacy-policy-link:hover {
  color: #127481 !important;
}

.footer-privacy-link {
  color: var(--brand-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 0.35rem;
  transition: color var(--transition-fast);
}

.footer-privacy-link:hover {
  color: var(--brand-gold);
}

/* Privacy Modal Overlay: higher z-index to appear on top of regModal */
#privacyModal {
  z-index: 2200;
}

.privacy-modal-window {
  max-width: 820px;
  width: 92%;
  max-height: 88vh;
  overflow-y: auto;
}

.privacy-sections-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.privacy-section-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.1rem 1.3rem;
  text-align: left;
}

.privacy-section-card h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--brand-main);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.privacy-section-card h4 svg {
  flex-shrink: 0;
  color: var(--brand-cyan);
}

.privacy-section-card p,
.privacy-section-card ul {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.6;
  margin: 0;
}

.privacy-section-card ul {
  padding-left: 1.25rem;
  margin-top: 0.4rem;
}

.privacy-section-card li {
  margin-bottom: 0.35rem;
}

@media (max-width: 640px) {
  .privacy-modal-window {
    padding: 1.8rem 1.2rem;
    width: 96%;
    max-height: 92vh;
  }
  .privacy-section-card {
    padding: 0.95rem 1rem;
  }
  .consent-checkbox-card {
    padding: 0.85rem 0.9rem;
  }
}


