/* ==========================================================================
   DESIGN SYSTEM & CSS VARIABLES
   ========================================================================== */
/* Fonts are preconnected and loaded in index.html to eliminate layout shifts */

:root {
  /* Color Palette - HSL Semantics */
  --color-brand-magenta: hsl(332, 100%, 42%); /* #d80064 equivalent for WCAG contrast */
  --color-brand-magenta-hover: hsl(332, 100%, 36%);
  --color-brand-magenta-light: hsl(332, 100%, 96%);
  --color-brand-blue: hsl(200, 100%, 31%); /* #006aa0 equivalent for WCAG contrast */
  --color-brand-blue-hover: hsl(200, 100%, 25%);
  --color-brand-blue-light: hsl(200, 100%, 96%);
  --color-brand-yellow: hsl(45, 100%, 50%); /* #ffc000 equivalent */
  --color-brand-cyan: hsl(180, 100%, 38%); /* #00c0c0 equivalent */
  
  --color-dark-bg: hsl(210, 100%, 15%); /* Deep Blue / Navy background */
  --color-light-bg: hsl(210, 30%, 98%); /* Soft background */
  --color-white: hsl(0, 0%, 100%);
  
  --color-text-main: hsl(210, 40%, 12%);
  --color-text-muted: hsl(210, 12%, 46%);
  --color-border: hsl(210, 16%, 92%);
  
  /* Status Colors */
  --color-success: hsl(145, 80%, 40%);
  --color-error: hsl(355, 85%, 55%);
  --color-error-bg: hsl(355, 100%, 97%);

  /* Typography */
  --font-primary: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  
  /* Layout Spacing */
  --container-max-width: 1240px;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px -6px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px -12px rgba(0, 0, 0, 0.12);
  --shadow-magenta: 0 8px 20px -6px hsla(332, 100%, 46%, 0.3);

  /* Transitions */
  --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset for sticky header */
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text-main);
}

p {
  color: var(--color-text-muted);
}

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

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

address {
  font-style: normal;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Skip to Content for accessibility */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 0;
  background: var(--color-brand-magenta);
  color: var(--color-white);
  padding: 8px 16px;
  z-index: 1001;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--color-brand-magenta);
}

/* ==========================================================================
   REUSABLE UTILITIES & COMPONENTS
   ========================================================================== */
.container {
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-brand-magenta);
  color: var(--color-white);
  box-shadow: var(--shadow-magenta);
}
.btn-primary:hover {
  background-color: var(--color-brand-magenta-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px hsla(332, 100%, 46%, 0.4);
}
.btn-primary:active {
  transform: translateY(0);
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Focus outline for accessibility */
*:focus-visible {
  outline: 3px solid var(--color-brand-blue);
  outline-offset: 3px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: none;
  transition: var(--transition-smooth);
}
.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: none;
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-right nav {
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  height: 38px;
  width: auto;
  display: block;
}
.logo-text {
  height: 19px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
  position: relative;
}
.nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-main);
  position: relative;
  padding: 8px 0;
  letter-spacing: 0.3px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-brand-magenta);
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
}
.nav-link:hover {
  color: var(--color-brand-magenta);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link.active {
  color: var(--color-brand-magenta);
}

.nav-indicator {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 1px; /* Base width for scaleX translation mapping */
  height: 4px;
  background-color: var(--color-brand-magenta);
  border-radius: var(--radius-full);
  transform-origin: left center; /* Scale horizontally from the left edge */
  transition: transform 0.38s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.25s ease;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
}

@media (min-width: 992px) {
  .nav-link::after {
    display: none !important;
  }
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-main);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background-color: var(--color-white);
  padding: 80px 0 0 0;
  display: flex;
  align-items: center;
}

/* Layer 1: Background Image Slideshow */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 3;
}

.hero-slide.exiting {
  opacity: 0;
  z-index: 2;
}

.hero-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1);
}

.hero-slide.active .hero-slide-image,
.hero-slide.exiting .hero-slide-image {
  animation: heroKenBurns 8s ease-out forwards;
}

@keyframes heroKenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

/* Accessibility: respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none !important;
  }
  .hero-slide.active .hero-slide-image,
  .hero-slide.exiting .hero-slide-image {
    animation: none !important;
  }
}

/* Layer 2: Ribbon Brand Cover Overlay */
.hero-brand-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 2;
  pointer-events: none;
}

/* Layer 3: Container & Content Layout */
.hero-container {
  position: relative;
  z-index: 4;
  width: 100%;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-content {
  width: 100%;
  max-width: 580px; /* Floating column on the left */
  position: relative;
  z-index: 4;
}

.title-underline {
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-brand-magenta) 0%, var(--color-brand-blue) 50%, var(--color-brand-yellow) 100%);
  border-radius: var(--radius-full);
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero-title span.highlight {
  color: var(--color-brand-magenta);
  background: linear-gradient(120deg, var(--color-brand-magenta) 0%, hsl(320, 100%, 60%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--color-text-main);
  margin-bottom: 12px;
}
.hero-subtitle span.blue {
  color: var(--color-brand-blue);
}
.hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-desc span.magenta {
  color: var(--color-brand-magenta);
  font-weight: 600;
}
.hero-desc span.blue {
  color: var(--color-brand-blue);
  font-weight: 600;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}


/* ==========================================================================
   ABOUT SPRINT
   ========================================================================== */
.about {
  padding: 72px 0;
  background-color: var(--color-light-bg);
  border-bottom: 1px solid var(--color-border);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-brand-blue);
  letter-spacing: 2px;
  margin-bottom: 12px;
  position: relative;
}
.section-label::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background-color: var(--color-brand-blue);
  vertical-align: middle;
  margin-left: 8px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}
.section-title span.dot {
  color: var(--color-brand-blue);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: center;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-cards {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.about-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 24px;
  background: transparent;
  border: none;
  border-radius: 0;
  transition: var(--transition-smooth);
}
.about-card:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}
.about-card:hover {
  transform: translateY(-4px);
}

/* About Card Micro-Animations on Hover */

/* Card 1 & 2: spin and scale */
.about-card:nth-child(1) .card-icon,
.about-card:nth-child(2) .card-icon {
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.about-card:nth-child(1):hover .card-icon {
  transform: scale(1.08) rotate(45deg);
}
.about-card:nth-child(2):hover .card-icon {
  transform: scale(1.08) rotate(-45deg);
}

/* Card 3: Shield checkmark pulse */
.about-shield-check {
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.about-card:nth-child(3):hover .about-shield-check {
  transform: scale(1.18);
}

/* Card 4: Partnership scale */
.about-card:nth-child(4) .card-icon {
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.about-card:nth-child(4):hover .card-icon {
  transform: scale(1.08);
}

.card-icon-container {
  width: auto;
  height: auto;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background-color: transparent !important;
}
.about-card:nth-child(1) .card-icon-container { color: var(--color-brand-blue); }
.about-card:nth-child(2) .card-icon-container { color: var(--color-brand-yellow); }
.about-card:nth-child(3) .card-icon-container { color: var(--color-brand-magenta); }
.about-card:nth-child(4) .card-icon-container { color: var(--color-brand-blue); }

.card-icon {
  width: 48px;
  height: 48px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.about-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text-main);
}
.about-card p {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}

/* ==========================================================================
   OUR SERVICES
   ========================================================================== */
.services {
  padding: 72px 0;
  background-color: var(--color-white);
}

.services-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px auto;
}
.services-header .section-label::after {
  display: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  flex: 1;
  min-width: 0;
  background-color: var(--color-white);
  padding: 32px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Card Bottom Borders */
.service-card:nth-child(3n+1) { border-bottom: 4px solid var(--color-brand-blue); }
.service-card:nth-child(3n+2) { border-bottom: 4px solid var(--color-brand-yellow); }
.service-card:nth-child(3n+3) { border-bottom: 4px solid var(--color-brand-magenta); }

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

.service-card .card-icon-container {
  width: auto;
  height: auto;
  margin-bottom: 24px;
  background-color: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card Icon Colors matching bottom borders */
.service-card:nth-child(3n+1) .card-icon { color: var(--color-brand-blue); }
.service-card:nth-child(3n+2) .card-icon { color: var(--color-brand-yellow); }
.service-card:nth-child(3n+3) .card-icon { color: var(--color-brand-magenta); }

.service-card .card-icon {
  width: 52px;
  height: 52px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.service-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text-main);
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* Services Card Micro-Animations on Hover */
@keyframes roll-slide {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -8; }
}

/* Card 1: Roll dashed line animations */
.service-card:nth-child(1):hover .card-icon path[stroke-dasharray] {
  animation: roll-slide 0.8s linear infinite;
}

/* Card 2: Cup tilt animation */
.service-card:nth-child(2) .card-icon {
  transform-origin: center bottom;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.service-card:nth-child(2):hover .card-icon {
  transform: scale(1.08) rotate(-6deg);
}

/* Card 3: Speedometer needle sweep animation */
.speedometer-needle {
  transform-origin: 12px 16px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.service-card:nth-child(3):hover .speedometer-needle {
  transform: rotate(35deg);
}

/* Card 4: Target rotation animation */
.service-card:nth-child(4) .card-icon {
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.service-card:nth-child(4):hover .card-icon {
  transform: scale(1.08) rotate(90deg);
}

/* Card 5: Isometric stack separation */
.stack-layer-1, .stack-layer-2, .stack-layer-3 {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: center;
}
.service-card:nth-child(5):hover .stack-layer-1 {
  transform: translateY(-4px);
}
.service-card:nth-child(5):hover .stack-layer-2 {
  transform: translateY(-1.5px);
}
.service-card:nth-child(5):hover .stack-layer-3 {
  transform: translateY(1px);
}

/* Card 6: Truck forward slide animation */
.service-card:nth-child(6) .card-icon {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.service-card:nth-child(6):hover .card-icon {
  transform: translateX(5px) scale(1.02);
}


/* ==========================================================================
   WHY SPRINT
   ========================================================================== */
.why-sprint {
  padding: 72px 0;
  background-color: var(--color-light-bg);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.why-sprint .container {
  position: relative;
  z-index: 2;
}

.why-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
}
.why-header .section-label::after {
  display: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 24px;
  background: transparent;
  border: none;
  transition: var(--transition-smooth);
}
.why-item:hover {
  transform: translateY(-4px);
}

.why-item .card-icon-container {
  width: auto;
  height: auto;
  margin-bottom: 24px;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card Icon Colors matching columns */
.why-item:nth-child(3n+1) .card-icon-container { color: var(--color-brand-blue); }
.why-item:nth-child(3n+2) .card-icon-container { color: var(--color-brand-yellow); }
.why-item:nth-child(3n+3) .card-icon-container { color: var(--color-brand-magenta); }

.why-item .card-icon {
  width: 52px;
  height: 52px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.why-item h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text-main);
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item p {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}

/* Why Sprint Micro-Animations on Hover */

/* Item 1: Stopwatch needle rotate */
.stopwatch-needle {
  transform-origin: 12px 13px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.why-item:nth-child(1):hover .stopwatch-needle {
  transform: rotate(35deg);
}

/* Item 2: Target Arrow pop */
.target-arrow {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.why-item:nth-child(2):hover .target-arrow {
  transform: translate(-1.5px, 1.5px);
}

/* Item 3: Shield Checkmark pulse */
.shield-check {
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.why-item:nth-child(3):hover .shield-check {
  transform: scale(1.15);
}

/* Item 4: Graph upward scale */
.graph-arrow {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.why-item:nth-child(4):hover .graph-arrow {
  transform: translate(2px, -2px);
}

/* Item 5: Handshake shake keyframe */
@keyframes shake-hands {
  0%, 100% { transform: translateY(0) rotate(0); }
  25% { transform: translateY(-1px) rotate(-1.5deg); }
  75% { transform: translateY(1px) rotate(1.5deg); }
}
.why-item:nth-child(5):hover .card-icon {
  animation: shake-hands 0.3s ease infinite;
}

/* Item 6: Gear Rotation */
.gear-rotate {
  transform-origin: 12px 12px;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.why-item:nth-child(6):hover .gear-rotate {
  transform: rotate(60deg);
}


/* ==========================================================================
   CONTACT US SECTION
   ========================================================================== */
.contact {
  padding: 72px 0;
  background: linear-gradient(135deg, #005cb8 0%, #003366 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

/* SVG Waves in contact bg */
.contact-bg-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  opacity: 0.05;
  z-index: 1;
}

.contact .container {
  position: relative;
  z-index: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.contact-content {
  max-width: 340px;
}
.contact-label-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.contact-label-wrapper::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background-color: var(--color-brand-yellow);
}
.contact-content .section-label {
  color: var(--color-white);
  letter-spacing: 1px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0;
}
.contact-content .section-label::after {
  display: none;
}
.contact-content .section-title {
  color: var(--color-white);
  font-size: 2.2rem;
  line-height: 1.25;
  margin-bottom: 16px;
}
.contact-content .section-title .dot {
  color: var(--color-brand-yellow);
}
.contact-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.contact-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-logo-mark {
  height: 48px;
  width: auto;
  display: block;
}
.contact-logo-text {
  height: 25px;
  width: auto;
  display: block;
  /* Invert black logo text to white for the dark blue footer background */
  filter: brightness(0) invert(1);
}

.sales-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--color-white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-top: 24px;
  max-width: 320px;
  box-shadow: var(--shadow-md);
  box-sizing: border-box;
}
.sales-card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background-color: #0099d8; /* Vibrant brand blue color */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sales-card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-white);
}
.sales-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sales-card-title {
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: 0.5px;
  margin: 0 0 2px 0;
  text-transform: uppercase;
}
.sales-card-link {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}
.sales-card-link:hover {
  color: var(--color-brand-magenta);
}
.sales-card-link.sales-card-phone {
  color: var(--color-text-main);
  font-weight: 600;
}
.sales-card-link.sales-card-phone:hover {
  color: var(--color-brand-magenta);
}

.contact-info-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  width: 100%;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-info-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-brand-yellow);
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-info-item .info-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-info-item .info-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
  margin: 0;
  text-transform: uppercase;
}
.contact-info-item .info-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.45;
  margin: 0;
}
.contact-info-item .info-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.45;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
  min-height: 24px;
}
.contact-info-item .info-link:hover {
  color: var(--color-brand-yellow);
  text-decoration: underline;
}

.contact-divider {
  border: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 48px 0 24px;
}
.contact-footer-bottom {
  text-align: center;
}
.contact-footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  margin: 0;
}

/* ==========================================================================
   ACCESSIBLE MODAL DIALOG
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  background-color: rgba(9, 18, 32, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* Disable all mouse/touch clicks when modal is closed */
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto; /* Enable clicks when modal is open */
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.modal-dialog {
  background-color: var(--color-light-bg);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 1040px;
  max-height: 90vh;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transform: scale(0.92) translateY(10px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  position: relative;
}
.modal-overlay.open .modal-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 100;
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}
.modal-close-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--color-text-main);
}
.modal-close-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
}

/* Two Column Content Grid */
.modal-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  min-height: 100%;
}

/* Left Info Column */
.modal-info-col {
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.modal-category {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-brand-cyan);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.modal-title-main {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-text-main);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.modal-info-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.modal-value-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-value-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.modal-value-list .bullet-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-brand-magenta);
  flex-shrink: 0;
  margin-top: 6px;
}
.modal-value-list li p {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--color-text-main);
  font-weight: 500;
  margin: 0;
}

/* Right Form Column */
.modal-form-col {
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-form-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 24px 28px;
  width: 100%;
}
.form-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  color: var(--color-text-main);
  text-transform: uppercase;
}

/* Form Styles */
.form-group {
  margin-bottom: 12px;
  position: relative;
  text-align: left;
}
.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}
.form-control:focus {
  border-color: var(--color-brand-magenta);
  outline: none;
}
.form-control.invalid {
  border-color: var(--color-error);
  background-color: var(--color-error-bg);
}
textarea.form-control {
  resize: vertical;
  min-height: 72px;
}
.error-message {
  display: none;
  font-size: 0.75rem;
  color: var(--color-error);
  margin-top: 4px;
  font-weight: 600;
}
.form-control.invalid + .error-message {
  display: block;
}

.btn-submit-inquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 22px;
  background-color: var(--color-brand-magenta);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: var(--shadow-magenta);
  transition: var(--transition-smooth);
}
.btn-submit-inquiry:hover {
  background-color: var(--color-brand-magenta-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px hsla(332, 100%, 46%, 0.4);
}
.btn-submit-inquiry:active {
  transform: translateY(0);
}
.btn-submit-inquiry .btn-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

/* Success / Loading Screen inside Modal */
.modal-status-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-status-screen.active {
  opacity: 1;
  pointer-events: auto;
}

/* Spinner */
.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--color-brand-blue-light);
  border-top: 4px solid var(--color-brand-magenta);
  border-radius: var(--radius-full);
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Success Icon Animation */
.success-icon-container {
  width: 72px;
  height: 72px;
  background-color: hsla(145, 80%, 40%, 0.08);
  color: var(--color-success);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transform: scale(0.8);
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes popIn {
  to { transform: scale(1); }
}
.success-icon-container svg {
  width: 36px;
  height: 36px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
}

.modal-status-screen h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--color-text-main);
}
.modal-status-screen p {
  max-width: 320px;
  margin-bottom: 28px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (min-width: 992px) and (max-width: 1200px) {
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background: linear-gradient(to right, 
      rgba(255, 255, 255, 0.95) 0%, 
      rgba(255, 255, 255, 0.8) 50%, 
      rgba(255, 255, 255, 0) 100%
    );
    z-index: 3;
    pointer-events: none;
  }
}

@media (max-width: 991.98px) {
  .hero {
    min-height: 100vh;
    padding: 80px 0 40px 0;
    align-items: center;
    justify-content: center;
  }
  .hero-container {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    justify-content: center;
  }
  .hero-content {
    max-width: 680px;
    text-align: center;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    z-index: 5;
  }
  .title-underline {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-brand-overlay,
  .hero-background-image {
    object-position: right center;
  }

  /* Responsive Modal Layout */
  .modal-dialog {
    max-width: 680px;
    max-height: 92vh;
    overflow: hidden;
    padding: 16px;
  }
  .modal-content-grid {
    grid-template-columns: 1fr;
    overflow-y: auto;
    max-height: calc(92vh - 32px);
    padding-right: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
  }
  .modal-content-grid::-webkit-scrollbar {
    width: 6px;
  }
  .modal-content-grid::-webkit-scrollbar-track {
    background: transparent;
  }
  .modal-content-grid::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-full);
  }
  .modal-info-col {
    padding: 48px 36px 16px 36px;
    text-align: center;
    align-items: center;
  }
  .modal-title-main {
    font-size: 2rem;
    text-align: center;
  }
  .modal-info-desc {
    margin-bottom: 24px;
    text-align: center;
  }
  .modal-value-list {
    align-self: stretch;
    gap: 16px;
  }
  .modal-value-list li {
    justify-content: flex-start;
    text-align: left;
  }
  .modal-form-col {
    padding: 16px 36px 48px 36px;
  }
  .modal-form-card {
    padding: 28px;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 991.98px) {
  /* Section Padding & Centered Headers */
  .about, .services, .why-sprint, .contact {
    padding: 56px 0;
  }
  .about {
    text-align: center;
  }
  .about .section-label {
    display: block;
    width: fit-content;
    margin: 0 auto 12px auto;
  }
  .about .section-label::after {
    display: none;
  }
  .contact-label-wrapper {
    justify-content: center;
  }
  .contact-label-wrapper::before {
    display: none;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-text {
    text-align: center;
  }
  .about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 16px;
    max-width: 600px;
    margin: 0 auto;
  }
  .about-card {
    padding: 16px;
  }
  .about-card:not(:last-child) {
    border-right: none;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }

  .why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }
  .why-item {
    padding: 24px 16px;
  }
  .why-item:not(:last-child) {
    border-right: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
    margin-bottom: 32px;
  }

  .contact-content {
    margin: 0 auto;
  }
  .contact-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    width: 100%;
  }
  .contact-logo-mark {
    height: 40px;
  }
  .contact-logo-text {
    height: 21px;
  }
  .sales-card {
    margin-left: auto;
    margin-right: auto;
  }
  .contact-info-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 100%;
    margin: 0 auto;
  }
  .contact-info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .contact-info-item svg {
    margin-top: 0;
    width: 24px;
    height: 24px;
  }
  .contact-divider {
    margin-top: 32px;
    margin-bottom: 20px;
  }

  /* Navigation Drawer (Mobile menu layout collapses below 992px) */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--color-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    z-index: 999;
  }
  .nav-menu.open {
    left: 0;
  }
  .nav-link {
    font-size: 1.2rem;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .mobile-nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .header-actions {
    display: none; /* Hide header request button on small screens, use hero / footer ones */
  }
}

@media (max-width: 767.98px) {
  /* Section Padding & Gaps */
  .about, .services, .why-sprint, .contact {
    padding: 44px 0;
  }
  .hero {
    padding: 80px 0 20px 0;
  }
  .hero-content {
    padding: 28px 16px;
    margin: 0 8px;
  }
  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .title-underline {
    margin-bottom: 20px;
  }
  .hero-desc {
    margin-bottom: 24px;
    font-size: 0.95rem;
  }
  .about-grid {
    gap: 28px;
  }
  .contact-grid {
    gap: 24px;
  }

  .modal-dialog {
    max-width: 95%;
    max-height: 95vh;
  }
  .modal-content-grid {
    max-height: calc(95vh - 32px);
  }
  .modal-info-col {
    padding: 32px 20px 12px 20px;
  }
  .modal-title-main {
    font-size: 1.6rem;
  }
  .modal-form-col {
    padding: 12px 20px 32px 20px;
  }
  .modal-form-card {
    padding: 20px;
  }
}
.carousel-dots {
  display: none;
}

@media (max-width: 575.98px) {
  /* Section Padding */
  .about, .services, .why-sprint, .contact {
    padding: 36px 0;
  }

  .about-cards,
  .services-grid,
  .why-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 12px 20px 24px;
    margin: 0 -20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
  }
  .about-cards::-webkit-scrollbar,
  .services-grid::-webkit-scrollbar,
  .why-grid::-webkit-scrollbar {
    display: none;
  }
  .about-cards.dragging,
  .services-grid.dragging,
  .why-grid.dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
  }

  .about-card,
  .service-card,
  .why-item {
    flex: 0 0 80%;
    scroll-snap-align: center;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    padding: 32px 24px;
    box-sizing: border-box;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }

  /* Carousel Navigation Dots */
  .carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    margin-bottom: 4px;
    min-height: 24px;
  }
  .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.3s ease, border-radius 0.3s ease, background-color 0.3s ease;
    flex-shrink: 0;
  }
  .carousel-dot.active {
    background-color: var(--color-brand-magenta);
    width: 24px;
    border-radius: 5px;
  }
}

@media (max-width: 599.98px) {
  .contact-info-list {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 320px;
    margin: 0 auto;
  }
  .contact-info-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
  }
  .contact-info-item svg {
    margin-top: 3px;
    width: 22px;
    height: 22px;
  }
}
