/* ==========================================================================
   IGNITE 2026 - Official Fest Design System
   TKM Institute of Technology | Dept. of Applied Science & Engineering
   ========================================================================== */

:root {
  /* Color Palette - Directly extracted & tuned from poster */
  --bg-dark: #070c18;
  --bg-dark-card: #0d1527;
  --bg-dark-accent: #131e36;
  --primary-navy: #0f2647;
  --primary-navy-dark: #0a1931;
  --navy-light: #1e3a66;
  
  --accent-orange: #ff6b2b;
  --accent-orange-bright: #ff5200;
  --accent-orange-glow: rgba(255, 107, 43, 0.45);
  --accent-gold: #f59e0b;
  --accent-amber: #d97706;

  /* Event Theme Colors */
  --quiz-blue-bg: #e1f3fe;
  --quiz-blue-border: #93d0f7;
  --quiz-blue-text: #0284c7;
  --quiz-blue-dark: #0369a1;

  --expo-green-bg: #e6f9f0;
  --expo-green-border: #a3e9c6;
  --expo-green-text: #059669;
  --expo-green-dark: #047857;

  /* Prize Colors */
  --prize-gold-bg: #fef9c3;
  --prize-gold-border: #fde047;
  --prize-gold-text: #854d0e;
  
  --prize-blue-bg: #e0f2fe;
  --prize-blue-border: #7dd3fc;
  --prize-blue-text: #0369a1;

  --prize-pink-bg: #fae8ff;
  --prize-pink-border: #f0abfc;
  --prize-pink-text: #86198f;

  --prize-mint-bg: #dcfce7;
  --prize-mint-border: #86efac;
  --prize-mint-text: #166534;

  /* Neutral tones */
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  --bg-body: #ffffff;
  --bg-subtle: #f8fafc;
  --border-light: #e2e8f0;

  /* Typography */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-script: 'Caveat', cursive;

  /* Transitions & Shadows */
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 38, 71, 0.08), 0 8px 10px -6px rgba(15, 38, 71, 0.04);
  --shadow-lg: 0 20px 35px -8px rgba(15, 38, 71, 0.12), 0 10px 15px -5px rgba(15, 38, 71, 0.06);
  --shadow-glow: 0 0 30px rgba(255, 107, 43, 0.35);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------
   Announcement Bar
   -------------------------------------------------- */
.announcement-bar {
  background: linear-gradient(90deg, #091224 0%, #172a4d 50%, #091224 100%);
  color: #f8fafc;
  font-size: 0.86rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 107, 43, 0.3);
  text-align: center;
  position: relative;
  z-index: 60;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6b2b;
  box-shadow: 0 0 0 0 rgba(255, 107, 43, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 43, 0.8); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(255, 107, 43, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 43, 0); }
}

.announcement-link {
  color: #ff9f43;
  font-weight: 600;
  margin-left: 6px;
}
.announcement-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* --------------------------------------------------
   Header & Navigation
   -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.college-logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tkm-crest {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
  transition: var(--transition-fast);
}

.brand-group:hover .tkm-crest {
  transform: rotate(5deg) scale(1.04);
}

.college-text-details {
  display: flex;
  flex-direction: column;
}

.college-acronym {
  font-family: var(--font-main);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--primary-navy);
  line-height: 1;
  letter-spacing: -0.5px;
}

.college-full {
  font-size: 0.68rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.8px;
  line-height: 1.1;
  margin-top: 2px;
}

.college-sub {
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* Nav Menu */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  position: relative;
  padding: 6px 0;
}

.nav-item:hover,
.nav-item.active {
  color: var(--accent-orange);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--accent-orange);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.mobile-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--primary-navy);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 9999px;
  transition: var(--transition-smooth);
  text-align: center;
}

.btn .arrow {
  transition: transform 0.2s ease;
}
.btn:hover .arrow {
  transform: translateX(4px);
}

.btn-navy-pill {
  background: var(--primary-navy);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 38, 71, 0.25);
}
.btn-navy-pill:hover {
  background: #173868;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 38, 71, 0.35);
}

.btn-orange-glow {
  background: linear-gradient(135deg, #ff7b25 0%, #ff5200 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(255, 107, 43, 0.45);
}
.btn-orange-glow:hover {
  background: linear-gradient(135deg, #ff8c42 0%, #ff6216 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 107, 43, 0.6);
}

.btn-outline-glow {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}
.btn-outline-glow:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ff9f43;
  color: #ff9f43;
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--primary-navy);
  color: #ffffff;
  padding: 13px 30px;
}
.btn-navy:hover {
  background: #173868;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-navy-sm {
  background: var(--primary-navy);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 10px 20px;
}
.btn-navy-sm:hover {
  background: #1b4075;
}

.btn-orange-banner {
  background: linear-gradient(135deg, #ff7b25 0%, #ff5200 100%);
  color: #ffffff;
  font-size: 1.05rem;
  padding: 15px 36px;
  box-shadow: 0 8px 25px rgba(255, 107, 43, 0.5);
}
.btn-orange-banner:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(255, 107, 43, 0.7);
}

/* --------------------------------------------------
   Hero Section
   -------------------------------------------------- */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 75% 30%, #15223f 0%, #070c18 60%, #040812 100%);
  color: #ffffff;
  padding: 70px 0 0 0;
  overflow: hidden;
}

.hero-cosmic-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cosmic-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}

.glow-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #ff6b2b, transparent 70%);
  top: 10%;
  right: 15%;
  animation: floatOrb 8s ease-in-out infinite alternate;
}

.glow-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #2563eb, transparent 70%);
  bottom: 10%;
  left: 5%;
}

@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-30px) scale(1.08); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 10;
  padding-bottom: 50px;
}

.presenter-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffaa5a;
  text-transform: uppercase;
  margin-bottom: 20px;
  background: rgba(255, 107, 43, 0.12);
  padding: 8px 18px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 107, 43, 0.3);
}

.presenter-tag .sparkle {
  color: #fbbf24;
}

/* Hero Typography Branding */
.ignite-main-brand-hero {
  margin-bottom: 24px;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-main);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}

.brand-white-letters {
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.brand-flame-bulb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 92px;
  margin: 0 -4px;
}

.svg-flame-bulb {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px rgba(255, 107, 43, 0.8));
  animation: pulseFlame 2.5s ease-in-out infinite alternate;
}

@keyframes pulseFlame {
  0% { transform: scale(0.98); filter: drop-shadow(0 0 15px rgba(255, 107, 43, 0.6)); }
  100% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(255, 120, 60, 0.9)); }
}

.brand-orange-year {
  background: linear-gradient(180deg, #ff8c42 0%, #ff5200 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 20px rgba(255, 82, 0, 0.4));
  margin-left: 8px;
}

.brand-tagline-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.brand-script-text {
  font-family: var(--font-script);
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.spark-left,
.spark-right {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fbbf24);
  position: relative;
}

.spark-right {
  background: linear-gradient(90deg, #fbbf24, transparent);
}

.hero-subtext {
  font-size: 1.08rem;
  color: #cbd5e1;
  max-width: 540px;
  margin-bottom: 30px;
  line-height: 1.7;
}

/* Event Meta Pills */
.event-meta-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.9rem;
  color: #f1f5f9;
  font-weight: 500;
}

.meta-icon {
  display: flex;
  align-items: center;
  color: #ff9f43;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Right Artwork */
.artwork-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 107, 43, 0.3);
  border: 2px solid rgba(255, 166, 77, 0.35);
  max-width: 440px;
}

.hero-art-img {
  width: 100%;
  height: auto;
  transform: scale(1.01);
  transition: transform 0.6s ease;
}

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

.art-overlay-flare {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 107, 43, 0.15), transparent 70%);
  pointer-events: none;
}

/* Floating handwritten badges */
.floating-badge {
  position: absolute;
  font-family: var(--font-script);
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffd8a8;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8), 0 0 15px rgba(255, 107, 43, 0.8);
  z-index: 15;
  pointer-events: none;
  animation: floatWords 4s ease-in-out infinite alternate;
}

.badge-ideate {
  top: -15px;
  right: 25px;
  transform: rotate(8deg);
  animation-delay: 0s;
}

.badge-explore {
  top: 35px;
  right: -25px;
  transform: rotate(-10deg);
  animation-delay: 0.8s;
}

.badge-compete {
  top: 95px;
  right: -20px;
  transform: rotate(5deg);
  animation-delay: 1.6s;
}

.badge-create {
  top: 150px;
  right: -10px;
  transform: rotate(-6deg);
  animation-delay: 2.4s;
}

@keyframes floatWords {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* Hero Stats Ribbon */
.hero-stats-bar {
  background: rgba(13, 21, 39, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  position: relative;
  z-index: 20;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:last-child {
  border-right: none;
}

.stat-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 107, 43, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 107, 43, 0.25);
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-count {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
}

/* --------------------------------------------------
   Section Common Utilities
   -------------------------------------------------- */
section {
  padding: 95px 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.center-tag {
  justify-content: center;
}

.tag-bar {
  width: 24px;
  height: 3px;
  background: var(--accent-orange);
  border-radius: 2px;
}

.light-tag {
  color: #fbbf24;
}
.light-tag .tag-bar {
  background: #fbbf24;
}

.section-title {
  font-family: var(--font-main);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-title.text-white {
  color: #ffffff;
}

.highlight-orange {
  color: var(--accent-orange);
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-subtitle.text-gray {
  color: #94a3b8;
}

.max-w-700 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* --------------------------------------------------
   About Section
   -------------------------------------------------- */
.about-section {
  background-color: #ffffff;
}

.about-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.about-lead {
  font-size: 1.15rem;
  color: #334155;
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-body {
  font-size: 0.98rem;
  color: #64748b;
  margin-bottom: 26px;
  line-height: 1.7;
}

.about-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 34px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: #334155;
}

.check-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef2ff;
  color: var(--accent-orange);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.campus-showcase {
  position: relative;
}

.campus-img-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.campus-photo {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.campus-img-frame:hover .campus-photo {
  transform: scale(1.04);
}

.brush-badge-ribbon {
  position: absolute;
  bottom: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(255, 107, 43, 0.92) 0%, rgba(247, 151, 30, 0.92) 100%);
  color: #ffffff;
  padding: 14px 24px;
  border-top-left-radius: 24px;
  backdrop-filter: blur(6px);
  box-shadow: -4px -4px 15px rgba(0,0,0,0.1);
}

.brush-text {
  font-family: var(--font-script);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.campus-caption-card {
  position: absolute;
  top: -20px;
  left: -20px;
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.caption-icon {
  font-size: 1.6rem;
}

.campus-caption-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary-navy);
}

.campus-caption-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------
   Events Section (Poster Replica Cards)
   -------------------------------------------------- */
.events-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.events-slider-controls {
  display: flex;
  gap: 10px;
}

.arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.arrow-btn:hover,
.arrow-btn.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 107, 43, 0.35);
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

/* Event Card Style - Exact visual from poster */
.event-card {
  position: relative;
  border-radius: 28px;
  padding: 44px 38px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* Watermarks */
.card-num-watermark {
  position: absolute;
  top: 24px;
  left: 32px;
  font-family: var(--font-main);
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.15;
  user-select: none;
  pointer-events: none;
}

.doodle-watermark {
  position: absolute;
  font-size: 3rem;
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}

.doodle-atom { top: 30px; right: 40px; }
.doodle-bulb { bottom: 80px; left: 30px; font-size: 2.2rem; }
.doodle-math { bottom: 20px; right: 30px; font-family: serif; font-size: 1.8rem; }

.doodle-gear { top: 30px; right: 40px; }
.doodle-rocket { bottom: 80px; left: 30px; font-size: 2.2rem; }
.doodle-circuit { bottom: 20px; right: 30px; }

/* Quiz Whiz Card Theme (Sky Blue Gradient) */
.event-quiz-card {
  background: linear-gradient(145deg, #e4f4fe 0%, #d2ecfd 100%);
  border: 1.5px solid var(--quiz-blue-border);
}
.event-quiz-card .card-num-watermark {
  color: var(--quiz-blue-dark);
}

/* Explora 26 Card Theme (Mint Green Gradient) */
.event-expo-card {
  background: linear-gradient(145deg, #e5f9f0 0%, #d4f3e4 100%);
  border: 1.5px solid var(--expo-green-border);
}
.event-expo-card .card-num-watermark {
  color: var(--expo-green-dark);
}

.card-header-icon-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.svg-event-icon {
  width: 90px;
  height: 90px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
  transition: transform 0.3s ease;
}

.event-card:hover .svg-event-icon {
  transform: scale(1.08) rotate(-3deg);
}

.event-card-titles {
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.event-title-badge-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 4px;
}

.event-card-name {
  font-family: var(--font-main);
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--primary-navy);
  letter-spacing: -0.5px;
}

.highlight-year {
  color: var(--accent-orange);
}

.version-badge {
  background: var(--primary-navy);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.event-card-type {
  font-size: 1.15rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

.event-card-catchphrase {
  font-size: 0.95rem;
  color: #475569;
  font-weight: 500;
  line-height: 1.5;
  max-width: 420px;
  margin: 0 auto;
}

.event-highlights-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.pill-badge {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
  box-shadow: var(--shadow-sm);
}

.event-card-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.btn-navy-card {
  flex: 1;
  background: var(--primary-navy);
  color: #ffffff;
  font-size: 0.92rem;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 38, 71, 0.15);
  transition: var(--transition-fast);
}

.btn-navy-card:hover {
  background: #193f77;
  transform: translateY(-2px);
}

.btn-orange-card {
  flex: 1.3;
  background: linear-gradient(135deg, #ff7b25 0%, #ff5200 100%);
  color: #ffffff;
  font-size: 0.92rem;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(255, 107, 43, 0.35);
  transition: var(--transition-fast);
}

.btn-orange-card:hover {
  background: linear-gradient(135deg, #ff8c42 0%, #ff6418 100%);
  transform: translateY(-2px);
}

/* --------------------------------------------------
   Registration Hub & Registration Cards
   -------------------------------------------------- */
.registration-hub-section {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.hub-header {
  margin-bottom: 48px;
}

.reg-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.reg-flow-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  position: relative;
  transition: var(--transition-smooth);
}

.reg-flow-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.reg-quiz-theme {
  border-color: #bae6fd;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 40%);
}
.reg-quiz-theme:hover {
  border-color: var(--accent-orange);
}

.reg-expo-theme {
  border-color: #bbf7d0;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 40%);
}
.reg-expo-theme:hover {
  border-color: var(--accent-orange);
}

.reg-card-badge {
  position: absolute;
  top: 24px;
  right: 28px;
  background: #0f2647;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.reg-card-badge.expo-badge {
  background: #047857;
}

.reg-card-icon-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.reg-avatar {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.quiz-avatar {
  background: #e0f2fe;
}
.expo-avatar {
  background: #dcfce7;
}

.reg-card-icon-banner h3 {
  font-family: var(--font-main);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.reg-card-icon-banner p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.reg-card-specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  padding: 18px;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid var(--border-light);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

.spec-label {
  color: #64748b;
  font-weight: 500;
}

.spec-val {
  font-weight: 700;
  color: #1e293b;
}

.spec-val.highlight-free {
  color: #059669;
}

.btn-primary-reg {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--primary-navy);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: 14px;
  transition: var(--transition-fast);
}

.btn-primary-reg:hover {
  background: #173b70;
  box-shadow: 0 6px 18px rgba(15, 38, 71, 0.2);
}

.btn-primary-reg.btn-expo {
  background: #047857;
}
.btn-primary-reg.btn-expo:hover {
  background: #065f46;
}

/* Fast Lookup Bar */
.reg-lookup-bar {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 20px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.lookup-text {
  display: flex;
  flex-direction: column;
}

.lookup-text strong {
  font-size: 1rem;
  color: var(--primary-navy);
}

.lookup-text span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.lookup-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 480px;
}

.lookup-form input {
  flex: 1;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

.lookup-form input:focus {
  border-color: var(--primary-navy);
  box-shadow: 0 0 0 3px rgba(15, 38, 71, 0.1);
}

/* --------------------------------------------------
   Prizes Section (Mockup 4 Card Palette)
   -------------------------------------------------- */
.prizes-section {
  background-color: #ffffff;
}

.prizes-header-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 44px;
}

.prizes-subtitle-wrap {
  text-align: right;
}

.prize-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.prize-card {
  border-radius: 24px;
  padding: 34px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1.5px solid;
}

.prize-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.prize-trophy-icon {
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.prize-card:hover .prize-trophy-icon {
  transform: scale(1.15) rotate(6deg);
}

.prize-rank {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #334155;
}

.prize-amount {
  font-family: var(--font-main);
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 8px;
}

.prize-amount .currency {
  font-size: 1.4rem;
  vertical-align: middle;
}

.prize-perk {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

/* Color schemes matching mockup */
.prize-card-gold {
  background: linear-gradient(180deg, #fef08a 0%, #fde047 100%);
  border-color: #eab308;
  color: #713f12;
}
.prize-card-gold .prize-amount { color: #854d0e; }

.prize-card-blue {
  background: linear-gradient(180deg, #bae6fd 0%, #7dd3fc 100%);
  border-color: #38bdf8;
  color: #0c4a6e;
}
.prize-card-blue .prize-amount { color: #0369a1; }

.prize-card-pink {
  background: linear-gradient(180deg, #f5d0fe 0%, #e879f9 100%);
  border-color: #c084fc;
  color: #581c87;
}
.prize-card-pink .prize-amount { color: #701a75; }

.prize-card-green {
  background: linear-gradient(180deg, #bbf7d0 0%, #86efac 100%);
  border-color: #4ade80;
  color: #14532d;
}
.prize-card-green .prize-amount { color: #166534; }

/* Event Details Quick Info Bar (Mockup Replica) */
.event-details-card-bar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: var(--shadow-sm);
}

.detail-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.detail-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-navy);
}

.detail-text {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.detail-divider {
  width: 1px;
  height: 40px;
  background: #e2e8f0;
}

/* --------------------------------------------------
   Schedule Timeline Section
   -------------------------------------------------- */
.schedule-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.timeline-container {
  max-width: 820px;
  margin: 48px auto 0 auto;
  position: relative;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 200px;
  width: 2px;
  background: #e2e8f0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px 42px 1fr;
  align-items: flex-start;
  margin-bottom: 32px;
  position: relative;
}

.timeline-time {
  text-align: right;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-orange);
  padding-top: 2px;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid var(--primary-navy);
  margin: 4px auto 0 auto;
  z-index: 2;
  transition: var(--transition-fast);
}

.timeline-item:hover .timeline-dot,
.timeline-item.highlight-item .timeline-dot {
  background: var(--accent-orange);
  border-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 107, 43, 0.3);
  transform: scale(1.2);
}

.timeline-content {
  background: #ffffff;
  padding: 18px 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.timeline-content:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.timeline-content h4 {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}

.timeline-subevents {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.subevent-tag {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.subevent-tag.blue {
  background: var(--quiz-blue-bg);
  color: var(--quiz-blue-dark);
}

.subevent-tag.green {
  background: var(--expo-green-bg);
  color: var(--expo-green-dark);
}

.timeline-item.highlight-item .timeline-content {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fde68a;
}
.timeline-item.highlight-item .timeline-content h4 {
  color: #92400e;
}

/* --------------------------------------------------
   Why Join Section (Mockup Replica)
   -------------------------------------------------- */
.why-join-section {
  background: radial-gradient(circle at 50% 30%, #0d172e 0%, #060a14 100%);
  color: #ffffff;
  padding: 95px 0 60px 0;
}

.why-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
}

.why-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.feature-card {
  text-align: center;
  padding: 24px 16px;
}

.feature-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(251, 191, 36, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.15);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-circle {
  transform: translateY(-6px) scale(1.08);
  border-color: #fbbf24;
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.1);
}

.feature-title {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Call to Action Banner (Mockup Replica) */
.cta-banner-wrapper {
  margin-top: 30px;
}

.cta-banner-card {
  background: radial-gradient(circle at 80% 50%, #7c2d12 0%, #2a1107 45%, #180802 100%);
  border-radius: 28px;
  padding: 44px 50px;
  display: grid;
  grid-template-columns: 200px 1fr 160px;
  align-items: center;
  gap: 32px;
  border: 1.5px solid rgba(255, 107, 43, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 107, 43, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-chalkboard-art {
  font-family: var(--font-script);
  color: #fef08a;
  text-align: center;
  transform: rotate(-4deg);
}

.chalk-stars {
  font-size: 1.2rem;
  color: #ffedd5;
}

.chalk-title {
  font-size: 2.4rem;
  line-height: 0.9;
}

.chalk-sub {
  font-size: 1.3rem;
  color: #ffffff;
}

.chalk-emp {
  font-size: 2.2rem;
  color: #ffaa5a;
  line-height: 0.9;
}

.chalk-underline {
  width: 90%;
  height: 2px;
  background: #fef08a;
  margin: 6px auto 0 auto;
}

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

.cta-title {
  font-family: var(--font-main);
  font-size: 1.9rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.text-orange-glow {
  color: #ff8c42;
  text-shadow: 0 0 15px rgba(255, 107, 43, 0.5);
}

.cta-desc {
  font-size: 0.98rem;
  color: #fed7aa;
  margin-bottom: 22px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.svg-rocket {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 15px rgba(255, 107, 43, 0.6));
  animation: floatRocket 3s ease-in-out infinite alternate;
}

@keyframes floatRocket {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(3deg); }
}

/* --------------------------------------------------
   Contact Section
   -------------------------------------------------- */
.contact-section {
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.coordinator-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.coordinator-card:hover {
  transform: translateX(4px);
  border-color: #cbd5e1;
}

.coord-avatar {
  font-size: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.coord-details {
  display: flex;
  flex-direction: column;
}

.coord-details strong {
  font-size: 1.05rem;
  color: var(--primary-navy);
}

.coord-dept {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 2px;
}

.coord-phone {
  font-size: 0.85rem;
  color: #1e293b;
  font-weight: 600;
}

.map-card-box {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.map-header {
  padding: 16px 20px;
  background: #0f2647;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
}

.interactive-directions-box {
  padding: 30px;
  background: #f8fafc;
}

.directions-content h4 {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.directions-content p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
}

.travel-modes {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.mode-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.mode-item span {
  font-size: 1.4rem;
}

.mode-item strong {
  display: block;
  font-size: 0.9rem;
  color: #1e293b;
}

.mode-item small {
  font-size: 0.78rem;
  color: #64748b;
}

/* --------------------------------------------------
   Site Footer (Mockup Exact Replica)
   -------------------------------------------------- */
.site-footer {
  background: #f4f6fa;
  border-top: 1px solid #e2e8f0;
  color: #334155;
  padding: 60px 0 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-college-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-crest {
  width: 48px;
  height: 48px;
}

.footer-brand-title {
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary-navy);
  line-height: 1;
}

.footer-brand-sub {
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.5px;
}

.footer-address {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
}

.footer-affiliation {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
}

.footer-heading {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 18px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.92rem;
  color: #64748b;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--accent-orange);
  transform: translateX(4px);
}

.social-icons-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--primary-navy);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-dept-tag {
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
}

.footer-dept-tag strong {
  color: var(--primary-navy);
  font-size: 0.82rem;
}

.footer-bottom-bar {
  border-top: 1px solid #e2e8f0;
  padding: 18px 0;
  background: #ffffff;
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-handwritten-motto {
  font-family: var(--font-script);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f2647;
}

/* --------------------------------------------------
   Modals Common Styling
   -------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 24, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #ffffff;
  border-radius: 28px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
  transform: scale(0.94) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-lg {
  max-width: 760px;
}

.modal-xl {
  max-width: 980px;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

/* --------------------------------------------------
   Registration Flow Modal
   -------------------------------------------------- */
.reg-modal-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 600px;
}

.reg-sidebar {
  background: linear-gradient(180deg, #0f2647 0%, #09172e 100%);
  color: #ffffff;
  padding: 38px 28px;
  border-top-left-radius: 28px;
  border-bottom-left-radius: 28px;
  display: flex;
  flex-direction: column;
}

.sidebar-fest-title {
  margin-bottom: 24px;
}

.sidebar-tag {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: #ff9f43;
  font-weight: 800;
  display: block;
  margin-bottom: 4px;
}

.sidebar-fest-title h3 {
  font-family: var(--font-main);
  font-size: 1.55rem;
  font-weight: 800;
}

.event-badge-highlight {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.sidebar-icon {
  font-size: 1.8rem;
}

.badge-title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
}

.badge-sub {
  font-size: 0.78rem;
  color: #cbd5e1;
}

.prizes-reminder-box {
  background: rgba(245, 158, 11, 0.15);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 30px;
}

.reminder-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #fcd34d;
  font-weight: 700;
}

.reminder-amount {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
}

.prizes-reminder-box p {
  font-size: 0.75rem;
  color: #fef3c7;
  margin-top: 4px;
}

.steps-progress-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 600;
  transition: var(--transition-fast);
}

.step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.step-indicator.active {
  color: #ffffff;
}

.step-indicator.active .step-circle {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #ffffff;
}

.step-indicator.completed .step-circle {
  background: #22c55e;
  border-color: #22c55e;
  color: #ffffff;
}

/* Form Content Area */
.reg-form-pane {
  padding: 38px 44px;
  overflow-y: auto;
}

.form-step-pane {
  display: none;
}

.form-step-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.step-heading {
  margin-bottom: 28px;
}

.step-heading h3 {
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.step-heading p {
  font-size: 0.92rem;
  color: #64748b;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-col {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.86rem;
  font-weight: 700;
  color: #334155;
}

.required {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  font-family: inherit;
  font-size: 0.92rem;
  color: #1e293b;
  outline: none;
  transition: var(--transition-fast);
  background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: #ffffff;
  border-color: var(--primary-navy);
  box-shadow: 0 0 0 3px rgba(15, 38, 71, 0.1);
}

.member-input-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}

.member-header {
  margin-bottom: 14px;
}

.member-tag {
  background: #e2e8f0;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.notice-info-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 24px;
  color: #1e3a8a;
  font-size: 0.9rem;
}

.notice-info-box ul {
  padding-left: 20px;
  margin-top: 8px;
}

.notice-info-box li {
  margin-bottom: 4px;
}

.terms-checkbox-wrap {
  margin-bottom: 28px;
}

.custom-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.5;
}

.custom-checkbox-container input {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #94a3b8;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition-fast);
}

.custom-checkbox-container input:checked + .checkmark {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
}

.custom-checkbox-container input:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.btn-outline-gray {
  border: 1.5px solid #cbd5e1;
  color: #475569;
  font-weight: 700;
  padding: 12px 22px;
}
.btn-outline-gray:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.btn-orange-submit {
  background: linear-gradient(135deg, #ff7b25 0%, #ff5200 100%);
  color: #ffffff;
  padding: 13px 28px;
  box-shadow: 0 6px 20px rgba(255, 107, 43, 0.4);
}
.btn-orange-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 43, 0.55);
}

/* --------------------------------------------------
   Digital Ticket / Delegate Admit Card
   -------------------------------------------------- */
.digital-ticket-container {
  background: #ffffff;
  border-radius: 20px;
  border: 2px dashed #0f2647;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 24px 0 30px 0;
  position: relative;
}

.ticket-header-strip {
  background: #0f2647;
  color: #ffffff;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticket-crest-group {
  display: flex;
  flex-direction: column;
}

.tkm-mini-tag {
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: #ff9f43;
  font-weight: 800;
}

.fest-mini-tag {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 800;
}

.ticket-id-badge {
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fef08a;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.ticket-body-grid {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 20px;
  padding: 24px;
}

.ticket-event-name {
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-orange);
  margin-bottom: 4px;
}

.ticket-school-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f2647;
}

.ticket-location {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 14px;
}

.ticket-participants-list {
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.86rem;
  color: #334155;
  margin-bottom: 16px;
  border: 1px solid #e2e8f0;
}

.ticket-schedule-row {
  display: flex;
  gap: 20px;
}

.ticket-schedule-row small {
  display: block;
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 700;
}

.ticket-schedule-row strong {
  font-size: 0.9rem;
  color: #0f2647;
}

.ticket-qr-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-left: 1px dashed #cbd5e1;
  padding-left: 20px;
}

.qr-canvas-box {
  background: #ffffff;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  margin-bottom: 8px;
}

.qr-label {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

.verified-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: #059669;
  margin-top: 4px;
}

.ticket-footer-strip {
  background: #f1f5f9;
  padding: 12px 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: #475569;
  font-weight: 600;
}

.ticket-action-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------
   Event Details Modal Inner Structure
   -------------------------------------------------- */
.modal-details-container {
  padding: 38px 44px;
}

.modal-details-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.modal-details-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
}

.modal-details-icon.quiz {
  background: #e0f2fe;
}
.modal-details-icon.expo {
  background: #dcfce7;
}

.modal-details-title-box h3 {
  font-family: var(--font-main);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--primary-navy);
}

.modal-details-title-box span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-orange);
}

.details-section-block {
  margin-bottom: 24px;
}

.details-section-block h4 {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.details-section-block p,
.details-section-block li {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
}

.details-section-block ul {
  padding-left: 20px;
}

.details-action-bar {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

/* --------------------------------------------------
   Toast Notification
   -------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: #0f2647;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  border-left: 4px solid var(--accent-orange);
  animation: slideInToast 0.3s ease;
}

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

/* --------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .presenter-tag {
    margin-left: auto;
    margin-right: auto;
  }

  .brand-title-row {
    justify-content: center;
    font-size: 3.8rem;
  }

  .brand-tagline-wrapper {
    justify-content: center;
  }

  .hero-subtext {
    margin-left: auto;
    margin-right: auto;
  }

  .event-meta-pills {
    justify-content: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

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

  .stat-card:nth-child(2) {
    border-right: none;
  }

  .about-container {
    grid-template-columns: 1fr;
  }

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

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

  .cta-banner-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-chalkboard-art {
    margin-bottom: 10px;
  }

  .cta-rocket-art {
    display: none;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .reg-modal-wrapper {
    grid-template-columns: 1fr;
  }

  .reg-sidebar {
    border-radius: 28px 28px 0 0;
  }
}

@media (max-width: 768px) {
  .brand-title-row {
    font-size: 2.8rem;
  }

  .brand-flame-bulb {
    width: 50px;
    height: 60px;
  }

  .brand-script-text {
    font-size: 1.8rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 2px solid var(--border-light);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .events-grid,
  .reg-cards-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .event-details-card-bar {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .detail-divider {
    display: none;
  }

  .timeline-container::before {
    left: 20px;
  }

  .timeline-item {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }

  .timeline-time {
    grid-column: 2;
    text-align: left;
    margin-bottom: 6px;
  }

  .timeline-dot {
    grid-column: 1;
    grid-row: 1 / 3;
    margin: 6px 0 0 10px;
  }

  .timeline-content {
    grid-column: 2;
  }

  .ticket-body-grid {
    grid-template-columns: 1fr;
  }

  .ticket-qr-right {
    border-left: none;
    border-top: 1px dashed #cbd5e1;
    padding-left: 0;
    padding-top: 16px;
  }

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