/* ============================================
   RL Bootcamp 2026 — Light Modern Design System
   ============================================ */

/* === CSS Custom Properties === */
:root {
  /* Primary palette (Riso Blue) */
  --primary: #3b50df;
  --primary-light: #5164eb;
  --primary-dark: #2737a6;
  --primary-glow: transparent;

  /* Surfaces (Off-white textured paper) */
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-muted: #f4f4f5;
  --bg-card: transparent;

  /* Text */
  --text: #111111;
  --text-secondary: #3b50df;
  /* Make secondary text blue for Riso effect */
  --text-muted: #666666;

  /* Borders & shadows */
  --border: #3b50df;
  /* Blue borders everywhere */
  --border-light: rgba(59, 80, 223, 0.2);
  --shadow-sm: none;
  --shadow: none;
  --shadow-lg: 4px 4px 0px var(--primary);
  /* Brutalist shadow */
  --shadow-xl: 8px 8px 0px var(--primary);

  /* Layout */
  --radius: 0px;
  /* Sharp edges */
  --radius-lg: 200px;
  /* Pill shapes for ovals */
  --radius-xl: 0px;
  --max-width: 1200px;
  --nav-height: 80px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.2s var(--ease);

  /* Gradients Removed - Replace with solid or noise */
  --gradient-primary: var(--primary);
  --gradient-subtle: var(--bg-soft);
  --gradient-hero: var(--bg);
  --gradient-card: var(--bg);
}

/* Global Riso Noise Overlay disabled to keep pure white background */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Offset anchor targets so they're not hidden behind the fixed header */
section[id] {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

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

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

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

/* === Utility === */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-padding {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--bg-soft);
}

/* === Focus States (Accessibility) === */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  z-index: 9999;
  transition: top 0.3s;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  top: 0;
  color: white;
}

/* === Tentative Banner === */
.tentative-banner {
  background: var(--bg-soft) !important;
  color: var(--text-muted) !important;
  text-align: center;
  padding: 10px 20px !important;
  position: relative;
  z-index: 1001;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.tentative-banner p {
  margin: 0 !important;
  font-weight: 400;
}

/* =============================================
   NAVIGATION
   ============================================= */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

header.scrolled {
  box-shadow: var(--shadow);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  height: var(--nav-height);
  max-width: 1400px;
  margin: 0 auto;
}

.logo a {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links>li>a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links>li>a:hover,
.nav-links>li>a.active {
  color: var(--primary);
  background-color: var(--primary-glow);
}

.nav-links a::after {
  display: none;
  /* Remove underline animation */
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.has-dropdown>a i {
  font-size: 0.65rem;
  transition: transform 0.3s var(--ease);
}

.has-dropdown:hover>a i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg);
  /* ADDED SOLID BACKGROUND */
  min-width: 220px;
  box-shadow: 6px 6px 0px rgba(59, 80, 223, 0.2);
  border-radius: 0;
  border: 2px solid var(--primary);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease);
  z-index: 100;
  padding: 8px;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  padding: 10px 16px;
  display: block;
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-radius: calc(var(--radius) - 4px);
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background-color: var(--primary-glow);
  color: var(--primary);
  padding-left: 20px;
}

/* Burger (Mobile) */
.burger {
  display: none;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.burger:hover {
  background: var(--bg-muted);
}

.burger div {
  width: 22px;
  height: 2px;
  background-color: var(--text);
  margin: 5px 0;
  transition: all 0.3s var(--ease);
  border-radius: 2px;
}

.burger.toggle .line1 {
  transform: rotate(-45deg) translate(-4px, 5px);
}

.burger.toggle .line2 {
  opacity: 0;
}

.burger.toggle .line3 {
  transform: rotate(45deg) translate(-4px, -5px);
}

/* =============================================
   RISO HERO SECTION
   ============================================= */
.riso-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: calc(var(--nav-height) + 60px) 5% 80px;
  min-height: 85vh;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.riso-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  z-index: 1;
}

.riso-text {
  font-family: 'Rubik Mono One', sans-serif;
  color: var(--primary);
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
  /* Apply SVG noise filter to roughen text edges exactly like Risograph printing */
  filter: url(#riso-edges);
  /* Use mix-blend-mode for interactions with background if needed */
  mix-blend-mode: multiply;
}

/* Specific alignments based on the image */
.text-top {
  align-self: center;
  margin-left: -5%;
}

/* =============================================
   SUB-PAGE HERO SECTIONS
   ============================================= */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--nav-height) + 120px) 5% 80px;
  background-color: var(--bg);
  border-bottom: 6px solid var(--primary);
  min-height: 50vh;
  gap: 40px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
}

.hero-content h1 {
  font-family: 'Rubik Mono One', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-content p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 30px;
  font-weight: 500;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  max-width: 500px;
}

.hero-image img {
  width: 100%;
  height: auto;
  border: 6px solid var(--primary);
  box-shadow: 12px 12px 0px var(--primary);
}

.riso-middle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2vw;
  margin-top: -10px;
  flex-wrap: wrap;
}

.text-top,
.text-middle,
.text-bottom {
  font-size: clamp(1.8rem, 4.2vw, 4.2rem) !important;
  text-align: center;
  width: 100%;
}

.riso-smile {
  width: clamp(50px, 8vw, 120px);
  height: clamp(50px, 8vw, 120px);
  filter: url(#riso-edges);
  transform: rotate(-10deg);
  margin-top: 10px;
}

.hero-lower-row {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 1;
}

/* Hohensalzburg Fortress Sketch — background behind title */
.castle-sketch {
  position: absolute;
  top: auto;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(350px, 55vw, 800px);
  height: auto;
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: multiply;
  image-rendering: auto;
  z-index: 0;
}


.riso-date {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 2px;
  color: var(--text);
}

/* === CTA Buttons === */
.cta-buttons {
  display: flex;
  gap: 24px;
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 50;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-align: center;
  border: 4px solid var(--primary);
  text-transform: uppercase;
  color: var(--primary);
  background: var(--bg);
}

.primary-btn {
  background: var(--primary);
  color: var(--bg);
  box-shadow: 6px 6px 0px rgba(59, 80, 223, 0.4);
}

.primary-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0px rgba(59, 80, 223, 0.6);
  color: var(--bg);
}

.secondary-btn {
  background: transparent;
  box-shadow: 6px 6px 0px var(--primary);
}

.secondary-btn:hover {
  background: var(--primary-light);
  color: var(--bg);
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0px rgba(59, 80, 223, 0.8);
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: 'Rubik Mono One', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  filter: url(#riso-edges);
}

.section-header h2::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 6px;
  background: var(--primary);
  bottom: -16px;
  left: 0;
  filter: url(#riso-edges);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 20px auto 0;
}

/* =============================================
   FEATURE CARDS
   ============================================= */
.features {
  background-color: var(--bg);
  padding: 100px 5%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 0 auto;
  max-width: var(--max-width);
}

.feature-card {
  background: var(--bg);
  border: 4px solid var(--primary);
  padding: 32px;
  transition: all 0.2s var(--ease);
  text-align: center;
  position: relative;
  box-shadow: 6px 6px 0px var(--primary);
}

.feature-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0px var(--primary);
}

.feature-card .icon {
  font-size: 2.2rem;
  color: var(--bg);
  margin-bottom: 20px;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border: 4px solid var(--primary);
  border-radius: 50%;
}

.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.feature-card ul {
  text-align: left;
  margin-top: 12px;
}

.feature-card ul li {
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 5%;
  background-color: var(--bg);
}

.about-image {
  flex: 1;
  margin-right: 60px;
}

.about-image img {
  border: 6px solid var(--primary);
  box-shadow: 8px 8px 0px var(--primary);
}

.about-image figcaption {
  margin-top: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  text-transform: uppercase;
}

.photo-credit {
  font-style: italic;
}

.about-content {
  flex: 1;
  max-width: 600px;
}

.about-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 25px;
  position: relative;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content p {
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-content .btn {
  margin-top: 10px;
}

/* =============================================
   HIGHLIGHT BOX
   ============================================= */
.highlight-box {
  background: var(--bg);
  padding: 32px;
  border: 4px solid var(--primary);
  box-shadow: 8px 8px 0px var(--primary);
}

.highlight-box p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* =============================================
   ORGANIZERS / SPEAKER GRID
   ============================================= */
.organizers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.organizer-card {
  text-decoration: none;
  color: var(--text);
  background: var(--bg);
  border: 4px solid var(--primary);
  overflow: hidden;
  transition: all 0.2s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: 6px 6px 0px var(--primary);
}

.organizer-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0px var(--primary);
}

.organizer-image {
  overflow: hidden;
  height: 280px;
  border-bottom: 4px solid var(--primary);
}

.organizer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.organizer-card:hover .organizer-image img {
  transform: scale(1.05);
}

.organizer-info {
  padding: 24px;
  text-align: center;
}

.organizer-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
}

.organizer-info p {
  margin-bottom: 4px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.organizer-affiliation {
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 12px !important;
}

.organizer-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.organizer-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s var(--ease);
  font-size: 0.9rem;
}

.organizer-links a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Institution logos */
.organizers-institutes .organizer-image {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
}

.organizers-institutes .organizer-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Speaker section */
#speakers .organizer-card {
  text-align: center;
  padding-top: 20px;
}

#speakers .organizer-info {
  text-align: center;
}

.speaker-profile {
  height: 200px !important;
  width: 200px !important;
  border-radius: 50% !important;
  margin: 0 auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--border);
  transition: border-color 0.3s var(--ease);
}

.organizer-card:hover .speaker-profile {
  border-color: var(--primary);
}

.speaker-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.speaker-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 28px;
  text-align: center;
  transition: all 0.4s var(--ease);
  min-width: 0;
  overflow: hidden;
}

.speaker-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.speaker-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.speaker-image.placeholder {
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2rem;
}

.speaker-card h3 {
  margin-top: 16px;
  margin-bottom: 4px;
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 600;
}

.speaker-affiliation {
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-size: 0.85rem;
  word-break: break-word;
  hyphens: auto;
}

.speaker-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}

/* =============================================
   ACCORDION / FAQ
   ============================================= */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border: 2px solid var(--border);
  margin-bottom: 12px;
  background: var(--bg-card);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 18px 24px;
  background: var(--bg-card);
  border: none;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s var(--ease);
}

.accordion-header:hover {
  background: var(--bg-soft);
}

.accordion-header i {
  transition: transform 0.3s var(--ease);
  font-size: 0.8rem;
  color: var(--primary);
}

.accordion-header.active i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 0 24px;
}

.accordion-content.active {
  max-height: 300px;
  padding: 0 24px 18px;
}

.accordion-content p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* =============================================
   SCHEDULE / PROGRAM
   ============================================= */
.day-schedule {
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.day-schedule h3 {
  background: var(--gradient-primary);
  color: white;
  padding: 18px 24px;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.schedule-table {
  background: var(--bg-card);
}

.schedule-row {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.2s var(--ease);
}

.schedule-row:hover {
  background-color: var(--bg-soft);
}

.schedule-row.highlight {
  background-color: rgba(79, 70, 229, 0.04);
}

.schedule-time {
  width: 140px;
  padding: 16px 20px;
  font-weight: 600;
  color: var(--text);
  border-right: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.schedule-event {
  flex: 1;
  padding: 16px 20px;
}

.schedule-event h4 {
  margin: 0 0 4px 0;
  color: var(--text);
  font-weight: 600;
}

.schedule-event p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.coming-soon {
  padding: 40px;
  text-align: center;
  background: var(--bg-card);
  color: var(--text-muted);
  font-style: italic;
  font-size: 1.05rem;
}

.note-box {
  background: var(--primary-glow);
  border-radius: var(--radius);
  padding: 20px 24px;
  border-left: 4px solid var(--primary);
  color: var(--text-secondary);
}

/* Program schedule table in feature cards */
.feature-card table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.feature-card table tr {
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.2s var(--ease);
}

.feature-card table tr:hover {
  background-color: var(--bg-soft);
}

.feature-card table tr:last-child {
  border-bottom: none;
}

.feature-card table td {
  padding: 12px 16px;
  vertical-align: top;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feature-card table td:first-child {
  white-space: nowrap;
  color: var(--text);
  font-weight: 600;
  width: 20%;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 60px 5% 30px;
  color: var(--text-secondary);
}

footer h3,
footer h4 {
  color: var(--text);
  font-family: 'Poppins', sans-serif;
}

footer a {
  color: var(--text-secondary);
  transition: var(--transition);
}

footer a:hover {
  color: var(--primary);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* =============================================
   MAPS & IFRAMES
   ============================================= */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 30px;
  border: 1px solid var(--border);
}

iframe.directions {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: var(--radius-lg);
  margin: 20px 0;
  box-shadow: var(--shadow);
}

/* =============================================
   REGISTRATION PAGE
   ============================================= */
.form-container {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 40px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg);
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

textarea {
  height: 120px;
  resize: vertical;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background: var(--gradient-primary);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
  border-radius: 2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-content {
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}

.timeline-content:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.timeline-date {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

/* Accordion (FAQ) */
.accordion {
  margin-bottom: 30px;
  border-radius: 0px;
  overflow: visible;
  border: 4px solid var(--primary);
  box-shadow: 6px 6px 0px var(--primary);
}

.accordion-item {
  border-bottom: 2px solid var(--border-light);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  background: var(--bg);
  padding: 22px 28px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  transition: var(--transition);
  gap: 16px;
}

.accordion-header:hover {
  background: var(--bg-soft);
  color: var(--primary);
}

.accordion-header i {
  transition: transform 0.3s var(--ease);
  color: var(--primary);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.accordion-header.active i {
  transform: rotate(180deg);
  color: var(--primary);
}

.accordion-content {
  padding: 0 28px;
  background: var(--bg);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease), padding 0.3s var(--ease);
}

.accordion-content.active {
  padding: 0 28px 24px;
  max-height: 500px;
}

.accordion-content p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
}

/* =============================================
   CONTENT TABLES (legacy support)
   ============================================= */
.content-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.content-table td {
  padding: 10px;
  vertical-align: top;
}

/* =============================================
   BANNER (legacy support)
   ============================================= */
.banner {
  position: relative;
  text-align: center;
  margin-bottom: 30px;
  overflow: hidden;
}

.banner img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =============================================
   NAVIGATION (legacy table-based)
   ============================================= */
.navigation {
  width: 100%;
  background: var(--bg-card);
  border-radius: var(--radius);
  margin-bottom: 30px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: table;
  table-layout: fixed;
}

.navigation td {
  padding: 0;
  text-align: center;
  vertical-align: middle;
}

.navigation a {
  display: block;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 15px 5px;
  transition: var(--transition);
  font-size: 0.95rem;
}

.navigation a:hover {
  background: var(--primary-glow);
  color: var(--primary);
}

.navigation a.current {
  color: white;
  background: var(--primary);
}

/* =============================================
   TYPOGRAPHY (legacy headings)
   ============================================= */
h1,
h2,
h3,
h4 {
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

li {
  margin-bottom: 6px;
}

.author {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-style: italic;
}

/* =============================================
   ANIMATION KEYFRAMES
   ============================================= */
@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Tablet & below */
@media screen and (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: calc(var(--nav-height) + 60px);
    min-height: auto;
  }

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

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-image {
    margin-left: 0;
    margin-top: 40px;
  }

  .cta-buttons {
    justify-content: center;
  }

  .about {
    flex-direction: column;
  }

  .about-image {
    margin-right: 0;
    margin-bottom: 40px;
  }

  .about-content {
    max-width: 100%;
    text-align: center;
  }

  .about-content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .organizers-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media screen and (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }

  .nav-links {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 300px;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--nav-height) + 16px) 0 20px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    z-index: 999;
    gap: 0;
    overflow-y: auto;
  }

  .nav-links.nav-active {
    transform: translateX(0);
  }

  .nav-links>li {
    width: 100%;
  }

  .nav-links>li>a {
    padding: 16px 24px;
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 1rem;
  }

  .nav-links>li>a:hover,
  .nav-links>li>a.active {
    background: var(--primary-glow);
  }

  .dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
    transition: max-height 0.3s var(--ease);
    border-radius: 0;
    background: var(--bg-soft);
  }

  .has-dropdown:hover .dropdown-menu,
  .has-dropdown.active .dropdown-menu,
  .has-dropdown.open .dropdown-menu {
    max-height: 500px;
    padding: 4px 0;
    transform: none !important;
  }

  .dropdown-menu a {
    padding: 12px 24px 12px 44px;
    border-radius: 0;
    font-size: 1rem;
    color: var(--text) !important;
    font-weight: 600;
  }

  .has-dropdown>a i {
    transform: rotate(0deg);
    transition: transform 0.3s var(--ease);
  }

  .has-dropdown.active>a i,
  .has-dropdown.open>a i {
    transform: rotate(180deg);
  }

  .burger {
    display: block;
  }

  /* Hero */
  .hero {
    padding: calc(var(--nav-height) + 80px) 20px 60px;
  }

  .riso-hero {
    padding: calc(var(--nav-height) + 100px) 20px 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-image img {
    border-radius: var(--radius-lg);
  }

  /* Sections */
  .section-padding {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  /* Grid */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 20px;
  }

  .organizers-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
  }

  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .organizer-image {
    height: 220px;
  }

  /* Schedule */
  .schedule-row {
    flex-direction: column;
  }

  .schedule-time {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 10px 16px;
  }

  .feature-card table td:first-child {
    width: auto;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  /* Timeline */
  .timeline::after {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 50px;
    padding-right: 15px;
  }

  /* About */
  .about {
    padding: 60px 20px;
  }

  .about-content h2 {
    font-size: 1.8rem;
  }

  .highlight-box {
    padding: 24px 20px;
  }

  /* Navigation (legacy) */
  .navigation {
    display: block;
  }

  .navigation td {
    display: block;
    width: 100%;
  }
}

/* Small mobile */
@media screen and (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

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

  .feature-card {
    padding: 24px 20px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .secondary-btn {
    margin-left: 0;
  }
}

/* =============================================
   HIGH CONTRAST MODE
   ============================================= */
@media (prefers-contrast: more) {
  :root {
    --primary: #3730a3;
    --text: #000000;
    --text-secondary: #1e293b;
    --border: #94a3b8;
  }

  .feature-card,
  .organizer-card,
  .highlight-box {
    border-width: 2px;
  }
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}