/* ===== custom animations & styles ===== */
html {
  scroll-behavior: smooth;
}
/* general utilities */
.section-title { font-size: 1.875rem; font-weight: 700; color: #0f172a; }
.section-sub { color: #475569; margin-top: 0.5rem; }

/* header nav links */
.nav-link { color: #111827; font-weight: 600; transition: color .2s, transform .15s; }
.nav-link:hover { color: #ef4444; transform: translateY(-2px); }

/* buttons */
.btn-primary {
  background: linear-gradient(90deg,#ef4444,#2563eb);
  color: white;
  padding: .6rem 1rem;
  border-radius: .75rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(37,99,235,0.12);
  transition: transform .18s, box-shadow .18s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(37,99,235,0.16); }

.btn-cta { background: white; color: #ef4444; padding: .6rem 1.1rem; border-radius: .75rem; font-weight:700; }
.btn-cta:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(239,68,68,0.12); }

.btn-ghost { border: 1px solid rgba(255,255,255,.18); color: white; padding:.55rem .9rem; border-radius:.6rem; }
.btn-ghost:hover { background: rgba(255,255,255,.06); transform: translateY(-3px); }

.btn-primary-sm, .btn-primary { font-size: .95rem; }

/* small variants for white CTAs */
.btn-cta-white { background: white; color: #ef4444; padding:.6rem 1rem; border-radius:.6rem; font-weight:600; }
.btn-ghost-white { background: transparent; border: 1px solid rgba(255,255,255,.16); color:white; padding:.5rem .9rem; border-radius:.6rem; }

/* hero badges & stats */
.badge { display:inline-block; background:rgba(255,255,255,.08); color:#fff; padding:.4rem .7rem; border-radius:.6rem; font-weight:600; }

/* stat card */
.stat-card { background: rgba(255,255,255,.06); padding: .6rem .8rem; border-radius:.6rem; }

/* small road track behind moving truck */
.road-track {
  position: absolute;
  left: 0; right: 0; bottom: 1rem;
  height: 8px;
  background: linear-gradient(90deg,#e5e7eb 50%, transparent 50%);
  background-size: 12px 8px;
  transform: translateY(10px);
  opacity: .9;
  border-radius: 4px;
}

/* moving truck animation */
@keyframes truck-slide {
  0% { left: -30%; transform: translateX(0) scale(.98); opacity: .9; }
  50% { left: 35%; transform: translateX(12%) scale(1); opacity: 1; }
  100% { left: 120%; transform: translateX(20%) scale(.98); opacity: .9; }
}
#movingTruck { animation: truck-slide 9s linear infinite; }

/* card & layout */
.card { background: white; border-radius: 12px; padding: 1.25rem; box-shadow: 0 8px 30px rgba(15,23,42,0.06); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-8px); box-shadow: 0 18px 50px rgba(15,23,42,0.08); }

/* process + fleet + why cards */
.process-card, .fleet-card, .why-card, .testimonial-card, .plan-card, .faq-card {
  background: white; border-radius: 12px; padding: 1rem; box-shadow: 0 8px 20px rgba(2,6,23,0.06);
  transition: transform .2s, box-shadow .2s;
}
.process-card:hover, .why-card:hover, .fleet-card:hover, .plan-card:hover { transform: translateY(-8px); }

/* subtle floating animation */
@keyframes floaty { 0% { transform: translateY(0); } 50% { transform: translateY(-6px); } 100% { transform: translateY(0); } }
.animate-float { animation: floaty 4s ease-in-out infinite; }

/* reveal animations (default hidden) */
[class*="animate-"] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.animate-fade-in { transition-delay: .1s; }
.animate-fade-in-delay { transition-delay: .3s; }
.animate-fade-in-delay-2 { transition-delay: .5s; }
.animate-slide-up { transition-delay: .12s; }
.animate-slide-up-delay { transition-delay: .2s; }
.animate-zoom-in { transform: scale(.98) translateY(10px); transition: opacity .6s ease, transform .6s ease; }
.animate-zoom-in-delay { transition-delay: .15s; }
.animate-zoom-in-delay-2 { transition-delay: .3s; }

/* modal animation */
@keyframes modalIn { from { transform: translateY(20px) scale(.98); opacity:0 } to { transform: translateY(0) scale(1); opacity:1 } }
.animate-modal { animation: modalIn .36s ease-out; }

/* contact form / inputs */
.form-input {
  width: 100%;
  padding: .75rem .9rem;
  border-radius: .6rem;
  border: 1px solid #e6e7eb;
  outline: none;
  transition: box-shadow .18s, border-color .18s;
}
.form-input:focus { box-shadow: 0 8px 20px rgba(37,99,235,0.08); border-color: #2563eb; }

/* whatsapp float */
#whatsappFloat { background: linear-gradient(180deg,#25d366,#16a34a); border: 4px solid white; }

/* responsive tweaks */
@media (max-width: 1024px) {
  .stat-card { display: none; }
}

/* small helpers */
.icon-wrap { width: 56px; height: 56px; display:flex; align-items:center; justify-content:center; background:white; border-radius:12px; box-shadow:0 6px 18px rgba(2,6,23,0.06); }

.popular { border: 2px solid rgba(37,99,235,0.12); }

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes growLine {
  from { width: 0; opacity: 0; }
  to { width: 6rem; opacity: 1; }
}
.animate-fade-down { animation: fadeDown 0.8s ease forwards; }
.animate-fade-up { animation: fadeUp 0.8s ease 0.2s forwards; }
.animate-slide-up { animation: slideUp 1s ease 0.3s forwards; }
.animate-slide-up-delay { animation: slideUp 1s ease 0.6s forwards; }
.animate-slide-up-delay-2 { animation: slideUp 1s ease 0.9s forwards; }
.animate-grow-line { animation: growLine 1.2s ease 0.4s forwards; }

