/*
Theme Name: Inforumex World
Theme URI: https://inforumexworld.org
Author: Inforumex World Dev Team
Author URI: https://inforumexworld.org
Description: Professional conference management theme for Inforumex World — international scientific conferences, seminars and digital summits.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
License: Proprietary
License URI: https://inforumexworld.org/license
Text Domain: inforumex
Tags: conference, academic, professional, events, registration

Copyright (C) 2026 Inforumex World. All Rights Reserved.
Unauthorized copying, redistribution or modification of this theme is strictly prohibited.
*/

/* =============================================
   CSS CUSTOM PROPERTIES — BRAND COLORS
   ============================================= */
:root {
  --color-navy:       #0D1B3E;
  --color-royal:      #1A3A8F;
  --color-blue:       #1E6DB5;
  --color-bright:     #2E9EE0;
  --color-silver:     #6B7A99;
  --color-light-bg:   #F4F7FC;
  --color-white:      #FFFFFF;
  --color-gold:       #F0A500;
  --color-dark-text:  #1A1A2E;
  --color-body-text:  #3D4A66;
  --color-border:     #D8E0EE;
  --color-success:    #28A745;
  --color-error:      #DC3545;
  --color-warning:    #FFC107;

  --gradient-primary: linear-gradient(135deg, #0D1B3E 0%, #1A3A8F 50%, #2E9EE0 100%);
  --gradient-hero:    linear-gradient(135deg, rgba(13,27,62,0.92) 0%, rgba(30,109,181,0.80) 100%);
  --gradient-card:    linear-gradient(180deg, #1A3A8F 0%, #0D1B3E 100%);

  --shadow-sm:  0 2px 8px rgba(13,27,62,0.08);
  --shadow-md:  0 4px 20px rgba(13,27,62,0.14);
  --shadow-lg:  0 8px 40px rgba(13,27,62,0.18);
  --shadow-xl:  0 16px 60px rgba(13,27,62,0.22);

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  --font-primary: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Poppins', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;

  --container-width: 1280px;
  --container-padding: 0 24px;

  --header-height: 80px;
  --section-padding: 80px 0;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--color-body-text);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-blue); text-decoration: none; transition: var(--transition-fast); }
a:hover { color: var(--color-bright); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: 1.3;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* =============================================
   CONTAINER
   ============================================= */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
  width: 100%;
}

/* =============================================
   SECTION STYLES
   ============================================= */
.section { padding: var(--section-padding); }
.section--light { background: var(--color-light-bg); }
.section--dark { background: var(--color-navy); color: var(--color-white); }
.section--navy { background: var(--color-navy); }
.section--gradient { background: var(--gradient-primary); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-badge {
  /* Base: always inline, never full-width */
  display: inline-block;
  background: rgba(46,158,224,0.12);
  color: #1565a0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(46,158,224,0.25);
  max-width: 100%;
  word-break: break-word;
  white-space: normal;
  line-height: 1.4;
}
.section-header .section-badge {
  /* When inside .section-header (centred), keep display inline-block */
  display: inline-block;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 640px; margin: 0 auto; color: var(--color-silver); font-size: 1.05rem; }
.section--dark .section-header h2,
.section--navy .section-header h2 { color: var(--color-white); }
.section--dark .section-header p,
.section--navy .section-header p { color: rgba(255,255,255,0.88); }

/* =============================================
   LOGO — White BG fix + shrink animation
   ============================================= */

/* ── Custom logo ── */
.site-logo .custom-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Logo image — white bg shown as a clean badge on dark header */
.site-logo .custom-logo-link img {
  height: 50px;
  width: auto;
  display: block;
  border-radius: 8px;
  /* Slight padding so white bg looks intentional as a card/badge */
  padding: 4px 6px;
  background: rgba(255,255,255,1);
  /* Subtle glow on dark header */
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  transition: height 0.4s cubic-bezier(0.4,0,0.2,1),
              padding 0.4s ease,
              box-shadow 0.3s ease;
}
.site-logo .custom-logo-link img:hover {
  box-shadow: 0 4px 20px rgba(46,158,224,0.4);
}
/* Shrink logo with header */
#site-header.scrolled .site-logo .custom-logo-link img {
  height: 38px;
  padding: 3px 5px;
}

/* =============================================
   TEXT LOGO (when no custom logo uploaded)
   ============================================= */
.inf-logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.inf-text-logo {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  line-height: 1;
  transition: all 0.4s ease;
}
.logo-main {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.3px;
  transition: font-size 0.4s ease;
}
.logo-accent {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-bright);
  letter-spacing: -0.3px;
  transition: font-size 0.4s ease;
}
/* Shrink text logo with header */
#site-header.scrolled .logo-main,
#site-header.scrolled .logo-accent {
  font-size: 1.05rem;
}
.logo-tag { display: none; }

/* =============================================
   HEADER / NAVIGATION — Shrink on scroll
   ============================================= */

/* WordPress admin bar compensation (logged-in users only) */
.admin-bar #site-header { top: 32px; }
.admin-bar #scroll-progress { top: 32px; }
.admin-bar .main-nav { top: calc(var(--header-height) + 32px); }
@media screen and (max-width: 782px) {
  .admin-bar #site-header { top: 46px; }
  .admin-bar #scroll-progress { top: 46px; }
  .admin-bar .main-nav { top: calc(var(--header-height) + 46px); }
}
/* Admin bar is hidden on ≤600px — reset header/nav to top of viewport */
@media screen and (max-width: 600px) {
  .admin-bar #site-header { top: 0; }
  .admin-bar #scroll-progress { top: 0; }
  .admin-bar .main-nav { top: var(--header-height); }
}

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  /* Solid enough to not show particles bleeding through nav text area */
  background: rgba(8,20,50,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(46,158,224,0.08);
  transition: height 0.4s cubic-bezier(0.4,0,0.2,1),
              background 0.4s ease,
              backdrop-filter 0.4s ease,
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}

/* Scrolled — shrinks to 60px, fully solid */
#site-header.scrolled {
  height: 60px;
  background: rgba(8,20,50,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(46,158,224,0.18);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

/* Scroll progress bar sits above header, not inside it */
#scroll-progress {
  top: 0;
  z-index: 1002; /* above header */
}

/* ── All inner pages: header always solid dark (not front page) ── */
body:not(.home) #site-header {
  background: rgba(13,27,62,0.98) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(46,158,224,0.2) !important;
}
body:not(.home) #site-header.scrolled {
  background: rgba(8,20,50,0.99) !important;
  box-shadow: 0 4px 32px rgba(0,0,0,0.45) !important;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%; /* inherits from #site-header which animates */
  gap: 24px;
  transition: height 0.4s ease;
}

.site-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-logo img { height: 52px; width: auto; }
.site-logo .logo-text { display: none; }

/* ── Main Navigation ── */
.main-nav { display: flex; align-items: center; gap: 0; transition: var(--transition); }
@media (min-width: 901px) {
  #site-header.scrolled .main-nav > li > a { padding: 6px 12px; font-size: 0.86rem; }
  #site-header.scrolled .header-cta .btn   { padding: 8px 20px; font-size: 0.82rem; }
}
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block;
  padding: 8px 18px;
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
  letter-spacing: 0.3px;
}
/* Animated underline uses ::before so ::after stays free for dropdown arrow */
.main-nav > li > a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-bright), transparent);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}
/* Hover — text brightens + underline grows from center */
.main-nav > li > a:hover {
  color: #ffffff;
}
.main-nav > li > a:hover::before {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

/* Active page — slightly brighter text, no static underline */
.main-nav > li.current-menu-item > a {
  color: rgba(255,255,255,0.95);
}

/* Dropdown arrow — inline, never absolute */
.main-nav .has-dropdown > a::after {
  content: ' ▾';
  font-size: 0.65rem;
  position: static; /* override any inherited absolute positioning */
  display: inline;
  transform: none;
  opacity: 0.7;
  vertical-align: middle;
  margin-left: 2px;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--color-navy);
  border: 1px solid rgba(46,158,224,0.15);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 999;
  overflow: hidden;
}
.main-nav .has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition-fast);
}
.dropdown-menu a:hover {
  background: rgba(46,158,224,0.12);
  color: var(--color-bright);
  padding-left: 28px;
}
.dropdown-menu li:last-child a { border-bottom: none; }
/* Dropdown meta links: "All Conferences" / "Past Conferences" */
.nav-dropdown-meta a {
  color: var(--color-bright) !important;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 10px !important;
}
.nav-dropdown-meta:first-child a { border-top: none; border-bottom: 1px solid rgba(255,255,255,0.08); }

/* Header CTA */
.header-cta { flex-shrink: 0; }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  letter-spacing: 0.3px;
}
.btn:focus-visible {
  outline: 3px solid var(--color-bright);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(30,109,181,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30,109,181,0.45);
  color: var(--color-white);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-white);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-blue);
  border-color: var(--color-blue);
}
.btn-outline:hover {
  background: var(--color-blue);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy);
  font-weight: 700;
}
.btn-gold:hover {
  background: #e09400;
  color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(240,165,0,0.35);
}

.btn-sm { padding: 8px 20px; font-size: 0.82rem; }
.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-xl { padding: 20px 52px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* =============================================
   HERO SECTION (Main Site)
   ============================================= */
.hero-main {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Deep navy gradient as base — always visible under animation */
  background: linear-gradient(135deg, #020810 0%, #061428 40%, #071830 70%, #030a1a 100%);
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
/* Very light overlay — just enough to read text, doesn't kill animation brightness */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(2,8,16,0.62) 0%,   /* left — text side, bit darker */
    rgba(6,20,40,0.30) 50%,  /* centre — light, shows animation */
    rgba(7,24,48,0.15) 100%  /* right — very light */
  );
  pointer-events: none;
}
/* Conference hero — always dark navy base */
.conf-hero {
  background: linear-gradient(135deg, #020810 0%, #061428 50%, #0a1830 100%);
}
/* Canvas sits above base bg, animation is always visible */
#hero-canvas, #conf-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
  display: block;
}
.hero-content {
  position: relative;
  z-index: 3; /* above canvas (z:1) and overlay (z:2) */
  z-index: 1;
  text-align: center;
  color: var(--color-white);
  padding: 80px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46,158,224,0.18);
  border: 1px solid rgba(46,158,224,0.4);
  color: var(--color-bright);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
}
.hero-badge::before { content: '●'; font-size: 0.6rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-title span {
  color: var(--color-bright);
}
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: rgba(255,255,255,0.82);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 32px;
}
.hero-desc {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-bright);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}
.hero-scroll span {
  display: block;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 14px;
  position: relative;
}
.hero-scroll span::after {
  content: '';
  display: block;
  width: 4px;
  height: 8px;
  background: var(--color-white);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-dot 2s infinite;
}
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-6px); } }
@keyframes scroll-dot { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 24px; } }

@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;
  }
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center; /* vertically centre both columns */
  padding-bottom: 0;
}
/* .about-image defined below at the canonical block */
.about-content .section-badge { text-align: left; }
.about-content h2 { margin-bottom: 20px; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.about-feature:hover {
  border-color: var(--color-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.about-feature .icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-navy), var(--color-royal));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.about-feature h5 { font-size: 0.9rem; margin-bottom: 3px; color: var(--color-navy); }
.about-feature p { font-size: 0.8rem; color: var(--color-silver); margin: 0; line-height: 1.5; }

/* =============================================
   CONFERENCES SECTION
   ============================================= */
.conf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

/* ─── Conference List (All Conferences page) ─── */
.conf-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.conf-list-item {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--color-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(13,27,62,.07);
  border: 1px solid var(--color-border);
  transition: transform .22s ease, box-shadow .22s ease;
}
.conf-list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(13,27,62,.13);
}

/* Thumbnail */
.conf-list-thumb {
  width: 190px;
  min-width: 190px;
  height: 120px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #0D1B3E, #1A3A8F);
  flex-shrink: 0;
}
.conf-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.conf-list-item:hover .conf-list-thumb img { transform: scale(1.06); }
.conf-list-thumb--past img { filter: grayscale(45%); }

/* Status badge on thumbnail */
.conf-list-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 3px 9px;
  border-radius: 20px;
  color: #fff;
  background: var(--gradient-primary);
}
.conf-list-badge.badge-upcoming  { background: linear-gradient(135deg,#1A3A8F,#2E9EE0); }
.conf-list-badge.badge-ongoing   { background: linear-gradient(135deg,#1a7a1a,#2ecc71); }
.conf-list-badge.badge-past      { background: rgba(100,100,120,.85); }

/* Divider line between thumb and body */
.conf-list-thumb::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-bright), var(--color-navy));
  opacity: .5;
}

/* Body */
.conf-list-body {
  flex: 1;
  padding: 16px 20px;
  min-width: 0;
}
.conf-list-code {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-bright);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.conf-list-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 7px;
  line-height: 1.35;
}
.conf-list-title a {
  color: inherit;
  text-decoration: none;
}
.conf-list-title a:hover { color: var(--color-bright); }
.conf-list-date {
  font-size: 0.8rem;
  color: var(--color-silver);
  margin-bottom: 6px;
}
.conf-list-theme {
  font-size: 0.78rem;
  color: var(--color-silver);
  font-style: italic;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Actions */
.conf-list-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px;
  flex-shrink: 0;
  min-width: 148px;
  border-left: 1px solid var(--color-border);
}

/* Past item muted look */
.conf-list-item--past { opacity: .82; }
.conf-list-item--past:hover { opacity: 1; }

/* Responsive */
@media (max-width: 700px) {
  .conf-list-item { flex-wrap: wrap; }
  .conf-list-thumb { width: 100%; min-width: 100%; height: 140px; }
  .conf-list-thumb::after { display: none; }
  .conf-list-body { padding: 14px 16px 0; }
  .conf-list-actions { border-left: none; border-top: 1px solid var(--color-border); flex-direction: row; padding: 12px 16px; width: 100%; box-sizing: border-box; }
}
.conf-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  position: relative;
}
.conf-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.conf-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.conf-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.conf-card:hover .conf-card-image img { transform: scale(1.05); }
.conf-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  background: var(--gradient-primary);
}
.conf-card-badge.badge-upcoming  { background: linear-gradient(135deg,#1A3A8F,#2E9EE0); }
.conf-card-badge.badge-ongoing   { background: linear-gradient(135deg,#1a7a1a,#2ecc71); }
.conf-card-badge.badge-past      { background: rgba(120,120,140,0.85); }
.conf-card-body { padding: 24px; }
.conf-card-code {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-bright);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.conf-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 12px;
  line-height: 1.4;
}
.conf-card-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  color: var(--color-silver);
  margin-bottom: 16px;
}
.conf-card-date::before { content: '📅'; font-size: 0.85rem; }
.conf-card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* =============================================
   STATS COUNTER
   ============================================= */
.stats-section {
  background: var(--gradient-primary);
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item .count {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.stat-item .count span { color: var(--color-gold); }
.stat-item .label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* =============================================
   UNIVERSITIES SECTION
   ============================================= */
.universities-section { padding: 60px 0; background: var(--color-light-bg); }
.universities-track {
  overflow: hidden;
  position: relative;
}
.universities-track::before,
.universities-track::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
}
.universities-track::before { left: 0; background: linear-gradient(to right, var(--color-light-bg), transparent); }
.universities-track::after { right: 0; background: linear-gradient(to left, var(--color-light-bg), transparent); }
.universities-scroll {
  display: flex;
  gap: 40px;
  animation: scroll-unis 30s linear infinite;
  width: max-content;
}
.universities-scroll:hover { animation-play-state: paused; }
@keyframes scroll-unis { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.uni-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 180px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  flex-shrink: 0;
  transition: var(--transition);
}
.uni-logo:hover { box-shadow: var(--shadow-md); transform: scale(1.04); }
.uni-logo img { max-height: 48px; width: auto; filter: grayscale(40%); transition: filter 0.3s; }
.uni-logo:hover img { filter: grayscale(0%); }

/* =============================================
   SPONSORS SECTION
   ============================================= */
.sponsor-tiers { display: flex; flex-direction: column; gap: 40px; }
.sponsor-tier-label {
  text-align: center;
  margin-bottom: 20px;
}
.sponsor-tier-label h3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--color-silver);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}
.sponsor-tier-label.platinum h3 { color: #b0c4de; }
.sponsor-tier-label.gold h3 { color: var(--color-gold); }
.sponsor-tier-label.silver h3 { color: #aaa; }
.sponsor-tier-label h3::before,
.sponsor-tier-label h3::after { content: '───'; opacity: 0.4; }

.sponsor-package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.sponsor-package-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  position: relative;
  transition: var(--transition);
}
.sponsor-package-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.sponsor-package-card.featured { border-color: var(--color-gold); }
.sponsor-package-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.sponsor-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.sponsor-tier-badge.platinum { background: rgba(176,196,222,0.15); color: #b0c4de; }
.sponsor-tier-badge.gold { background: rgba(240,165,0,0.12); color: var(--color-gold); }
.sponsor-tier-badge.silver { background: rgba(170,170,170,0.12); color: #999; }
.sponsor-tier-badge.virtual { background: rgba(46,158,224,0.12); color: var(--color-bright); }

.sponsor-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 20px;
}
.sponsor-price span { font-size: 1rem; font-weight: 400; color: var(--color-silver); }
.sponsor-features { margin-bottom: 24px; }
.sponsor-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-body-text);
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
}
.sponsor-features li:last-child { border-bottom: none; }
.sponsor-features li::before { content: '✓'; color: var(--color-success); font-weight: 700; flex-shrink: 0; }

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}
.contact-info { color: var(--color-white); }
.contact-info h2 { color: var(--color-white); margin-bottom: 16px; }
.contact-info p { color: rgba(255,255,255,0.9); margin-bottom: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-item .icon {
  width: 48px;
  height: 48px;
  background: rgba(46,158,224,0.15);
  border: 1px solid rgba(46,158,224,0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-item .details h5 { color: var(--color-white); font-size: 0.85rem; margin-bottom: 4px; }
.contact-item .details p, .contact-item .details a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.contact-item .details a:hover { color: var(--color-bright); }

/* Contact Form */
.contact-form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}
.contact-form-wrap h3 { margin-bottom: 28px; color: var(--color-navy); font-size: 1.4rem; }

/* =============================================
   FORMS (Global)
   ============================================= */
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 6px;
}
.form-label .required { color: var(--color-error); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--color-dark-text);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(30,109,181,0.12);
}
.form-control.error { border-color: var(--color-error); box-shadow: 0 0 0 3px rgba(220,53,69,0.1); }
.form-control.success { border-color: var(--color-success); }
.form-control:disabled,
.form-control[readonly] {
  background: #f4f6fa;
  color: var(--color-silver);
  cursor: not-allowed;
  opacity: 0.7;
}
.form-control::placeholder { color: var(--color-silver); opacity: 0.75; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238C9BB5' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
.form-error { color: var(--color-error); font-size: 0.78rem; margin-top: 4px; display: none; }
.form-error.visible { display: block; }
.form-success-msg {
  background: rgba(40,167,69,0.1);
  border: 1px solid rgba(40,167,69,0.3);
  color: #155724;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  display: none;
}
.form-success-msg.visible { display: block; }

/* Checkboxes & Radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 8px;
}
.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-border);
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-blue);
  cursor: pointer;
}
.form-check label { font-size: 0.88rem; cursor: pointer; }

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

/* Footer logo text — override to white since bg is very dark */
#site-footer .inf-text-logo .logo-main { color: var(--color-white); font-size: 1.2rem; }
#site-footer .inf-text-logo .logo-accent { color: var(--color-bright); font-size: 1.2rem; }
#site-footer .inf-logo-link { text-decoration: none; margin-bottom: 16px; display: inline-flex; }

/* Footer horizontal logo — logo image + site name side by side */
.inf-logo-horizontal {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-bottom: 18px;
}
.inf-footer-logo-img {
  height: 52px;
  width: auto;
  max-width: 56px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: brightness(1.15);
  flex-shrink: 0;
}
.inf-footer-logo-svg {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(46,158,224,0.4));
}
#site-footer .inf-logo-horizontal .inf-text-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
#site-footer .inf-logo-horizontal .logo-main {
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}
#site-footer .inf-logo-horizontal .logo-accent {
  color: var(--color-bright);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#site-footer {
  background: #060d1e;
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand img { height: 56px; margin-bottom: 20px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; color: rgba(255,255,255,0.82); }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  transition: var(--transition-fast);
  text-decoration: none;
}
.social-link:hover {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: var(--color-white);
  transform: translateY(-2px);
}
.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.85);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--color-bright); padding-left: 4px; }
.footer-links a::before { content: '›'; font-size: 1rem; color: var(--color-blue); }

.footer-newsletter h4 { margin-bottom: 12px; }
.footer-newsletter p { font-size: 0.84rem; color: rgba(255,255,255,0.82); margin-bottom: 16px; }
.newsletter-form { display: flex; gap: 0; }
.newsletter-form input {
  flex: 1;
  padding: 11px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  color: var(--color-white);
  font-size: 0.85rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { border-color: var(--color-blue); background: rgba(255,255,255,0.1); }
.newsletter-form button {
  padding: 11px 20px;
  background: var(--color-blue);
  color: var(--color-white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid var(--color-blue);
}
.newsletter-form button:hover { background: var(--color-bright); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
}
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  transition: var(--transition-fast);
}
.footer-bottom-links a:hover { color: var(--color-bright); }

/* =============================================
   CONFERENCE SUB-NAVIGATION
   ============================================= */
/* ------------------------------------------------------------------
   CONFERENCE SUB-NAV
   HOME:      position STICKY — stays in document flow, content
              below is naturally pushed down. Sticks when it reaches
              the bottom edge of the fixed main header.
   SUB-PAGES: position FIXED  — nav is injected before page-hero,
              page-hero needs explicit margin-top offset.
   ------------------------------------------------------------------ */
:root { --conf-subnav-h: 44px; }

/* Base style shared by both cases */
.conf-subnav {
  background: rgba(10,22,52,0.97);
  border-bottom: 2px solid rgba(46,158,224,0.30);
  left: 0; right: 0;
  z-index: 900;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 3px 20px rgba(0,0,0,0.32);
  /* Default: sticky for conference home */
  position: sticky;
  top: var(--header-height);
}

/* SUB-PAGES ONLY: switch to fixed so it persists while scrolling */
body.is-conf-subpage .conf-subnav {
  position: fixed;
  top: var(--header-height);
}
body.is-conf-subpage.admin-bar .conf-subnav { top: calc(var(--header-height) + 32px); }
@media screen and (max-width: 782px) {
  body.is-conf-subpage.admin-bar .conf-subnav { top: calc(var(--header-height) + 46px); }
}
@media screen and (max-width: 600px) {
  body.is-conf-subpage.admin-bar .conf-subnav { top: var(--header-height); }
}

/* When header shrinks to 60px on scroll, subnav follows — no gap */
body.scrolled .conf-subnav { top: 60px; }
body.scrolled.is-conf-subpage.admin-bar .conf-subnav { top: calc(60px + 32px); }
@media screen and (max-width: 782px) {
  body.scrolled.is-conf-subpage.admin-bar .conf-subnav { top: calc(60px + 46px); }
}
@media screen and (max-width: 600px) {
  body.scrolled.is-conf-subpage.admin-bar .conf-subnav { top: 60px; }
}

/* Conference HOME admin-bar sticky offset */
body.admin-bar:not(.is-conf-subpage) .conf-subnav { top: calc(var(--header-height) + 32px); }
@media screen and (max-width: 782px) {
  body.admin-bar:not(.is-conf-subpage) .conf-subnav { top: calc(var(--header-height) + 46px); }
}
@media screen and (max-width: 600px) {
  body.admin-bar:not(.is-conf-subpage) .conf-subnav { top: var(--header-height); }
}

/* Conference HOME: hero only needs to clear the main fixed header
   (subnav is sticky and appears after the hero in normal flow) */
body.is-conference-page:not(.is-conf-subpage) .conf-hero {
  margin-top: var(--header-height);
}
/* Admin bar adds 32px offset — conf-hero must clear header + admin-bar */
body.admin-bar.is-conference-page:not(.is-conf-subpage) .conf-hero {
  margin-top: calc(var(--header-height) + 32px);
}
@media screen and (max-width: 782px) {
  body.admin-bar.is-conference-page:not(.is-conf-subpage) .conf-hero {
    margin-top: calc(var(--header-height) + 46px);
  }
}
@media screen and (max-width: 600px) {
  body.admin-bar.is-conference-page:not(.is-conf-subpage) .conf-hero {
    margin-top: var(--header-height);
  }
}
/* Admin bar: sub-page page-hero must clear header + admin-bar + fixed subnav */
body.admin-bar.is-conf-subpage .page-hero {
  margin-top: calc(var(--header-height) + 32px + var(--conf-subnav-h));
}
@media screen and (max-width: 782px) {
  body.admin-bar.is-conf-subpage .page-hero {
    margin-top: calc(var(--header-height) + 46px + var(--conf-subnav-h));
  }
}
@media screen and (max-width: 600px) {
  body.admin-bar.is-conf-subpage .page-hero {
    margin-top: calc(var(--header-height) + var(--conf-subnav-h));
  }
}
/* Reduce top padding gap between subnav and first section on conference home */
body.is-conference-page:not(.is-conf-subpage) .conf-tab-pane > .section:first-child {
  padding-top: 40px;
}

/* Conference HOME: smooth anchor scrolling clears header + sticky subnav */
body.is-conference-page:not(.is-conf-subpage) section[id],
body.is-conference-page:not(.is-conf-subpage) div[id] {
  scroll-margin-top: calc(var(--header-height) + var(--conf-subnav-h) + 8px);
}

/* Conference HOME: tab pane show/hide */
.conf-tab-pane { display: none; }
.conf-tab-pane.active { display: block; }

/* Conference HOME: highlight active tab link in subnav */
.conf-subnav .conf-tab-link.active {
  color: var(--color-gold) !important;
  border-bottom: 2px solid var(--color-gold);
}

/* SUB-PAGES: page-hero must clear both fixed header + fixed subnav */
body.is-conf-subpage .page-hero {
  margin-top: calc(var(--header-height) + var(--conf-subnav-h));
}

.conf-subnav ul {
  display: flex;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  /* Desktop: no scroll, items sit in one row */
  overflow: visible;
  flex-wrap: nowrap;
}
/* Mobile: hamburger-expand pattern */
@media (max-width: 900px) {
  /* Toggle button — visible only on mobile */
  .conf-subnav-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 16px;
    color: var(--color-white);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    width: 100%;
    text-align: left;
  }
  .conf-subnav-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 18px;
    flex-shrink: 0;
  }
  .conf-subnav-toggle-icon span {
    display: block;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
  }
  .conf-subnav.mobile-open .conf-subnav-toggle-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .conf-subnav.mobile-open .conf-subnav-toggle-icon span:nth-child(2) { opacity: 0; }
  .conf-subnav.mobile-open .conf-subnav-toggle-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .conf-subnav-toggle-label { flex: 1; }
  .conf-subnav-toggle-arrow {
    transition: transform 0.25s;
    font-size: 0.7rem;
    opacity: 0.7;
  }
  .conf-subnav.mobile-open .conf-subnav-toggle-arrow { transform: rotate(180deg); }

  /* Collapsed: hide the nav list */
  .conf-subnav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8,18,48,0.99);
    border-top: 1px solid rgba(46,158,224,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    z-index: 890;
    padding: 8px 0;
    overflow: visible;
  }
  /* Expanded */
  .conf-subnav.mobile-open ul { display: flex; }

  .conf-subnav ul li { width: 100%; }
  .conf-subnav ul li a {
    padding: 13px 24px;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    border-bottom-color: rgba(255,255,255,0.06) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .conf-subnav ul li a::after { content: '›'; opacity: 0.4; font-size: 1rem; }
  .conf-subnav ul li a.current::after,
  .conf-subnav ul li a.conf-tab-link.active::after { content: '✓'; opacity: 1; color: var(--color-gold); }
}
/* Hide toggle on desktop */
@media (min-width: 901px) {
  .conf-subnav-toggle { display: none; }
}

.conf-subnav ul li a {
  display: block;
  padding: 12px 16px;
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  letter-spacing: 0.2px;
}
.conf-subnav ul li a:hover,
.conf-subnav ul li a.current {
  color: var(--color-white);
  background: rgba(46,158,224,0.1);
  border-bottom-color: var(--color-bright);
}

/* More Info dropdown */
.conf-subnav .has-dropdown { position: relative; }
.conf-subnav .has-dropdown .dropdown-menu {
  top: 100%;
  left: 0;
  min-width: 200px;
}
.conf-subnav .has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* Mobile: More Info submenu — indent inside expanded nav */
@media (max-width: 900px) {
  .conf-subnav .has-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.04);
    display: none;
    flex-direction: column;
    min-width: 100%;
    border-radius: 0;
  }
  .conf-subnav .has-dropdown.open .dropdown-menu { display: flex; }
  .conf-subnav .has-dropdown .dropdown-menu li a {
    padding: 11px 24px 11px 40px;
    font-size: 0.84rem;
    color: rgba(255,255,255,0.65);
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .conf-subnav .has-dropdown .dropdown-menu li a::after { display: none; }
  /* Disable hover trigger on mobile */
  .conf-subnav .has-dropdown:hover .dropdown-menu { display: none; }
  .conf-subnav .has-dropdown.open .dropdown-menu { display: flex !important; }
}

/* =============================================
   CONFERENCE PAGE — HERO/BANNER SLIDER
   ============================================= */
.conf-hero {
  position: relative;
  min-height: calc(85vh - var(--header-height));
  display: flex;
  align-items: center;
  margin-top: var(--header-height); /* clear fixed header */
  overflow: hidden;
  background: linear-gradient(135deg, #0D1B3E 0%, #1A3A8F 60%, #1E6DB5 100%);
}
.conf-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.conf-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.conf-slide.active { opacity: 1; }
.conf-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
/* Dark overlay so text is always readable */
.conf-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(13,27,62,0.88) 0%,
    rgba(13,27,62,0.70) 50%,
    rgba(13,27,62,0.50) 100%
  );
}
.conf-slider-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.conf-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}
.conf-slider-dot.active { background: var(--color-bright); width: 24px; }
.conf-hero-content {
  position: relative;
  z-index: 3; /* above canvas */
  color: var(--color-white);
  padding: 56px 0 80px; /* extra bottom so dots don't overlap */
  width: 100%;
  max-width: 860px;
}
.conf-short-code {
  display: inline-block;
  background: rgba(46,158,224,0.25);
  border: 1.5px solid rgba(46,158,224,0.5);
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  padding: 7px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.conf-hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.18;
  max-width: 780px;
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.conf-hero-theme {
  font-size: 1rem;
  color: var(--color-gold);
  font-style: italic;
  margin-bottom: 16px;
  font-weight: 500;
  opacity: 0.95;
}
.conf-hero-dates {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  margin-bottom: 32px;
  backdrop-filter: blur(4px);
}
.conf-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* =============================================
   CONFERENCE — ABOUT + DATES (Side by Side)
   ============================================= */
.conf-about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.conf-about-content h2 { margin-bottom: 20px; }
.conf-about-content p { font-size: 0.95rem; line-height: 1.85; }

.conf-dates-card {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: 32px;
  color: var(--color-white);
  position: sticky;
  top: calc(var(--header-height) + 24px);
}
.conf-dates-card h3 { color: var(--color-white); margin-bottom: 24px; font-size: 1.1rem; }
.date-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.date-item:last-child { border-bottom: none; }
.date-dot {
  width: 10px;
  height: 10px;
  background: var(--color-gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.date-dot.dot-closed { background: rgba(255,255,255,0.25); }
.date-item .date-label { font-size: 0.78rem; color: rgba(255,255,255,0.85); margin-bottom: 2px; }
.date-item .date-value { font-size: 0.9rem; font-weight: 600; }
.date-item .date-status {
  font-size: 0.72rem;
  background: rgba(40,167,69,0.25);
  color: #90EE90;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-top: 4px;
}
.date-item .date-status.status-closed {
  background: rgba(220,53,69,0.2);
  color: #ff9999;
}
.register-cta-box {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin-top: 24px;
}
.register-cta-box p { font-size: 0.82rem; margin-bottom: 12px; opacity: 0.8; }

/* =============================================
   CONFERENCE — OBJECTIVES / WHO / WHY (3-col)
   ============================================= */
.conf-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.conf-3col-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.conf-3col-card .card-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.conf-3col-card h3 { font-size: 1rem; margin-bottom: 14px; color: var(--color-navy); }
.conf-3col-card ul { display: flex; flex-direction: column; gap: 8px; }
.conf-3col-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-body-text);
  line-height: 1.5;
}
.conf-3col-card li::before { content: '▸'; color: var(--color-bright); flex-shrink: 0; margin-top: 2px; }

/* =============================================
   CONFERENCE — SESSIONS + SCHEDULE (Side by Side)
   ============================================= */
.sessions-schedule-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}
.sessions-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.session-tag {
  background: var(--color-light-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--color-navy);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}
.session-tag:hover {
  background: rgba(30,109,181,0.08);
  border-color: var(--color-blue);
  color: var(--color-blue);
}
.session-tag::before { content: '◆'; font-size: 0.5rem; color: var(--color-bright); }

.schedule-panel { background: var(--color-white); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); overflow: hidden; }
.schedule-tabs { display: flex; border-bottom: 1px solid var(--color-border); }
.schedule-tab {
  flex: 1;
  padding: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-silver);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.schedule-tab.active { color: var(--color-blue); border-bottom-color: var(--color-blue); }
.schedule-tab:hover { color: var(--color-blue); background: var(--color-light-bg); }
.schedule-tab:focus-visible { outline: 2px solid var(--color-blue); outline-offset: -2px; }
.schedule-content { padding: 20px; }
.schedule-pane { display: none; }
.schedule-pane.active { display: block; }
.schedule-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}
.schedule-item:last-child { border-bottom: none; }
.schedule-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-blue);
  white-space: nowrap;
  min-width: 120px;
  padding-top: 2px;
}
.schedule-event { font-size: 0.88rem; color: var(--color-navy); font-weight: 500; }
.schedule-item.break .schedule-event { color: var(--color-silver); font-style: italic; }

/* =============================================
   SPEAKERS / OCM GRID
   ============================================= */
.speaker-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  justify-content: center;
}
.filter-btn {
  padding: 9px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  color: var(--color-silver);
  background: var(--color-white);
  cursor: pointer;
  transition: var(--transition-fast);
}
.filter-btn.active, .filter-btn:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
  background: rgba(30,109,181,0.06);
}
.filter-btn.active { background: var(--color-blue); color: var(--color-white); }
.filter-btn:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.speaker-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.speaker-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.speaker-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 3px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.speaker-avatar img { width: 100%; height: 100%; object-fit: cover; }
.speaker-name { font-size: 0.95rem; font-weight: 700; color: var(--color-navy); margin-bottom: 4px; }
.speaker-affiliation { font-size: 0.78rem; color: var(--color-silver); margin-bottom: 8px; line-height: 1.4; }
.speaker-type-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}
.badge-keynote { background: rgba(13,27,62,0.08); color: var(--color-navy); }
.badge-invited { background: rgba(30,109,181,0.1); color: var(--color-blue); }
.badge-oral { background: rgba(46,158,224,0.1); color: var(--color-bright); }
.badge-young { background: rgba(240,165,0,0.1); color: var(--color-gold); }

/* Biography Modal */
.bio-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.bio-modal-overlay.open { opacity: 1; visibility: visible; }
.bio-modal {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition);
  box-shadow: var(--shadow-xl);
}
.bio-modal-overlay.open .bio-modal { transform: scale(1); }
.bio-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--color-silver);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
}
.bio-modal-close:hover { color: var(--color-error); }

/* =============================================
   REGISTRATION PAGE
   ============================================= */
.registration-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}
.reg-form-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.reg-form-card h2 { margin-bottom: 8px; }
.reg-form-card .subtitle { color: var(--color-silver); font-size: 0.88rem; margin-bottom: 32px; }
.reg-step-indicator {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  position: relative;
}
.reg-step-indicator::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}
.reg-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-border);
  color: var(--color-silver);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.reg-step.active .step-num { background: var(--color-blue); color: var(--color-white); }
.reg-step.completed .step-num { background: var(--color-success); color: var(--color-white); }
.step-label { font-size: 0.72rem; color: var(--color-silver); text-align: center; font-weight: 500; }
.reg-step.active .step-label { color: var(--color-blue); }

.reg-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-silver);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

/* Fee Summary */
.fee-summary-card {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: 28px;
  color: var(--color-white);
  position: sticky;
  top: calc(var(--header-height) + 24px);
}
.fee-summary-card h3 { color: var(--color-white); font-size: 1rem; margin-bottom: 24px; }
.fee-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.88rem;
}
.fee-line:last-of-type { border-bottom: none; }
.fee-line .fee-name { color: rgba(255,255,255,0.75); }
.fee-line .fee-amount { font-weight: 600; color: var(--color-white); }
.fee-line.total {
  border-top: 2px solid rgba(255,255,255,0.2);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 1rem;
}
.fee-line.total .fee-name { color: var(--color-white); font-weight: 700; }
.fee-line.total .fee-amount { color: var(--color-white); font-size: 1.2rem; font-weight: 800; }

.paypal-section { margin-top: 24px; }
.paypal-section p { font-size: 0.78rem; color: rgba(255,255,255,0.6); text-align: center; margin-bottom: 12px; }
.paypal-note { font-size: 0.75rem; color: rgba(255,255,255,0.5); text-align: center; margin-top: 12px; }

.reg-includes {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 24px;
}
.reg-includes h4 { font-size: 0.82rem; color: rgba(255,255,255,0.9); margin-bottom: 12px; font-weight: 700; }
.reg-includes li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  padding: 4px 0;
}
.reg-includes li::before { content: '✓'; color: #90EE90; font-weight: 700; flex-shrink: 0; }

/* =============================================
   ABSTRACT SUBMISSION
   ============================================= */
.abstract-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}
.abstract-guidelines {
  background: var(--color-light-bg);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid var(--color-border);
}
.abstract-guidelines h3 { font-size: 1rem; margin-bottom: 16px; color: var(--color-navy); }
.abstract-guidelines ul { display: flex; flex-direction: column; gap: 10px; }
.abstract-guidelines li {
  font-size: 0.85rem;
  color: var(--color-body-text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.abstract-guidelines li::before { content: '→'; color: var(--color-blue); flex-shrink: 0; font-weight: 700; }

.download-sample-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-white);
  border: 2px dashed var(--color-blue);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--color-blue);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}
.download-sample-btn:hover { background: rgba(30,109,181,0.06); color: var(--color-blue); }

/* =============================================
   CTA SECTION (Research Platform)
   ============================================= */
.research-cta {
  background: var(--gradient-primary);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.research-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.research-cta::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.research-cta .container { position: relative; z-index: 1; }
.research-cta h2 { color: var(--color-white); margin-bottom: 8px; }
.research-cta h3 { color: var(--color-gold); font-size: 1.1rem; font-weight: 400; margin-bottom: 16px; }
.research-cta p { color: rgba(255,255,255,0.9); max-width: 620px; margin: 0 auto 32px; }
.research-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   FAQ ACCORDION
   ============================================= */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}
.faq-item.open { border-color: var(--color-blue); box-shadow: var(--shadow-sm); }
.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
  gap: 16px;
}
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-blue);
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-icon { background: var(--color-blue); color: var(--color-white); transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer-inner { padding: 0 24px 20px; font-size: 0.9rem; color: var(--color-body-text); line-height: 1.8; }
.faq-item.open .faq-answer { max-height: 2000px; }

/* =============================================
   CANCELLATION POLICY TABLE
   ============================================= */
.policy-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
}
.policy-table thead tr { background: var(--color-navy); color: var(--color-white); }
.policy-table th { padding: 14px 20px; text-align: left; font-weight: 600; }
.policy-table td { padding: 14px 20px; border-bottom: 1px solid var(--color-border); }
.policy-table tbody tr:nth-child(even) { background: var(--color-light-bg); }
.policy-table tbody tr:hover { background: rgba(30,109,181,0.05); }

/* =============================================
   ALERTS & NOTIFICATIONS
   ============================================= */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.alert > span:first-child {
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1.4;
  margin-top: 1px;
}
.alert-info { background: rgba(30,109,181,0.1); border: 1px solid rgba(30,109,181,0.25); color: #0c3a6e; }
.alert-success { background: rgba(40,167,69,0.1); border: 1px solid rgba(40,167,69,0.3); color: #155724; }
.alert-warning { background: rgba(255,193,7,0.1); border: 1px solid rgba(255,193,7,0.3); color: #856404; }
.alert-error { background: rgba(220,53,69,0.1); border: 1px solid rgba(220,53,69,0.3); color: #721c24; }

/* =============================================
   PAGE HERO (Inner Pages)
   ============================================= */
.page-hero {
  background: var(--gradient-primary);
  padding: 72px 0 64px;
  margin-top: var(--header-height);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='1.2' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E") repeat;
}
/* Decorative radial glow */
.page-hero::after {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(46,158,224,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0 14px;
  line-height: 1.15;
}
.page-hero p.hero-desc {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 0;
  line-height: 1.7;
}
/* Conference meta pill row */
.page-hero .conf-meta-pills {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.page-hero .conf-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.88);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
.page-hero .conf-meta-pill strong { color: var(--color-bright); }
/* hide legacy breadcrumb */
.page-hero .breadcrumb { display: none !important; }

/* (page-hero margin-top for sub-pages is handled in the conf-subnav block above) */


/* =============================================
   BACK TO TOP
   ============================================= */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
  border: none;
  text-decoration: none;
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--color-white); }

/* Toast notification */
.inforumex-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-navy);
  color: var(--color-white);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: 90vw;
  text-align: center;
  pointer-events: none;
}
.inforumex-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.inforumex-toast--success { background: #1a6e3c; border-left: 4px solid #28a745; }
.inforumex-toast--error   { background: #7b1c28; border-left: 4px solid #dc3545; }

/* =============================================
   LOADING SPINNER
   ============================================= */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================
   COOKIE CONSENT BANNER
   ============================================= */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: #0a1225;
  border-top: 1px solid rgba(46,158,224,0.2);
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
#cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-inner p { font-size: 0.85rem; color: rgba(255,255,255,0.92); margin: 0; }
.cookie-inner p a { color: var(--color-bright); }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-white { color: var(--color-white) !important; }
.text-navy { color: var(--color-navy); }
.text-blue { color: var(--color-blue); }
.text-bright { color: var(--color-bright); }
.text-gold { color: var(--color-gold); }
.text-muted { color: var(--color-silver); }
.font-bold { font-weight: 700; }
.font-heading { font-family: var(--font-heading); }
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1200px) {
  :root { --container-width: 100%; --container-padding: 0 40px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-newsletter { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  :root { --section-padding: 64px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .conf-about-grid { grid-template-columns: 1fr; }
  .conf-dates-card { position: static; }
  .conf-3col { grid-template-columns: 1fr 1fr; }
  .registration-layout { grid-template-columns: 1fr; }
  .fee-summary-card { position: static; }
  .abstract-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .sessions-schedule-grid { grid-template-columns: 1fr; }
}

/* Tablet — fills the gap between 1024px and 768px */
@media (max-width: 900px) {
  :root { --section-padding: 56px 0; --container-padding: 0 24px; }
  .conf-3col { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; justify-content: center; }
  .hero-stat { min-width: 130px; }
  .page-hero h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .conf-meta-pills { flex-wrap: wrap; gap: 8px; justify-content: center; }
  .conf-about-grid { gap: 28px; }
  .reg-form-card, .fee-summary-card { border-radius: var(--radius-lg); }
}

@media (max-width: 768px) {
  :root { --container-padding: 0 16px; --section-padding: 36px 0; }

  /* Mobile Nav */
  .nav-toggle { display: flex; }
  .main-nav {
    display: flex !important;
    position: fixed !important;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto !important;
    min-height: calc(100vh - var(--header-height));
    background: var(--color-navy) !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 20px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1050;
  }
  .main-nav.open { transform: translateX(0); }

  /* Enterprise mobile nav items */
  .main-nav > li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .main-nav > li:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
  .main-nav > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 4px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.9);
    transition: color 0.2s, padding-left 0.2s;
  }
  .main-nav > li > a:hover { color: var(--color-bright); padding-left: 8px; }
  .main-nav > li > a::before { display: none; }

  /* Conferences dropdown arrow — match desktop ▾ style */
  .has-dropdown > a::after {
    content: ' ▾';
    font-size: 0.75rem;
    opacity: 0.6;
    transition: transform 0.25s;
    display: inline-block;
    vertical-align: middle;
  }
  .has-dropdown.open > a::after { transform: rotate(180deg); opacity: 1; }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(255,255,255,0.04);
    border-left: 2px solid var(--color-bright);
    display: none;
    padding: 6px 0 10px 16px;
    margin: 0 0 4px;
  }
  .has-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu li a {
    padding: 10px 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    display: block;
  }
  .dropdown-menu li a:hover { color: var(--color-bright); }
  .header-cta { display: none; }

  /* Grid changes */
  .conf-3col { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .about-cta-btns { flex-direction: column; }
  .about-cta-btns .btn { width: 100%; text-align: center; }
  .conf-hero-btns { flex-direction: column; }
  .research-cta-btns { flex-direction: column; align-items: center; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-right: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); }
  .newsletter-form button { border-radius: var(--radius-md); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .sessions-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  :root { --container-padding: 0 16px; }
  .btn-xl { padding: 16px 32px; }
  .conf-grid { grid-template-columns: 1fr; }
  .speaker-filters { gap: 6px; }
  .filter-btn { padding: 7px 16px; font-size: 0.8rem; }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   SCROLL OFFSET — All sections clear fixed 80px header
   ============================================= */
html { scroll-padding-top: 90px; }
#home, #about, #conferences, #sponsors, #contact { scroll-margin-top: 90px; }

/* When WP admin bar is visible (logged-in users only — not public visitors) */
html:has(body.admin-bar) { scroll-padding-top: 122px; }
body.admin-bar #home,
body.admin-bar #about,
body.admin-bar #conferences,
body.admin-bar #sponsors,
body.admin-bar #contact { scroll-margin-top: 122px; }

/* =============================================
   SPONSORSHIP CARDS — Equal height, ALL buttons bottom-aligned
   ============================================= */
.sponsor-package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.sponsor-package-card {
  display: flex;
  flex-direction: column;
}
.sponsor-package-card h4 { flex-shrink: 0; }
.sponsor-features {
  flex: 1;
  margin-bottom: 0;
}
/* Push every button inside sponsor card to the very bottom */
.sponsor-package-card > a.btn {
  margin-top: 20px;
  flex-shrink: 0;
}

/* =============================================
   PROFESSIONAL POLISH — COMPLETE FIXES
   ============================================= */

/* ── Ensure no backgrounds ever on nav items ── */
.main-nav > li > a,
.main-nav > li > a:hover,
.main-nav > li > a.active,
.main-nav > li.current-menu-item > a {
  background: none !important;
  border: none !important;
  outline: none;
  box-shadow: none;
}

/* ── Conference card images (SVG) ── */
.conf-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #0D1B3E, #1A3A8F);
}
.conf-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.conf-card:hover .conf-card-image img { transform: scale(1.04); }

/* ── Conference cards equal height ── */
.conf-grid { align-items: stretch; }
.conf-card { display: flex; flex-direction: column; }
.conf-card-body { flex: 1; }

/* ── About image — show full SVG, no cropping ── */
.about-image {
  position: relative;
  border-radius: var(--radius-xl);
}
.about-image img {
  width: 100%;
  height: auto;         /* natural aspect ratio — no crop */
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  object-fit: contain;
}
.about-image-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--gradient-primary);
  color: var(--color-white);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
  min-width: 110px;
}
.about-image-badge .num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-gold);
}
.about-image-badge .text {
  font-size: 0.72rem;
  opacity: 0.9;
  line-height: 1.3;
  margin-top: 4px;
}

/* ── Section badge colours on light bg ── */
.section--light .section-badge,
.section:not(.section--dark):not(.section--navy) .section-badge {
  background: rgba(30,109,181,0.1);
  color: var(--color-blue);
  border-color: rgba(30,109,181,0.2);
}

/* ── Contact section fixed-header clearance ── */
#contact { padding-top: calc(var(--section-padding-val, 80px) + 0px); }

/* ── Footer link arrow ── */
.footer-links a::before { content: '›'; margin-right: 6px; font-size: 1rem; }

/* ── Form on dark bg ── */
.section--navy .contact-form-wrap .form-control { border-color: #D8E0EE; }

/* ── Stats grid centred ── */
.stats-section .stats-grid { justify-items: center; }

/* ── Hero stat numbers ── */
.hero-stat .number { font-size: 2rem; }

/* ── Smooth nav links ── */
.main-nav > li > a { border-radius: var(--radius-sm); letter-spacing: 0.2px; }

/* ── Scroll progress bar (top of page) ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-bright), var(--color-gold));
  z-index: 1001;
  width: 0%;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── Hero section: content centred, stats at bottom ── */
.hero-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

/* ── Nav items — consistent across all states ── */
#site-header.scrolled .main-nav > li > a { text-shadow: none; }
#site-header:not(.scrolled) .header-cta .btn-primary {
  background: rgba(46,158,224,0.85);
  border: 1.5px solid rgba(255,255,255,0.25);
}

/* ── About section — reduce top gap ── */
/* #about padding handled by conference-home rule above */

/* ── Reset any WooCommerce/plugin h2 overrides ── */
.about-content h2,
.about-content h2 mark,
section h2 mark {
  background: none !important;
  background-color: transparent !important;
  color: var(--color-navy) !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* ── Features row — full width BELOW the 2-col grid ── */
.about-features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.about-features-row .about-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 20px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.about-features-row .about-feature:hover {
  border-color: var(--color-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.about-features-row .about-feature .icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-navy), var(--color-royal));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.about-features-row .about-feature h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
}
.about-features-row .about-feature p {
  font-size: 0.78rem;
  color: var(--color-silver);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .about-features-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .about-features-row { grid-template-columns: 1fr; }
}

/* ── About section "Who We Are" badge — inline only, never full-width ── */
.about-content .section-badge {
  display: inline-block !important; /* prevent block stretching */
  background: rgba(30,109,181,0.1);
  color: var(--color-blue);
  border: 1px solid rgba(30,109,181,0.2);
  max-width: fit-content;
  margin-bottom: 14px;
}

/* =============================================
   LEGAL PAGES (Privacy Policy, Terms & Conditions)
   ============================================= */
.legal-page-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 0 64px;
  color: var(--color-body-text);
  line-height: 1.85;
}
.legal-effective {
  display: inline-block;
  background: var(--color-light-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px 18px;
  font-size: 0.85rem;
  color: var(--color-silver);
  margin-bottom: 28px;
}
.legal-page-wrap h2 {
  font-size: 1.25rem;
  color: var(--color-navy);
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-light-bg);
}
.legal-page-wrap h3 {
  font-size: 1rem;
  color: var(--color-blue);
  margin: 24px 0 8px;
  font-weight: 600;
}
.legal-page-wrap p { margin-bottom: 14px; }
.legal-page-wrap ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-page-wrap ul li {
  margin-bottom: 8px;
  padding-left: 4px;
}
.legal-page-wrap a { color: var(--color-blue); text-decoration: underline; }
.legal-page-wrap a:hover { color: var(--color-bright); }
.legal-contact-box {
  background: var(--color-light-bg);
  border-left: 4px solid var(--color-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin-top: 8px;
}
.legal-contact-box p { margin: 0; line-height: 1.9; }

/* Hero for legal pages */
.legal-hero {
  background: var(--gradient-primary);
  padding: 72px 0 52px;
  text-align: center;
  margin-top: var(--header-height);
}
.legal-hero h1 { color: var(--color-white); margin-bottom: 10px; }
.legal-hero p { color: rgba(255,255,255,0.9); font-size: 1rem; }

/* =============================================
   CONTACT PAGE TEMPLATE
   ============================================= */
.cp-info-strip {
  background: linear-gradient(135deg, #0D1B3E 0%, #1A3A8F 100%);
  padding: 0;
  border-bottom: 3px solid var(--color-bright);
}
.cp-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.cp-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s;
}
.cp-info-card:last-child { border-right: none; }
.cp-info-card:hover { background: rgba(255,255,255,0.04); }
.cp-info-icon { font-size: 1.8rem; flex-shrink: 0; margin-top: 2px; }
.cp-info-card h4 {
  color: var(--color-bright);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 8px;
  font-weight: 700;
}
.cp-info-card p { color: rgba(255,255,255,0.82); font-size: 0.88rem; line-height: 1.75; margin: 0; }
.cp-info-card a { color: rgba(255,255,255,0.82); text-decoration: none; }
.cp-info-card a:hover { color: var(--color-bright); }
.cp-sub { color: rgba(255,255,255,0.45) !important; font-size: 0.8rem !important; margin-top: 6px; }

/* Main 2-col grid */
.cp-main-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}

/* Cards */
.cp-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 36px;
  box-shadow: 0 2px 16px rgba(13,27,62,0.06);
}
.cp-card--sm { padding: 24px; margin-bottom: 20px; }
.cp-card--accent {
  background: linear-gradient(135deg, #eef3ff 0%, #e6edff 100%);
  border-color: rgba(26,58,143,0.18);
  text-align: center;
  margin-bottom: 0;
}

/* Consent row */
.cp-consent-row {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 12px;
}
.cp-consent-row input[type="checkbox"] {
  width: auto !important;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--color-blue);
  width: 16px !important;
  height: 16px !important;
}
.cp-consent-row label { font-size: 0.85rem; cursor: pointer; font-weight: 400; line-height: 1.6; }

/* Sidebar */
.cp-sidebar-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-navy);
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-light-bg);
}
.cp-dept-list { display: flex; flex-direction: column; gap: 16px; }
.cp-dept-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}
.cp-dept-item:last-child { border-bottom: none; padding-bottom: 0; }
.cp-dept-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.cp-dept-item strong { display: block; font-size: 0.8rem; color: var(--color-navy); margin-bottom: 3px; }
.cp-dept-item a { font-size: 0.84rem; color: var(--color-blue); text-decoration: none; word-break: break-word; }
.cp-dept-item a:hover { text-decoration: underline; }
.cp-quick-links { list-style: none; padding: 0; margin: 0; }
.cp-quick-links li { border-bottom: 1px solid var(--color-border); }
.cp-quick-links li:last-child { border-bottom: none; }
.cp-quick-links a { display: block; padding: 10px 4px; font-size: 0.88rem; color: var(--color-body-text); text-decoration: none; transition: color 0.2s, padding-left 0.2s; }
.cp-quick-links a:hover { color: var(--color-blue); padding-left: 8px; }

/* Responsive */
@media (max-width: 1024px) {
  .cp-info-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-info-card { border-right: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
  .cp-main-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cp-info-grid { grid-template-columns: 1fr; }
  .cp-card { padding: 24px 18px; }
}

/* Print styles */
@media print {
  #site-header, #site-footer, #back-to-top, #cookie-banner, .hero-scroll { display: none !important; }
  body { padding-top: 0; }
  .section { padding: 32px 0; }
  a { color: inherit; }
}

/* =============================================
   SPONSORSHIP INQUIRY MODAL
   ============================================= */
.sinq-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  animation: sinq-fade-in 0.2s ease;
}
.sinq-overlay[hidden] { display: none; }

@keyframes sinq-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sinq-slide-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sinq-spin { to { transform: rotate(360deg); } }

.sinq-panel {
  background: var(--color-white);
  border-radius: 16px;
  width: 100%; max-width: 680px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  animation: sinq-slide-up 0.25s ease;
  outline: none;
}

.sinq-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 28px 32px 0;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 16px;
  background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
  border-radius: 16px 16px 0 0;
}
.sinq-header-label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--color-navy);
  margin: 0 0 4px;
}
.sinq-tier-name {
  font-size: 1.15rem; font-weight: 700; color: var(--color-dark);
  margin: 0;
}
.sinq-close {
  background: none; border: none; cursor: pointer;
  font-size: 1.6rem; line-height: 1; color: var(--color-silver);
  padding: 0 0 0 12px; transition: color 0.2s;
}
.sinq-close:hover { color: var(--color-dark); }

.sinq-package-banner {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, var(--color-navy), #1A3A8F);
  color: #fff;
  padding: 12px 32px;
  font-size: 0.9rem;
}
.sinq-package-tier  { font-weight: 700; }
.sinq-package-price { font-weight: 800; font-size: 1.05rem; color: var(--color-gold); }

/* Form grid */
.sinq-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px 32px 0;
}
.sinq-full { grid-column: 1 / -1; }

.sinq-field label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--color-dark); margin-bottom: 6px;
}
.sinq-req { color: #e53e3e; }

.sinq-field input,
.sinq-field select,
.sinq-field textarea {
  width: 100%; box-sizing: border-box;
  padding: 10px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.9rem; color: var(--color-dark);
  background: var(--color-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.sinq-field input:focus,
.sinq-field select:focus,
.sinq-field textarea:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(26,58,143,0.12);
}
.sinq-field input.sinq-invalid,
.sinq-field select.sinq-invalid,
.sinq-field textarea.sinq-invalid {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.12);
}
.sinq-field textarea { resize: vertical; min-height: 110px; }

/* Footer */
.sinq-footer {
  padding: 20px 32px 28px;
}
.sinq-privacy {
  font-size: 0.78rem; color: var(--color-silver);
  margin: 0 0 16px; line-height: 1.6;
}
.sinq-actions {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
}
.sinq-cancel {
  background: none; border: 1.5px solid var(--color-border);
  border-radius: 8px; padding: 10px 22px;
  font-size: 0.9rem; font-weight: 600; color: var(--color-silver);
  cursor: pointer; transition: all 0.2s;
}
.sinq-cancel:hover { border-color: var(--color-dark); color: var(--color-dark); }

.sinq-submit {
  background: linear-gradient(135deg, var(--color-navy), #1A3A8F);
  color: #fff; border: none; border-radius: 8px;
  padding: 11px 28px; font-size: 0.92rem; font-weight: 700;
  cursor: pointer; transition: opacity 0.2s, transform 0.15s;
  display: flex; align-items: center; gap: 8px;
}
.sinq-submit:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); }
.sinq-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Success state */
.sinq-success {
  padding: 48px 32px 40px;
  text-align: center;
}
.sinq-success-icon { font-size: 3rem; margin-bottom: 16px; }
.sinq-success h3   { font-size: 1.3rem; color: var(--color-dark); margin-bottom: 12px; }
.sinq-success p    { color: var(--color-silver); font-size: 0.92rem; line-height: 1.7; max-width: 440px; margin: 0 auto 8px; }
.sinq-success-tier { color: var(--color-navy) !important; font-weight: 700 !important; }

/* Responsive */
@media (max-width: 600px) {
  .sinq-grid { grid-template-columns: 1fr; }
  .sinq-header, .sinq-package-banner, .sinq-grid, .sinq-footer { padding-left: 20px; padding-right: 20px; }
}

/* =============================================
   ABSTRACT FILE UPLOAD ZONE
   ============================================= */
.abstract-upload-zone {
  border: 2px dashed var(--color-border);
  border-radius: 10px;
  padding: 28px 20px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: #fafbff;
  text-align: center;
}
.abstract-upload-zone:hover,
.abstract-upload-zone.drag-over {
  border-color: var(--color-navy);
  background: rgba(26,58,143,0.04);
}
.abstract-upload-zone.has-file {
  border-style: solid;
  border-color: #28a745;
  background: rgba(40,167,69,0.04);
}
.upload-selected {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  font-size: 0.9rem;
}
