:root {
  --bg: #f6f9ff;
  --panel: rgba(255,255,255,0.82);
  --panel-solid: #ffffff;
  --ink: #102746;
  --muted: #5d6d82;
  --line: rgba(16,39,70,0.14);
  --blue: #163f78;
  --cyan: #2e67b1;
  --mint: #dce8f7;
  --silver: #edf3fb;
  --shadow: 0 24px 70px rgba(23, 45, 79, 0.14);
  --soft-shadow: 0 18px 38px rgba(30, 58, 92, 0.1);
  --radius: 8px;
  --nav-width: min(75vw, 1180px);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, #f8fcff 0%, #eef7ff 36%, #ffffff 72%),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  overflow-x: hidden;
}

/* LOG IN AND SIGN UP */
/* LOG IN AND SIGN UP */
/* LOG IN AND SIGN UP */
/* LOG IN AND SIGN UP */
/* LOG IN AND SIGN UP */
/* LOG IN AND SIGN UP */

/* LOG IN AND SIGN UP */

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: clip;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-bar,
.footer-inner {
  width: var(--nav-width);
  max-width: calc(100vw - 28px);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px 16px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 20px 60px rgba(22, 63, 120, 0.18);
  backdrop-filter: blur(22px);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: white;
  background:
    linear-gradient(135deg, #d92732, var(--blue)),
    #1e78ff;
  box-shadow: 0 14px 30px rgba(36, 116, 255, 0.28);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a,
.ghost-btn,
.solid-btn {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  background: transparent;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    transform 220ms ease,
    background 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.nav-links a:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
  background: rgba(217, 39, 50, 0.10);
}

.solid-btn {
  color: #ffffff;
  background: linear-gradient(135deg, var(--ink), #163f78);
  box-shadow: 0 12px 28px rgba(12, 23, 36, 0.16);
}

.solid-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(12, 23, 36, 0.22);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--ink);
}

.hero-section {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  perspective: 1200px;
}

#city-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-section::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;

  background:
    radial-gradient(ellipse at 18% 18%, rgba(35,120,255,0.18), transparent 34%),
    radial-gradient(ellipse at 80% 16%, rgba(214,40,57,0.13), transparent 26%),
    radial-gradient(ellipse at 60% 92%, rgba(35,120,255,0.16), transparent 30%),
    radial-gradient(ellipse at 8% 82%, rgba(255,140,60,0.08), transparent 26%);
}

/* ═══════════════════════════════════════════
   CINEMATIC ROAD SCENE — UPGRADED
═══════════════════════════════════════════ */

.road-scene{
  position:absolute;
  inset:0;
  z-index:4;
  pointer-events:none;
  overflow:hidden;
  perspective:1600px;
  perspective-origin:50% 62%;
}

/* ── HIGHWAY SURFACE (deep 3-D perspective tilt) ── */
.highway{
  position:absolute;
  left:50%;
  bottom:-22%;
  width:200%;
  height:580px;

  transform:
    translateX(-50%)
    rotateX(82deg)
    scaleY(1.08);



  background:
    linear-gradient(
      180deg,
      rgba(12,20,32,0.96) 0%,
      rgba(4,8,18,1) 100%
    );

  box-shadow:
    0 0 80px rgba(35,120,255,0.28),
    0 0 160px rgba(214,40,57,0.14),
    inset 0 0 120px rgba(0,0,0,0.6);

  overflow:hidden;
}

/* Lane grid lines */
.highway::before{
  content:"";
  position:absolute;
  inset:0;

  background:
    repeating-linear-gradient(
      180deg,
      transparent 0 72px,
      rgba(255,255,255,0.055) 72px 78px
    ),
    linear-gradient(
      to bottom,
      rgba(35,120,255,0.08) 0%,
      transparent 40%
    );
}


/* ── ROAD SIDE GLOW STRIPS ── */
.highway-glow-l,
.highway-glow-r{
  position:absolute;
  bottom:-22%;
  width:18%;
  height:580px;
  pointer-events:none;
  z-index:5;

  transform:rotateX(82deg) scaleY(1.08);
}

.highway-glow-l{
  left:calc(50% - 100%);
  background:linear-gradient(to right, rgba(35,120,255,0.18), transparent);
}

.highway-glow-r{
  right:calc(50% - 100%);
  background:linear-gradient(to left, rgba(214,40,57,0.14), transparent);
}

/* ── CSS TRUCKS (background layer under Three.js canvas) ── */
.truck{
  position:absolute;
  width:210px;
  height:96px;
  bottom:20%;
  transform-style:preserve-3d;
  animation:truckMove 18s linear infinite;
  filter:drop-shadow(0 8px 22px rgba(0,0,0,0.45));
}

.truck-main{ left:-22%;  bottom:7%; }

.truck-secondary{
  left:-44%;
  bottom:4%;
  transform:scale(0.78);
  animation-delay:-9s;
  animation-duration:25s;
}

.truck-tertiary{
  left:-44%;
  bottom:2%;
  transform:scale(0.78);
  animation-delay:-13s;
  animation-duration:50s;
}

.truck-fourth{
  left:-44%;
  bottom:8%;
  transform:scale(0.78);
  animation-delay:-14s;
  animation-duration:40s;
}

.truck-body{
  position:absolute;
  width:136px;
  height:52px;
  left:62px;
  top:16px;
  border-radius:10px 10px 6px 6px;

  background:
    linear-gradient(
      160deg,
      #e63044 0%,
      #c42030 38%,
      #163f78 100%
    );

  box-shadow:
    0 0 28px rgba(214,40,57,0.45),
    0 0 60px rgba(35,120,255,0.28),
    inset 0 2px 0 rgba(255,255,255,0.18);
}

/* RELIABLE text label on truck body */
.truck-body::before{
  content:"RELIABLE";
  position:absolute;
  left:0; right:0;
  top:50%;
  transform:translateY(-50%);
  text-align:center;
  font-size:11px;
  font-weight:900;
  font-family:Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing:0.18em;
  color:rgba(255,255,255,0.96);
  text-shadow:
    0 1px 4px rgba(0,0,0,0.35),
    0 0 10px rgba(255,255,255,0.25);
  pointer-events:none;
  user-select:none;
}

/* Truck body stripe */
.truck-body::after{
  content:"";
  position:absolute;
  left:8px; right:8px;
  top:9px;
  height:4px;
  border-radius:4px;
  background:rgba(255,255,255,0.22);
}

.truck-cabin{
  position:absolute;
  width:66px;
  height:46px;
  left:0;
  top:18px;
  border-radius:12px 6px 4px 4px;

  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #d6e8ff 55%,
      #a8c8f0 100%
    );

  box-shadow:
    inset 0 -5px 14px rgba(0,0,0,0.1),
    inset 2px 2px 0 rgba(255,255,255,0.8);
}

/* Windshield glare */
.truck-cabin::before{
  content:"";
  position:absolute;
  top:6px; left:8px;
  width:28px; height:18px;
  border-radius:4px;
  background:linear-gradient(135deg,rgba(255,255,255,0.55),rgba(150,210,255,0.35));
}

/* Headlight dots */
.truck-cabin::after{
  content:"";
  position:absolute;
  bottom:10px; right:6px;
  width:10px; height:6px;
  border-radius:50%;
  background:radial-gradient(circle,#ffe8a0,#ffcc44);
  box-shadow:0 0 8px #ffcc44;
}

.wheel{
  position:absolute;
  bottom:2px;
  width:28px;
  height:28px;
  border-radius:50%;

  background:
    radial-gradient(circle at 42% 36%, rgba(255,255,255,0.18) 0%, transparent 55%),
    radial-gradient(circle,#333 30%, #0d0d0d 72%);

  box-shadow:
    0 0 0 3px rgba(150,170,190,0.55),
    0 3px 8px rgba(0,0,0,0.5);

  animation:wheelSpin 0.55s linear infinite;
}

.wheel-1{ left:18px; }
.wheel-2{ right:18px; }

/* ── HERO AIRPLANE (CSS layer — subtle, behind Three.js) ── */
/* ═══════════════════════════════════════
   HERO AIRPLANE — FULL SVG JET
═══════════════════════════════════════ */
/* ── HERO AIRPLANE (CSS layer — subtle, behind Three.js) ── */
/* ═══════════════════════════════════════
   HERO AIRPLANE — FIXED PROPER VERSION
═══════════════════════════════════════ */
 
.hero-airplane{
  position: absolute;
  top: 13%;
  left: -220px;          /* starts fully off-screen left */
  width: 220px;
  height: 70px;
  z-index: 9;
  pointer-events: none;
 
  /* Jet body — proper top-down silhouette on the element itself */
  clip-path: polygon(
    100% 46%,   /* nose point */
    84%  36%,   /* upper fuselage taper */
    64%  34%,   /* left wing root front */
    46%   2%,   /* left wingtip */
    34%  32%,   /* left wing root back */
    14%  28%,   /* left stabiliser root */
     4%  16%,   /* left stabiliser tip */
     8%  32%,   /* left stab root back */
     6%  44%,   /* tail centre top */
     6%  56%,   /* tail centre bottom */
     8%  66%,   /* right stab root back */
     4%  82%,   /* right stabiliser tip */
    14%  70%,   /* right stabiliser root */
    34%  66%,   /* right wing root back */
    46%  96%,   /* right wingtip */
    64%  64%,   /* right wing root front */
    84%  62%    /* lower fuselage taper */
  );
 
  background:
    linear-gradient(
      160deg,
      #e63044 0%,
      #c42030 38%,
      #163f78 100%
    );
  filter:
    drop-shadow(0 4px 12px rgba(20,70,160,0.5))
    drop-shadow(0 0 22px rgba(100,180,255,0.6))
    drop-shadow(0 0 50px rgba(35,120,255,0.3));
 
  animation: airplaneFly 18s linear infinite;
}
 
/* Contrail — extends behind the plane, fixed to left edge */
.hero-airplane::before{
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;           /* always attached to left edge of plane */
  width: 280px;
  height: 4px;
  transform: translateY(-50%);
 
  background: linear-gradient(
    to left,
    rgba(255,255,255,0.9)  0%,
    rgba(210,235,255,0.65) 20%,
    rgba(170,210,255,0.35) 50%,
    transparent            100%
  );
 
  border-radius: 99px;
  filter: blur(2px);
  animation: contrailPulse 3.5s ease-in-out infinite;
}
 
/* Engine glow dots */
.hero-airplane::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 30%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,220,255,0.9), transparent 70%);
  box-shadow:
    0 0 8px rgba(100,180,255,0.8),
    60px 0 8px rgba(100,180,255,0.8);
}
 

/* ── ROUTE OVERLAY ── */
.route-overlay{
  position:absolute;
  inset:0;
  z-index:3;
  pointer-events:none;
  overflow:hidden;
}

.route-line{
  position:absolute;
  height:2px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(35,120,255,0.95),
      transparent
    );

  box-shadow:
    0 0 14px rgba(35,120,255,0.5),
    0 0 28px rgba(35,120,255,0.25);

  animation:routeMove 8s linear infinite;
}

.route-a{
  width:320px;
  top:32%;
  left:-30%;
}

.route-b{
  width:240px;
  top:54%;
  left:-20%;
  animation-delay:-3s;
}

.route-c{
  width:420px;
  top:70%;
  left:-40%;
  animation-delay:-5s;
}

.floating-logistics{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
}

.float-icon{
  position:absolute;
  font-size:28px;
  opacity:0.08;
  animation:floatIcon 8s ease-in-out infinite;
}

.icon-1{
  top:18%;
  left:10%;
}

.icon-2{
  top:44%;
  right:12%;
}

.icon-3{
  top:70%;
  left:24%;
}

.icon-4{
  top:24%;
  right:30%;
}

.hero-inner{
  position:relative;
  z-index:10;
}

.cloud{
  backdrop-filter:blur(6px);
}

.metric-card,
.service-card,
.contact-card,
.review-card{
  position:relative;
  overflow:hidden;
}

.metric-card::before,
.service-card::before,
.contact-card::before,
.review-card::before{
  content:"";
  position:absolute;
  inset:-2px;

  background:
  linear-gradient(
    135deg,
    rgba(35,120,255,0.06),
    transparent,
    rgba(214,40,57,0.04)
  );

  z-index:0;
}

@keyframes truckMove{
  0%{
    transform:translateX(0) translateY(0px);
  }

  25%{
    transform:translateX(48vw) translateY(-1px);
  }

  50%{
    transform:translateX(96vw) translateY(0px);
  }

  75%{
    transform:translateX(136vw) translateY(-1px);
  }

  to{
    transform:translateX(188vw) translateY(0px);
  }
}

@keyframes wheelSpin{
  from{
    transform:rotate(0deg);
  }

  to{
    transform:rotate(360deg);
  }
}

@keyframes airplaneFly{
  0%{
    transform:
      translateX(0)
      translateY(0)
      scale(0.72);
    opacity:0;
  }

  6%{
    opacity:0.72;
  }

  50%{
    transform:
      translateX(72vw)
      translateY(-55px)
      scale(0.92);
    opacity:0.75;
  }

  92%{
    opacity:0.55;
  }

  100%{
    transform:
      translateX(148vw)
      translateY(-110px)
      scale(1.02);
    opacity:0;
  }
}

@keyframes roadFlow{
  from{
    background-position-y:0;
  }

  to{
    background-position-y:120px;
  }
}

@keyframes routeMove{
  from{
    transform:translateX(-10vw);
  }

  to{
    transform:translateX(130vw);
  }
}

@keyframes floatIcon{
  0%,100%{
    transform:translateY(0px);
  }

  50%{
    transform:translateY(-18px);
  }
}

/* ═══════════════════════════════════════
   CINEMATIC VIGNETTE & DEPTH EFFECTS
═══════════════════════════════════════ */

/* Vignette overlay on hero */
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 50% 50%,
      transparent 55%,
      rgba(8, 18, 34, 0.28) 100%
    );
}

/* Bottom atmospheric depth haze */
.hero-noise::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 38%;
  pointer-events: none;
  background:
    linear-gradient(
      to top,
      rgba(255,255,255,0.88) 0%,
      transparent 100%
    );
  z-index: 1;
}

/* Canvas gets a cinematic film-grain overlay */
#city-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Truck shadow on highway */
.truck::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 10%;
  width: 80%;
  height: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
  filter: blur(6px);
}

/* Route lines — upgraded glow */
.route-a { width: 360px; top: 30%; left: -32%; }
.route-b { width: 280px; top: 52%; left: -22%; animation-delay:-3s; }
.route-c { width: 460px; top: 68%; left: -42%; animation-delay:-5s; }

/* Floating icons — more visible */
.float-icon { font-size: 30px; opacity: 0.11; animation: floatIcon 8s ease-in-out infinite; }
.icon-1 { top: 17%; left: 9%;  animation-delay: 0s; }
.icon-2 { top: 43%; right: 11%; animation-delay: -2s; }
.icon-3 { top: 69%; left: 22%; animation-delay: -4s; }
.icon-4 { top: 23%; right: 28%; animation-delay: -6s; }

@media (max-width: 768px) {

  .truck-secondary,
  .floating-logistics,
  .route-overlay{
    display:none;
  }

  .truck{
    width:120px;
    height:60px;
  }

  .highway{
    height:260px;
    opacity:0.8;
  }

  .hero-airplane{
    width:90px;
  }
}

.sky-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 18% 14%, rgba(71,210,255,0.28), transparent 32%),
    radial-gradient(ellipse at 82% 16%, rgba(255,160,80,0.14), transparent 28%),
    radial-gradient(ellipse at 50% 85%, rgba(35,120,255,0.12), transparent 38%),
    linear-gradient(
      180deg,
      #e8f6ff 0%,
      #d4eeff 22%,
      #edf8ff 50%,
      #f8fcff 80%,
      #ffffff 100%
    );
}

.cloud {
  position: absolute;
  width: 260px;
  height: 72px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 40% 60%, rgba(255,255,255,1) 0%, rgba(230,244,255,0.88) 100%);
  box-shadow:
    28px 12px 44px rgba(70,110,160,0.16),
    -8px 6px 22px rgba(200,220,240,0.3),
    inset 0 -18px 32px rgba(190,215,240,0.45);
  animation: cloudDrift 36s linear infinite;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}

.cloud::before {
  width: 106px;
  height: 106px;
  left: 40px;
  top: -50px;
  background: radial-gradient(ellipse at 40% 55%, rgba(255,255,255,1), rgba(220,238,255,0.9));
}

.cloud::after {
  width: 144px;
  height: 144px;
  left: 102px;
  top: -74px;
  background: radial-gradient(ellipse at 42% 52%, rgba(255,255,255,1), rgba(225,242,255,0.88));
}

.cloud-a {
  left: 6%;
  top: 19%;
}

.cloud-b {
  left: 55%;
  top: 14%;
  width: 190px;
  transform: scale(0.82);
  animation-duration: 42s;
  animation-delay: -12s;
}

.cloud-c {
  left: 76%;
  top: 31%;
  width: 160px;
  transform: scale(0.7);
  animation-duration: 48s;
  animation-delay: -20s;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image:
    linear-gradient(rgba(12, 23, 36, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 23, 36, 0.03) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, transparent 0, black 42%, black 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 8;
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 160px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
  opacity: 0;
  transform: translate3d(-38px, 34px, 0) rotateX(8deg);
  filter: blur(16px);
  transition:
    opacity 900ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 900ms ease;
}

.hero-ready .hero-copy {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateX(0deg);
  filter: blur(0);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 9vw, 8.6rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
}

.detailed{
  color: red;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 4.8rem);
  line-height: 0.97;
  letter-spacing: 0;
  text-wrap: balance;
}


h3 {
  font-size: 1.25rem;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 28px;
  color: #3f4f64;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-cta,
.secondary-cta,
.icon-btn,
.close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.primary-cta {
  min-height: 54px;
  padding: 0 24px;
  color: white;
  background: linear-gradient(135deg, var(--blue), #00b7ff);
  box-shadow: 0 20px 42px rgba(36, 116, 255, 0.24);
}

.secondary-cta {
  min-height: 54px;
  padding: 0 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.primary-cta:hover,
.secondary-cta:hover,
.icon-btn:hover,
.close-btn:hover {
  transform: translateY(-3px);
}

.full-width {
  width: 100%;
}

.metric-panel {
  display: grid;
  gap: 14px;
  transform-style: preserve-3d;
}

.metric-card {
  min-height: 118px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
  transform: rotateY(-11deg) rotateX(3deg);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease;
}

.metric-card:hover {
  transform: rotateY(-5deg) translateY(-4px);
  box-shadow: var(--shadow);
}

.metric-card strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
  font-weight: 800;
}

.sound-toggle {
  position: absolute;
  right: max(24px, 6vw);
  top: 116px;
  z-index: 14;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(16px);
}

.sound-wave,
.sound-wave::before,
.sound-wave::after {
  display: block;
  position: absolute;
  border: 2px solid var(--blue);
  border-left: 0;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 0 999px 999px 0;
}

.sound-wave {
  width: 15px;
  height: 24px;
  top: 14px;
  left: 19px;
}

.sound-wave::before,
.sound-wave::after {
  content: "";
  top: 50%;
  transform: translateY(-50%);
}

.sound-wave::before {
  left: -11px;
  width: 10px;
  height: 14px;
}

.sound-wave::after {
  left: 12px;
  width: 12px;
  height: 34px;
  opacity: 0;
}

.sound-on .sound-wave::after {
  opacity: 1;
  animation: pulseWave 1.1s ease-in-out infinite;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 10;
  width: 28px;
  height: 46px;
  border: 1px solid rgba(12, 23, 36, 0.2);
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.58);
}

.scroll-cue span {
  display: block;
  width: 5px;
  height: 5px;
  margin: 10px auto 0;
  border-radius: 50%;
  background: var(--blue);
  animation: scrollCue 1.6s ease-in-out infinite;
}

.section {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 112px 0;
  position: relative;
  scroll-margin-top: 128px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.icon-btn,
.close-btn {
  width: 46px;
  height: 46px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.services-carousel {
  overflow: hidden;
  padding: 18px 0 34px;
}

.service-track {
  display: flex;
  gap: 20px;
  transition: transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.service-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-height: 390px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 250, 255, 0.72)),
    #ffffff;
  box-shadow: var(--soft-shadow);
  transform: translateZ(0) rotateX(0);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.service-card:hover {
  transform: translateY(-10px) rotateX(4deg);
  border-color: rgba(36, 116, 255, 0.2);
  box-shadow: var(--shadow);
}

.service-card p {
  margin: 22px 0 8px;
  color: var(--blue);
  font-weight: 900;
}

.service-card span {
  color: var(--muted);
  line-height: 1.7;
}

.card-visual {
  position: relative;
  height: 150px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(36, 116, 255, 0.08), rgba(71, 210, 255, 0.18)),
    #f8fcff;
  overflow: hidden;
  transform-style: preserve-3d;
}

.card-visual::before,
.card-visual::after {
  content: "";
  position: absolute;
  border-radius: var(--radius);
  transform-style: preserve-3d;
}

.freight-visual::before {
  width: 92px;
  height: 48px;
  left: 42px;
  top: 54px;
  background: linear-gradient(135deg, #ffffff, #dcecff);
  border: 1px solid rgba(36, 116, 255, 0.18);
  box-shadow: 44px 24px 0 -8px rgba(36, 116, 255, 0.86);
  transform: rotateX(58deg) rotateZ(-18deg);
}

.cold-visual::before {
  width: 82px;
  height: 82px;
  left: 50%;
  top: 50%;
  border: 3px solid rgba(36, 116, 255, 0.58);
  transform: translate(-50%, -50%) rotateX(58deg) rotateZ(45deg);
}

.cold-visual::after {
  width: 16px;
  height: 110px;
  left: 50%;
  top: 20px;
  background: rgba(71, 210, 255, 0.48);
  transform: translateX(-50%) rotateZ(35deg);
}

.fleet-visual::before {
  width: 124px;
  height: 54px;
  left: 36px;
  top: 62px;
  background: #ffffff;
  border: 1px solid rgba(12, 23, 36, 0.12);
  box-shadow:
    32px 24px 0 -10px rgba(57, 214, 165, 0.95),
    88px 12px 0 -18px rgba(36, 116, 255, 0.85);
  transform: rotateX(55deg) rotateZ(-12deg);
}

.port-visual::before {
  width: 150px;
  height: 70px;
  left: 34px;
  top: 58px;
  background:
    repeating-linear-gradient(90deg, #ffffff 0 18px, #dfefff 18px 24px);
  border: 1px solid rgba(36, 116, 255, 0.18);
  transform: rotateX(52deg) rotateZ(-8deg);
}

.home-visual::before {
  width: 102px;
  height: 84px;
  left: 52px;
  top: 44px;
  background: linear-gradient(135deg, #ffffff, #edf6ff);
  clip-path: polygon(50% 0, 100% 36%, 100% 100%, 0 100%, 0 36%);
  border: 1px solid rgba(36, 116, 255, 0.14);
  transform: rotateY(-20deg) rotateX(12deg);
}

.calculator-section {
  padding-top: 76px;
}

.calculator-grid,
.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 22px;
  align-items: stretch;
}

.calculator-card,
.quote-card,
.appointment-card,
.review-form,
.service-request,
.review-card,
.auth-panel {
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
}

.calculator-card,
.appointment-card,
.review-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: #31435a;
  font-size: 0.86rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(12, 23, 36, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  padding: 14px 14px;
  outline: 0;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(36, 116, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(36, 116, 255, 0.1);
  background: #ffffff;
}

.quote-card {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 330px;
  padding: 30px;
  overflow: hidden;
  isolation: isolate;
}

.quote-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -44% 22%;
  z-index: -1;
  height: 220px;
  border-radius: 50%;
  background: rgba(71, 210, 255, 0.25);
  filter: blur(8px);
}

.quote-card span,
.quote-card p {
  color: var(--muted);
  font-weight: 800;
}

.quote-card strong {
  margin: 12px 0;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.95;
}

.mini-route {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.mini-route span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: var(--blue);
}

.mini-route span:nth-child(1) {
  width: 18px;
  background: var(--mint);
}

.mini-route span:nth-child(2) {
  width: 48%;
  background: linear-gradient(90deg, var(--mint), var(--cyan), var(--blue));
}

.mini-route span:nth-child(3) {
  width: 18px;
}

.founder-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 0;
}

.founder-left{
  flex: 1;
  display: flex;
  justify-content: center;
}

.founder-image-wrap{
  position: relative;
}

.founder-image-wrap img{
  width: 380px;
  max-width: 100%;
  border-radius: 30px;
  object-fit: cover;
  border: 4px solid rgba(214,40,57,0.12);
  box-shadow:
    0 20px 50px rgba(22,63,120,0.18),
    0 10px 25px rgba(214,40,57,0.10);
  transition: 0.5s ease;
}

.founder-image-wrap img:hover{
  transform: translateY(-10px) scale(1.02);
}

.founder-card {
  position: absolute;
  width: min(70vw, 300px);
  height: 360px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(237, 247, 255, 0.72)),
    #ffffff;
  box-shadow: var(--shadow);
  transform: rotateY(-16deg) rotateX(7deg);
}

.founder-copy h2{
  color: #000;
}

.founder-card span {
  position: absolute;
  top: 50px;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 32%, #ffffff 0 8px, transparent 9px),
    linear-gradient(135deg, #dcecff, #ffffff 58%, #b8ddff);
  box-shadow: 0 20px 40px rgba(36, 116, 255, 0.16);
}

.founder-card strong {
  align-self: end;
  margin-bottom: 70px;
  font-size: 4.4rem;
  color: rgba(36, 116, 255, 0.16);
}

.founder-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.founder-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.founder-stats span {
  display: grid;
  gap: 4px;
  min-width: 178px;
  padding: 18px;
  border: 1px solid rgba(12, 23, 36, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  box-shadow: var(--soft-shadow);
}

.founder-stats strong {
  color: var(--ink);
  font-size: 1.5rem;
}




/* ===================================== */
/* CONTACT SECTION                       */
/* ===================================== */

.contact-section{
  position:relative;
  overflow:hidden;

  padding:140px 8%;

  background:
  linear-gradient(
    to bottom,
    #f7fbff,
    #eef7ff
  );

}

/* ===================================== */
/* GLOW EFFECTS                          */
/* ===================================== */

.contact-glow{

  position:absolute;
  border-radius:50%;
  filter:blur(90px);
  opacity:0.4;
  z-index:1;

}

.glow-1{

  width:350px;
  height:350px;

  background:#7fd6ff;

  top:-120px;
  left:-120px;

}

.glow-2{

  width:420px;
  height:420px;

  background:#2378ff;

  bottom:-180px;
  right:-180px;

}

/* ===================================== */
/* CONTENT                               */
/* ===================================== */

.contact-content{

  position:relative;
  z-index:5;

  max-width:1200px;
  margin:auto;
  text-align:center;

}

.section-tag{

  display:inline-block;

  padding:12px 24px;

  border-radius:999px;

  background:
  rgba(255,255,255,0.7);

  backdrop-filter:blur(12px);

  color:#2378ff;

  font-weight:700;
  letter-spacing:2px;
  font-size:14px;

  margin-bottom:28px;

  box-shadow:
  0 10px 30px rgba(0,0,0,0.06);

}

/* ===================================== */
/* UNIQUE FUTURISTIC CONTACT TITLE       */
/* ===================================== */

.contact-content h2{

  position: relative;

  font-size: clamp(3rem, 8vw, 7rem);

  font-weight: 900;

  text-transform: uppercase;

  letter-spacing: -3px;

  line-height: 1;

  margin-bottom: 30px;

  /* MAIN MAGIC */

  color: transparent;

  -webkit-text-stroke: 2px #2378ff;

  background:
  linear-gradient(
    135deg,
    rgba(255,255,255,0.08),
    rgba(35,120,255,0.18),
    rgba(255,255,255,0.05)
  );

  -webkit-background-clip: text;
  background-clip: text;

  /* GLOW EFFECT */

  text-shadow:
    0 0 8px rgba(35,120,255,0.35),
    0 0 20px rgba(35,120,255,0.25),
    0 0 45px rgba(0,198,255,0.18);

  animation:
    glowPulse 4s ease-in-out infinite;

}

/* ===================================== */
/* MOVING LIGHT EFFECT                   */
/* ===================================== */

.contact-content h2::before{

  content: attr(data-text);

  position: absolute;

  inset: 0;

  color: transparent;

  -webkit-text-stroke: 1px rgba(255,255,255,0.7);

  filter: blur(8px);

  opacity: 0.7;

  z-index: -1;

}

/* ===================================== */
/* SHIMMER LIGHT                         */
/* ===================================== */

.contact-content h2::after{

  content: "";

  position: absolute;

  top: 0;
  left: -120%;

  width: 60%;
  height: 100%;

  background:
  linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.8),
    transparent
  );

  transform: skewX(-25deg);

  animation:
    shimmerMove 5s linear infinite;

}

/* ===================================== */
/* GLOW ANIMATION                        */
/* ===================================== */

@keyframes glowPulse{

  0%,100%{

    transform:
    translateY(0px);

    text-shadow:
      0 0 8px rgba(35,120,255,0.35),
      0 0 20px rgba(35,120,255,0.25),
      0 0 45px rgba(0,198,255,0.18);

  }

  50%{

    transform:
    translateY(-8px);

    text-shadow:
      0 0 12px rgba(35,120,255,0.6),
      0 0 30px rgba(35,120,255,0.45),
      0 0 60px rgba(0,198,255,0.35);

  }

}

/* ===================================== */
/* SHIMMER ANIMATION                     */
/* ===================================== */

@keyframes shimmerMove{

  0%{

    left:-120%;

  }

  100%{

    left:140%;

  }

}

.contact-desc{

  max-width:720px;

  margin:auto auto 70px;

  color:#5f7189;

  line-height:1.8;

  font-size:1.1rem;

}

/* ===================================== */
/* CONTACT GRID                          */
/* ===================================== */

.contact-grid{

  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(260px,1fr));

  gap:28px;

}

/* ===================================== */
/* CARDS                                 */
/* ===================================== */

.contact-card{

  position:relative;

  padding:40px 30px;

  border-radius:32px;

  background:
  rgba(255,255,255,0.7);

  backdrop-filter:blur(16px);

  border:
  1px solid rgba(255,255,255,0.8);

  box-shadow:
  0 20px 60px rgba(0,0,0,0.06);

  transition:0.45s ease;

  overflow:hidden;

}

.contact-card::before{

  content:"";

  position:absolute;

  inset:0;

  background:
  linear-gradient(
    135deg,
    rgba(35,120,255,0.12),
    transparent
  );

  opacity:0;

  transition:0.4s ease;

}

.contact-card:hover{

  transform:
  translateY(-12px)
  scale(1.02);

}

.contact-card:hover::before{

  opacity:1;

}

.card-icon{

  width:85px;
  height:85px;

  margin:auto auto 22px;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:2rem;

  background:
  linear-gradient(
    135deg,
    #2378ff,
    #00c6ff
  );

  color:white;

  box-shadow:
  0 20px 40px rgba(35,120,255,0.25);

}

.contact-card h3{

  font-size:1.5rem;

  color:#0b1b35;

  margin-bottom:16px;

}

.contact-card p{

  color:#5f7189;

  line-height:1.7;

}

/* ===================================== */
/* PHONE ANIMATION                       */
/* ===================================== */

.phone-wrapper{

  position:absolute;

  top:80px;
  right:8%;

  width:220px;
  height:220px;

  z-index:4;

}

/* SIGNAL RINGS */

.signal-ring{

  position:absolute;

  inset:0;

  border-radius:50%;

  border:
  2px solid rgba(35,120,255,0.2);

  animation:signal 3s infinite;

}

.ring-2{

  animation-delay:1s;

}

.ring-3{

  animation-delay:2s;

}

@keyframes signal{

  0%{

    transform:scale(0.7);
    opacity:0.8;

  }

  100%{

    transform:scale(1.5);
    opacity:0;

  }

}

/* PHONE */

.phone{

  position:absolute;

  inset:35px;

  border-radius:38px;

  background:
  linear-gradient(
    145deg,
    rgba(255,255,255,0.95),
    rgba(255,255,255,0.75)
  );

  backdrop-filter:blur(18px);

  box-shadow:
  0 25px 60px rgba(0,0,0,0.12);

  display:flex;
  align-items:center;
  justify-content:center;

  animation:floatPhone 4s ease-in-out infinite;

}

@keyframes floatPhone{

  0%,100%{

    transform:
    translateY(0px)
    rotate(-5deg);

  }

  50%{

    transform:
    translateY(-18px)
    rotate(5deg);

  }

}

.phone-screen{

  width:85%;
  height:85%;

  border-radius:28px;

  background:
  linear-gradient(
    135deg,
    #2378ff,
    #00c6ff
  );

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  color:white;

  text-align:center;

}

/* HEADER */

.call-header{

  position:absolute;

  top:20px;

  font-size:13px;
  font-weight:700;

  display:flex;
  align-items:center;
  gap:8px;

}

.dot{

  width:10px;
  height:10px;

  border-radius:50%;

  background:#4dff88;

  box-shadow:
  0 0 15px #4dff88;

  animation:pulse 1.2s infinite;

}

@keyframes pulse{

  0%,100%{

    transform:scale(1);

  }

  50%{

    transform:scale(1.4);

  }

}

/* PHONE ICON */

.phone-icon{

  font-size:4rem;

  animation:ring 1s infinite;

}

@keyframes ring{

  0%,100%{

    transform:rotate(0deg);

  }

  20%{

    transform:rotate(18deg);

  }

  40%{

    transform:rotate(-18deg);

  }

  60%{

    transform:rotate(12deg);

  }

  80%{

    transform:rotate(-12deg);

  }

}

.call-text{

  margin-top:16px;

  font-weight:600;

  font-size:15px;

}

/* ===================================== */
/* MOBILE                                */
/* ===================================== */

@media(max-width:900px){

  .phone-wrapper{

    position:relative;

    top:auto;
    right:auto;

    margin:0 auto 70px;

  }

}


.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-request {
  position: relative;
  padding: 28px;
  overflow: hidden;
}

.service-request h3 {
  margin-top: 210px;
}

.service-request p,
.service-request li {
  color: var(--muted);
  line-height: 1.65;
}

.service-request ul {
  padding-left: 19px;
  margin: 18px 0 0;
}

.request-model {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  height: 185px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(36, 116, 255, 0.08), rgba(57, 214, 165, 0.14)),
    #f7fbff;
  perspective: 800px;
  overflow: hidden;
}

.request-box {
  position: absolute;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(36, 116, 255, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #dcecff);
  box-shadow: 0 22px 44px rgba(36, 116, 255, 0.14);
  animation: floatBox 4s ease-in-out infinite;
}

.box-one {
  left: 22%;
  top: 48px;
  transform: rotateX(58deg) rotateZ(35deg);
}

.box-two {
  left: 48%;
  top: 70px;
  animation-delay: -1.2s;
  transform: rotateX(58deg) rotateZ(18deg);
}

.box-three {
  left: 66%;
  top: 42px;
  animation-delay: -2.1s;
  transform: rotateX(58deg) rotateZ(-24deg);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.7fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.review-form {
  position: sticky;
  top: 118px;
}

.review-form h3 {
  margin-bottom: 0;
}

.review-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  min-height: 250px;
  padding: 24px;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease;
}

.review-card:hover {
  transform: translateY(-8px) rotateX(3deg);
  box-shadow: var(--shadow);
}

.review-card p {
  color: #35475d;
  font-size: 1.05rem;
  line-height: 1.75;
}

.review-rating {
  display: inline-flex;
  gap: 3px;
  margin-bottom: 14px;
  color: #2474ff;
  font-weight: 900;
}

.review-card strong,
.review-card span {
  display: block;
}

.review-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: center;
  padding: 34px 0 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(232, 242, 252, 0.82)),
    transparent;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
}

.footer-inner p {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  color: #34475f;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--blue);
}

.floating-socials {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  gap: 9px;
}

.floating-socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  box-shadow: var(--soft-shadow);
  font-weight: 900;
  backdrop-filter: blur(16px);
  transition:
    transform 220ms ease,
    color 220ms ease;
}

.floating-socials a:hover {
  transform: translateY(-4px);
  color: var(--blue);
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(8, 19, 32, 0.34);
  backdrop-filter: blur(10px);
}

.auth-modal.open {
  display: grid;
}

.auth-panel {
  width: min(430px, 100%);
  position: relative;
  padding: 24px;
  transform: translateY(20px) scale(0.96);
  animation: modalIn 220ms ease forwards;
}

.close-btn {
  position: absolute;
  right: 16px;
  top: 16px;
}

.auth-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(217, 39, 50, 0.10);
}

.auth-tab {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}

.auth-tab.active {
  color: white;
  background: var(--blue);
}

.auth-form {
  display: none;
  gap: 14px;
}

.auth-form.active {
  display: grid;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 720ms ease,
    transform 720ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.no-webgl #city-canvas {
  opacity: 0.08;
}

@keyframes cloudDrift {
  0% {
    translate: -8vw 0;
  }
  100% {
    translate: 8vw 0;
  }
}

@keyframes pulseWave {
  0%,
  100% {
    opacity: 0.25;
    transform: translateY(-50%) scaleX(0.86);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scaleX(1.08);
  }
}

@keyframes scrollCue {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(18px);
    opacity: 0;
  }
}

@keyframes floatBox {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -18px;
  }
}

@keyframes modalIn {
  to {
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  :root {
    --nav-width: min(92vw, 1180px);
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    display: none;
    width: min(92vw, 520px);
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    transform: translateX(-50%);
  }

  .nav-links.open {
    display: flex;
  }

  .hero-inner,
  .calculator-grid,
  .booking-grid,
  .founder-section {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 142px;
  }

  .metric-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metric-card {
    transform: none;
    min-height: 100px;
    padding: 18px;
  }

  .service-card {
    flex-basis: calc((100% - 20px) / 2);
  }

  .review-strip {
    grid-template-columns: 1fr;
  }

  .reviews-layout {
    grid-template-columns: 1fr;
  }

  .review-form {
    position: static;
  }

  .footer-inner {
    border-radius: 28px;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
  }

  .nav-bar {
    min-height: 64px;
    padding: 10px 12px;
  }

  .brand {
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .sound-toggle {
    top: 92px;
    right: 18px;
    width: 46px;
    height: 46px;
  }

  .hero-section {
    min-height: 920px;
  }

  .hero-inner {
    padding-top: 150px;
    gap: 28px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .metric-panel,
  .form-row,
  .review-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading {
    display: block;
  }

  .carousel-controls {
    margin-top: 22px;
  }

  .service-card {
    flex-basis: 100%;
  }

  .founder-visual {
    min-height: 380px;
  }

  .floating-socials {
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}


/* --- Reliable Inter-City Logistics Theme Upgrade --- */

.solid-btn,
.cta-btn,
.primary-btn {
    background: linear-gradient(135deg, #d92732 0%, #163f78 100%) !important;
    box-shadow: 0 12px 32px rgba(217, 39, 50, 0.24) !important;
}

.solid-btn:hover,
.cta-btn:hover,
.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(22, 63, 120, 0.28) !important;
}

.brand span,
.hero-title .highlight,
.section-title .highlight {
    background: linear-gradient(135deg, #d92732, #163f78);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card,
.feature-card,
.service-card {
    border: 1px solid rgba(22, 63, 120, 0.08);
    box-shadow: 0 18px 40px rgba(22, 63, 120, 0.08);
}

.footer,
.site-footer {
    background: linear-gradient(135deg, #102746 0%, #163f78 100%);
}

.social-float a:hover {
    background: #d92732 !important;
}



/* ===== Reliable Brand Refinement ===== */

:root{
    --brand-red:#d62839;
    --brand-blue:#163f78;
    --brand-dark:#102746;
    --brand-light:#f4f8ff;
}

/* Global background balance */
body{
    background: linear-gradient(180deg,#f8fbff 0%, #edf4fc 100%) !important;
    color: var(--brand-dark) !important;
}

/* Section titles */
.section-title,
.form-title,
.card-title,
.title,
.heading,
h3{
    color: var(--brand-red) !important;
    letter-spacing: 0.5px;
}

h2{
  color: var(--brand-red) !important;
    letter-spacing: 0.5px;
}

.founder-copy h2{
  color: #000 !important;
  letter-spacing: 0.5px;
}

/* Main text */
p,
li,
span,
label,
input,
textarea{
    color: var(--brand-dark);
}

img{
  z-index: 9999 !important;
}

/* Reliable red + Intercity blue branding */
.brand .reliable,
.logo .reliable,
.hero-title .reliable{
    color: var(--brand-red) !important;
}

.brand .intercity,
.logo .intercity,
.hero-title .intercity{
    color: var(--brand-blue) !important;
}

/* Highlight lines */
.highlight,
.highlight-text{
    color: var(--brand-red) !important;
}

/* Cards */
.card,
.service-card,
.feature-card,
.glass-card{
    background: rgba(255,255,255,0.94) !important;
    border: 1px solid rgba(22,63,120,0.08);
    backdrop-filter: blur(12px);
}

/* Forms */
form,
.contact-form{
    background: rgba(255,255,255,0.96) !important;
    border: 1px solid rgba(214,40,57,0.08);
}

/* Inputs */
input,
textarea,
select{
    border: 1px solid rgba(22,63,120,0.18) !important;
    color: var(--brand-dark) !important;
}

input:focus,
textarea:focus{
    border-color: var(--brand-red) !important;
    box-shadow: 0 0 0 4px rgba(214,40,57,0.08);
}

/* Buttons */
button,
.cta-btn,
.primary-btn{
    background: linear-gradient(135deg,var(--brand-red),var(--brand-blue)) !important;
    color: white !important;
}

/* Navbar */
.navbar{
    background: rgba(255,255,255,0.78) !important;
    border: 1px solid rgba(22,63,120,0.08);
}

/* Footer */
footer,
.footer{
    background: linear-gradient(135deg,#102746,#163f78) !important;
}

footer h2,
footer h3,
footer .section-title{
    color: #ffffff !important;
}


/* Mobile: simplify truck/road animation and make hero/section taller */
@media (max-width: 480px) {

  /* Elongate hero/section so animation has more vertical room */
  .hero-section {
    min-height: 120svh;
  }

  .section {
    padding: 160px 0;
  }

  /* Make highway shallower but still visible on small screens */
  .highway {
    height: 320px;
    bottom: -18%;
    width: 240%;
    transform: translateX(-50%) rotateX(78deg) scaleY(1.02);
  }

  .highway-glow-l,
  .highway-glow-r{
    height:320px;
    bottom:-18%;
    transform: rotateX(78deg) scaleY(1.02);
    width:20%;
  }

  /* Compact trucks and simplify animation for precision */
  .truck{
    width:140px !important;
    height:64px !important;
    bottom:2% !important;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.4));
    animation: truckMoveMobile 12s linear infinite !important;
  }

  /* Slightly smaller secondary trucks (if present) */
  .truck-secondary,
  .truck-tertiary,
  .truck-fourth{ 
    transform: scale(0.72) !important;
  }

  /* Scale down truck parts to match new overall size */
  .truck-body{
    width:92px !important;
    height:36px !important;
    left:44px !important;
    top:12px !important;
    border-radius:8px 8px 5px 5px;
  }

  .truck-body::before{ font-size:9px; }

  .truck-cabin{
    width:44px !important;
    height:32px !important;
    top:12px !important;
    left:0 !important;
    border-radius:10px 6px 4px 4px;
  }

  .wheel{ 
    width:18px !important;
    height:18px !important;
    bottom:2px !important;
    animation-duration:0.5s !important;
  }

  /* Hide extra decorative layers to keep mobile animation simple */
  .route-overlay,
  .route-line,
  .floating-logistics,
  .truck-secondary{
    display: none !important;
  }

  /* Simpler truck horizontal animation tailored for narrow viewports */
  @keyframes truckMoveMobile{
    0%{ transform: translateX(-24vw) translateY(0px); }
    50%{ transform: translateX(60vw) translateY(-2px); }
    100%{ transform: translateX(140vw) translateY(0px); }
  }

}