html { scroll-behavior: smooth; }

:root {
  --brand-red: #dc2626;
  --brand-red-strong: #991b1b;
  --brand-orange: #f58a07;
  --brand-orange-soft: #ffb54a;
  --brand-navy: #0a1240;
  --brand-navy-soft: #1a2fa8;
  --surface-light: #f8faff;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  text-rendering: optimizeLegibility;
  background: radial-gradient(circle at 10% -10%, #fff8ea 0%, #ffffff 34%), #ffffff;
}

.font-display {
  font-family: 'Outfit', sans-serif;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 70;
  background: linear-gradient(90deg, var(--brand-orange), #ffd08a);
  box-shadow: 0 0 16px rgba(245, 138, 7, 0.55);
  transition: width 0.12s linear;
}

#back-to-top {
  position: fixed;
  bottom: 6.2rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: linear-gradient(145deg, var(--brand-red), var(--brand-red-strong));
  box-shadow: 0 16px 30px rgba(153, 27, 27, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.95);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 55;
}

#back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

#back-to-top:hover {
  transform: translateY(-3px) scale(1.04);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 30px rgba(220, 38, 38, 0.4), inset 0 0 20px rgba(220, 38, 38, 0.1); }
  50% { box-shadow: 0 0 50px rgba(220, 38, 38, 0.7), inset 0 0 30px rgba(220, 38, 38, 0.2); }
}

@keyframes truck-drive {
  0% { transform: translateX(-15px); }
  50% { transform: translateX(15px); }
  100% { transform: translateX(-15px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInBg {
  from { opacity: 0; }
  to { opacity: 1; }
}

.anim-up { animation: fadeInUp 0.7s ease both; }
.anim-left { animation: fadeInLeft 0.7s ease both; }
.anim-right { animation: fadeInRight 0.7s ease both; }
.anim-scale { animation: scaleIn 0.6s ease both; }
.anim-float { animation: float 3s ease-in-out infinite; }
.anim-truck { animation: truck-drive 4s ease-in-out infinite; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

.parallax-layer {
  will-change: transform;
  transition: transform 0.12s linear;
}

.hero-gradient {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 35%, #0f3460 65%, #1a1a2e 100%);
  position: relative;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(240, 84, 84, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-gradient h1,
.hero-gradient h2,
.hero-gradient h3 {
  text-shadow: 0 6px 22px rgba(3, 7, 24, 0.35);
}

.hero-gradient .text-navy-100 {
  color: #e1ebff !important;
}

.hero-gradient .text-navy-200 {
  color: #d2dfff !important;
}

.premium-gradient {
  background: linear-gradient(135deg, #e35f00 0%, #f58a07 46%, #dc2626 100%);
  box-shadow: 0 12px 30px rgba(229, 95, 0, 0.26);
}

.saffron-gradient {
  background: linear-gradient(135deg, #f58a07 0%, #fb9a2c 55%, #dc2626 100%);
  box-shadow: 0 10px 24px rgba(245, 138, 7, 0.32);
}

.premium-gradient,
.saffron-gradient,
.whatsapp-btn {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, background-color 0.25s ease;
}

@media (hover: hover) {
  .premium-gradient:hover,
  .saffron-gradient:hover,
  .whatsapp-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 14px 30px rgba(12, 18, 48, 0.22);
  }
}

@media (hover: none) {
  .premium-gradient:hover,
  .saffron-gradient:hover,
  .whatsapp-btn:hover {
    transform: none;
    filter: none;
  }

  .premium-gradient:active,
  .saffron-gradient:active,
  .whatsapp-btn:active {
    filter: brightness(0.97);
  }
}

.premium-gradient:focus-visible,
.saffron-gradient:focus-visible,
.whatsapp-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 2px;
}

button.premium-gradient:disabled,
button.saffron-gradient:disabled,
button.whatsapp-btn:disabled {
  opacity: 1;
  cursor: not-allowed;
  filter: saturate(0.88) brightness(0.94);
}

#quote-submit {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

#quote-submit:disabled {
  opacity: 1;
  cursor: not-allowed;
  filter: saturate(0.9) brightness(0.95);
}

.card-hover {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(26, 26, 46, 0.17), 0 0 0 1px rgba(245, 138, 7, 0.2);
}

.nav-blur {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(26, 26, 46, 0.9);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

header.scrolled {
  background: rgba(10, 18, 64, 0.96);
  border-color: rgba(148, 163, 184, 0.3);
  box-shadow: 0 8px 30px rgba(10, 18, 64, 0.35);
}

.nav-link-active {
  color: #ffd28e !important;
  text-shadow: 0 0 14px rgba(245, 138, 7, 0.45);
}

.text-gradient {
  background: linear-gradient(135deg, #dc2626, #f04444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.road-pattern {
  background-image: repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(220, 38, 38, 0.06) 40px, rgba(220, 38, 38, 0.06) 44px);
}

.service-icon-bg {
  background: linear-gradient(135deg, rgba(245, 138, 7, 0.15), rgba(220, 38, 38, 0.05));
  border: 1px solid rgba(245, 138, 7, 0.18);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.25), 0 4px 12px rgba(220, 38, 38, 0.15);
  border-color: #dc2626;
  transition: all 0.3s ease;
}

input,
textarea,
select {
  transition: all 0.3s ease;
}

.whatsapp-btn {
  background: #25d366;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
  background: #1ebe5d;
  box-shadow: 0 14px 30px rgba(12, 18, 48, 0.22);
}

.premium-text {
  letter-spacing: -0.02em;
}

#services {
  background: linear-gradient(180deg, #f8fbff 0%, #f1f6ff 100%);
}

#testimonials {
  background: linear-gradient(180deg, #f3f8ff 0%, #eef4ff 100%);
}

#market-data {
  background: radial-gradient(circle at 8% 12%, rgba(220, 38, 38, 0.08) 0%, rgba(220, 38, 38, 0) 35%), linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.data-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 12px 28px rgba(12, 18, 48, 0.08);
}

.data-card p:first-child {
  color: #0c1854;
}

#industries {
  background: radial-gradient(circle at 15% 10%, rgba(245, 138, 7, 0.12) 0%, rgba(245, 138, 7, 0) 42%), linear-gradient(180deg, #f6f9ff 0%, #eef3ff 100%);
}

.industry-card {
  position: relative;
}

.industry-card img {
  transition: transform 0.5s ease;
}

.industry-card:hover img {
  transform: scale(1.06);
}

.industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 56, 0.02) 25%, rgba(8, 16, 56, 0.32) 100%);
}

#operations-gallery {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.ops-stat-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 26px rgba(12, 18, 48, 0.08);
}

.gallery-tile {
  box-shadow: 0 14px 26px rgba(12, 18, 48, 0.1);
}

.gallery-tile img {
  transition: transform 0.45s ease, filter 0.45s ease;
  filter: saturate(1.04) contrast(1.03);
}

.gallery-tile:hover img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.05);
}

#fleet .h-40 img {
  filter: saturate(1.06) contrast(1.03);
}

#fleet .p-5 {
  padding: 1.15rem 1.2rem 1.25rem;
}

#fleet h3 {
  color: #0b153f;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}

#fleet p {
  color: #425070;
  line-height: 1.55;
}

#fleet .text-xs {
  font-size: 0.78rem;
  line-height: 1.35;
}

#fleet .text-saffron-600 {
  color: #d77800 !important;
  font-weight: 700;
}

#fleet .bg-navy-50 {
  background: linear-gradient(180deg, #f8fbff 0%, #f3f7ff 100%);
}

.modal-overlay {
  animation: fadeInBg 0.3s ease;
}

.modal-content {
  animation: slideInUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonial-dot {
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.testimonial-dot.is-active {
  background-color: #f58a07;
  transform: scale(1.25);
}

@media (max-width: 1024px) {
  #back-to-top {
    bottom: 5.7rem;
  }
}

@media (max-width: 768px) {
  .hero-text-large {
    font-size: 2rem !important;
  }

  .industry-card .h-44 {
    height: 11.25rem;
  }

  #back-to-top {
    right: 1rem;
    width: 2.7rem;
    height: 2.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
