@font-face {
  font-family: 'Tropical Country';
  src: url('assets/fonts/Tropical%20Country.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.font-brand {
  font-family: 'Tropical Country', sans-serif;
  font-weight: normal;
}

/* ==========================================================================
   APEX RACING - DESIGN SYSTEM & STYLESHEET (VANILLA CSS)
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. DESIGN TOKENS (CSS VARIABLES)
   -------------------------------------------------------------------------- */
:root {
  /* Colors - Light Velocity Theme */
  --color-surface: #f9f9fa;
  --color-surface-dim: #dadadb;
  --color-surface-bright: #f9f9fa;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-low: #f3f3f4;
  --color-surface-container: #eeeeef;
  --color-surface-container-high: #e8e8e9;
  --color-surface-container-highest: #e2e2e3;
  --color-on-surface: #1a1c1d;
  --color-on-surface-variant: #444748;
  --color-on-surface-blurred: #e2e2e3;
  --color-inverse-surface: #2f3132;
  --color-inverse-on-surface: #f0f1f2;
  --color-outline: #747878;
  --color-outline-variant: #c4c7c8;
  --color-surface-tint: #5d5f5f;
  --color-primary: #5d5f5f;
  --color-on-primary: #ffffff;
  --color-primary-container: #ffffff;
  --color-on-primary-container: #747676;
  --color-inverse-primary: #c6c6c7;
  --color-secondary: #5b5f64;
  --color-on-secondary: #ffffff;
  --color-secondary-container: #dde0e5;
  --color-on-secondary-container: #5f6368;
  --color-tertiary: #bb152c;
  --color-on-tertiary: #ffffff;
  --color-tertiary-container: #ffffff;
  --color-on-tertiary-container: #dd3240;
  --color-error: #ba1a1a;
  --color-on-error: #ffffff;
  --color-error-container: #ffdad6;
  --color-on-error-container: #93000a;
  --color-primary-fixed: #e2e2e2;
  --color-primary-fixed-dim: #c6c6c7;
  --color-on-primary-fixed: #1a1c1c;
  --color-on-primary-fixed-variant: #454747;
  --color-secondary-fixed: #e0e3e8;
  --color-secondary-fixed-dim: #c3c7cc;
  --color-on-secondary-fixed: #181c20;
  --color-on-secondary-fixed-variant: #43474c;
  --color-tertiary-fixed: #ffdad8;
  --color-tertiary-fixed-dim: #ffb3b1;
  --color-on-tertiary-fixed: #410007;
  --color-on-tertiary-fixed-variant: #92001c;
  --color-background: #ffffff;
  --color-on-background: #1a1c1d;
  --color-surface-variant: #e2e2e3;

  /* Border Radius */
  --rounded-sm: 0.25rem;
  --rounded-default: 0.5rem;
  --rounded-md: 1.25rem;
  --rounded-lg: 1.65rem;
  --rounded-xl: 2.5rem;
  --rounded-full: 9999px;

  /* Spacing */
  --spacing-base: 8px;
  --spacing-container-max: 1280px;
  --spacing-gutter: 24px;
  --spacing-margin-mobile: 16px;
  --spacing-margin-desktop: 40px;
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & DEFAULTS
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--color-background);
  color: var(--color-on-background);
  overscroll-behavior: none;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: radial-gradient(circle at 0% 0%, rgba(187, 21, 44, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(93, 95, 95, 0.05) 0%, transparent 50%);
}

/* Hide webkit scrollbar */
::-webkit-scrollbar {
  display: none;
}

main> :first-child {
  margin-top: 0 !important;
}

main> :last-child {
  margin-bottom: 0 !important;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* --------------------------------------------------------------------------
   3. ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translate(-50%, -25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }

  50% {
    transform: translate(-50%, 0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce {
  animation: bounce 1s infinite;
}

/* --------------------------------------------------------------------------
   4. TYPOGRAPHY CLASSES
   -------------------------------------------------------------------------- */
.font-body-md {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.font-body-lg {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

.font-headline-md {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.font-headline-lg {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.font-display-lg-mobile {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.font-label-bold {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
}

.text-label-sm {
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.text-xs {
  font-size: 12px;
  line-height: 1;
}

.text-sm {
  font-size: 14px;
  line-height: 1.4;
}

.text-lg {
  font-size: 18px;
  line-height: 1.4;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-tighter {
  letter-spacing: -0.05em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

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

.leading-relaxed {
  line-height: 1.625;
}

/* --------------------------------------------------------------------------
   5. LAYOUT & FLEXBOX/GRID UTILITIES
   -------------------------------------------------------------------------- */
.w-full {
  width: 100%;
}

.aspect-\[4\/3\] {
  aspect-ratio: 4 / 3;
}

.w-auto {
  width: auto;
}

.w-2 {
  width: 0.5rem;
}

.w-8 {
  width: 2rem;
}

.w-12 {
  width: 3rem;
}

.w-\[800px\] {
  width: 800px;
}

.w-\[600px\] {
  width: 600px;
}

.w-\[95\%\] {
  width: 95%;
}

.h-full {
  height: 100%;
}

.h-px {
  height: 1px;
}

.h-1 {
  height: 4px;
}

.h-2 {
  height: 8px;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.h-12 {
  height: 3rem;
}

.h-16 {
  height: 4rem;
}

.h-48 {
  height: 12rem;
}

.h-\[800px\] {
  height: 800px;
}

.h-\[600px\] {
  height: 600px;
}

.h-\[870px\] {
  height: 870px;
}

.max-w-xs {
  max-width: 20rem;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-container-max {
  max-width: var(--spacing-container-max);
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.sticky {
  position: sticky;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-0 {
  top: 0;
}

.top-4 {
  top: 1rem;
}

.top-6 {
  top: 1.5rem;
}

.top-32 {
  top: 8rem;
}

.bottom-0 {
  bottom: 0;
}

.bottom-6 {
  bottom: 1.5rem;
}

.bottom-8 {
  bottom: 2rem;
}

.bottom-1\/3 {
  bottom: 33.333333%;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.right-4 {
  right: 1rem;
}

.right-6 {
  right: 1.5rem;
}

.left-6 {
  left: 1.5rem;
}

.left-1\/2 {
  left: 50%;
}

.right-1\/4 {
  right: 25%;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-grow {
  flex-grow: 1;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

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

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

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

.justify-between {
  justify-content: space-between;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.ml-auto {
  margin-left: auto;
}

.pointer-events-none {
  pointer-events: none;
}

.overflow-hidden {
  overflow: hidden;
}

.resize-none {
  resize: none;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.auto-rows-\[300px\] {
  grid-auto-rows: 300px;
}

/* --------------------------------------------------------------------------
   6. SPACING UTILITIES (GAP, PADDING, MARGIN)
   -------------------------------------------------------------------------- */
.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.gap-16 {
  gap: 4rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pt-16 {
  padding-top: 4rem;
}

.pt-24 {
  padding-top: 6rem;
}

.pb-16 {
  padding-bottom: 4rem;
}

.px-margin-mobile {
  padding-left: var(--spacing-margin-mobile);
  padding-right: var(--spacing-margin-mobile);
}

.px-margin-desktop {
  padding-left: var(--spacing-margin-desktop);
  padding-right: var(--spacing-margin-desktop);
}

/* --------------------------------------------------------------------------
   7. COLORS & BACKGROUNDS
   -------------------------------------------------------------------------- */
.bg-background {
  background-color: var(--color-background);
}

.text-on-background {
  color: var(--color-on-background);
}

.bg-white\/80 {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.text-on-tertiary {
  color: var(--color-on-tertiary);
}

.text-tertiary {
  color: var(--color-tertiary);
}

.bg-surface-container-high {
  background-color: var(--color-surface-container-high);
}

.bg-surface-container-lowest {
  background-color: var(--color-surface-container-lowest);
}

.bg-surface-container {
  background-color: var(--color-surface-container);
}

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

.bg-secondary-container {
  background-color: var(--color-secondary-container);
}

.bg-tertiary-fixed {
  background-color: var(--color-tertiary-fixed);
}

.bg-secondary-container\/30 {
  background-color: rgba(221, 224, 229, 0.3);
}

.bg-tertiary-fixed\/30 {
  background-color: rgba(255, 218, 216, 0.3);
}

.bg-tertiary\/10 {
  background-color: rgba(187, 21, 44, 0.1);
}

.bg-surface\/90 {
  background-color: rgba(150, 150, 150, 0.45);
}

.bg-gradient-to-t {
  background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

.text-on-surface {
  color: var(--color-on-surface);
}

.text-on-surface-variant {
  color: var(--color-on-surface-variant);
}

.text-on-surface-blurred {
  color: var(--color-on-surface-blurred);
}

.text-secondary {
  color: var(--color-secondary);
}

.text-white {
  color: #ffffff;
}

.text-\[\#c3c7cc\] {
  color: #c3c7cc;
}

.text-\[\#747676\] {
  color: #747676;
}

.bg-\[\#1a1c1d\] {
  background-color: #1a1c1d;
}

.bg-\[\#2f3132\] {
  background-color: #2f3132;
}

.bg-black\/30 {
  background-color: rgba(0, 0, 0, 0.3);
}

.bg-black\/50 {
  background-color: rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   8. BORDERS, RADII & SHADOWS
   -------------------------------------------------------------------------- */
.border {
  border: 1px solid transparent;
}

.border-outline-variant {
  border-color: var(--color-outline-variant);
}

.border-tertiary\/20 {
  border-color: rgba(187, 21, 44, 0.2);
}

.border-\[\#444748\] {
  border-color: #444748;
}

.border-t {
  border-top: 1px solid transparent;
}

.border-y {
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
}

.border-b {
  border-bottom: 1px solid transparent;
}

.border-l-2 {
  border-left-width: 2px;
  border-left-style: solid;
}

.border-l-secondary {
  border-left-color: var(--color-secondary);
}

.border-l-tertiary {
  border-left-color: var(--color-tertiary);
}

.rounded-full {
  border-radius: var(--rounded-full);
}

.rounded-xl {
  border-radius: var(--rounded-md);
}

/* 0.75rem */
.rounded-2xl {
  border-radius: var(--rounded-lg);
}

/* 1rem */
.rounded-3xl {
  border-radius: var(--rounded-xl);
}

/* 1.5rem */
.rounded-lg {
  border-radius: var(--rounded-default);
}

/* 0.5rem */

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.shadow-tertiary\/20 {
  box-shadow: 0 4px 6px -1px rgba(187, 21, 44, 0.2);
}

/* --------------------------------------------------------------------------
   9. INTERACTIVE & EFFECTS (HOVER, BLENDS, BLUR)
   -------------------------------------------------------------------------- */
.backdrop-blur-md {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(3px);
}

.blur-\[120px\] {
  filter: blur(120px);
}

.blur-\[100px\] {
  filter: blur(100px);
}

.blur-\[80px\] {
  filter: blur(80px);
}

.opacity-10 {
  opacity: 0.1;
}

.brightness-0 {
  filter: brightness(0);
}

.invert {
  filter: invert(1);
}

.transition-all {
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-colors {
  transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-500 {
  transition-duration: 500ms;
}

.duration-700 {
  transition-duration: 700ms;
}

.bg-cover {
  background-size: cover;
}

.bg-center {
  background-position: center;
}

/* Scale / Translate on Hover */
.group-hover\:scale-105 {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

.group-hover\:scale-110 {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

.group-hover\:-translate-y-1 {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover .group-hover\:-translate-y-1 {
  transform: translateY(-4px);
}

/* Timeline/List Hover Styling */
.group-hover\:bg-tertiary {
  transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover .group-hover\:bg-tertiary {
  background-color: var(--color-tertiary) !important;
}

.group-hover\:text-on-tertiary {
  transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover .group-hover\:text-on-tertiary {
  color: var(--color-on-tertiary) !important;
}

.group-hover\:border-tertiary {
  transition: border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover .group-hover\:border-tertiary {
  border-color: var(--color-tertiary) !important;
}

.group-hover\:text-tertiary {
  transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover .group-hover\:text-tertiary {
  color: var(--color-tertiary) !important;
}

/* Standard Button / Link Hover */
.hover\:bg-on-tertiary-fixed-variant:hover {
  background-color: var(--color-on-tertiary-fixed-variant);
}

.hover\:text-on-surface:hover {
  color: var(--color-on-surface);
}

.hover\:bg-surface-container-high:hover {
  background-color: var(--color-surface-container-high);
}

.hover\:text-tertiary:hover {
  color: var(--color-tertiary);
}

/* Focus styling */
.focus\:outline-none:focus {
  outline: none;
}

.focus\:border-tertiary:focus {
  border-color: var(--color-tertiary) !important;
}

.focus\:bg-black\/50:focus {
  background-color: rgba(0, 0, 0, 0.5) !important;
}

.cursor-not-allowed {
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   10. MEDIA QUERIES (RESPONSIVE STYLES)
   -------------------------------------------------------------------------- */

/* Small Devices (e.g. Mobile to Tablet - min-width: 640px) */
@media (min-width: 640px) {
  .sm\:block {
    display: block;
  }

  .sm\:flex {
    display: flex;
  }

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:inline-flex {
    display: inline-flex;
  }

  .sm\:p-12 {
    padding: 3rem;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Medium Devices (e.g. Tablets to Small Desktops - min-width: 768px) */
@media (min-width: 768px) {
  .md\:font-display-lg {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .md\:col-span-3 {
    grid-column: span 3 / span 3;
  }
}

/* Large Devices (e.g. Desktops - min-width: 1024px) */
@media (min-width: 1024px) {
  .lg\:hidden {
    display: none !important;
  }

  .lg\:px-0 {
    padding-left: 0;
    padding-right: 0;
  }

  .lg\:px-margin-desktop {
    padding-left: var(--spacing-margin-desktop);
    padding-right: var(--spacing-margin-desktop);
  }

  .lg\:w-\[80\%\] {
    width: 80%;
  }

  .lg\:flex {
    display: flex;
  }

  .lg\:flex-row {
    flex-direction: row;
  }

  .lg\:w-1\/3 {
    width: 33.333333%;
  }

  .lg\:w-2\/3 {
    width: 66.666667%;
  }

  .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .lg\:col-span-3 {
    grid-column: span 3 / span 3;
  }

  .lg\:col-span-4 {
    grid-column: span 4 / span 4;
  }

  .lg\:col-span-5 {
    grid-column: span 5 / span 5;
  }

  .lg\:col-span-7 {
    grid-column: span 7 / span 7;
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .gap-gutter {
    gap: var(--spacing-gutter);
  }
}

/* Bootstrap Scrollspy active link styles */
#navbar-apex .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-on-surface-variant) !important;
  transition: all 0.15s ease-in-out;
  padding: 0;
  text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff;
  /* Reset bootstrap padding to maintain clean styling */
}

#navbar-apex .nav-link:hover {
  color: var(--color-on-surface) !important;
}

#navbar-apex .nav-link.active {
  color: var(--color-tertiary) !important;
  font-weight: 700 !important;
}

/* --------------------------------------------------------------------------
   11. MOBILE NAVBAR & BURGER MENU
   -------------------------------------------------------------------------- */
#burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 50;
}

#burger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-on-surface);
  border-radius: 9999px;
  transform-origin: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#burger-btn.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#burger-btn.is-active span:nth-child(2) {
  opacity: 0;
}

#burger-btn.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 40;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-menu.is-active {
  transform: translateY(0);
}

.mobile-nav-link {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-on-surface);
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Mobile Section Title Carousel Transition */
#mobile-section-indicator {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  z-index: 10;
  width: 160px;
}

.font-brand-nav {
  font-family: 'Tropical Country', sans-serif;
  font-size: 23px !important;
  font-weight: 700 !important;
  color: var(--color-tertiary) !important;
}

.section-text-wrapper {
  position: relative;
  overflow: hidden;
  height: 32px;
  width: 100%;
}

.section-text-wrapper span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  line-height: 32px;
  display: block;
}


/* --------------------------------------------------------------------------
   12. HERO VIDEO BACKGROUND
   -------------------------------------------------------------------------- */
#hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.bg-black\/60 {
  background-color: rgba(0, 0, 0, 0.6);
}

.bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.1);
}

.border-white\/20 {
  border-color: rgba(255, 255, 255, 0.2);
}

.hover\:bg-white\/20:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.text-white\/80 {
  color: rgba(255, 255, 255, 0.8);
}

.text-white\/60 {
  color: rgba(255, 255, 255, 0.6);
}

/* Contact Info Layout: row on desktop, column on mobile */
.contact-info-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .contact-info-row {
    flex-direction: row;
    gap: 48px;
    align-items: flex-start;
  }
}

#status-subtext {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  text-transform: lowercase;
  font-weight: 500;
  margin-top: 4px;
  display: none;
}

/* Footer Opening Hours styles */
.footer-hours-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 240px;
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(68, 71, 72, 0.3);
}

.footer-hours-row:last-child {
  border-bottom: none;
}

.footer-hours-row .day {
  color: #c3c7cc;
}

.footer-hours-row .time {
  color: #c3c7cc;
  font-weight: 500;
}

.footer-hours-row.closed .day {
  color: #747676;
}

.footer-hours-row.closed .time {
  color: rgba(116, 118, 118, 0.6);
}

/* ==========================================================================
   GT DRIVER - CUSTOM HEADER THEME & DRAG CAPTCHA STYLES
   ========================================================================== */

/* Dynamic Dark Header Styling */
.header-dark.bg-white\/80 {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.header-dark #navbar-apex .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  text-shadow: -1px -1px 0 #1a1c1d, 1px -1px 0 #1a1c1d, -1px 1px 0 #1a1c1d, 1px 1px 0 #1a1c1d !important;
}

.header-dark #navbar-apex .nav-link:hover {
  color: #ffffff !important;
  text-shadow: -1px -1px 0 #1a1c1d, 1px -1px 0 #1a1c1d, -1px 1px 0 #1a1c1d, 1px 1px 0 #1a1c1d !important;
}

.header-dark #navbar-apex .nav-link.active {
  color: var(--color-tertiary) !important;
  text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff !important;
}

.header-dark #burger-btn span {
  background-color: #ffffff !important;
}

.header-dark img[alt="GT Driver Logo"] {
  filter: brightness(0) invert(1);
}

/* Steering Wheel Drag Captcha Styles */
.captcha-slider-container {
  width: 280px; /* Fixed width prevents flex collapse */
  max-width: 100%;
  height: 40px; /* More compact and elegant */
  margin-top: 12px;
  position: relative;
  user-select: none;
}

.captcha-slider-track {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.captcha-slider-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(187, 21, 44, 0.15) 0%, rgba(187, 21, 44, 0.5) 100%);
  border-radius: 20px 0 0 20px;
  z-index: 1;
}

.captcha-slider-label {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  z-index: 2;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.captcha-slider-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 34px;
  height: 34px;
  background-color: var(--color-tertiary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: grab;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  transition: transform 0.1s ease, background-color 0.3s ease;
}

.captcha-slider-thumb:active {
  cursor: grabbing;
}

.captcha-slider-thumb span {
  font-size: 18px;
  user-select: none;
  transition: transform 0.3s ease;
}

.captcha-slider-thumb:active span {
  transform: rotate(90deg); /* Rotate steering wheel when dragging */
}

/* Contacts Reveal Animations */
.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

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