/* ===============================
   Loading Screen Styles
================================ */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0f;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  overflow: hidden;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* AI Neural Network CSS Animation background */
.loading-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 92, 0, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 0, 80, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 122, 24, 0.1) 0%, transparent 60%);
  z-index: 0;
  animation: bgPulse 3s ease-in-out infinite;
}

/* Animated grid lines */
.loading-screen::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 92, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 92, 0, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
  animation: gridMove 20s linear infinite;
}

@keyframes bgPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

/* Floating particles */
.loading-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
}

.loading-particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #ff5c00;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff5c00, 0 0 20px #ff5c00;
  animation: floatParticle 4s ease-in-out infinite;
}

.loading-particles span:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
}

.loading-particles span:nth-child(2) {
  left: 20%;
  top: 80%;
  animation-delay: 0.5s;
  background: #ff0050;
  box-shadow: 0 0 10px #ff0050;
}

.loading-particles span:nth-child(3) {
  left: 80%;
  top: 30%;
  animation-delay: 1s;
}

.loading-particles span:nth-child(4) {
  left: 70%;
  top: 70%;
  animation-delay: 1.5s;
  background: #ff7a18;
  box-shadow: 0 0 10px #ff7a18;
}

.loading-particles span:nth-child(5) {
  left: 50%;
  top: 10%;
  animation-delay: 2s;
  background: #ff0050;
  box-shadow: 0 0 10px #ff0050;
}

.loading-particles span:nth-child(6) {
  left: 30%;
  top: 60%;
  animation-delay: 2.5s;
}

.loading-particles span:nth-child(7) {
  left: 90%;
  top: 50%;
  animation-delay: 3s;
  background: #ff7a18;
  box-shadow: 0 0 10px #ff7a18;
}

.loading-particles span:nth-child(8) {
  left: 5%;
  top: 50%;
  animation-delay: 3.5s;
  background: #ff0050;
  box-shadow: 0 0 10px #ff0050;
}

@keyframes floatParticle {

  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }

  50% {
    transform: translateY(-30px) scale(1.5);
    opacity: 1;
  }
}

.loading-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Lottie AI Icon container */
.loading-lottie-icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(0 0 30px rgba(255, 92, 0, 0.5)) drop-shadow(0 0 60px rgba(255, 0, 80, 0.3));
}

.loading-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.loading-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff5c00, #ff0050, #ff7a18, #ff5c00);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

.loading-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 4px;
  text-transform: uppercase;
  animation: subtitleFade 1.5s ease-in-out infinite;
}

.loading-progress {
  width: 250px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 16px;
  box-shadow: 0 0 20px rgba(255, 92, 0, 0.2);
}

.loading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff5c00, #ff0050, #ff7a18);
  border-radius: 4px;
  animation: loadingProgress 2s ease-in-out forwards;
  box-shadow: 0 0 10px #ff5c00;
}

@keyframes loadingProgress {
  0% {
    width: 0%;
  }

  30% {
    width: 30%;
  }

  60% {
    width: 60%;
  }

  80% {
    width: 85%;
  }

  100% {
    width: 100%;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes titlePulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

@keyframes subtitleFade {

  0%,
  100% {
    opacity: 0.8;
  }

  50% {
    opacity: 1;
  }
}

/* ===============================
   CSS Custom Properties (Design Tokens)
================================ */
:root {
  /* Colors */
  --primary-gradient: linear-gradient(135deg, #ff0050, #ff5c00);
  --secondary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --accent-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --dark-bg: #0a0e1a;
  --dark-bg-secondary: #0f1419;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 80px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(255, 0, 80, 0.3);

  /* Typography */
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
}

/* ===============================
   Global Styles & Enhanced Background
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-body);
  background: #0d2b3e;
  background-attachment: fixed;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Animated Mesh Gradient Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 0, 80, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 122, 24, 0.06) 0%, transparent 50%);
  animation: meshRotate 25s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

/* Animated grid overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  animation: gridFloat 40s linear infinite;
  pointer-events: none;
  opacity: 0.4;
}

@keyframes meshRotate {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.6;
  }

  100% {
    transform: rotate(3deg) scale(1.05);
    opacity: 0.8;
  }
}

@keyframes gridFloat {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(60px, 60px);
  }
}

/* Ensure content is above background */
body>* {
  position: relative;
  z-index: 1;
}

/* ===============================
   Navbar - Modern White Theme
================================ */
/* ========================================
   MODERN NAVBAR STYLES
   ======================================== */

.modern-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  color: white;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-navbar.scrolled {
  background: rgba(13, 43, 62, 0.4);
  /* Dark semi-transparent */
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3),
    0 0 1px 1px rgba(255, 255, 255, 0.1) inset;
  /* Premium inner border */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modern-nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 2rem;
}

/* Logo Section */
.modern-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
}

.modern-nav-logo:hover {
  transform: translateY(-2px);
}

.modern-logo-image {
  height: 90px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.modern-logo-default {
  opacity: 1;
}

.modern-logo-scrolled {
  position: absolute;
  left: 0;
  opacity: 0;
}

.modern-navbar.scrolled .modern-logo-default {
  opacity: 0;
}

.modern-navbar.scrolled .modern-logo-scrolled {
  opacity: 1;
}

.modern-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff5c00 0%, #ff3d81 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  transition: all 0.4s ease;
}

.modern-navbar.scrolled .modern-logo-text {
  background: linear-gradient(135deg, #ff7a18 0%, #ff5c9d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation Links */
.modern-nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: center;
}

/* Modern Nav Link - Icon + Text Design */
.modern-nav-link {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  white-space: nowrap;
}

.modern-nav-link .nav-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.modern-nav-link span {
  position: relative;
  z-index: 1;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
}

.modern-nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 92, 0, 0.08) 0%, rgba(255, 61, 129, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}

.modern-navbar.scrolled .modern-nav-link::before {
  background: linear-gradient(135deg, rgba(255, 122, 24, 0.12) 0%, rgba(255, 92, 157, 0.12) 100%);
}

.modern-nav-link:hover {
  color: #ff5c00;
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.03);
}

.modern-nav-link:hover .nav-icon {
  stroke: #ff5c00;
  opacity: 1;
  transform: scale(1.1);
}

.modern-navbar.scrolled .modern-nav-link:hover {
  color: #ff7a18;
}

.modern-navbar.scrolled .modern-nav-link:hover .nav-icon {
  stroke: #ff7a18;
}

.modern-nav-link:hover::before {
  opacity: 1;
}

.modern-nav-link.active {
  color: #ff5c00;
  background: rgba(255, 92, 0, 0.08);
}

.modern-nav-link.active .nav-icon {
  stroke: #ff5c00;
  opacity: 1;
}

.modern-navbar.scrolled .modern-nav-link.active {
  color: #ff7a18;
  background: rgba(255, 122, 24, 0.12);
}

.modern-navbar.scrolled .modern-nav-link.active .nav-icon {
  stroke: #ff7a18;
}

/* CTA Button */
.modern-nav-cta {
  display: flex;
  align-items: center;
}

.modern-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 16px;
  background: linear-gradient(135deg, #ff5c00 0%, #ff3d81 100%);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(255, 92, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.modern-navbar.scrolled .modern-cta-btn {
  background: linear-gradient(135deg, #ff7a18 0%, #ff5c9d 100%);
  box-shadow: 0 4px 20px rgba(255, 122, 24, 0.4);
}

.modern-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.modern-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 92, 0, 0.4);
}

.modern-navbar.scrolled .modern-cta-btn:hover {
  box-shadow: 0 6px 30px rgba(255, 122, 24, 0.5);
}

.modern-cta-btn:hover::before {
  left: 100%;
}

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

.cta-arrow {
  transition: transform 0.3s ease;
}

.modern-cta-btn:hover .cta-arrow {
  transform: translateX(4px);
}

/* Mobile Toggle */
.modern-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger-line {
  width: 26px;
  height: 2.5px;
  background: linear-gradient(135deg, #ff5c00 0%, #ff3d81 100%);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-navbar.scrolled .hamburger-line {
  background: linear-gradient(135deg, #ff7a18 0%, #ff5c9d 100%);
}

.modern-nav-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.modern-nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.modern-nav-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ===============================
   MOBILE-FIRST RESPONSIVE DESIGN
   =============================== */

/* Mobile Base Styles (320px - 767px) */
@media (max-width: 767px) {
  .modern-nav-container {
    height: 65px;
    padding: 0 1rem;
    position: relative;
    z-index: 10000;
    background: rgba(13, 43, 62, 0.95);
  }

  .modern-logo-image {
    height: 50px;
  }

  /* Show Mobile Toggle */
  .modern-nav-toggle {
    display: flex;
    position: relative;
    z-index: 10000;
  }

  /* Hide Desktop CTA */
  .modern-nav-cta {
    display: none;
  }

  /* Mobile Menu Fullscreen Overlay */
  .modern-nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(13, 43, 62, 0.98) 0%, rgba(13, 27, 42, 0.98) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 100px 2rem 100px 2rem;
    gap: 10px;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Active Mobile Menu */
  .modern-nav-links.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  /* Mobile Nav Links */
  .modern-nav-link {
    width: 100%;
    max-width: 450px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 18px 24px;
    font-size: 17px;
    color: #ffffff;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: left;
  }

  .modern-nav-link:hover,
  .modern-nav-link:active {
    background: rgba(255, 92, 0, 0.15);
    border-color: rgba(255, 92, 0, 0.3);
    color: #ff5c00;
    transform: translateX(5px);
  }

  .modern-nav-link .nav-icon {
    width: 24px;
    height: 24px;
    margin-right: 16px;
    flex-shrink: 0;
  }

  .modern-nav-link span {
    font-size: 17px;
    font-weight: 500;
  }

  /* Add Register Button to Mobile Menu */
  .modern-nav-links::after {
    display: none;
  }

  .modern-nav-register-link {
    width: 100%;
    max-width: 450px;
    padding: 18px 24px;
    margin-top: 20px;
    background: linear-gradient(135deg, #ff5c00 0%, #ff3d81 100%);
    color: white !important;
    font-weight: 700;
    font-size: 17px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(255, 92, 0, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .modern-nav-register-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 92, 0, 0.5);
    background: linear-gradient(135deg, #ff7a18 0%, #ff5c9d 100%);
  }

  .modern-nav-register-link .nav-icon {
    width: 20px;
    height: 20px;
  }
}

/* Tablet Landscape (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .modern-nav-container {
    padding: 0 2rem;
  }

  .modern-nav-links {
    gap: 0.35rem;
  }

  .modern-nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }

  .modern-nav-link .nav-icon {
    width: 16px;
    height: 16px;
  }

  .modern-nav-link span {
    font-size: 0.8125rem;
  }

  .modern-cta-btn {
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
  }

  .modern-logo-image {
    height: 70px;
  }
}

/* Small Laptop (1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .modern-nav-links {
    gap: 0.4rem;
  }

  .modern-nav-link {
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
  }

  .modern-cta-btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* Standard Desktop (1280px - 1919px) - Default Styles Already Applied */
@media (min-width: 1280px) {
  .modern-nav-container {
    max-width: 1400px;
    margin: 0 auto;
  }
}

/* Large Desktop / 2K (1920px - 2559px) */
@media (min-width: 1920px) {
  .modern-nav-container {
    max-width: 1800px;
    padding: 0 4rem;
  }

  .modern-nav-link {
    padding: 0.625rem 1.125rem;
    font-size: 1rem;
  }

  .modern-nav-link .nav-icon {
    width: 20px;
    height: 20px;
  }

  .modern-cta-btn {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }

  .modern-logo-image {
    height: 100px;
  }
}

/* 4K Ultra HD (2560px+) */
@media (min-width: 2560px) {
  .modern-nav-container {
    max-width: 2200px;
    padding: 0 6rem;
  }

  .modern-navbar {
    height: 120px;
  }

  .modern-nav-link {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
  }

  .modern-nav-link .nav-icon {
    width: 22px;
    height: 22px;
  }

  .modern-cta-btn {
    padding: 1rem 2rem;
    font-size: 1.125rem;
  }

  .modern-logo-image {
    height: 110px;
  }
}

.modern-nav-links .modern-cta-btn {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
}

@media (max-width: 480px) {
  .modern-nav-container {
    padding: 0 1rem;
    background: rgba(13, 43, 62, 0.95);
  }

  .modern-logo-image {
    height: 38px;
  }

  /* Mobile Menu Adjustments for Small Screens */
  .modern-nav-links {
    padding: 90px 1.5rem 90px 1.5rem;
    gap: 8px;
  }

  .modern-nav-links::before {
    top: 12px;
    right: 16px;
    width: 45px;
    height: 45px;
    font-size: 36px;
  }

  .modern-nav-link {
    width: 100%;
    max-width: 100%;
    padding: 16px 20px;
    font-size: 16px;
  }

  .modern-nav-link .nav-icon {
    width: 22px;
    height: 22px;
    margin-right: 14px;
  }

  .modern-nav-link span {
    font-size: 16px;
  }

  .modern-nav-register-link {
    width: 100%;
    max-width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    margin-top: 16px;
    background: linear-gradient(135deg, #ff5c00 0%, #ff3d81 100%);
    color: white !important;
    font-weight: 700;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(255, 92, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .modern-nav-register-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 92, 0, 0.5);
  }


}

/* Scroll Behavior */
html {
  scroll-padding-top: 100px;
}


/* ========================================
   LEGACY NAVBAR STYLES (Keep for compatibility)
   ======================================== */

.hackathon-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
  cursor: pointer;
}

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

.logo-image {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-logo:hover .logo-image {
  filter: brightness(1.1);
}

.logo-highlight {
  background: linear-gradient(135deg, #ff0050, #ff5c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Links */
.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  text-decoration: none;
  color: #2d3748;
  font-size: 15px;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #ff0050, #ff5c00);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #ff5c00;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: #ff5c00;
}

.nav-links a.active::after {
  width: 100%;
}

/* CTA */
.nav-cta .cta-btn {
  padding: 8px 18px;
  background: linear-gradient(135deg, #ff0050, #ff5c00);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 0, 80, 0.3);
  transition: all 0.3s ease;
  border: none;
}

.nav-cta .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 0, 80, 0.45);
  background: linear-gradient(135deg, #ff5c00, #ff7a18);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: linear-gradient(135deg, #ff0050, #ff5c00);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle:hover span {
  background: linear-gradient(135deg, #ff5c00, #ff7a18);
}

/* ===============================
   Responsive
================================ */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 20px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    border-radius: 16px;
    gap: 20px;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: #2d3748;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}




/* ===============================
   Registration Closed Banner - Enhanced
================================ */
.registration-closed-banner {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  z-index: 998;

  background-size: 200% 200%;
  animation: bannerGradientShift 3s ease infinite;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.registration-closed-banner.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-100%);
}

/* Banner gradient animation */
@keyframes bannerGradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Banner content container */
.banner-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
  width: 100%;
}

/* Animated pulse background effect */
.banner-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  animation: pulseEffect 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseEffect {

  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(0.95);
  }

  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* Text wrapper for scrolling effect - Full width */
.banner-text-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

/* Scrolling text container */
.banner-text-scroll {
  display: flex;
  white-space: nowrap;
  animation: scrollText 15s linear infinite;
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Individual text items */
.banner-text-item {
  display: inline-block;
  padding: 0 60px;
  font-family: sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: textFlash 2s ease-in-out infinite;
}

@keyframes textFlash {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.85;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .registration-closed-banner {
    top: 65px;
  }

  .banner-content {
    padding: 12px 0;
  }

  .banner-text-item {
    font-size: 14px;
    padding: 0 40px;
  }
}

@media (max-width: 480px) {
  .registration-closed-banner {
    top: 65px;
  }

  .banner-content {
    padding: 10px 0;
  }

  .banner-text-item {
    font-size: 13px;
    padding: 0 30px;
  }
}

/* ===============================
   Registration Disabled State
================================ */
.registration-disabled {
  position: relative;
  cursor: not-allowed !important;
  background: linear-gradient(135deg, #6c757d, #495057) !important;
  box-shadow: none !important;
  filter: grayscale(100%) !important;
  opacity: 0.6 !important;
  pointer-events: all !important;
}

.registration-disabled:hover {
  transform: none !important;
  box-shadow: none !important;
  background: linear-gradient(135deg, #6c757d, #495057) !important;
}

/* Disabled cursor for all registration buttons */
a[href="#register"].registration-disabled,
a[href="#register"].registration-disabled * {
  cursor: not-allowed !important;
}

/* Fade animations for custom alert */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
}


/* ===============================
   Bournfire Hackathon Hero Section
================================ */
.bournfire-hackathon-hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  /* Prevent decorative elements from causing horizontal scroll */
}

/* Optional overlay for extra contrast */
.bournfire-hackathon-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.bournfire-hackathon-hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Badge - Enhanced with Gradient Border & Glow */
.bournfire-hackathon-badge {
  display: inline-block;
  padding: 10px 24px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ffffff;
  position: relative;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 0, 80, 0.15), rgba(255, 92, 0, 0.15));
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
}

/* Animated gradient border */
.bournfire-hackathon-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 2px;
  background: linear-gradient(135deg, #ff0050, #ff5c00, #ff7a18, #ff0050);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: gradientBorderRotate 4s ease infinite;
  z-index: -1;
}

/* Glowing effect */
.bournfire-hackathon-badge::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff0050, #ff5c00, #ff7a18);
  opacity: 0;
  filter: blur(15px);
  transition: opacity 0.4s ease;
  z-index: -2;
}

.bournfire-hackathon-badge:hover {
  transform: translateY(-2px) scale(1.05);
  background: linear-gradient(135deg, rgba(255, 0, 80, 0.25), rgba(255, 92, 0, 0.25));
  box-shadow: 0 10px 30px rgba(255, 0, 80, 0.3);
}

.bournfire-hackathon-badge:hover::after {
  opacity: 0.6;
}

/* Gradient border animation */
@keyframes gradientBorderRotate {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Bournfire Brand Title */
.bournfire-hero-brand {
  margin-bottom: 12px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.bournfire-brand-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 5.5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ff5c00 0%, #ff0050 50%, #ff7a18 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 80px rgba(255, 92, 0, 0.5);
}

.bournfire-brand-text::before {
  content: 'Bournfire';
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  background: linear-gradient(135deg, #ff5c00 0%, #ff0050 50%, #ff7a18 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(20px);
  opacity: 0.6;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Title - Further Decreased Size */
.bournfire-hackathon-title {
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #ffffff;
}

.bournfire-hackathon-title span {
  background: linear-gradient(135deg, #ff5c00, #ff0050);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Description - Decreased Size */
.bournfire-hackathon-description {
  font-size: 15px;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.9);
}

/* Actions */
.bournfire-hackathon-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.bournfire-hackathon-primary-btn {
  padding: 12px 22px;
  background: linear-gradient(135deg, #ff0050, #ff5c00);
  border-radius: 10px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(255, 0, 80, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bournfire-hackathon-primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(255, 0, 80, 0.5);
  background: linear-gradient(135deg, #ff5c00, #ff7a18);
}

.bournfire-hackathon-secondary-btn {
  padding: 12px 22px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.bournfire-hackathon-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}

/* Responsive */
@media (max-width: 768px) {
  .bournfire-brand-text {
    font-size: clamp(26px, 7vw, 40px);
  }

  .bournfire-hackathon-title {
    font-size: clamp(22px, 5.5vw, 32px);
  }

  .bournfire-hackathon-description {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .bournfire-brand-text {
    font-size: clamp(22px, 8vw, 32px);
  }

  .bournfire-hackathon-title {
    font-size: clamp(20px, 6vw, 28px);
  }

  .bournfire-hackathon-description {
    font-size: 13px;
  }
}





/* ===============================
   What & Why Bournfire Section - Professional Design
================================ */
.bournfire-hackathon-overview {
  padding: 50px 20px;
  background: #0d2b3e;
  position: relative;
  overflow: hidden;
}

/* Subtle animated background grid */
.bournfire-hackathon-overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 0, 80, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 80, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  animation: gridSlide 30s linear infinite;
}

@keyframes gridSlide {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(60px, 60px);
  }
}

.bournfire-hackathon-overview-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

/* Left Content - What is Bournfire */
.bournfire-hackathon-overview-content {
  position: relative;
  padding: 40px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(20, 25, 40, 0.5), rgba(15, 20, 35, 0.3));
  border: 1px solid rgba(229, 71, 56, 0.15);
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

/* Animated corner accent */
.bournfire-hackathon-overview-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(229, 71, 56, 0.2), transparent);
  border-radius: 0 0 100% 0;
  transition: all 0.4s ease;
}

.bournfire-hackathon-overview-content:hover {
  transform: translateY(-5px);
  border-color: rgba(229, 71, 56, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(229, 71, 56, 0.1);
}

.bournfire-hackathon-overview-content:hover::before {
  width: 80px;
  height: 80px;
}

/* Section Badge */
.section-badge {
  display: inline-block;
  width: fit-content;
  padding: 6px 16px;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ff5c00;
  background: rgba(255, 0, 80, 0.1);
  border: 1px solid rgba(255, 0, 80, 0.3);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.bournfire-hackathon-overview-content:hover .section-badge {
  background: rgba(255, 0, 80, 0.15);
  border-color: rgba(255, 0, 80, 0.5);
  box-shadow: 0 0 15px rgba(255, 0, 80, 0.3);
}

/* Titles */
.bournfire-hackathon-section-title,
.bournfire-hackathon-subtitle {
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.bournfire-hackathon-section-title {
  font-size: 38px;
  position: relative;
  padding-bottom: 15px;
}

/* Animated underline */
.bournfire-hackathon-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ff0050, #ff5c00);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.bournfire-hackathon-overview-content:hover .bournfire-hackathon-section-title::after {
  width: 100px;
}

.bournfire-hackathon-subtitle {
  font-size: 28px;
  position: relative;
  padding-bottom: 15px;
}

.bournfire-hackathon-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, #ff0050, #ff5c00);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.bournfire-hackathon-overview-highlights:hover .bournfire-hackathon-subtitle::after {
  width: 80px;
}

.bournfire-hackathon-section-title span,
.bournfire-hackathon-subtitle span {
  background: linear-gradient(135deg, #ff0050, #ff5c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

/* Description */
.bournfire-hackathon-section-description {
  font-size: 16px;
  line-height: 1.8;
  color: #ffffff;
  margin-bottom: 25px;
}

.bournfire-hackathon-section-description strong {
  color: #ff5c00;
  font-weight: 700;
}

/* Feature Tags */
.feature-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.feature-tags .tag {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(229, 71, 56, 0.2), rgba(229, 71, 56, 0.15));
  border: 1px solid rgba(229, 71, 56, 0.3);
  border-radius: 20px;
  transition: all 0.3s ease;
  cursor: default;
}

.feature-tags .tag:hover {
  background: linear-gradient(135deg, rgba(229, 71, 56, 0.3), rgba(229, 71, 56, 0.25));
  border-color: rgba(229, 71, 56, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 71, 56, 0.3);
}

/* Right Card - Why Bournfire */
.bournfire-hackathon-overview-highlights {
  padding: 40px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(20, 25, 40, 0.5), rgba(15, 20, 35, 0.3));
  border: 1px solid rgba(229, 71, 56, 0.15);
  backdrop-filter: blur(20px);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

/* Animated corner accent */
.bournfire-hackathon-overview-highlights::before {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 120px;
  height: 120px;
  background: linear-gradient(315deg, rgba(229, 71, 56, 0.3), transparent);
  border-radius: 0 0 24px 0;
  transition: all 0.4s ease;
  z-index: -1;
}

.bournfire-hackathon-overview-highlights:hover {
  transform: translateY(-5px);
  border-color: rgba(229, 71, 56, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(229, 71, 56, 0.1);
}

.bournfire-hackathon-overview-highlights:hover::before {
  width: 150px;
  height: 150px;
}

/* Benefits List */
.bournfire-hackathon-benefits-list {
  list-style: none;
  margin-top: 25px;
}

.bournfire-hackathon-benefits-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  font-size: 15px;
  line-height: 1.6;
  color: #e6e8ef;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bournfire-hackathon-benefits-list li:last-child {
  border-bottom: none;
}

.bournfire-hackathon-benefits-list li:hover {
  color: #ffffff;
  transform: translateX(5px);
  padding-left: 10px;
}

/* Check Icon */
.benefit-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: #ff5c00;
  background: rgba(255, 0, 80, 0.1);
  border-radius: 50%;
  padding: 3px;
  transition: all 0.3s ease;
}

.bournfire-hackathon-benefits-list li:hover .benefit-icon {
  color: #ff0050;
  background: rgba(255, 0, 80, 0.2);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 0, 80, 0.4);
}

.bournfire-hackathon-benefits-list li span strong {
  color: #ff5c00;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 900px) {
  .bournfire-hackathon-overview-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bournfire-hackathon-section-title {
    font-size: 32px;
  }

  .bournfire-hackathon-subtitle {
    font-size: 24px;
  }

  .bournfire-hackathon-overview-content,
  .bournfire-hackathon-overview-highlights {
    padding: 30px;
  }
}







/* ===============================
   Your Build Journey Section - Modern Enhanced Design
================================ */
#bournfire-hackathon-build-journey {
  padding: 110px;
  background: #0d2b3e;
  position: relative;
  overflow: hidden;
}

/* Animated background particles */
#bournfire-hackathon-build-journey::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image:
    radial-gradient(circle, rgba(0, 217, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle, rgba(0, 224, 255, 0.06) 1px, transparent 1px);
  background-size: 50px 50px, 80px 80px;
  background-position: 0 0, 40px 40px;
  animation: particleFloat 20s linear infinite;
  opacity: 0.3;
}

@keyframes particleFloat {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

.bournfire-hackathon-build-container {
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 1;
}

/* Header */
.bournfire-hackathon-build-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 60px;
  position: relative;
}

/* Decorative line above title */
.bournfire-hackathon-build-header::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ff0050, #ff5c00);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255, 0, 80, 0.5);
}

.bournfire-hackathon-build-title {
  font-size: clamp(28px, 4.5vw, 38px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
}

.bournfire-hackathon-build-title span {
  background: linear-gradient(135deg, #ff0050, #ff5c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.bournfire-hackathon-build-description {
  font-size: 15px;
  line-height: 1.7;
  color: #ffffff;
}

/* Grid - Bento Style Mosaic */
.bournfire-hackathon-build-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

/* Cards - Modern Enhanced Design */
.bournfire-hackathon-build-card {
  position: relative;
  padding: 30px;
  border-radius: 24px;
  background: rgba(13, 17, 28, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

/* Staggered Layout Logic */
.bournfire-hackathon-build-card:nth-child(1),
.bournfire-hackathon-build-card:nth-child(2),
.bournfire-hackathon-build-card:nth-child(3) {
  grid-column: span 2;
}

.bournfire-hackathon-build-card:nth-child(4),
.bournfire-hackathon-build-card:nth-child(5) {
  grid-column: span 3;
}

/* Hover Effects */
.bournfire-hackathon-build-card:hover {
  transform: translateY(-8px);
  background: rgba(13, 17, 28, 0.8);
  border-color: rgba(255, 92, 0, 0.2);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 92, 0, 0.1);
}

/* Icon Container */
.build-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #a0a0a0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}

.bournfire-hackathon-build-card:hover .build-card-icon {
  background: linear-gradient(135deg, #ff5c00, #ff3d81);
  color: white;
  border-color: transparent;
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 8px 20px rgba(255, 92, 0, 0.3);
}

/* Number Badge */
.build-card-number {
  position: absolute;
  top: 24px;
  right: 32px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.02);
  line-height: 1;
  transition: all 0.4s ease;
}

.bournfire-hackathon-build-card:hover .build-card-number {
  color: rgba(255, 255, 255, 0.08);
  /* Slightly more visible on hover */
  transform: translateY(-5px);
}

/* Typography */
.bournfire-hackathon-build-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  /* White title */
  margin-bottom: 12px;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.bournfire-hackathon-build-card:hover h3 {
  background: linear-gradient(90deg, #fff, #ffae88);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bournfire-hackathon-build-card p {
  color: #9ca3af;
  font-size: 0.95rem;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.bournfire-hackathon-build-card:hover p {
  color: #d1d5db;
}

/* Floating animation for cards */
@keyframes float {

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

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

.bournfire-hackathon-build-card:nth-child(1) {
  animation: float 6s ease-in-out infinite;
}

.bournfire-hackathon-build-card:nth-child(2) {
  animation: float 6s ease-in-out infinite 0.5s;
}

.bournfire-hackathon-build-card:nth-child(3) {
  animation: float 6s ease-in-out infinite 1s;
}

.bournfire-hackathon-build-card:nth-child(4) {
  animation: float 6s ease-in-out infinite 1.5s;
}

.bournfire-hackathon-build-card:nth-child(5) {
  animation: float 6s ease-in-out infinite 2s;
}

/* Pause animation on hover */
.bournfire-hackathon-build-card:hover {
  animation-play-state: paused;
}

/* Responsive Grid Logic */
@media (max-width: 1100px) {
  .bournfire-hackathon-build-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Reset spans for tablet */
  .bournfire-hackathon-build-card:nth-child(n) {
    grid-column: span 1;
  }

  /* Make the 3rd card span full width to fill the gap in a 2-col grid (5 items) */
  .bournfire-hackathon-build-card:nth-child(5) {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .bournfire-hackathon-build-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bournfire-hackathon-build-card:nth-child(n) {
    grid-column: span 1;
  }

  .bournfire-hackathon-build-header {
    margin-bottom: 40px;
  }

  .bournfire-hackathon-build-card {
    min-height: auto;
    padding: 24px;
  }

  .build-card-number {
    font-size: 2.5rem;
    top: 20px;
    right: 20px;
  }
}





/* ===============================
   Challenge & Career Section - Enhanced Design
================================ */
#bournfire-hackathon-challenge-career {
  padding: 30px 20px;
  background: #0d2b3e;
  position: relative;
  overflow: hidden;
}

/* Animated background pattern */
#bournfire-hackathon-challenge-career::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 217, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  opacity: 0.5;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

/* Section Header - Enhanced */
.bournfire-hackathon-section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  position: relative;
  z-index: 1;
}

/* Decorative element above title */
.bournfire-hackathon-section-header::before {
  content: '';
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ff0050, #ff5c00);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255, 0, 80, 0.5);
}

.bournfire-hackathon-main-title {
  font-size: clamp(28px, 4.5vw, 36px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  position: relative;
}

.bournfire-hackathon-main-title span {
  background: linear-gradient(135deg, #ff0050, #ff5c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bournfire-hackathon-main-description {
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
}

.bournfire-hackathon-challenge-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  position: relative;
  z-index: 1;
}

/* Card Base - Enhanced */
.bournfire-hackathon-info-card {
  padding: 32px 28px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(20, 25, 40, 0.6), rgba(15, 20, 35, 0.4));
  border: 2px solid rgba(229, 71, 56, 0.15);
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Animated corner accent */
.bournfire-hackathon-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(229, 71, 56, 0.2), transparent);
  border-radius: 0 0 100% 0;
  transition: all 0.4s ease;
}

.bournfire-hackathon-info-card:hover::before {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(229, 71, 56, 0.3), transparent);
}

/* Shine effect */
.bournfire-hackathon-info-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent 30%,
      rgba(255, 255, 255, 0.05) 50%,
      transparent 70%);
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bournfire-hackathon-info-card:hover::after {
  opacity: 1;
  animation: shine 1.5s ease-in-out;
}

@keyframes shine {
  0% {
    left: -50%;
  }

  100% {
    left: 150%;
  }
}

.bournfire-hackathon-info-card:hover {
  transform: translateY(-8px);
  border-color: rgba(229, 71, 56, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Highlight Career Card */
.bournfire-hackathon-career-highlight {
  border-color: rgba(229, 71, 56, 0.35);
  background:
    linear-gradient(145deg,
      rgba(229, 71, 56, 0.12),
      rgba(229, 71, 56, 0.08));
  position: relative;
}

/* Glowing border animation for career card */
.bournfire-hackathon-career-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(229, 71, 56, 0.2), transparent);
  border-radius: 0 0 100% 0;
  transition: all 0.4s ease;
  z-index: 1;
}

@keyframes gradientRotate {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.bournfire-hackathon-career-highlight:hover::before {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(229, 71, 56, 0.3), transparent);
}

/* Titles - Enhanced */
.bournfire-hackathon-info-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-left: 16px;
}

/* Animated accent line */
.bournfire-hackathon-info-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #ff0050, #ff5c00);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.bournfire-hackathon-info-card:hover .bournfire-hackathon-info-title::before {
  width: 5px;
  box-shadow: 0 0 10px rgba(255, 0, 80, 0.6);
}

.bournfire-hackathon-info-title span {
  background: linear-gradient(135deg, #ff0050, #ff5c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Lists - Enhanced */
.bournfire-hackathon-info-list {
  list-style: none;
}

.bournfire-hackathon-info-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
  transition: all 0.3s ease;
}

/* Custom animated bullet */
.bournfire-hackathon-info-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff0050, #ff5c00);
  transition: all 0.3s ease;
}

.bournfire-hackathon-info-card:hover .bournfire-hackathon-info-list li::before {
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(255, 0, 80, 0.6);
}

.bournfire-hackathon-info-card:hover .bournfire-hackathon-info-list li {
  color: #ffffff;
  transform: translateX(3px);
}

/* Sub List */
.bournfire-hackathon-sub-list {
  list-style: none;
  margin-top: 10px;
}

.bournfire-hackathon-sub-list li {
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #ffffff;
}

.bournfire-hackathon-sub-list li::before {
  content: "→";
  position: absolute;
  left: 4px;
  color: #ff5c00;
  font-weight: bold;
}

/* Floating animation for cards */
@keyframes cardFloat {

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

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

.bournfire-hackathon-info-card:nth-child(1) {
  animation: cardFloat 5s ease-in-out infinite;
}

.bournfire-hackathon-info-card:nth-child(2) {
  animation: cardFloat 5s ease-in-out infinite 0.5s;
}

.bournfire-hackathon-info-card:nth-child(3) {
  animation: cardFloat 5s ease-in-out infinite 1s;
}

.bournfire-hackathon-info-card:hover {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
  .bournfire-hackathon-main-title {
    font-size: 26px;
  }

  .bournfire-hackathon-main-description {
    font-size: 13px;
  }

  .bournfire-hackathon-info-title {
    font-size: 20px;
  }

  .bournfire-hackathon-info-list li {
    font-size: 13px;
  }
}




/* ===============================
   Hackathon Journey – Curved Roadmap
================================ */
#bournfire-hackathon-journey-roadmap {
  position: relative;
  padding: 130px 20px 120px;
  background: #0d2b3e;
  overflow: hidden;
}

/* Header */
.bournfire-hackathon-journey-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 100px;
}

.bournfire-hackathon-journey-header h2 {
  font-size: clamp(32px, 5vw, 40px);
  font-weight: 800;
  color: #fff;
}

.bournfire-hackathon-journey-header h2 span {
  background: linear-gradient(135deg, #ff0050, #ff5c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bournfire-hackathon-journey-header p {
  margin-top: 14px;
  font-size: 15px;
  color: #ffffff;
  line-height: 1.6;
}

/* SVG Curved Path */
.bournfire-hackathon-journey-path {
  position: absolute;
  top: 220px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 3200px;
  pointer-events: none;
  z-index: 1;
}

.bournfire-hackathon-journey-path path {
  fill: none;
  stroke-width: 6;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bournfire-hackathon-journey-path .journey-path-bg {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-dasharray: none !important;
  stroke-dashoffset: 0 !important;
}

.bournfire-hackathon-journey-path #progressPath {
  stroke: url(#pathGradient);
  filter: drop-shadow(0 0 15px rgba(229, 71, 56, 0.6));
  stroke-dasharray: 10000;
  stroke-dashoffset: 10000;
}

/* Connection circles at each step */
.bournfire-hackathon-journey-path .journey-circle {
  fill: #ff3d81;
  stroke: #fff;
  stroke-width: 3;
  filter: drop-shadow(0 0 10px rgba(255, 61, 129, 0.6));
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bournfire-hackathon-journey-path .journey-circle.visible {
  opacity: 1;
  transform: scale(1);
}

/* Steps Wrapper */
.bournfire-hackathon-journey-steps {
  position: relative;
  max-width: 1100px;
  margin: auto;
  z-index: 2;
}

/* Step Card */
.bournfire-hackathon-step {
  position: relative;
  width: 400px;
  padding: 26px 28px;
  margin-bottom: 80px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(20px);
  border: 2px solid rgba(229, 71, 56, 0.3);
  color: #fff;
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Left & Right alignment */
.bournfire-hackathon-step.left {
  margin-left: 0;
  margin-right: auto;
}

.bournfire-hackathon-step.right {
  margin-left: auto;
  margin-right: 0;
}

/* Individual Step Classes - for precise positioning and staggered animation */
.bournfire-hackathon-step.step-1 {
  /* Step 1 - Left side */
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 80px;
  margin-left: 0;
  transition-delay: 0.1s;
}

.bournfire-hackathon-step.step-2 {
  /* Step 2 - Right side */
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 80px;
  margin-left: auto;
  transition-delay: 0.2s;
}

.bournfire-hackathon-step.step-3 {
  /* Step 3 - Left side */
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 80px;
  margin-left: 0;
  transition-delay: 0.3s;
}

.bournfire-hackathon-step.step-4 {
  /* Step 4 - Right side */
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 80px;
  margin-left: auto;
  transition-delay: 0.4s;
}

.bournfire-hackathon-step.step-5 {
  /* Step 5 - Left side */
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 80px;
  margin-left: 0;
  transition-delay: 0.5s;
}

.bournfire-hackathon-step.step-6 {
  /* Step 6 - Right side */
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 80px;
  margin-left: auto;
  transition-delay: 0.6s;
}

.bournfire-hackathon-step.step-7 {
  /* Step 7 - Left side */
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 80px;
  margin-left: 0;
  transition-delay: 0.7s;
}

.bournfire-hackathon-step.step-8 {
  /* Step 8 - Right side */
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 80px;
  margin-left: auto;
  transition-delay: 0.8s;
}

.bournfire-hackathon-step.step-9 {
  /* Step 9 - Left side */
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 80px;
  margin-left: 0;
  transition-delay: 0.9s;
}

.bournfire-hackathon-step.step-10 {
  /* Step 10 - Right side */
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 80px;
  margin-left: auto;
  transition-delay: 1.0s;
}

.bournfire-hackathon-step.step-11 {
  /* Step 11 - Left side */
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 80px;
  margin-left: 0;
  transition-delay: 1.1s;
}

/* Active animation */
.bournfire-hackathon-step.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  border-color: rgba(229, 71, 56, 0.6);
  box-shadow: 0 25px 70px rgba(229, 71, 56, 0.3);
}

.bournfire-hackathon-step:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 0, 80, 0.8);
  box-shadow: 0 30px 80px rgba(255, 0, 80, 0.5);
}

/* Step text */
.bournfire-hackathon-step span {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ff5c00;
  background: rgba(255, 0, 80, 0.15);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 0, 80, 0.4);
}

.bournfire-hackathon-step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
  background: linear-gradient(135deg, #ffffff, #ffd4b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bournfire-hackathon-step p {
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 900px) {

  .bournfire-hackathon-step,
  .bournfire-hackathon-step.right,
  .bournfire-hackathon-step.left {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 420px;
  }

  .bournfire-hackathon-step::before {
    display: none;
  }

  .bournfire-hackathon-journey-path {
    display: none;
  }

  #bournfire-hackathon-journey-roadmap {
    overflow-x: hidden;
  }

  .bournfire-hackathon-journey-steps {
    width: 100%;
    overflow-x: hidden;
  }
}




/* ===============================
   Final CTA & PPO Highlight - Enhanced Design
================================ */
#bournfire-hackathon-final-cta {
  padding: 100px 20px;
  background: #0d2b3e;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated background elements */
#bournfire-hackathon-final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.12), transparent 70%);
  border-radius: 50%;
  animation: breathe 8s ease-in-out infinite;
}

@keyframes breathe {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.5;
  }
}

/* PPO Highlight Box - Enhanced */
.bournfire-hackathon-ppo-highlight {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 32px 38px;
  border-radius: 20px;
  background: linear-gradient(145deg,
      rgba(229, 71, 56, 0.12),
      rgba(229, 71, 56, 0.08));
  border: 2px solid rgba(229, 71, 56, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 1;
}

/* Animated gradient border */
.bournfire-hackathon-ppo-highlight::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(45deg,
      #ff0050,
      #ff5c00,
      #ff7a18,
      #ff0050);
  background-size: 300% 300%;
  animation: gradientRotate 6s ease infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

@keyframes gradientRotate {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.bournfire-hackathon-ppo-highlight:hover::before {
  opacity: 0.6;
}



.bournfire-hackathon-ppo-highlight:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 71, 56, 0.5);
  background: linear-gradient(145deg,
      rgba(229, 71, 56, 0.15),
      rgba(229, 71, 56, 0.1));
}

.bournfire-hackathon-ppo-highlight h3 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}

.bournfire-hackathon-ppo-highlight h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ff0050, #ff5c00);
  border-radius: 2px;
  animation: expandContract 2s ease-in-out infinite;
}

@keyframes expandContract {

  0%,
  100% {
    width: 100%;
  }

  50% {
    width: 60%;
  }
}

.bournfire-hackathon-ppo-highlight p {
  font-size: 15px;
  line-height: 1.7;
  color: #ffd4b8;
  position: relative;
  z-index: 1;
}

/* Ignite Content - Enhanced */
.bournfire-hackathon-ignite-content {
  position: relative;
  z-index: 1;
}

.bournfire-hackathon-ignite-content h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}

.bournfire-hackathon-ignite-content h2 span {
  background: linear-gradient(135deg, #ff0050, #ff5c00, #ff7a18);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 3s linear infinite;
  position: relative;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* Glowing underline effect */
.bournfire-hackathon-ignite-content h2 span::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e54738, #e54738);
  border-radius: 2px;
  filter: blur(3px);
  opacity: 0.6;
}

.bournfire-hackathon-ignite-content p {
  max-width: 680px;
  margin: 0 auto 30px;
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
}

/* CTA Buttons - Enhanced */
.bournfire-hackathon-ignite-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.bournfire-hackathon-btn-primary {
  padding: 8px 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e54738, #e54738);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

/* Animated background on button */
.bournfire-hackathon-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e54738, #e54738);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.bournfire-hackathon-btn-primary:hover::before {
  opacity: 1;
}

/* Ripple effect */
.bournfire-hackathon-btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.bournfire-hackathon-btn-primary:hover::after {
  width: 200px;
  height: 200px;
}

.bournfire-hackathon-btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.3);
}

.bournfire-hackathon-btn-secondary {
  padding: 8px 20px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(229, 71, 56, 0.4);
  background: linear-gradient(145deg, rgba(229, 71, 56, 0.08), rgba(229, 71, 56, 0.05));
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 18px;
}

/* Hover gradient background */
.bournfire-hackathon-btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(229, 71, 56, 0.15), rgba(229, 71, 56, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bournfire-hackathon-btn-secondary:hover::before {
  opacity: 1;
}

.bournfire-hackathon-btn-secondary:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(229, 71, 56, 0.8);
}

/* Pulse animation for buttons */
@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(229, 71, 56, 0.7);
  }

  50% {
    box-shadow: 0 0 0 15px rgba(229, 71, 56, 0);
  }
}

.bournfire-hackathon-btn-primary {
  animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
  #bournfire-hackathon-final-cta {
    padding: 80px 20px;
  }

  .bournfire-hackathon-ppo-highlight {
    padding: 28px 24px;
  }

  .bournfire-hackathon-ppo-highlight h3 {
    font-size: 18px;
  }

  .bournfire-hackathon-ppo-highlight p {
    font-size: 14px;
  }

  .bournfire-hackathon-ignite-content p {
    font-size: 14px;
  }

  .bournfire-hackathon-ignite-actions {
    flex-direction: column;
    align-items: center;
  }

  .bournfire-hackathon-btn-primary,
  .bournfire-hackathon-btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}







/* ===============================
   Modern Footer Section
================================ */
.modern-footer {
  background: linear-gradient(180deg, #0a1628 0%, #0d2b3e 100%);
  padding: 80px 20px 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 92, 0, 0.5),
      rgba(255, 61, 129, 0.5),
      rgba(255, 92, 0, 0.5),
      transparent);
}

.modern-footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 60px;
}

/* Brand Section */
.modern-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand-content {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 8px;
}

.footer-brand-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #ff5c00 0%, #ff3d81 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: -0.02em;
}

.footer-brand-divider {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg,
      rgba(255, 92, 0, 0.3) 0%,
      rgba(255, 92, 0, 0.8) 50%,
      rgba(255, 92, 0, 0.3) 100%);
  border-radius: 2px;
}

.footer-brand-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.3s ease;
  margin-bottom: 5px;
}

.footer-brand-logo:hover {
  opacity: 1;
}

.footer-brand-description {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 400px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-link:hover {
  background: linear-gradient(135deg, rgba(255, 92, 0, 0.15) 0%, rgba(255, 61, 129, 0.15) 100%);
  border-color: rgba(255, 92, 0, 0.4);
  color: #ff5c00;
  transform: translateY(-3px);
}

/* Links Section */
.modern-footer-links {
  display: flex;
  flex-direction: column;
}

.footer-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
  letter-spacing: 0.5px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
  display: inline-block;
  width: fit-content;
}

.footer-link::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff5c00, #ff3d81);
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: #ff5c00;
  padding-left: 16px;
}

.footer-link:hover::before {
  width: 10px;
}

/* Contact Section */
.modern-footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-contact-icon {
  color: #ff5c00;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  font-weight: 600;
}

.footer-contact-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  display: block;
}

.footer-contact-link:hover {
  color: #ff5c00;
}

/* Footer Bottom */
.modern-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

.footer-bottom-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-bottom-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-link:hover {
  color: #ff5c00;
}

.footer-divider-dot {
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .modern-footer {
    padding: 70px 24px 0;
  }

  .modern-footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
  }

  .modern-footer-brand {
    grid-column: 1 / -1;
    gap: 20px;
    max-width: 100%;
  }

  .footer-brand-content {
    gap: 16px;
    justify-content: center;
  }

  .footer-brand-title {
    font-size: 26px;
  }

  .footer-brand-logo {
    height: 60px;
    width: 80px;
    margin-top: 8px;
  }

  .footer-brand-description {
    font-size: 14px;
    max-width: 100%;
    text-align: center;
  }

  .footer-social-links {
    justify-content: center;
  }

  .footer-section-title {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .footer-nav {
    gap: 10px;
  }

  .footer-link {
    font-size: 13px;
  }

  .footer-contact-link {
    font-size: 13px;
  }
}


/* ===============================
   Legacy Footer Styles (Keep for compatibility)
================================ */
#bournfire-hackathon-contact-footer.bournfire-hackathon-contact-footer {
  background: #0d2b3e;
  padding: 80px 20px 30px;
  color: #ffffff;
  position: relative;
  border-top: 1px solid rgba(229, 71, 56, 0.2);
}

/* Subtle gradient overlay */
#bournfire-hackathon-contact-footer.bournfire-hackathon-contact-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
      transparent,
      rgba(229, 71, 56, 0.5),
      rgba(229, 71, 56, 0.5),
      rgba(229, 71, 56, 0.5),
      transparent);
}

.bournfire-hackathon-footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

/* Brand */
.bournfire-hackathon-footer-brand h3 {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, #e54738, #e54738);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}

.bournfire-hackathon-footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  color: #ffffff;
}

/* Links */
.bournfire-hackathon-footer-links h4,
.bournfire-hackathon-footer-contact h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.bournfire-hackathon-footer-links a {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.bournfire-hackathon-footer-links a::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #e54738, #e54738);
  transition: width 0.3s ease;
}

.bournfire-hackathon-footer-links a:hover {
  color: #e54738;
  padding-left: 12px;
}

.bournfire-hackathon-footer-links a:hover::before {
  width: 8px;
}

/* Contact */
.bournfire-hackathon-footer-contact a {
  color: #e54738;
  text-decoration: none;
  transition: color 0.3s ease;
}

.bournfire-hackathon-footer-contact a:hover {
  color: #e54738;
}

/* Bottom */
.bournfire-hackathon-footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  border-top: 1px solid rgba(229, 71, 56, 0.15);
  color: #8a92a8;
}

/* Responsive */
@media (max-width: 900px) {
  .bournfire-hackathon-footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bournfire-hackathon-footer-links a:hover {
    padding-left: 0;
  }
}





/* ===============================
   FAQ Carousel Section
================================ */
#bournfire-hackathon-faq {
  background: #0d2b3e;
  overflow: hidden;
  padding: 20px;
}

.bournfire-hackathon-faq-header {
  text-align: center;
  margin-bottom: 70px;
}

.bournfire-hackathon-faq-header h2 {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
}

.bournfire-hackathon-faq-header h2 span {
  background: linear-gradient(135deg, #e54738, #e54738);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bournfire-hackathon-faq-header p {
  margin-top: 14px;
  font-size: 16px;
  color: #ffffff;
}

/* Wrapper */
.bournfire-hackathon-faq-carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  padding: 20px 0;
  overflow: hidden;
}

/* Carousel */
.bournfire-hackathon-faq-carousel {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
}

.bournfire-hackathon-faq-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

/* Cards */
.bournfire-hackathon-faq-card {
  min-width: calc(33.333% - 20px);
  flex: 0 0 calc(33.333% - 20px);
  padding: 40px 24px 28px;
  margin: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: scale(0.92);
  opacity: 0.5;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 160px;
  position: relative;
  overflow: visible;
  box-sizing: border-box;
}

/* Card number badge */
.faq-card-number {
  position: absolute;
  top: -12px;
  left: 20px;
  min-width: 36px;
  height: 30px;
  padding: 0 12px;
  background: linear-gradient(135deg, rgba(40, 55, 80, 0.95), rgba(30, 45, 70, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
  transition: all 0.5s ease;
  z-index: 5;
}

/* Center card highlighted with animated border */
.bournfire-hackathon-faq-card.active {
  opacity: 1;
  transform: scale(1.08);
  background: linear-gradient(145deg, rgba(18, 48, 81, 0.5), rgba(13, 43, 62, 0.7));
  border: 2px solid #ff5c00;
  border-radius: 18px;
  animation: borderColorPulse 3s ease-in-out infinite;
  z-index: 10;
  box-shadow: 0 0 20px rgba(255, 92, 0, 0.4), inset 0 0 20px rgba(255, 92, 0, 0.1);
}

@keyframes borderColorPulse {

  0%,
  100% {
    border-top-color: #ff5c00;
    border-right-color: #ff5c00;
    border-bottom-color: #ff5c00;
    border-left-color: #ff5c00;
  }

  33% {
    border-top-color: #ff0050;
    border-right-color: #ff0050;
    border-bottom-color: #ff0050;
    border-left-color: #ff0050;
  }

  66% {
    border-top-color: #ff7a18;
    border-right-color: #ff7a18;
    border-bottom-color: #ff7a18;
    border-left-color: #ff7a18;
  }
}

/* Active card number badge */
.bournfire-hackathon-faq-card.active .faq-card-number {
  background: linear-gradient(135deg, #ff5c00, #ff0050);
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 92, 0, 0.5);
  transform: scale(1.1);
}

.bournfire-hackathon-faq-card.active h4 {
  color: #ff7a18;
}

.bournfire-hackathon-faq-card.active p {
  color: #ffffff;
}

.bournfire-hackathon-faq-card h4 {
  font-size: 16px;
  margin-bottom: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.5s ease;
}

.bournfire-hackathon-faq-card p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.5s ease;
}

/* Nav Buttons */
.bournfire-hackathon-faq-nav {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 24px;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.bournfire-hackathon-faq-nav:hover {
  background: linear-gradient(135deg, #ff5c00, #ff0050);
  border-color: transparent;
  transform: scale(1.1);
}

.bournfire-hackathon-faq-nav.prev {
  margin-right: 15px;
}

.bournfire-hackathon-faq-nav.next {
  margin-left: 15px;
}

/* Responsive */
@media (max-width: 900px) {
  #bournfire-hackathon-faq {
    overflow-x: hidden;
    padding: 80px 15px;
  }

  .bournfire-hackathon-faq-header {
    margin-bottom: 40px;
  }

  .bournfire-hackathon-faq-carousel-wrapper {
    overflow: hidden;
    padding: 20px 0;
    max-width: 100%;
    width: 100%;
  }

  .bournfire-hackathon-faq-carousel {
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
  }

  .bournfire-hackathon-faq-track {
    gap: 0;
  }

  .bournfire-hackathon-faq-card {
    min-width: 100%;
    flex: 0 0 100%;
    margin: 0;
    box-sizing: border-box;
    padding: 40px 24px 28px;
  }

  .bournfire-hackathon-faq-card.active {
    transform: scale(1);
    border: 2px solid #ff5c00;
    animation: borderColorPulse 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 92, 0, 0.4), inset 0 0 20px rgba(255, 92, 0, 0.1);
  }

  .bournfire-hackathon-faq-nav {
    position: absolute;
    z-index: 100;
  }

  .bournfire-hackathon-faq-nav.prev {
    left: 10px;
    margin-right: 0;
  }

  .bournfire-hackathon-faq-nav.next {
    right: 10px;
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  #bournfire-hackathon-faq {
    padding: 60px 15px;
  }

  .bournfire-hackathon-faq-header {
    margin-bottom: 30px;
  }

  .bournfire-hackathon-faq-header h2 {
    font-size: 28px;
  }

  .bournfire-hackathon-faq-header p {
    font-size: 14px;
  }

  .bournfire-hackathon-faq-carousel-wrapper {
    padding: 20px 0;
    width: 100%;
  }

  .bournfire-hackathon-faq-carousel {
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
  }

  .bournfire-hackathon-faq-card {
    min-width: 100%;
    flex: 0 0 100%;
    margin: 0;
    padding: 35px 20px 25px;
    min-height: 200px;
  }

  .bournfire-hackathon-faq-card.active {
    transform: scale(1);
    border: 2px solid #ff5c00;
    animation: borderColorPulse 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 92, 0, 0.4), inset 0 0 20px rgba(255, 92, 0, 0.1);
    opacity: 1;
  }

  .bournfire-hackathon-faq-card:not(.active) {
    opacity: 0;
    pointer-events: none;
  }

  .faq-card-number {
    top: -12px;
    left: 20px;
    min-width: 36px;
    height: 30px;
    font-size: 13px;
  }

  .bournfire-hackathon-faq-card h4 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .bournfire-hackathon-faq-card p {
    font-size: 14px;
  }

  .bournfire-hackathon-faq-nav {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 20px;
  }

  .bournfire-hackathon-faq-nav.prev {
    left: 8px;
    margin-right: 0;
  }

  .bournfire-hackathon-faq-nav.next {
    right: 8px;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  #bournfire-hackathon-faq {
    padding: 50px 12px;
  }

  .bournfire-hackathon-faq-header {
    margin-bottom: 25px;
  }

  .bournfire-hackathon-faq-header h2 {
    font-size: 24px;
  }

  .bournfire-hackathon-faq-header p {
    font-size: 13px;
  }

  .bournfire-hackathon-faq-carousel-wrapper {
    padding: 15px 0;
  }

  .bournfire-hackathon-faq-carousel {
    padding: 15px 0;
  }

  .bournfire-hackathon-faq-card {
    min-width: 100%;
    flex: 0 0 100%;
    margin: 0;
    padding: 30px 16px 22px;
    min-height: 180px;
  }

  .bournfire-hackathon-faq-card.active {
    transform: scale(1);
    border: 2px solid #ff5c00;
    animation: borderColorPulse 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 92, 0, 0.4), inset 0 0 20px rgba(255, 92, 0, 0.1);
    opacity: 1;
  }

  .bournfire-hackathon-faq-card:not(.active) {
    opacity: 0;
    pointer-events: none;
  }

  .faq-card-number {
    top: -10px;
    left: 16px;
    min-width: 32px;
    height: 28px;
    font-size: 12px;
  }

  .bournfire-hackathon-faq-card h4 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .bournfire-hackathon-faq-card p {
    font-size: 13px;
    line-height: 1.4;
  }

  .bournfire-hackathon-faq-nav {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 18px;
  }

  .bournfire-hackathon-faq-nav.prev {
    left: 5px;
  }

  .bournfire-hackathon-faq-nav.next {
    right: 5px;
  }
}


/* ===============================
   Registration Wizard - Modern Design
================================ */

/* Overlay */
.registration-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 20, 0.85);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s ease;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  animation: fadeIn 0.4s ease-in-out;
  overflow-y: auto;
  overflow-x: hidden;
}

.registration-modal.show {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  min-height: 100vh;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(60px) scale(0.95);
    opacity: 0;
  }

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

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

.registration-modal-content {
  background: linear-gradient(145deg, rgba(15, 20, 35, 0.98) 0%, rgba(25, 30, 45, 0.98) 100%);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  border-radius: 24px;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(229, 71, 56, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 0;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
}

.registration-modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
      transparent,
      #e54738,
      #e54738,
      #e54738,
      transparent);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

.registration-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 36px;
  border-bottom: 1px solid rgba(229, 71, 56, 0.15);
  background: linear-gradient(135deg,
      rgba(229, 71, 56, 0.08) 0%,
      rgba(229, 71, 56, 0.05) 50%,
      transparent 100%);
  flex-shrink: 0;
  z-index: 10;
  position: relative;
}

.registration-modal-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 36px;
  right: 36px;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(229, 71, 56, 0.5),
      transparent);
}

.registration-modal-header h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #e54738, #e54738, #e54738);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
  letter-spacing: -0.5px;
}

.registration-modal-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(229, 71, 56, 0.2);
  font-size: 28px;
  cursor: pointer;
  color: #ffffff;
  padding: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.registration-modal-close::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(229, 71, 56, 0.2), rgba(229, 71, 56, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.registration-modal-close:hover {
  background: rgba(229, 71, 56, 0.15);
  border-color: #e54738;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 20px rgba(229, 71, 56, 0.4);
}

.registration-modal-close:hover::before {
  opacity: 1;
}

.registration-form {
  overflow-y: auto;
  flex: 1;
  padding: 36px;
  scroll-behavior: smooth;
}

.registration-form::-webkit-scrollbar {
  width: 10px;
}

.registration-form::-webkit-scrollbar-track {
  background: rgba(229, 71, 56, 0.05);
  border-radius: 10px;
  margin: 10px 0;
}

.registration-form::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #e54738, #e54738);
  border-radius: 10px;
  border: 2px solid rgba(15, 20, 35, 0.98);
}

.registration-form::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #e54738, #e54738);
}

/* Form Styles */
.form-section {
  margin-bottom: 36px;
  animation: fadeInUp 0.6s ease-out backwards;
}

.form-section:nth-child(1) {
  animation-delay: 0.1s;
}

.form-section:nth-child(2) {
  animation-delay: 0.2s;
}

.form-section:nth-child(3) {
  animation-delay: 0.3s;
}

.form-section:nth-child(4) {
  animation-delay: 0.4s;
}

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

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

.form-section:last-of-type {
  margin-bottom: 0;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #e54738, #e54738);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 24px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(229, 71, 56, 0.2);
  position: relative;
  letter-spacing: -0.3px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #e54738, #e54738, #e54738);
  background-size: 200% 100%;
  border-radius: 2px;
  animation: progressLine 2s ease-in-out forwards, shimmerLine 3s linear infinite;
  box-shadow: 0 0 10px rgba(229, 71, 56, 0.6);
}

@keyframes progressLine {
  0% {
    width: 0%;
    opacity: 0;
  }

  100% {
    width: 100%;
    opacity: 1;
  }
}

@keyframes shimmerLine {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.form-group {
  margin-bottom: 22px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

.form-group:focus-within label {
  color: #e54738;
}

.required {
  color: #e54738;
  font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(229, 71, 56, 0.2);
  border-radius: 12px;
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.form-group input[type="text"]:hover,
.form-group input[type="email"]:hover,
.form-group input[type="tel"]:hover,
.form-group select:hover,
.form-group textarea:hover {
  background: rgba(229, 71, 56, 0.05);
  border-color: rgba(229, 71, 56, 0.4);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(229, 71, 56, 0.08);
  border-color: #e54738;
  box-shadow:
    0 0 0 4px rgba(229, 71, 56, 0.1),
    0 8px 24px rgba(229, 71, 56, 0.15);
  transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(230, 232, 239, 0.5);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ff7a18' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 45px;
}

.form-group select option {
  background: #0f1423;
  color: #ffffff;
  padding: 10px;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.form-group.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group.two-column label {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.form-group.two-column input {
  width: 100%;
}

.participant-group {
  background: linear-gradient(135deg, rgba(229, 71, 56, 0.05), rgba(229, 71, 56, 0.03));
  border: 2px solid rgba(229, 71, 56, 0.2);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.participant-group::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e54738, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.participant-group:hover {
  border-color: rgba(229, 71, 56, 0.4);
  box-shadow: 0 8px 24px rgba(229, 71, 56, 0.1);
  transform: translateY(-2px);
}

.participant-group:hover::before {
  opacity: 1;
}

.participant-group h4 {
  margin: 0 0 18px 0;
  font-size: 15px;
  font-weight: 700;
  color: #e54738;
  letter-spacing: 0.5px;
}

.participant-group .form-group {
  margin-bottom: 14px;
}

.participant-group .form-group:last-child {
  margin-bottom: 0;
}

.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(229, 71, 56, 0.15);
}

.btn-cancel,
.btn-submit {
  flex: 1;
  padding: 16px 28px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn-cancel {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.btn-cancel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-cancel:hover::before {
  opacity: 1;
}

.btn-submit {
  background: linear-gradient(135deg, #e54738, #e54738);
  color: white;
  border: 2px solid transparent;
  box-shadow: 0 8px 24px rgba(229, 71, 56, 0.3);
}

.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e54738, #e54738);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(229, 71, 56, 0.5);
}

.btn-submit:hover::before {
  opacity: 1;
}

.btn-submit:active {
  transform: translateY(-2px);
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 70px 40px;
  background: linear-gradient(135deg,
      rgba(76, 175, 80, 0.08) 0%,
      rgba(76, 175, 80, 0.03) 100%);
  animation: fadeInUp 0.6s ease-out;
}

.success-icon {
  font-size: 80px;
  color: #4caf50;
  margin-bottom: 24px;
  animation: scaleInBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-shadow: 0 0 30px rgba(76, 175, 80, 0.5);
}

@keyframes scaleInBounce {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }

  50% {
    transform: scale(1.2) rotate(10deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.success-message h3 {
  font-size: 28px;
  font-weight: 800;
  color: #4caf50;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

.success-message p {
  color: #a8b4c4;
  margin: 0 0 32px 0;
  font-size: 15px;
  line-height: 1.6;
}

.btn-close-success {
  padding: 14px 36px;
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
}

.btn-close-success:hover {
  background: linear-gradient(135deg, #45a049, #3d8b40);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(76, 175, 80, 0.5);
}

/* Scrollbar Styling */
.registration-modal::-webkit-scrollbar {
  width: 8px;
}

.registration-modal::-webkit-scrollbar-track {
  background: rgba(229, 71, 56, 0.1);
  border-radius: 10px;
}

.registration-modal::-webkit-scrollbar-thumb {
  background: rgba(229, 71, 56, 0.4);
  border-radius: 10px;
}

.registration-modal::-webkit-scrollbar-thumb:hover {
  background: rgba(229, 71, 56, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
  .registration-modal {
    padding: 30px 15px;
  }

  .registration-modal-content {
    max-width: 100%;
  }

  .registration-modal-header {
    padding: 20px;
  }

  .registration-modal-header h2 {
    font-size: 22px;
  }

  .registration-form {
    padding: 20px;
  }

  .form-section {
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 16px;
  }

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

  .form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .btn-cancel,
  .btn-submit {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .registration-modal {
    padding: 10px;
  }

  .registration-modal-content {
    border-radius: 12px;
  }

  .registration-modal-header {
    padding: 15px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .registration-modal-header h2 {
    font-size: 20px;
    margin: 0;
  }

  .registration-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
  }

  .registration-form {
    padding: 15px;
  }

  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"],
  .form-group select,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 16px;
  }

  .participant-group {
    padding: 12px;
    margin-bottom: 12px;
  }

  .participant-group h4 {
    font-size: 13px;
  }
}


/* ===============================
   Professional Section Numbering
================================ */
.section-number {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: rgba(229, 71, 56, 0.6);
  background: rgba(229, 71, 56, 0.1);
  border: 1px solid rgba(229, 71, 56, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

/* Enhanced Card Glassmorphism */
.glass-card {
  background: linear-gradient(145deg, rgba(20, 25, 40, 0.6), rgba(15, 20, 35, 0.4));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(229, 71, 56, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(229, 71, 56, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(229, 71, 56, 0.1);
}

.glass-card:hover::before {
  opacity: 1;
}

/* Professional Tag System */
.tag-container {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.tech-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 16px;
  color: #00d9ff;
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: rgba(0, 217, 255, 0.2);
  border-color: #00d9ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 217, 255, 0.3);
}

/* Smooth Parallax Sections */
[data-parallax] {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Typography */
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(229, 71, 56, 0.8);
  margin-bottom: 12px;
  display: block;
}

.section-heading {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff, #e6e8ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-description {
  font-size: 17px;
  line-height: 1.7;
  color: #b8c0d9;
  max-width: 720px;
}

/* Floating Animation for Cards */
@keyframes floatCard {

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

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

.float-animation {
  animation: floatCard 6s ease-in-out infinite;
}

.float-animation:nth-child(2) {
  animation-delay: 0.5s;
}

.float-animation:nth-child(3) {
  animation-delay: 1s;
}

.float-animation:nth-child(4) {
  animation-delay: 1.5s;
}

.float-animation:nth-child(5) {
  animation-delay: 2s;
}


/* ===============================
   Enhanced Professional Typography
================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(40px, 6vw, 64px);
}

h2 {
  font-size: clamp(32px, 5vw, 48px);
}

h3 {
  font-size: clamp(24px, 4vw, 36px);
}

/* Professional Text Gradients */
.text-gradient-primary {
  background: linear-gradient(135deg, #e54738, #f56b5a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-secondary {
  background: linear-gradient(135deg, #00d9ff, #00e0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-white {
  background: linear-gradient(135deg, #ffffff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Smooth Transitions */
* {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Professional Hover States */
a,
button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover,
button:hover {
  transform: translateY(-2px);
}

/* Enhanced Focus States */
*:focus-visible {
  outline: 2px solid rgba(229, 71, 56, 0.5);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Professional Scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 14, 26, 0.5);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #e54738, #f56b5a);
  border-radius: 6px;
  border: 2px solid rgba(10, 14, 26, 0.5);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f56b5a, #e54738);
}

/* Selection Color */
::selection {
  background: rgba(229, 71, 56, 0.3);
  color: #ffffff;
}

::-moz-selection {
  background: rgba(229, 71, 56, 0.3);
  color: #ffffff;
}


/* ===============================
   Section Corner Decorations
================================ */
.section-corner-decoration {
  position: relative;
}

/* Bottom corners decoration */
.section-corner-decoration::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background:
    linear-gradient(135deg, transparent 30px, #0d2b3e 30px),
    linear-gradient(-135deg, transparent 30px, #0d2b3e 30px);
  background-size: 50% 100%;
  background-position: left bottom, right bottom;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Alternative corner style - diagonal cut */
.section-diagonal-end {
  position: relative;
  padding-bottom: 80px;
}

.section-diagonal-end::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #0d2b3e;
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 60px);
}

/* Corner accent lines */
.section-corner-accent {
  position: relative;
}

.section-corner-accent::before,
.section-corner-accent::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 100px;
  height: 100px;
  border: 2px solid rgba(229, 71, 56, 0.3);
  pointer-events: none;
}

.section-corner-accent::before {
  left: 0;
  border-top: none;
  border-right: none;
  border-bottom-left-radius: 20px;
}

.section-corner-accent::after {
  right: 0;
  border-top: none;
  border-left: none;
  border-bottom-right-radius: 20px;
}

/* Curved wave separator */
.section-wave-end {
  position: relative;
  padding-bottom: 60px;
}

.section-wave-end::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #0d2b3e;
  clip-path: ellipse(100% 100% at 50% 100%);
}

/* Geometric corner cuts */
.section-geometric-end {
  position: relative;
}

.section-geometric-end::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 50px;
  background:
    linear-gradient(45deg, #0d2b3e 25px, transparent 25px),
    linear-gradient(-45deg, #0d2b3e 25px, transparent 25px);
  background-size: 50px 50px;
  background-position: left bottom, right bottom;
  background-repeat: repeat-x;
}

/* Stepped corner decoration */
.section-stepped-end {
  position: relative;
  padding-bottom: 40px;
}

.section-stepped-end::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background:
    linear-gradient(to right,
      #0d2b3e 0%, #0d2b3e 20%,
      transparent 20%, transparent 25%,
      #0d2b3e 25%, #0d2b3e 45%,
      transparent 45%, transparent 50%,
      #0d2b3e 50%, #0d2b3e 70%,
      transparent 70%, transparent 75%,
      #0d2b3e 75%, #0d2b3e 95%,
      transparent 95%, transparent 100%);
  background-size: 100% 20px;
  background-position: bottom;
  background-repeat: no-repeat;
}

/* Glowing corner dots */
.section-corner-dots {
  position: relative;
}

.section-corner-dots::before,
.section-corner-dots::after {
  content: '';
  position: absolute;
  bottom: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e54738, #f56b5a);
  box-shadow: 0 0 20px rgba(229, 71, 56, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

.section-corner-dots::before {
  left: 40px;
}

.section-corner-dots::after {
  right: 40px;
  animation-delay: 1s;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

/* Border line separator */
.section-border-end {
  position: relative;
  border-bottom: 3px solid rgba(229, 71, 56, 0.2);
}

.section-border-end::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #e54738, transparent);
  box-shadow: 0 0 20px rgba(229, 71, 56, 0.5);
}


/* ===============================
   AI Data Science Hero Animation
================================ */

/* Hero Section Override for Two Column Layout */
.bournfire-hackathon-hero {
  min-height: 100vh;
  padding: 90px 0 40px;
  display: flex;
  align-items: center;
}

/* Hero Container - Two Column Layout */
.bournfire-hackathon-hero-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 60px;
  margin: 0 auto;
  text-align: left !important;
}

.hero-content-left {
  flex: 0 0 50%;
  max-width: 580px;
  text-align: left !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: center;
}

.hero-content-left .bournfire-hackathon-badge,
.hero-content-left .bournfire-hero-brand,
.hero-content-left .bournfire-hackathon-title,
.hero-content-left .bournfire-hackathon-description,
.hero-content-left .bournfire-hackathon-actions {
  text-align: left !important;
  width: auto;
}

/* Fix badge width - don't stretch */
.hero-content-left .bournfire-hackathon-badge {
  width: fit-content !important;
  max-width: fit-content !important;
}

.hero-content-left .bournfire-hero-brand {
  justify-content: flex-start !important;
}

.hero-content-left .bournfire-hackathon-actions {
  justify-content: flex-start !important;
}

/* AI Visual Container - Right Side */
.hero-ai-visual {
  flex: 0 0 45%;
  height: calc(100vh - 200px);
  min-height: 500px;
  max-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-visual-container {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 600px;
  max-height: 600px;
}

/* Central Core */
.ai-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  z-index: 10;
}

.ai-core-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #ff5c00, #ff0050);
  border-radius: 50%;
  box-shadow:
    0 0 40px rgba(255, 92, 0, 0.6),
    0 0 80px rgba(255, 0, 80, 0.4),
    inset 0 0 30px rgba(255, 255, 255, 0.3);
  animation: corePulse 2s ease-in-out infinite;
}

.ai-core-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid transparent;
  animation: ringExpand 3s ease-out infinite;
}

.ai-core-ring.ring-1 {
  width: 90px;
  height: 90px;
  border-color: rgba(255, 92, 0, 0.5);
  animation-delay: 0s;
}

.ai-core-ring.ring-2 {
  width: 110px;
  height: 110px;
  border-color: rgba(255, 0, 80, 0.4);
  animation-delay: 1s;
}

.ai-core-ring.ring-3 {
  width: 130px;
  height: 130px;
  border-color: rgba(255, 122, 24, 0.3);
  animation-delay: 2s;
}

@keyframes corePulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow:
      0 0 30px rgba(255, 92, 0, 0.6),
      0 0 60px rgba(255, 0, 80, 0.4);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow:
      0 0 50px rgba(255, 92, 0, 0.8),
      0 0 100px rgba(255, 0, 80, 0.6);
  }
}

@keyframes ringExpand {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

/* Orbiting Nodes */
.ai-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 92, 0, 0.15);
}

.ai-orbit.orbit-1 {
  width: 220px;
  height: 220px;
  margin-left: -110px;
  margin-top: -110px;
  animation: orbitRotate 15s linear infinite;
}

.ai-orbit.orbit-2 {
  width: 320px;
  height: 320px;
  margin-left: -160px;
  margin-top: -160px;
  animation: orbitRotate 20s linear infinite reverse;
}

.ai-orbit.orbit-3 {
  width: 420px;
  height: 420px;
  margin-left: -210px;
  margin-top: -210px;
  animation: orbitRotate 25s linear infinite;
}

.ai-orbit.orbit-4 {
  width: 520px;
  height: 520px;
  margin-left: -260px;
  margin-top: -260px;
  animation: orbitRotate 30s linear infinite reverse;
}

@keyframes orbitRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Nodes */
.ai-node {
  position: absolute;
  width: 90px;
  height: 60px;
  background: linear-gradient(145deg, rgba(20, 30, 50, 0.95), rgba(10, 20, 40, 0.98));
  border: 2px solid rgba(255, 92, 0, 0.5);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 25px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(255, 92, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: nodeFloat 3s ease-in-out infinite;
  backdrop-filter: blur(10px);
  padding: 8px;
}

.ai-node span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: #ff5c00;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.2;
  word-break: break-word;
}

.ai-node.node-1 {
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.ai-node.node-2 {
  top: 50%;
  right: -45px;
  transform: translateY(-50%);
  animation-delay: 0.5s;
}

.ai-node.node-3 {
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 1s;
}

.ai-node.node-4 {
  top: 50%;
  left: -45px;
  transform: translateY(-50%);
  animation-delay: 1.5s;
}

@keyframes nodeFloat {

  0%,
  100% {
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.4),
      0 0 20px rgba(255, 92, 0, 0.3);
  }

  50% {
    box-shadow:
      0 8px 30px rgba(0, 0, 0, 0.5),
      0 0 40px rgba(255, 92, 0, 0.5);
  }
}

/* Floating Particles */
.ai-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #ff5c00, #ff0050);
  border-radius: 50%;
  opacity: 0.8;
  animation: particleDrift 8s ease-in-out infinite;
}

.particle.p1 {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}

.particle.p2 {
  top: 20%;
  right: 15%;
  animation-delay: 1s;
}

.particle.p3 {
  top: 60%;
  left: 10%;
  animation-delay: 2s;
}

.particle.p4 {
  bottom: 20%;
  right: 20%;
  animation-delay: 3s;
}

.particle.p5 {
  top: 40%;
  left: 5%;
  animation-delay: 4s;
  width: 4px;
  height: 4px;
}

.particle.p6 {
  top: 15%;
  right: 30%;
  animation-delay: 5s;
  width: 4px;
  height: 4px;
}

.particle.p7 {
  bottom: 30%;
  left: 25%;
  animation-delay: 6s;
  width: 5px;
  height: 5px;
}

.particle.p8 {
  bottom: 10%;
  right: 10%;
  animation-delay: 7s;
  width: 5px;
  height: 5px;
}

@keyframes particleDrift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.8;
  }

  25% {
    transform: translate(10px, -15px) scale(1.2);
    opacity: 1;
  }

  50% {
    transform: translate(-5px, -25px) scale(0.8);
    opacity: 0.6;
  }

  75% {
    transform: translate(15px, -10px) scale(1.1);
    opacity: 0.9;
  }
}

/* Connection Lines SVG */
.ai-connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.connection-line {
  stroke-width: 1.5;
  stroke-dasharray: 8 4;
  animation: lineFlow 3s linear infinite;
  opacity: 0.6;
}

.connection-line.cl1 {
  animation-delay: 0s;
}

.connection-line.cl2 {
  animation-delay: 0.4s;
}

.connection-line.cl3 {
  animation-delay: 0.8s;
}

.connection-line.cl4 {
  animation-delay: 1.2s;
}

.connection-line.cl5 {
  animation-delay: 1.6s;
  stroke-width: 1;
  opacity: 0.3;
}

.connection-line.cl6 {
  animation-delay: 2s;
  stroke-width: 1;
  opacity: 0.3;
}

.connection-line.cl7 {
  animation-delay: 2.4s;
  stroke-width: 1;
  opacity: 0.3;
}

.connection-line.cl8 {
  animation-delay: 2.8s;
  stroke-width: 1;
  opacity: 0.3;
}

@keyframes lineFlow {
  from {
    stroke-dashoffset: 24;
  }

  to {
    stroke-dashoffset: 0;
  }
}

/* Data Flow Dots */
.data-flow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.flow-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #ff5c00;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(255, 92, 0, 0.8);
  animation: flowMove 4s ease-in-out infinite;
}

.flow-dot.fd1 {
  top: 50%;
  left: 50%;
  animation: flowPath1 4s ease-in-out infinite;
}

.flow-dot.fd2 {
  top: 50%;
  left: 50%;
  animation: flowPath2 4s ease-in-out infinite;
  animation-delay: 1s;
}

.flow-dot.fd3 {
  top: 50%;
  left: 50%;
  animation: flowPath3 4s ease-in-out infinite;
  animation-delay: 2s;
}

.flow-dot.fd4 {
  top: 50%;
  left: 50%;
  animation: flowPath4 4s ease-in-out infinite;
  animation-delay: 3s;
}

@keyframes flowPath1 {

  0%,
  100% {
    transform: translate(-50%, -50%);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  50% {
    transform: translate(-170px, -150px);
    opacity: 1;
  }

  90% {
    opacity: 1;
  }
}

@keyframes flowPath2 {

  0%,
  100% {
    transform: translate(-50%, -50%);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  50% {
    transform: translate(170px, -170px);
    opacity: 1;
  }

  90% {
    opacity: 1;
  }
}

@keyframes flowPath3 {

  0%,
  100% {
    transform: translate(-50%, -50%);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  50% {
    transform: translate(190px, 130px);
    opacity: 1;
  }

  90% {
    opacity: 1;
  }
}

@keyframes flowPath4 {

  0%,
  100% {
    transform: translate(-50%, -50%);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  50% {
    transform: translate(-190px, 150px);
    opacity: 1;
  }

  90% {
    opacity: 1;
  }
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .bournfire-hackathon-hero-container {
    padding: 0 40px;
    gap: 30px;
  }

  .hero-content-left {
    flex: 0 0 55%;
  }

  .hero-ai-visual {
    flex: 0 0 40%;
    min-height: 400px;
  }
}

@media (max-width: 1024px) {
  .bournfire-hackathon-hero-container {
    flex-direction: column !important;
    text-align: center !important;
    gap: 50px;
    padding: 0 30px;
  }

  .hero-content-left {
    flex: none;
    max-width: 100%;
    align-items: center !important;
    text-align: center !important;
  }

  .hero-content-left .bournfire-hackathon-badge,
  .hero-content-left .bournfire-hero-brand,
  .hero-content-left .bournfire-hackathon-title,
  .hero-content-left .bournfire-hackathon-description,
  .hero-content-left .bournfire-hackathon-actions {
    text-align: center !important;
  }

  .hero-content-left .bournfire-hero-brand {
    justify-content: center !important;
  }

  .hero-content-left .bournfire-hackathon-actions {
    justify-content: center !important;
  }

  .hero-ai-visual {
    flex: none;
    width: 100%;
    max-width: 450px;
    height: 450px;
    min-height: auto;
    max-height: none;
  }

  .ai-visual-container {
    max-width: 400px;
    max-height: 400px;
  }

  .ai-orbit.orbit-4 {
    display: none;
  }
}

@media (max-width: 768px) {
  .bournfire-hackathon-hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-ai-visual {
    max-width: 350px;
    height: 350px;
  }

  .ai-visual-container {
    max-width: 320px;
    max-height: 320px;
  }

  .ai-orbit.orbit-3,
  .ai-orbit.orbit-4 {
    display: none;
  }

  .ai-node {
    width: 55px;
    height: 55px;
  }

  .ai-node span {
    font-size: 10px;
  }

  .ai-core-inner {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .hero-ai-visual {
    max-width: 280px;
    height: 280px;
  }

  .ai-visual-container {
    max-width: 250px;
    max-height: 250px;
  }

  .ai-orbit.orbit-2,
  .ai-orbit.orbit-3,
  .ai-orbit.orbit-4 {
    display: none;
  }

  .ai-node {
    width: 45px;
    height: 45px;
  }

  .ai-node span {
    font-size: 9px;
  }

  .particle.p5,
  .particle.p6,
  .particle.p7,
  .particle.p8 {
    display: none;
  }
}


/* ===============================
   Typing Effect for Description
================================ */
.typing-text {
  position: relative;
  display: inline-block;
}

.typing-content {
  display: inline;
  border-right: none;
}

.typing-cursor {
  display: inline-block;
  color: #ff5c00;
  font-weight: 300;
  animation: cursorBlink 1s step-end infinite;
  margin-left: 2px;
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Typing animation - text reveals character by character */
.bournfire-hackathon-description.typing-text .typing-content {
  overflow: hidden;
  white-space: normal;
  animation: none;
}

/* When in view, start typing */
.bournfire-hackathon-description.typing-text.typing-active .typing-content {
  animation: typing 4s steps(200, end) forwards;
}

.bournfire-hackathon-description.typing-text.typing-done .typing-cursor {
  animation: cursorBlink 1s step-end infinite 2;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes typing {
  from {
    max-width: 0;
    opacity: 0;
  }

  to {
    max-width: 100%;
    opacity: 1;
  }
}


/* Auto typing text - no cursor */
.auto-type {
  display: inline;
  border: none !important;
  outline: none !important;
  caret-color: transparent !important;
}

.auto-type::after {
  display: none !important;
  content: none !important;
}

.bournfire-hackathon-description .auto-type {
  border-right: none !important;
}

/* ===============================
   COMPREHENSIVE MOBILE-FIRST RESPONSIVE DESIGN
   =============================== */

/* Prevent Horizontal Overflow Globally */
html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

* {
  max-width: 100%;
}

/* Base Mobile Styles (320px - 479px) - Extra Small Phones */
@media (max-width: 479px) {
  html {
    font-size: 13px;
  }

  /* Sections - Reduce Padding */
  section {
    padding: 2rem 0.75rem !important;
  }

  /* Hero Section */
  .bournfire-hackathon-hero {
    min-height: auto;
    padding: 5rem 0.75rem 2rem !important;
  }

  .bournfire-hackathon-hero-container {
    padding: 0 0.75rem;
    gap: 1.5rem;
  }

  .bournfire-hackathon-title {
    font-size: 1.5rem !important;
    line-height: 1.2;
  }

  .bournfire-hero-brand .bournfire-brand-text {
    font-size: 1.6rem !important;
  }

  .bournfire-hackathon-description {
    font-size: 0.85rem !important;
    line-height: 1.5;
  }

  .bournfire-hackathon-badge {
    font-size: 0.65rem !important;
    padding: 0.35rem 0.75rem !important;
  }

  /* Buttons */
  .bournfire-hackathon-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .bournfire-hackathon-primary-btn,
  .bournfire-hackathon-secondary-btn {
    width: 100%;
    padding: 0.75rem 1.25rem !important;
    font-size: 0.875rem !important;
  }

  /* AI Visual */
  .hero-ai-visual {
    transform: scale(0.5);
    margin: -2rem auto;
  }

  /* Section Titles */
  .bournfire-hackathon-section-title,
  .bournfire-hackathon-build-title,
  .bournfire-hackathon-main-title {
    font-size: 1.4rem !important;
    line-height: 1.3;
  }

  .bournfire-hackathon-section-description,
  .bournfire-hackathon-build-description,
  .bournfire-hackathon-main-description {
    font-size: 0.85rem !important;
  }

  /* Build Journey Grid */
  .bournfire-hackathon-build-grid {
    gap: 12px !important;
  }

  .bournfire-hackathon-build-card {
    padding: 16px !important;
    min-height: auto !important;
  }

  .build-card-number {
    font-size: 2rem !important;
    top: 12px !important;
    right: 16px !important;
  }

  .bournfire-hackathon-build-card h3 {
    font-size: 0.95rem !important;
  }

  .bournfire-hackathon-build-card p {
    font-size: 0.8rem !important;
  }

  /* Journey Section */
  .bournfire-hackathon-journey-header h2,
  .bournfire-hackathon-faq-header h2 {
    font-size: 1.3rem !important;
  }

  .bournfire-hackathon-step {
    padding: 1rem !important;
    width: 95% !important;
  }

  .bournfire-hackathon-step h3 {
    font-size: 1rem !important;
  }

  .bournfire-hackathon-step p {
    font-size: 0.8rem !important;
  }

  /* Info Cards */
  .bournfire-hackathon-info-card {
    padding: 1.25rem !important;
  }

  .bournfire-hackathon-info-title {
    font-size: 1.1rem !important;
  }

  .bournfire-hackathon-info-list li {
    font-size: 0.8rem !important;
  }

  /* FAQ Cards */
  .bournfire-hackathon-faq-card {
    padding: 1rem !important;
  }

  .bournfire-hackathon-faq-card h4 {
    font-size: 0.9rem !important;
  }

  .bournfire-hackathon-faq-card p {
    font-size: 0.8rem !important;
  }

  /* Final CTA */
  .bournfire-hackathon-ignite-content h2 {
    font-size: 1.5rem !important;
  }

  .bournfire-hackathon-ppo-highlight h3 {
    font-size: 1.1rem !important;
  }

  /* AI Orbits - Show on small mobile */
  .ai-orbit,
  .hero-ai-visual .ai-orbit {
    display: block !important;
  }

  .ai-orbit.orbit-1 {
    width: 100px !important;
    height: 100px !important;
  }

  .ai-orbit.orbit-2 {
    width: 140px !important;
    height: 140px !important;
  }

  .ai-orbit.orbit-3 {
    width: 180px !important;
    height: 180px !important;
  }

  .ai-orbit.orbit-4 {
    width: 220px !important;
    height: 220px !important;
  }

  /* AI Nodes - Optimize for small mobile */
  .ai-node {
    width: 50px !important;
    height: 40px !important;
    padding: 4px !important;
    border-radius: 8px !important;
  }

  .ai-node span {
    font-size: 7px !important;
    letter-spacing: 0.3px !important;
    line-height: 1.1 !important;
  }

  /* Footer */
  .modern-footer {
    padding: 2rem 0.75rem !important;
  }

  .modern-footer-container {
    gap: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .modern-footer-brand,
  .modern-footer-links,
  .modern-footer-contact {
    width: 100%;
    text-align: center;
  }

  .footer-brand-title {
    font-size: 1.2rem !important;
  }

  .footer-section-title {
    font-size: 13px;
    margin-bottom: 0.75rem;
  }

  .footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
  }

  .footer-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    width: 100%;
  }

  .footer-contact-label {
    font-size: 10px;
    margin-bottom: 0.25rem;
  }

  .footer-contact-link {
    font-size: 12px;
    word-break: break-word;
  }

  /* Footer Bottom Mobile Optimization */
  .modern-footer-bottom {
    padding: 1.25rem 0.5rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    max-width: 100%;
  }

  .footer-copyright {
    font-size: 11px;
    order: 1;
    width: 100%;
    margin: 0;
  }

  .footer-bottom-links {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    order: 2;
    width: 100%;
  }

  .footer-bottom-link {
    font-size: 11px;
    display: inline-block;
  }

  .footer-divider-dot {
    display: none;
  }

  .footer-section-title {
    font-size: 14px;
    margin-bottom: 1rem;
  }

  .footer-contact-label {
    font-size: 11px;
    margin-bottom: 0.25rem;
  }

  .footer-contact-link {
    font-size: 13px;
  }
}

/* Mobile (480px - 767px) - Standard Phones */
@media (min-width: 480px) and (max-width: 767px) {
  html {
    font-size: 14px;
  }

  section {
    padding: 3rem 1rem !important;
  }

  .bournfire-hackathon-hero {
    padding: 6rem 1rem 3rem !important;
  }

  .bournfire-hackathon-title {
    font-size: 1.75rem !important;
  }

  .bournfire-hero-brand .bournfire-brand-text {
    font-size: 2rem !important;
  }

  .hero-ai-visual {
    transform: scale(0.6);
  }

  .bournfire-hackathon-section-title,
  .bournfire-hackathon-build-title {
    font-size: 1.6rem !important;
  }

  .bournfire-hackathon-build-card {
    padding: 20px !important;
  }

  .build-card-number {
    font-size: 2.5rem !important;
  }

  /* AI Orbits - Show on mobile */
  .ai-orbit,
  .hero-ai-visual .ai-orbit {
    display: block !important;
  }

  .ai-orbit.orbit-1 {
    width: 140px !important;
    height: 140px !important;
  }

  .ai-orbit.orbit-2 {
    width: 190px !important;
    height: 190px !important;
  }

  .ai-orbit.orbit-3 {
    width: 240px !important;
    height: 240px !important;
  }

  .ai-orbit.orbit-4 {
    width: 290px !important;
    height: 290px !important;
  }

  /* AI Nodes - Optimize for mobile */
  .ai-node {
    width: 65px !important;
    height: 50px !important;
    padding: 5px !important;
    border-radius: 10px !important;
  }

  .ai-node span {
    font-size: 8px !important;
    letter-spacing: 0.4px !important;
    line-height: 1.15 !important;
  }

  /* Footer Bottom Mobile Optimization */
  .modern-footer-bottom {
    padding: 1.5rem 1rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .footer-copyright {
    font-size: 13px;
    order: 1;
    width: 100%;
  }

  .footer-bottom-links {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    order: 2;
    width: 100%;
  }

  .footer-bottom-link {
    font-size: 13px;
    display: inline-block;
  }

  .footer-divider-dot {
    display: none;
  }
}

/* Tablet Portrait (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  html {
    font-size: 15px;
  }

  section {
    padding: 4rem 2rem !important;
  }

  .bournfire-hackathon-hero-container {
    flex-direction: column;
    text-align: center;
  }

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

  .hero-ai-visual {
    order: 1;
    transform: scale(0.75);
    margin-bottom: 1rem;
  }

  .bournfire-hackathon-overview-container {
    flex-direction: column;
    gap: 2rem;
  }

  .bournfire-hackathon-overview-content,
  .bournfire-hackathon-overview-highlights {
    max-width: 100%;
  }

  .bournfire-hackathon-challenge-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .bournfire-hackathon-title {
    font-size: 2.2rem;
  }

  .bournfire-hero-brand .bournfire-brand-text {
    font-size: 2.4rem;
  }

  .bournfire-hackathon-actions {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* Small Laptop (1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .bournfire-hackathon-hero-container {
    padding: 0 2rem;
  }

  .bournfire-hackathon-overview-container,
  .bournfire-hackathon-build-container {
    padding: 0 2rem;
  }
}

/* Standard Desktop (1280px - 1439px) */
@media (min-width: 1280px) and (max-width: 1439px) {

  .bournfire-hackathon-overview-container,
  .bournfire-hackathon-build-container,
  .bournfire-hackathon-challenge-container,
  .modern-footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* Large Desktop (1440px - 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {

  .bournfire-hackathon-overview-container,
  .bournfire-hackathon-build-container,
  .bournfire-hackathon-challenge-container,
  .modern-footer-container {
    max-width: 1400px;
    margin: 0 auto;
  }

  .bournfire-hackathon-build-grid {
    gap: 28px;
  }
}

/* 2K Displays (1920px - 2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
  html {
    font-size: 17px;
  }

  .bournfire-hackathon-overview-container,
  .bournfire-hackathon-build-container,
  .bournfire-hackathon-challenge-container,
  .modern-footer-container {
    max-width: 1800px;
    margin: 0 auto;
  }

  .bournfire-hackathon-build-grid {
    gap: 32px;
  }
}

/* 4K Displays (2560px+) */
@media (min-width: 2560px) {
  html {
    font-size: 18px;
  }

  .bournfire-hackathon-overview-container,
  .bournfire-hackathon-build-container,
  .bournfire-hackathon-challenge-container,
  .modern-footer-container {
    max-width: 2000px;
    margin: 0 auto;
  }

  .bournfire-hackathon-build-grid {
    gap: 36px;
  }

  .bournfire-hackathon-hero {
    min-height: 100vh;
  }
}

/* Fix Specific Overflow Issues */
@media (max-width: 767px) {

  /* Prevent SVG overflow */
  svg {
    max-width: 100%;
    height: auto;
  }

  /* Journey Path */
  .bournfire-hackathon-journey-path {
    width: 100%;
    height: auto;
  }

  /* Containers */
  .bournfire-hackathon-hero-container,
  .bournfire-hackathon-overview-container,
  .bournfire-hackathon-build-container,
  .bournfire-hackathon-challenge-container,
  .bournfire-hackathon-journey-steps,
  .modern-footer-container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: 100%;
    box-sizing: border-box;
  }

  /* Grid Layouts */
  .bournfire-hackathon-build-grid,
  .bournfire-hackathon-challenge-container {
    grid-template-columns: 1fr !important;
  }

  /* Remove negative margins */
  * {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Tables and wide content */
  table,
  img,
  video,
  iframe {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Footer layout */
  .modern-footer-container {
    display: flex !important;
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .modern-footer-brand,
  .modern-footer-links,
  .modern-footer-contact {
    width: 100%;
    text-align: center;
  }

  .modern-footer-links ul {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Contact Section Mobile Optimization */
  .modern-footer-contact {
    align-items: center;
  }

  .footer-contact-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .footer-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    width: 100%;
  }

  .footer-contact-icon {
    margin-top: 0;
  }

  .footer-contact-label {
    font-size: 11px;
  }

  .footer-contact-link {
    font-size: 13px;
    word-break: break-word;
  }

  /* Footer Bottom Mobile Optimization */
  .modern-footer-bottom {
    padding: 1.5rem 0.75rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .footer-copyright {
    font-size: 12px;
    order: 1;
    width: 100%;
  }

  .footer-bottom-links {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    order: 2;
    width: 100%;
  }

  .footer-bottom-link {
    font-size: 12px;
    display: inline-block;
  }

  .footer-divider-dot {
    display: none;
  }

  /* Journey Steps */
  .bournfire-hackathon-step {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .bournfire-hackathon-step.left,
  .bournfire-hackathon-step.right {
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-bottom: 26px;
  }

  /* Show and optimize AI orbits on mobile */
  .ai-orbit,
  .hero-ai-visual .ai-orbit {
    display: block !important;
  }

  .ai-orbit.orbit-1 {
    width: 120px !important;
    height: 120px !important;
  }

  .ai-orbit.orbit-2 {
    width: 160px !important;
    height: 160px !important;
  }

  .ai-orbit.orbit-3 {
    width: 200px !important;
    height: 200px !important;
  }

  .ai-orbit.orbit-4 {
    width: 240px !important;
    height: 240px !important;
  }

  /* AI Nodes - Optimize for mobile */
  .ai-node {
    width: 60px !important;
    height: 45px !important;
    padding: 4px !important;
    border-radius: 9px !important;
  }

  .ai-node span {
    font-size: 7px !important;
    letter-spacing: 0.3px !important;
    line-height: 1.1 !important;
  }

  /* Force overflow hidden on all sections */
  section,
  .bournfire-hackathon-overview,
  .bournfire-hackathon-build-journey,
  .bournfire-hackathon-challenge-career,
  .bournfire-hackathon-journey-roadmap,
  .bournfire-hackathon-faq,
  .bournfire-hackathon-final-cta,
  .modern-footer {

    overflow-x: hidden !important;
  }

  /* Logo constraints */
  .modern-logo-image,
  .modern-nav-logo img {
    max-width: 150px !important;
    height: auto !important;
  }

  /* FAQ Carousel - prevent overflow */
  .bournfire-hackathon-faq-carousel,
  .bournfire-hackathon-faq-carousel-wrapper {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .bournfire-hackathon-faq-track {
    width: max-content;
  }

  /* Registration Wizard - responsive width */
  .registration-wizard,
  .wizard-content {
    max-width: 100vw !important;
    width: 100% !important;
  }
}

/* ===============================
   GLOBAL OVERFLOW PREVENTION
   =============================== */

/* All sections must clip overflow */
/* section {
  overflow-x: hidden;
} */

/* Enhanced touch targets for mobile */
@media (max-width: 767px) {

  /* Ensure all clickable elements are at least 44px */
  .modern-nav-link,
  .bournfire-hackathon-primary-btn,
  .bournfire-hackathon-secondary-btn,
  .bournfire-hackathon-btn-primary,
  .bournfire-hackathon-btn-secondary {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Improved spacing for better readability */
  .bournfire-hackathon-benefits-list li {
    padding: 12px 0 !important;
  }

  /* Better FAQ card spacing */
  .bournfire-hackathon-faq-grid {
    gap: 16px !important;
  }
}

[data-aos="slide-right"].aos-animate {
  transform: none !important;
}


/* Ensure wrapper for entire page */
#app,
.page-wrapper,
main {
  overflow-x: hidden;
  max-width: 100vw;
}


/* ===============================
   View Challenges Modal - Industry Standard Design
================================ */
.view-challenges-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.view-challenges-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.view-challenges-modal-container {
  width: 100%;
  max-width: 1400px;
  max-height: 90vh;
  background: linear-gradient(145deg, rgba(13, 27, 42, 0.98), rgba(10, 20, 35, 0.98));
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.view-challenges-modal-overlay.show .view-challenges-modal-container {
  transform: scale(1);
}

/* Modal Header */
.view-challenges-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 92, 0, 0.05), rgba(255, 0, 80, 0.05));
}

.view-challenges-modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 25px;
  font-weight: 800;
  background: linear-gradient(135deg, #ff5c00, #ff0050);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.view-challenges-modal-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-challenges-modal-close:hover {
  background: rgba(255, 92, 0, 0.2);
  border-color: rgba(255, 92, 0, 0.4);
  transform: rotate(90deg);
}

/* Search Section */
.view-challenges-search-section {
  padding: 24px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.view-challenges-search-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.view-challenges-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.view-challenges-search-input {
  width: 100%;
  padding: 14px 48px 14px 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: #ffffff;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.view-challenges-search-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 92, 0, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 92, 0, 0.1);
}

.view-challenges-search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.view-challenges-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-challenges-search-clear:hover {
  background: rgba(255, 92, 0, 0.3);
}

/* Filter Pills */
.view-challenges-filter-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.view-challenges-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-challenges-filter-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

.view-challenges-filter-pill.active {
  background: linear-gradient(135deg, rgba(255, 92, 0, 0.2), rgba(255, 0, 80, 0.2));
  border-color: rgba(255, 92, 0, 0.5);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 92, 0, 0.3);
}

.pill-icon {
  font-size: 18px;
}

.pill-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.view-challenges-filter-pill:hover .pill-icon-img {
  opacity: 1;
  transform: scale(1.1);
}

.view-challenges-filter-pill.active .pill-icon-img {
  opacity: 1;
}

/* Challenges Content */
.view-challenges-content {
  flex: 1;
  overflow-y: auto;
  padding: 32px;
  scroll-behavior: smooth;
}

.view-challenges-content::-webkit-scrollbar {
  width: 8px;
}

.view-challenges-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.view-challenges-content::-webkit-scrollbar-thumb {
  background: rgba(255, 92, 0, 0.3);
  border-radius: 4px;
}

.view-challenges-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 92, 0, 0.5);
}

/* Category Section */
.view-challenges-category {
  margin-bottom: 48px;
  animation: fadeInUp 0.5s ease;
}

.view-challenges-category.hidden {
  display: none;
}

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

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

.view-challenges-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(255, 92, 0, 0.2);
}

.category-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-icon {
  font-size: 32px;
  filter: drop-shadow(0 0 10px rgba(255, 92, 0, 0.3));
}

.category-icon-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 0 10px rgba(255, 92, 0, 0.3));
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.category-icon-img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.category-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.category-count {
  padding: 6px 14px;
  background: rgba(255, 92, 0, 0.15);
  border: 1px solid rgba(255, 92, 0, 0.3);
  border-radius: 20px;
  color: #ff5c00;
  font-size: 11px;
  font-weight: 600;
}

/* Challenges Grid */
.view-challenges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

/* Challenge Card */
.view-challenge-card {
  position: relative;
  padding: 24px;
  background: linear-gradient(145deg, rgba(20, 25, 40, 0.6), rgba(15, 20, 35, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  overflow: hidden;
  word-wrap: break-word;
}

.view-challenge-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff5c00, #ff0050);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.view-challenge-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 92, 0, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 92, 0, 0.1);
}

.view-challenge-card:hover::before {
  opacity: 1;
}

.view-challenge-card.hidden {
  display: none;
}

.challenge-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.challenge-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}



.challenge-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.4;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  overflow-wrap: break-word;
}

.challenge-card-description {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 16px 0;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  overflow-wrap: break-word;
}

/* Coming Soon Badge */
.coming-soon-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
}

.coming-soon-text {
  display: inline-block;
  padding: 10px 32px;
  background: linear-gradient(135deg, #ff5c00 0%, #ff0050 100%);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Space Grotesk', sans-serif;
}

.coming-soon-text:hover {
  transform: scale(1.02);
}

/* No Results */
.view-challenges-no-results {
  text-align: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.5);
}

.view-challenges-no-results svg {
  margin-bottom: 20px;
  opacity: 0.3;
}

.view-challenges-no-results h3 {
  font-size: 24px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 8px 0;
}

.view-challenges-no-results p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .view-challenges-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .view-challenges-modal-container {
    max-height: 95vh;
    border-radius: 16px;
  }

  .view-challenges-modal-header {
    padding: 20px 20px;
  }

  .view-challenges-modal-title {
    font-size: 20px;
  }

  .view-challenges-search-section {
    padding: 20px;
  }

  .view-challenges-search-input {
    font-size: 13px;
  }

  .view-challenges-content {
    padding: 20px;
  }

  .view-challenges-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .view-challenges-filter-pills {
    gap: 8px;
  }

  .view-challenges-filter-pill {
    padding: 8px 14px;
    font-size: 12px;
  }

  .category-title {
    font-size: 18px;
  }

  .category-icon-img {
    width: 32px;
    height: 32px;
  }

  .category-count {
    font-size: 10px;
  }

  .challenge-card-title {
    font-size: 15px;
  }

  .challenge-card-description {
    font-size: 12px;
  }

  .challenge-number {
    font-size: 11px;
  }


}

@media (max-width: 480px) {
  .view-challenges-modal-overlay {
    padding: 10px;
  }

  .view-challenges-modal-header {
    padding: 16px;
  }

  .view-challenges-modal-title {
    font-size: 18px;
  }

  .view-challenges-search-section {
    padding: 16px;
  }

  .view-challenges-content {
    padding: 16px;
  }

  .view-challenges-search-input {
    padding: 12px 40px 12px 40px;
    font-size: 12px;
  }

  .view-challenges-filter-pills {
    gap: 6px;
  }

  .view-challenges-filter-pill {
    padding: 6px 12px;
    font-size: 11px;
  }

  .pill-icon {
    font-size: 14px;
  }

  .pill-icon-img {
    width: 16px;
    height: 16px;
  }

  .category-title {
    font-size: 16px;
  }

  .category-icon-img {
    width: 28px;
    height: 28px;
  }

  .category-count {
    font-size: 9px;
    padding: 4px 10px;
  }

  .challenge-card-title {
    font-size: 14px;
  }

  .challenge-card-description {
    font-size: 11px;
  }

  .challenge-number {
    font-size: 10px;
  }


}


/* ===============================
   Domain Modal Styles
================================ */
.domain-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.domain-modal.active {
  display: flex;
  opacity: 1;
}

.domain-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.domain-modal-content {
  position: relative;
  max-width: 700px;
  width: 100%;
  background: linear-gradient(135deg, rgba(13, 43, 62, 0.95) 0%, rgba(13, 27, 42, 0.95) 100%);
  border-radius: 24px;
  padding: 48px 40px 40px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 1px 1px rgba(255, 92, 0, 0.2) inset;
  border: 1px solid rgba(255, 92, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  overflow-y: auto;
  z-index: 10001;
}

.domain-modal.active .domain-modal-content {
  transform: scale(1) translateY(0);
}

.domain-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 44px;
  height: 44px;
  background: rgba(255, 92, 0, 0.12);
  border: 1.5px solid rgba(255, 92, 0, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10002;
  padding: 0;
  flex-shrink: 0;
}

.domain-modal-close:hover {
  background: rgba(255, 92, 0, 0.2);
  border-color: rgba(255, 92, 0, 0.5);
  transform: rotate(90deg);
}

.domain-modal-close svg {
  color: #ff5c00;
}

.domain-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 92, 0, 0.2);
  position: relative;
}

.domain-modal-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(255, 92, 0, 0.2), rgba(255, 0, 80, 0.2));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 92, 0, 0.3);
}

.domain-modal-icon svg {
  width: 36px;
  height: 36px;
  color: #ff5c00;
}

.domain-modal-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  flex: 1;
  line-height: 1.2;
}

.domain-modal-body {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.domain-modal-body p {
  font-size: 16px;
  margin: 0;
  text-align: justify;
}

/* Add cursor pointer to cards */
.bournfire-hackathon-build-card {
  cursor: pointer;
  transition: all 0.3s ease;
}

.bournfire-hackathon-build-card:hover {
  transform: translateY(-5px);
}

/* Scrollbar styling for modal */
.domain-modal-content::-webkit-scrollbar {
  width: 8px;
}

.domain-modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.domain-modal-content::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ff5c00, #ff0050);
  border-radius: 10px;
}

.domain-modal-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #ff7a18, #ff5c9d);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .domain-modal-content {
    padding: 40px 24px 30px 24px;
    border-radius: 20px;
    max-height: 85vh;
  }

  .domain-modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .domain-modal-header h2 {
    font-size: 26px;
    line-height: 1.3;
  }

  .domain-modal-icon {
    width: 60px;
    height: 60px;
  }

  .domain-modal-icon svg {
    width: 32px;
    height: 32px;
  }

  .domain-modal-body p {
    font-size: 15px;
  }

  .domain-modal-close {
    width: 40px;
    height: 40px;
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 480px) {
  .domain-modal {
    padding: 10px;
  }

  .domain-modal-content {
    padding: 36px 18px 24px 18px;
    border-radius: 16px;
  }

  .domain-modal-header {
    margin-bottom: 20px;
  }

  .domain-modal-header h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  .domain-modal-icon {
    width: 50px;
    height: 50px;
  }

  .domain-modal-icon svg {
    width: 28px;
    height: 28px;
  }

  .domain-modal-body p {
    font-size: 14px;
    text-align: left;
  }

  .domain-modal-close {
    width: 36px;
    height: 36px;
    top: 10px;
    right: 10px;
  }
}


/* ===============================
   Challenge Modal Styles
================================ */
.challenge-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.challenge-modal.active {
  display: flex;
  opacity: 1;
}

.challenge-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.challenge-modal-content {
  position: relative;
  max-width: 750px;
  width: 100%;
  background: linear-gradient(135deg, rgba(13, 43, 62, 0.95) 0%, rgba(13, 27, 42, 0.95) 100%);
  border-radius: 10px;
  padding: 48px 40px 40px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 1px 1px rgba(255, 92, 0, 0.2) inset;
  border: 1px solid rgba(255, 92, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 80vh;
  overflow: hidden;
  z-index: 10001;
  display: flex;
  flex-direction: column;
}

.challenge-modal.active .challenge-modal-content {
  transform: scale(1) translateY(0);
}

.challenge-modal-close {
  position: absolute;
  top: 7px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: rgba(255, 92, 0, 0.12);
  border: 1.5px solid rgba(255, 92, 0, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10002;
  padding: 0;
  flex-shrink: 0;
}

.challenge-modal-close:hover {
  background: rgba(255, 92, 0, 0.2);
  border-color: rgba(255, 92, 0, 0.5);
  transform: rotate(90deg);
}

.challenge-modal-close svg {
  color: #ff5c00;
}

.challenge-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 92, 0, 0.2);
  position: relative;
}

.challenge-modal-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: rgba(255, 92, 0, 0.4);
  margin: 0;
  min-width: 80px;
  flex-shrink: 0;
  line-height: 1;
}

.challenge-modal-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  flex: 1;
  line-height: 1.1;
}

.challenge-modal-difficulty {
  padding: 4px 8px;
  border-radius: 24px;
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: 1px solid;
  white-space: nowrap;
  flex-shrink: 0;
}

.challenge-modal-body {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  max-height: 120px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 12px;
  margin-right: -4px;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}

.challenge-modal-body p {
  font-size: 14px;
  margin: 0;
  text-align: justify;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  overflow-wrap: break-word;
}

/* Scrollbar styling for challenge modal body */
.challenge-modal-body::-webkit-scrollbar {
  width: 8px;
}

.challenge-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-right: 4px;
}

.challenge-modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ff5c00, #ff0050);
  border-radius: 10px;
}

.challenge-modal-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #ff7a18, #ff5c9d);
}

/* Add cursor pointer to challenge cards */
.view-challenge-card {
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-challenge-card:hover {
  transform: translateY(-5px);
}

/* Scrollbar styling for challenge modal body - handled above */

/* Mobile Responsive */
@media (max-width: 768px) {
  .challenge-modal-content {
    padding: 40px 24px 30px 24px;
    border-radius: 20px;
    max-height: 85vh;
  }

  .challenge-modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }

  .challenge-modal-header h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  .challenge-modal-number {
    font-size: 44px;
  }

  .challenge-modal-difficulty {
    align-self: flex-start;
    padding: 6px 14px;
    font-size: 10px;
  }

  .challenge-modal-body p {
    font-size: 13px;
  }

  .challenge-modal-close {
    width: 40px;
    height: 40px;
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 480px) {
  .challenge-modal {
    padding: 10px;
  }

  .challenge-modal-content {
    padding: 36px 18px 24px 18px;
    border-radius: 16px;
  }

  .challenge-modal-header {
    margin-bottom: 20px;
  }

  .challenge-modal-header h2 {
    font-size: 18px;
    line-height: 1.3;
  }

  .challenge-modal-number {
    font-size: 36px;
  }

  .challenge-modal-difficulty {
    padding: 5px 12px;
    font-size: 8px;
  }

  .challenge-modal-body p {
    font-size: 11px;
    text-align: left;
  }

  .challenge-modal-close {
    width: 36px;
    height: 36px;
    top: 10px;
    right: 10px;
  }
}

/* ===============================
   Scroll to Top Button Styles
================================ */
.bournfire-scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5c00 0%, #ff7a2e 100%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  z-index: 98;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(255, 92, 0, 0.3);
  color: white;
  padding: 0;
  font-size: 0;
  pointer-events: none;
}

/* Active state when visible */
.bournfire-scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Hover effect */
.bournfire-scroll-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(255, 92, 0, 0.45);
  background: linear-gradient(135deg, #ff7a2e 0%, #ff5c00 100%);
}

/* Active click state */
.bournfire-scroll-to-top:active {
  transform: translateY(-2px);
}

/* Arrow icon animation */
.scroll-arrow-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  animation: arrowFloat 1.8s ease-in-out infinite;
  pointer-events: none;
}

.bournfire-scroll-to-top:hover .scroll-arrow-icon {
  animation: arrowFloatHover 0.6s ease-in-out;
}

/* Arrow floating animation */
@keyframes arrowFloat {

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

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

/* Arrow hover animation */
@keyframes arrowFloatHover {

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

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

/* Responsive styles */
@media (max-width: 768px) {
  .bournfire-scroll-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
  }

  .scroll-arrow-icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .bournfire-scroll-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }

  .scroll-arrow-icon {
    width: 18px;
    height: 18px;
  }
}

/* Smooth scroll behavior for entire page */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loading-challenges {
  text-align: center;
  padding: 40px;
  color: #666;
}

.loading-challenges svg {
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

.loading-challenges h3 {
  margin: 0 0 8px 0;
  color: #333;
}

.loading-challenges p {
  margin: 0;
  opacity: 0.8;
}


/* ===============================
   Floating Countdown Timer Widget
================================ */

#bournfireFloatingTimer {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}

/* Expanded View */
.floating-timer-expanded {
  background: linear-gradient(135deg, rgba(255, 92, 0, 0.12) 0%, rgba(255, 0, 80, 0.12) 100%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1.5px solid rgba(255, 92, 0, 0.4);
  border-radius: 20px;
  padding: 24px;
  width: 360px;
  box-shadow:
    0 12px 48px rgba(255, 92, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  animation: floatingTimerSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.floating-timer-expanded::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 92, 0, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.floating-timer-expanded.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
}

.floating-timer-expanded.expired {
  background: linear-gradient(135deg, rgba(108, 117, 125, 0.08) 0%, rgba(73, 80, 87, 0.08) 100%);
  border-color: rgba(108, 117, 125, 0.3);
}

@keyframes floatingTimerSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

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

/* Header */
.floating-timer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.floating-timer-title {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.floating-timer-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.floating-timer-close:hover {
  color: #ff5c00;
  background: rgba(255, 92, 0, 0.1);
}

/* Display */
.floating-timer-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.floating-timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.floating-timer-value {
  font-family: 'Space Grotesk', monospace;
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #ff5c00 0%, #ff0050 50%, #ff7a18 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  min-width: 50px;
  text-align: center;
  letter-spacing: -1px;
}

.floating-timer-expanded.expired .floating-timer-value {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes bournfireTimerFlip {
  0% {
    transform: rotateX(90deg);
    opacity: 0;
  }

  100% {
    transform: rotateX(0deg);
    opacity: 1;
  }
}

.floating-timer-value {
  animation: bournfireTimerFlip 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.floating-timer-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.floating-timer-separator {
  font-family: 'Space Grotesk', monospace;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #ff5c00 0%, #ff0050 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 2px;
  animation: bournfireTimerPulse 1s ease-in-out infinite;
}

.floating-timer-expanded.expired .floating-timer-separator {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes bournfireTimerPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* Progress Bar */
.floating-timer-progress {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.floating-timer-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff5c00 0%, #ff0050 50%, #ff7a18 100%);
  border-radius: 3px;
  width: 100%;
  transition: width 1s linear;
  box-shadow: 0 0 8px rgba(255, 92, 0, 0.6);
}

.floating-timer-expanded.expired .floating-timer-progress-fill {
  background: linear-gradient(90deg, #6c757d 0%, #495057 100%);
  box-shadow: none;
}

/* Message */
.floating-timer-message {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  position: relative;
  z-index: 1;
  animation: bournfireTimerMessagePulse 2s ease-in-out infinite;
}

@keyframes bournfireTimerMessagePulse {

  0%,
  100% {
    opacity: 0.7;
  }

  50% {
    opacity: 1;
  }
}

.floating-timer-expanded.expired .floating-timer-message {
  color: rgba(255, 255, 255, 0.5);
  animation: none;
}

/* Collapsed View (Watch Icon) */
.floating-timer-collapsed {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5c00 0%, #ff0050 100%);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255, 92, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  z-index: 10;
}

.floating-timer-collapsed.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.floating-timer-collapsed:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(255, 92, 0, 0.5);
}

.floating-timer-collapsed:active {
  transform: scale(0.95);
}

.floating-timer-collapsed.expired {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  box-shadow: 0 8px 24px rgba(108, 117, 125, 0.3);
}

/* Circular Progress SVG */
.floating-timer-circle-progress {
  position: absolute;
  width: 70px;
  height: 70px;
  top: 0;
  left: 0;
}

/* White outline circle - always visible */
.floating-timer-circle-progress circle[stroke="white"] {
  stroke: white;
  opacity: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
}

/* Colored progress ring */
.floating-timer-progress-ring {
  transition: stroke-dashoffset 1s linear;
  filter: drop-shadow(0 0 6px rgba(255, 92, 0, 0.6));
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-timer-collapsed.expired .floating-timer-progress-ring {
  stroke: url(#progressGradientExpired) !important;
  filter: drop-shadow(0 0 3px rgba(108, 117, 125, 0.3));
}

/* Icon wrapper for centering */
.floating-timer-icon-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-timer-watch-icon {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

/* Animated watch icon styles */
.floating-timer-watch-icon.animated-watch {
  stroke: white;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}

.floating-timer-watch-icon.animated-watch .timer-indicator {
  animation: timerPulse 1.5s ease-in-out infinite;
  transform-origin: 12px 13px;
}

@keyframes timerPulse {
  0%, 100% {
    r: 1.2;
    opacity: 1;
  }
  50% {
    r: 1.8;
    opacity: 0.6;
  }
}

/* Badge */
.floating-timer-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #ff0050 0%, #ff5c00 100%);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 12px rgba(255, 0, 80, 0.4);
  animation: bournfireTimerBadgePulse 2s ease-in-out infinite;
}

.floating-timer-badge.urgent {
  animation: bournfireTimerBadgeUrgent 0.6s ease-in-out infinite;
}

@keyframes bournfireTimerBadgePulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

@keyframes bournfireTimerBadgeUrgent {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(255, 0, 80, 0.4);
  }

  50% {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(255, 0, 80, 0.6);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  #bournfireFloatingTimer {
    bottom: 20px;
    right: 20px;
  }

  .floating-timer-expanded {
    width: 320px;
    padding: 20px;
    border-radius: 16px;
  }

  .floating-timer-value {
    font-size: 28px;
    min-width: 45px;
  }

  .floating-timer-separator {
    font-size: 20px;
  }

  .floating-timer-label {
    font-size: 9px;
  }

  .floating-timer-message {
    font-size: 10px;
  }

  .floating-timer-collapsed {
    width: 60px;
    height: 60px;
  }

  .floating-timer-circle-progress {
    width: 60px;
    height: 60px;
  }

  .floating-timer-circle-progress circle {
    r: 27;
    cx: 30;
    cy: 30;
  }

  .floating-timer-watch-icon {
    width: 24px;
    height: 24px;
  }

  .floating-timer-badge {
    width: 24px;
    height: 24px;
    font-size: 11px;
    top: -6px;
    right: -6px;
  }
}

@media (max-width: 480px) {
  #bournfireFloatingTimer {
    bottom: 16px;
    right: 16px;
  }

  .floating-timer-expanded {
    width: 280px;
    padding: 16px;
    border-radius: 14px;
  }

  .floating-timer-title {
    font-size: 11px;
  }

  .floating-timer-value {
    font-size: 24px;
    min-width: 40px;
  }

  .floating-timer-separator {
    font-size: 18px;
    margin: 0 1px;
  }

  .floating-timer-label {
    font-size: 8px;
  }

  .floating-timer-message {
    font-size: 9px;
  }

  .floating-timer-collapsed {
    width: 56px;
    height: 56px;
  }

  .floating-timer-circle-progress {
    width: 56px;
    height: 56px;
  }

  .floating-timer-circle-progress circle {
    r: 24;
    cx: 28;
    cy: 28;
  }

  .floating-timer-watch-icon {
    width: 22px;
    height: 22px;
  }

  .floating-timer-badge {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }
}


/* ===============================
   Hero Section Layout
================================ */