/* ===========================================================
   SHYPKART BRAND DESIGN TOKENS
   =========================================================== */
:root {
  /* Color Strategy */
  --navy:        #0a3d91;
  --blue:        #1e88e5;
  --blue-light:  #5fb1f0;
  --red-deep:    #8b0000;
  --red:         #e30613;
  --red-light:   #ff6a6a;
  --ink:         #0f1620;
  --ink-soft:    #4a5568;
  --paper:       #f7f9fc;
  --paper-alt:   #eef2f8;
  --white:       #ffffff;
  --border:      #e2e8f0;

  /* Typography Strategy */
  --font-body:   'Plus Jakarta Sans', sans-serif;

  /* Shapes & Shadows */
  --radius-sm:   12px;
  --radius-md:   18px;
  --radius-lg:   28px;
  --shadow-sm:   0 4px 12px rgba(15, 22, 32, 0.04);
  --shadow-md:   0 12px 32px rgba(15, 22, 32, 0.08);
  --shadow-lg:   0 24px 60px rgba(10, 61, 145, 0.12);

  --container:   1200px;
}

/* ===========================================================
   BASE RESET
   =========================================================== */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

html { 
  scroll-behavior: smooth; 
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { 
  max-width: 100%; 
  display: block; 
}

a { 
  color: inherit; 
  text-decoration: none; 
}

ul { 
  list-style: none; 
}

button { 
  font-family: inherit; 
  cursor: pointer; 
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-head {
  max-width: 560px;
  margin: 0 0 48px;
}
.section-head h2 { 
  font-size: clamp(1.8rem, 3vw, 2.4rem); 
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===========================================================
   SPLASH PRE-LOAD SCREEN
   =========================================================== */
html.splash-active,
html.splash-active body {
  overflow: hidden;
  height: 100%;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash-mark {
  position: relative;
  width: min(46vw, 360px);
  aspect-ratio: 1678 / 937;
}

.splash-half {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  will-change: transform, opacity;
}

.splash-half--top {
  transform: translateX(120vw);
  animation: splash-slide-right 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.splash-half--bottom {
  transform: translateX(-120vw);
  animation: splash-slide-left 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

@keyframes splash-slide-right { to { transform: translateX(0); } }
@keyframes splash-slide-left { to { transform: translateX(0); } }

.splash.is-leaving .splash-mark {
  animation: splash-shrink 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes splash-shrink { to { transform: scale(0.6); opacity: 0; } }

.splash.is-leaving { opacity: 0; }
.splash.is-hidden { visibility: hidden; pointer-events: none; }

/* ===========================================================
   GLOBAL ACTION BUTTONS
   =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, background-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { 
  transform: translateY(-2px); 
  box-shadow: var(--shadow-md); 
}

.btn-ghost {
  background: var(--white);
  border-color: var(--border);
  color: var(--ink);
}
.btn-ghost:hover { 
  border-color: var(--blue); 
  color: var(--blue); 
}

.btn-lg { 
  padding: 16px 32px; 
  font-size: 1rem; 
}

/* ===========================================================
   NAVIGATION HEADER ARCHITECTURE
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  height: 100%;
}

.brand-lockup {
  height: 100px;
  width: auto;
  object-fit: contain;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: none;
  border: none;
  padding: 4px 0;
}
.nav-link:hover { 
  color: var(--ink); 
}

.chev { 
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); 
}

.nav-item.has-dropdown { 
  position: relative; 
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  width: 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s ease;
}

.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.nav-item.has-dropdown:hover .chev { 
  transform: rotate(180deg); 
}

@media (min-width: 861px) {
  .dropdown.dropdown--grid {
    width: 640px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
  }
  .dropdown.dropdown--grid .dropdown-item {
    margin-bottom: 0;
  }
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: transparent;
  margin-bottom: 4px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.dropdown-item:last-child { margin-bottom: 0; }
.dropdown-item:hover {
  background: var(--paper);
  transform: translateX(4px);
}

.dd-title { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.dd-desc { font-size: 0.8rem; color: var(--ink-soft); }

.header-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hover-pill {
  position: absolute;
  background: rgba(30, 136, 229, 0.06);
  border-radius: var(--radius-sm);
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), width 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ===========================================================
   HERO DISPLAY WRAPPER
   =========================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 140px;
  background: var(--white);
}

.hero-ribbon {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-ribbon svg { 
  width: 100%; 
  height: 100%; 
}

.ribbon-blue {
  fill: #1e88e5;
  opacity: 0.12; 
}
.ribbon-red {
  fill: #e30613;
  opacity: 0.10; 
}

#truckPath {
  fill: none;
  stroke: none;
}

.hero-truck {
  will-change: transform;
  z-index: 5;
}
.hero-truck rect:first-child { fill: var(--red); }
.hero-truck rect:nth-child(2) { fill: var(--red-deep); }
.hero-truck circle { fill: var(--ink); }

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  margin-bottom: 24px;
  line-height: 1.2;
}

/* Optimized Size Parameters for Inline Hero Headline Logo Graphic */
.hero-logo-inline {
  display: inline-block;
  height: 1.65em;
  width: auto;
  vertical-align: middle;
  margin-left: 4px;
  object-fit: contain;
  position: relative;
  top: -0.05em;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  justify-content: center;
}
.hero-actions .btn-ghost svg { transition: transform 0.15s ease; }
.hero-actions .btn-ghost:hover svg { transform: translateX(2px); }

/* ===========================================================
   MARQUEE TRUST STRIP
   =========================================================== */
.trust-strip { 
  padding: 50px 0; 
  background: var(--white); 
  border-bottom: 1px solid var(--border);
}

.trust-label {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
  font-weight: 500;
}

.logo-marquee { 
  overflow: hidden; 
  width: 100%;
}

.logo-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: scrollMarquee-left 28s linear infinite;
}

.logo-track span {
  font-size: 1.15rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
@keyframes scrollMarquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===========================================================
   SERVICES DATA GRID Layout
   =========================================================== */
.services { 
  padding: 120px 0; 
  background: var(--paper); 
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.service-card--featured {
  background: var(--blue);
  color: var(--white);
  border-color: transparent;
}
.service-card--featured h3, 
.service-card--featured p,
.service-card--featured .card-link { color: var(--white); }
.service-card--featured .service-icon { background: rgba(255,255,255,0.15); color: var(--white); }

.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.service-icon--blue { background: rgba(30, 136, 229, 0.08); color: var(--blue); }
.service-icon--red { background: rgba(227, 6, 19, 0.06); color: var(--red); }

.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card p { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 24px; line-height: 1.6; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue);
}
.card-link svg { transition: transform 0.15s ease; }
.card-link:hover svg { transform: translateX(3px); }

/* ===========================================================
   SIGNATURE MATRIX STRIP
   =========================================================== */
.stats { 
  background: var(--ink); 
  padding: 80px 0; 
  position: relative;
}

.handoff-divider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 48%, var(--red) 52%, var(--red-deep) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
  color: #94a3b8;
}

/* ===========================================================
   HOW IT WORKS (PROCESS FLOW)
   =========================================================== */
.how-it-works {
  padding: 120px 0;
  background: var(--paper);
}

.center-head {
  text-align: center;
  margin: 0 auto 60px;
  max-width: 700px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step-card {
  padding: 40px 32px;
  border-radius: var(--radius-md);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 260px;
}

.step-card--1 {
  background: linear-gradient(135deg, var(--blue) 0%, #1565c0 100%);
}

.step-card--2 {
  background: linear-gradient(135deg, #1565c0 0%, var(--navy) 100%);
}

.step-card--3 {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink) 100%);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(10, 61, 145, 0.2);
}

.step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 20px;
  width: fit-content;
  color: var(--blue-light);
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-card--2 .step-badge {
  color: #90caf9;
}
.step-card--3 .step-badge {
  color: #64b5f6;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.step-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 991px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 500px;
    margin: 0 auto;
  }
  .step-card {
    min-height: auto;
  }
}

/* ===========================================================
   RTO COMPLEX LAYER
   =========================================================== */
.rto-section { 
  padding: 120px 0; 
  background: var(--white); 
}

.rto-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.rto-copy h2 { 
  font-size: clamp(2rem, 4vw, 3rem); 
  margin-bottom: 20px; 
}

.rto-lead { 
  font-size: 1.1rem;
  color: var(--ink-soft); 
  margin-bottom: 32px; 
  line-height: 1.7;
}

.rto-list { 
  display: flex; 
  flex-direction: column; 
  gap: 24px; 
  margin-bottom: 40px;
}
.rto-list li { display: flex; gap: 20px; }

.rto-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(227, 6, 19, 0.06);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.rto-list li strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.rto-list li p { font-size: 0.92rem; color: var(--ink-soft); }

.rto-visual { display: flex; justify-content: center; }

.rto-panel {
  width: 100%;
  max-width: 420px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.rto-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.rto-panel-row.highlight {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.06);
}

.rto-order { font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; }
.risk-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.risk-low { background: #e8f5e9; color: #2e7d32; }
.risk-med { background: #fff3e0; color: #ef6c00; }
.risk-high { background: #ffebee; color: #c62828; }

/* ===========================================================
   COURIER CHIP SECTIONS
   =========================================================== */
.couriers { 
  padding: 100px 0; 
  background: var(--paper); 
  overflow: hidden;
}

.courier-marquee {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  position: relative;
  margin-top: 36px;
}

.courier-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scrollCouriers 40s linear infinite;
}

.courier-marquee:hover .courier-track {
  animation-play-state: paused;
}

.courier-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 90px; 
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.courier-chip:hover { 
  border-color: var(--blue); 
  color: var(--navy); 
  transform: translateY(-4px);
}

.courier-logo {
  max-width: 100%;
  max-height: 42px; 
  object-fit: contain;
  display: block;
}

.courier-logo[alt="Movin"] {
  transform: scale(1.6);
}

.courier-logo[alt="TCI Express"] {
  transform: scale(2.6);
}

@keyframes scrollCouriers {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 12px)); }
}

/* ===========================================================
   TESTIMONIAL MARQUEE SCROLLER (Replaces old grid matrix)
   =========================================================== */
.testimonials { 
  padding: 120px 0; 
  background: var(--white); 
  overflow: hidden;
}

.testimonial-marquee {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  position: relative;
}

.testimonial-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scrollTestimonials 45s linear infinite;
}

.testimonial-marquee:hover .testimonial-track {
  animation-play-state: paused;
}

.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  width: 400px; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.quote { font-size: 1.05rem; color: var(--ink); line-height: 1.6; font-style: italic; }
.testimonial-by { display: flex; align-items: center; gap: 14px; }

.t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial-by strong { display: block; font-size: 1rem; }
.testimonial-by span { font-size: 0.85rem; color: var(--ink-soft); }

@keyframes scrollTestimonials {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 15px)); }
}

/* ===========================================================
   ACTION CONTEXT CTA BANNER
   =========================================================== */
.cta {
  background: linear-gradient(135deg, var(--navy), var(--blue), var(--red));
  padding: 100px 0;
}
.cta-inner { text-align: center; max-width: 650px; margin: 0 auto; }
.cta h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,0.8); margin-bottom: 36px; font-size: 1.1rem; }
.cta .btn-primary { background: var(--white); color: var(--navy); }
.cta .btn-primary:hover { background: var(--paper); }

/* ===========================================================
   GLOBAL BLOCK FOOTER SYSTEM
   =========================================================== */
.site-footer { 
  background: #0b0f17; 
  color: rgba(255,255,255,0.6); 
  padding: 80px 0 0; 
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  align-items: start;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .brand {
  height: auto;
  margin-bottom: 4px;
}

/* Enhanced visibility limits for footer branding graphics */
.footer-brand .brand-name img {
  height: 48px;
  width: auto;
  display: block;
}

.footer-brand p { margin: 14px 0 20px; font-size: 0.9rem; line-height: 1.6; }
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  transition: background 0.2s, color 0.2s;
}
.social-row a:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.social-row a i { display: block; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 0.9 शस्त्र;
  padding: 6px 0;
  color: rgba(255,255,255,0.65);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  font-size: 0.85rem;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--white); }

/* ===========================================================
   PREMIUM CUBIC SCROLL REVEAL TIMING METRICS
   =========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================================
   CONTACT & QUERY FORM SECTION
   =========================================================== */
.contact-section {
  padding: 120px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-desc {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-item i {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(30, 136, 229, 0.08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-item strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.contact-item a:hover {
  color: var(--blue);
}

.contact-form-container {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.contact-form p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.contact-form .form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-form input {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--paper);
}

.contact-form input:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.08);
}

.btn-block {
  width: 100%;
}

/* ===========================================================
   RESPONSIVE DESIGN ADAPTATION MEDIA QUERIES
   =========================================================== */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .rto-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 6px;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open .nav-item { width: 100%; }
  .main-nav.open .dropdown {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin-top: 4px;
    display: none;
  }
  .main-nav.open .nav-item.dropdown-open .dropdown { display: flex; flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .service-grid, .stats-grid, .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .contact-form-container { padding: 24px; }
}