/* Firehouse Movers Landing Page Styles */

/* Import Tailwind-like utilities */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Custom Properties for Theming */
:root {
  --primary-color: #ef4444;
  --secondary-color: #f97316;
  --background-dark: #1a1a1a;
  --background-gray: #262626;
  --text-light: #ffffff;
  --text-gray: #d1d5db;
  --border-color: #374151;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --gradient-bg: linear-gradient(to bottom, #262626, #1a1a1a, #262626);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Remove underlines from all text */
* {
  text-decoration: none !important;
}

a, a:hover, a:focus, a:visited {
  text-decoration: none !important;
}

/* Remove underlines from buttons and links */
button, .btn, a[href*="login"], a[href*="signup"], a[href*="get-started"] {
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
}

/* Specific button styles */
.hero-buttons a, .ready-control-section a {
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
}

/* Equal width buttons in Ready to Take Control section */
.ready-control-section .flex.flex-col.sm\\:flex-row a {
  min-width: 120px;
  width: 120px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background: var(--gradient-bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tailwind-like Utility Classes */
.min-h-screen { min-height: 100vh; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.flex { display: flex; }
.hidden { display: none; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-visible { overflow: visible; }

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.px-24 { padding-left: 6rem; padding-right: 6rem; }
.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; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-12 { padding-top: 3rem; }
.pt-20 { padding-top: 5rem; }
.pt-24 { padding-top: 6rem; }
.pt-32 { padding-top: 8rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-24 { padding-bottom: 6rem; }
.pb-32 { padding-bottom: 8rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mb-24 { margin-bottom: 6rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mt-32 { margin-top: 8rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-16 > * + * { margin-top: 4rem; }
.space-y-20 > * + * { margin-top: 5rem; }
.space-y-24 > * + * { margin-top: 6rem; }

/* List-style layout for Pack, Move, Settle section */
#pack-section,
#move-section, 
#settle-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  list-style: none;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
  transition: filter 0.3s ease;
}

/* Ensure proper spacing for list items */
ul.space-y-20 > li + li {
  margin-top: 5rem;
}

ul.space-y-24 > li + li {
  margin-top: 6rem;
}

/* Reduced top spacing for Pack section */
.pack-reduced-spacing {
  margin-top: 2rem !important; /* Reduced from default 5rem */
}

/* Colors */
.bg-red-500 { background-color: var(--primary-color); }
.bg-red-600 { background-color: #dc2626; }
.bg-white { background-color: #ffffff; }
.bg-black { background-color: #000000; }
.bg-green-500 { background-color: #10b981; }
.bg-gray-800 { background-color: #1f2937; }
.bg-gray-900 { background-color: #111827; }
.bg-opacity-50 { background-color: rgba(0, 0, 0, 0.5); }
.bg-opacity-40 { background-color: rgba(0, 0, 0, 0.4); }
.bg-opacity-30 { background-color: rgba(0, 0, 0, 0.3); }
.text-white { color: var(--text-light); }
.text-black { color: #000000; }
.text-red-500 { color: var(--primary-color); }
.text-red-400 { color: #f87171; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: var(--text-gray); }
.text-gray-400 { color: #9ca3af; }
.text-gray-800 { color: #1f2937; }
.border-white { border-color: var(--text-light); }
.border-gray-700 { border-color: var(--border-color); }
.border-gray-800 { border-color: #1f2937; }

/* Background Gradients */
.bg-gradient-to-b { background: var(--gradient-bg); }
.from-\[#262626\] { background: linear-gradient(to bottom, #262626, #1a1a1a, #262626); }
.via-\[#1a1a1a\] { background: linear-gradient(to bottom, #262626, #1a1a1a, #262626); }
.to-\[#262626\] { background: linear-gradient(to bottom, #262626, #1a1a1a, #262626); }
.to-\[#0f0f0f\] { background: linear-gradient(to bottom, #1a1a1a, #0f0f0f); }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-extrabold { font-weight: 800; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-tight { letter-spacing: -0.025em; }

/* Sizing */
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-60 { width: 15rem; }
.w-80 { width: 20rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-44 { height: 11rem; }
.h-60 { height: 15rem; }
.h-64 { height: 16rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }

/* Borders */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.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-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.drop-shadow-2xl { filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15)); }
.drop-shadow-xl { filter: drop-shadow(0 20px 13px rgba(0, 0, 0, 0.03)); }

/* Transforms */
.scale-105 { transform: scale(1.05); }
.translate-x-1 { transform: translateX(0.25rem); }
.translate-y-1 { transform: translateY(0.25rem); }
.translate-y-2 { transform: translateY(0.5rem); }
.-translate-x-1 { transform: translateX(-0.25rem); }
.-translate-y-1 { transform: translateY(-0.25rem); }
.-translate-y-2 { transform: translateY(-0.5rem); }

/* Transitions */
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color, background-color, border-color 0.3s ease; }
.transition-transform { transition: transform 0.3s ease; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* Hover States */
.hover\:text-white:hover { color: var(--text-light); }
.hover\:bg-red-600:hover { background-color: #dc2626; }
.hover\:bg-white\/5:hover { background-color: rgba(255, 255, 255, 0.05); }
.hover\:border-white:hover { border-color: var(--text-light); }
.hover\:border-white\/40:hover { border-color: rgba(255, 255, 255, 0.4); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.hover\:shadow-red-500\/25:hover { box-shadow: 0 20px 25px -5px rgba(239, 68, 68, 0.25), 0 10px 10px -5px rgba(239, 68, 68, 0.04); }
.hover\:translate-x-1:hover { transform: translateX(0.25rem); }

/* Z-index */
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

/* Opacity */
.opacity-0 { opacity: 0; }
.opacity-30 { opacity: 0.3; }
.opacity-40 { opacity: 0.4; }
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-100 { opacity: 1; }

/* Object Fit */
.object-cover { object-fit: cover; }
.object-center { object-position: center; }

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* Pointer Events */
.pointer-events-none { pointer-events: none; }

/* Backdrop */
.backdrop-blur { backdrop-filter: blur(8px); }

/* Responsive Design */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:flex { display: flex; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:px-12 { padding-left: 3rem; padding-right: 3rem; }
  .md\:px-24 { padding-left: 6rem; padding-right: 6rem; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .md\:text-8xl { font-size: 6rem; line-height: 1; }
  .md\:text-9xl { font-size: 8rem; line-height: 1; }
  .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\:justify-items-center { justify-items: center; }
  .md\:justify-self-end { justify-self: end; }
  .md\:flex-row { flex-direction: row; }
}

@media (min-width: 1024px) {
  .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .lg\:text-8xl { font-size: 6rem; line-height: 1; }
  .lg\:text-9xl { font-size: 8rem; line-height: 1; }
  .lg\:text-\[10rem\] { font-size: 10rem; line-height: 1; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:px-24 { padding-left: 6rem; padding-right: 6rem; }
}

@media (min-width: 1280px) {
  .xl\:text-\[12rem\] { font-size: 10rem; line-height: 1; }
}
/* SVG Truck Styles */
.truck-body { fill: #ef4444; stroke: #1a1a1a; stroke-width:2; }
.truck-cab { fill: #1a1a1a; }
.truck-window { fill: rgba(255,255,255,0.15); }
.wheel { fill:#262626; stroke:#1a1a1a; stroke-width:2; }
.headlight { fill: #fcd34d; }
.beam { fill: #fcd34d; opacity: 0.2; }
.animate-bounce-slow { animation: bounceSlow 1.6s infinite; }
@keyframes bounceSlow { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(6px);} }

/* Service Card Animations */
.truck-animation {
  overflow: visible;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto;
  z-index: 5;
}

.truck-animation svg {
  will-change: transform;
  opacity: 1;
  width: 16rem;
}

@keyframes truckMove {
  0% { 
    transform: translateX(-30vw); 
    opacity: 1;
  }
  70% { 
    transform: translateX(100vw); 
    opacity: 1;
  }
  70.1% { 
    transform: translateX(100vw); 
    opacity: 0;
  }
  99.9% { 
    transform: translateX(-30vw); 
    opacity: 0;
  }
  100% { 
    transform: translateX(-30vw); 
    opacity: 1;
  }
}

/* Service Cards 3D Effects */
.service-card {
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
  opacity: 0;
  filter: blur(0px);
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  height: 20rem;
  min-height: 20rem;
  width: 100%;
  max-width: none;
}

.service-card:hover {
  border-color: rgba(107, 114, 128, 0.5) !important;
  transform: scale(1.02);
  transition: transform 0.15s ease-out;
}

.service-card:hover .hover-image {
  filter: brightness(0.7) contrast(1.1);
}

.service-card .relative.z-20 {
  padding: 1.5rem;
  justify-content: flex-end;
}

.service-card .relative.z-20 > div:last-child {
  margin-top: auto;
  padding: 1.5rem;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-radius: 0 0 0.75rem 0.75rem;
  z-index: 20;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.25rem;
  min-height: 2.25rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  color: #ffffff;
  letter-spacing: 0.025em;
  transition: all 0.3s ease;
  opacity: 0;
}

.service-card p {
  font-size: 0.875rem;
  line-height: 1.5;
  min-height: 0;
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease, opacity 0.3s ease;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  color: #f3f4f6;
  opacity: 0.9;
}

.service-card:hover p {
  height: auto;
}

.service-card:hover h3 {
  opacity: 1;
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.service-card:hover p {
  opacity: 1;
  transform: translateY(-1px);
  transition: all 0.3s ease;
}

.service-card .relative.h-64 {
  height: 20rem;
}

/* Grid layouts */
#services-grid {
  grid-template-columns: repeat(3, 1fr);
  perspective: 1500px;
}

section:nth-of-type(2) .grid,
section:nth-of-type(3) .grid {
  grid-template-columns: repeat(4, 1fr);
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  #services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  section:nth-of-type(2) .grid,
  section:nth-of-type(3) .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  #services-grid,
  section:nth-of-type(2) .grid,
  section:nth-of-type(3) .grid {
    grid-template-columns: 1fr;
  }
}

/* Animated background subtle movement */
@keyframes backgroundShift {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.02) translate(-1px, -1px); }
}

.background-image {
  animation: backgroundShift 20s ease-in-out infinite;
}

/* Modern gradient text */
.modern-gradient-text {
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced button hover effects */
.modern-btn-primary:hover {
  box-shadow: 0 20px 25px -5px rgba(239, 68, 68, 0.4), 0 10px 10px -5px rgba(239, 68, 68, 0.04);
}

/* Subtle text enhancement */
.modern-text-shadow {
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Header specific styles */
.header {
  background-color: #262626;
}

/* Mobile menu transitions */
.mobile-menu-enter {
  opacity: 0;
  transform: translateX(100%);
}

.mobile-menu-enter-active {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 300ms, transform 300ms;
}

.mobile-menu-exit {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu-exit-active {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 300ms, transform 300ms;
}

/* Hero section specific styles */
.hero-section {
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.hero-background {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 20;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
}

.hero-text {
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: 0.025em;
  text-shadow: 0 4px 8px rgba(0,0,0,0.9), 0 2px 4px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5);
}

.hero-tagline {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8), 0 1px 2px rgba(0,0,0,0.6);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
  
  .hero-tagline {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

/* Services Overview specific styles - Single unified background */
.services-overview-section {
  background: linear-gradient(to bottom, #1a1a1a, #262626);
  position: relative;
  overflow: hidden;
  margin-top: 0rem;
  width: 100%;
  padding-bottom: 0rem;
  z-index: 10;
}

.pt-48 {
  padding-top: 30rem;
}

/* Fixed service card styles */
.service-card {
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(239, 68, 68, 0.3);
}

/* Grid layout improvements */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  perspective: 1000px;
}

/* Responsive grid adjustments */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    height: 16rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.services-overview-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .services-overview-container {
    padding: 0 3rem;
  }
}

@media (min-width: 1024px) {
  .services-overview-container {
    padding: 0 6rem;
  }
}

.services-overview-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-overview-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  opacity: 0;
}

@media (min-width: 768px) {
  .services-overview-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .services-overview-title {
    font-size: 3rem;
  }
}

.services-overview-description {
  font-size: 1.125rem;
  color: #d1d5db;
  line-height: 1.75;
  max-width: 64rem;
  margin: 0 auto;
  opacity: 0;
}

@media (min-width: 768px) {
  .services-overview-description {
    font-size: 1.25rem;
  }
}

.services-highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .services-highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-highlight {
  text-align: center;
  opacity: 0;
}

.service-highlight-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(239, 68, 68, 0.2);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.service-highlight-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.75rem;
}

.service-highlight-description {
  color: #9ca3af;
}

/* CardsStack Component Styles - Removed conflicting duplicate styles */
/* Correct styles are defined below at line ~1147 */

.testimonial-text {
  font-size: 1.125rem;
  color: white;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar.pink {
  background-color: #fce7f3;
}

.author-avatar.blue {
  background-color: #dbeafe;
}

.author-avatar.green {
  background-color: #dcfce7;
}

.author-avatar.purple {
  background-color: #e9d5ff;
}

.author-initials {
  font-weight: 600;
  font-size: 1.125rem;
}

.author-initials.pink {
  color: #be185d;
}

.author-initials.blue {
  color: #1d4ed8;
}

.author-initials.green {
  color: #15803d;
}

.author-initials.purple {
  color: #7c3aed;
}

.author-name {
  color: white;
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 1.25rem;
    padding-top: 1.25rem; /* Explicit top padding for mobile consistency */
    margin: 0 0.5rem;
    max-width: 24rem;
    min-height: 160px; /* Fixed minimum height for mobile consistency */
  }
  
  .testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .author-avatar {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .author-initials {
    font-size: 1rem;
  }
  
  .cards-stack-container {
    min-height: 100vh;
  }
}

/* Footer specific styles */
.footer {
  background: linear-gradient(to bottom, #1a1a1a, #0f0f0f);
}

.footer-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .footer-container {
    padding: 0 3rem;
  }
}

@media (min-width: 1024px) {
  .footer-container {
    padding: 2rem 6rem;
  }
}

.footer-main-content {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
  justify-items: start;
}

@media (min-width: 768px) {
  .footer-main-content {
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
  }
}

.company-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.company-logo {
  display: flex;
  align-items: center;
  gap: 0rem;
}

.company-logo-icon {
  width: 2rem;
  height: 2rem;
  background-color: #ef4444;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-logo-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.company-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.company-description {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.75;
}

.company-features {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.company-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.company-feature svg {
  width: 1rem;
  height: 1rem;
  color: #f87171;
}

.company-feature span {
  color: #9ca3af;
  font-size: 0.75rem;
}

.services-section {
  display: flex;
  flex-direction: column;
  gap: 0rem;
}

.services-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none; /* Remove bullets from services list */
}

.services-list li a {
  color: #9ca3af;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.services-list li a:hover {
  color: white;
}

.contact-section {
  display: flex;
  flex-direction: column;
  gap: 0rem;
}

@media (min-width: 768px) {
  .contact-section {
    justify-self: end;
  }
}

.contact-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #f87171;
  margin-top: 0.125rem;
}

.contact-item div {
  display: flex;
  flex-direction: column;
}

.contact-item p {
  color: #9ca3af;
  font-size: 0.875rem;
}

.footer-bottom {
  padding-top: 0.75rem;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom-content {
    flex-direction: row;
  }
}

.copyright {
  font-size: 0.875rem;
  color: #9ca3af;
}

/* Animation Classes - Removed unused classes */

/* Testimonial cards - Simple stacking animation */
.testimonial-card {
  position: absolute;
  width: 100%;
  min-height: 180px; /* Fixed minimum height for consistent spacing */
  background-color: rgba(31, 41, 55, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  padding: 1.5rem;
  padding-top: 1.5rem; /* Explicit top padding to ensure consistency */
  max-width: 38rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0; /* Hidden initially to prevent flash on reload */
  box-sizing: border-box; /* Include padding in height calculation */
}

/* Cards stack container */
.cards-stack-container {
  position: relative;
  height: 900px; /* Height to show all 4 cards with 200px spacing each */
  width: 100%;
  max-width: 38rem;
  margin: 0 auto;
  overflow: hidden; /* Keep cards within the container */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #dc2626;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .text-gray-300 {
    color: var(--text-light) !important;
  }
  
  .text-gray-400 {
    color: #e5e5e5 !important;
  }
}

/* Truck Animation - Removed */

/* Enhanced Platform Statement Styles */
.platform-statement-section {
  padding-top: 13rem !important;
  padding-bottom: 13rem !important;
  background: linear-gradient(to bottom, #262626, #1a1a1a, #262626);
  position: relative;
  overflow: hidden;
}

/* Slide-in animation styles - Removed unused classes */

/* Enhanced platform statement animations */
@keyframes wordSlideIn {
  0% {
    opacity: 0;
    transform: translateY(50px) rotateX(90deg);
  }
  50% {
    opacity: 0.7;
    transform: translateY(25px) rotateX(45deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

@keyframes lineSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  50% {
    opacity: 0.5;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Platform statement background effects */
.platform-bg-effect {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.1);
  }
}

/* Enhanced text effects */
.platform-title-enhanced {
  background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.platform-description-enhanced {
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Stats animation */
.stat-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-item.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced responsive design for platform statement */
@media (max-width: 768px) {
  .platform-statement-section {
    padding: 4rem 0;
  }
  
  .word-animate {
    transform: translateY(30px) rotateX(45deg);
  }
  
  .line-animate {
    transform: translateX(-50px);
  }
}

/* Ready Control Section - Override CSS conflicts */
.ready-control-section {
  background: linear-gradient(to bottom right, #1a1a1a, #2d2d2d, #0a0a0a) !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Override conflicting gradient classes from CSS */
.ready-control-section.bg-gradient-to-br {
  background: linear-gradient(to bottom right, #1a1a1a, #2d2d2d, #0a0a0a) !important;
}

.ready-control-section.from-\[#1a1a1a\] {
  background: linear-gradient(to bottom right, #1a1a1a, #2d2d2d, #0a0a0a) !important;
}

.ready-control-section.via-\[#2d2d2d\] {
  background: linear-gradient(to bottom right, #1a1a1a, #2d2d2d, #0a0a0a) !important;
}

.ready-control-section.to-\[#0a0a0a\] {
  background: linear-gradient(to bottom right, #1a1a1a, #2d2d2d, #0a0a0a) !important;
}

/* Override the specific conflicting classes from lines 159-162 */
.ready-control-section .from-\[#262626\] {
  background: linear-gradient(to bottom right, #1a1a1a, #2d2d2d, #0a0a0a) !important;
}

.ready-control-section .via-\[#1a1a1a\] {
  background: linear-gradient(to bottom right, #1a1a1a, #2d2d2d, #0a0a0a) !important;
}

.ready-control-section .to-\[#262626\] {
  background: linear-gradient(to bottom right, #1a1a1a, #2d2d2d, #0a0a0a) !important;
}

.ready-control-section .to-\[#0f0f0f\] {
  background: linear-gradient(to bottom right, #1a1a1a, #2d2d2d, #0a0a0a) !important;
}

/* Override bg-gradient-to-b class */
.ready-control-section.bg-gradient-to-b {
  background: linear-gradient(to bottom right, #1a1a1a, #2d2d2d, #0a0a0a) !important;
}

/* Override any conflicting margin rules */
.ready-control-section .mb-16 {
  margin-bottom: 4rem !important;
  margin-top: 0 !important;
}

.ready-control-section.mb-16 {
  margin-bottom: 4rem !important;
  margin-top: 0 !important;
}

/* Ensure proper spacing for ready control section */
.ready-control-section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Color changing section - consolidated styles */
#color-changing-section {
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Initial state for color changing overlay - handled by JavaScript */
#color-changing-overlay {
  opacity: 1;
}

/* Make "1 million users, plus you" text bigger */
#color-changing-section .text-6xl {
  font-size: 8rem !important;
}

@media (min-width: 768px) {
  #color-changing-section .text-6xl {
    font-size: 10rem !important;
  }
}

@media (min-width: 1024px) {
  #color-changing-section .text-6xl {
    font-size: 12rem !important;
  }
}

#color-changing-section > div {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#color-changing-section .text-center {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 2rem;
  box-sizing: border-box;
}

/* Responsive text sizing for million users section */
@media (max-width: 480px) {
  #color-changing-section .text-center {
    padding: 1rem;
  }
  
  #color-changing-section .text-6xl {
    font-size: 4rem;
    line-height: 1.2;
  }
}

@media (max-width: 640px) {
  #color-changing-section .text-6xl {
    font-size: 4.5rem;
    line-height: 1.1;
  }
}

@media (min-width: 641px) and (max-width: 768px) {
  #color-changing-section .text-6xl {
    font-size: 6rem;
    line-height: 1.1;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  #color-changing-section .text-6xl {
    font-size: 8rem;
    line-height: 1.1;
  }
}

@media (min-width: 1025px) {
  #color-changing-section .text-6xl {
    font-size: 10rem;
    line-height: 1.1;
  }
}

@media (min-width: 1920px) {
  #color-changing-section .text-6xl {
    font-size: 12rem;
    line-height: 1.1;
  }
}

/* Team background section */
.team-background {
  background-image: url('/static/images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 7;
  position: relative;
}


/* Custom margin bottom rule */
.mb-12 {
  margin-bottom: 3rem;
  margin-top: 4rem;
}

/* Animation delay classes */
.animation-delay-1s {
  animation-delay: 1s;
}

.animation-delay-2s {
  animation-delay: 2s;
}

.animation-delay-0-5s {
  animation-delay: 0.5s;
}

/* Services Overview Section z-index */
#services-overview {
  z-index: 10;
  background-color: #1a1a1a;
}

#services-overview .title-layer {
  z-index: 5;
}

#services-overview .cards-layer {
  z-index: 15;
}

/* Individual card z-index */
#card1 { z-index: 1; }
#card2 { z-index: 2; }
#card3 { z-index: 3; }
#card4 { z-index: 4; }
#card5 { z-index: 5; }
#card6 { z-index: 6; }
#card7 { z-index: 7; }

/* Color changing section layers */
#color-changing-section .first-layer {
  z-index: 1;
}

#color-changing-section .second-layer {
  z-index: 2;
  background-color: #2A2A2A;
}

.dark-text {
  color: #2a2a2a;
}

/* Grid pattern overlay */
.grid-pattern-overlay {
  background-image: linear-gradient(rgba(220, 38, 38, 0.1) 1px, transparent 1px), 
                    linear-gradient(90deg, rgba(220, 38, 38, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Footer grid gap */
.footer-grid-gap {
  gap: 1rem 0rem;
}

/* Lottie player styling */
.lottie-player-transparent {
  width: 500px;
  height: 500px;
  background-color: transparent;
  background: transparent;
}
