/* ============================================================
   TransEase Global — Design System
   Inspired by DT Logistics professional logistics platform
   ============================================================ */

/* ---------- CSS Variables / Design Tokens (Redesigned) ---------- */
:root {
  --primary:        #0f4c81;
  --primary-dark:   #0a2f52;
  --primary-light:  #1f78c9;
  --primary-50:     #e8f2fc;
  --accent:         #e02424;
  --accent-dark:    #c41f1f;
  --accent-light:   #f05050;
  --accent-50:      #fdecec;
  --success:        #10b981;
  --neutral-50:     #fafbfc;
  --neutral-100:    #f4f6f9;
  --neutral-200:    #e5eaf1;
  --neutral-300:    #cfd7e3;
  --neutral-500:    #7a8a9e;
  --neutral-600:    #56657a;
  --neutral-700:    #3b4a60;
  --neutral-900:    #0f1a2b;
  --white:          #ffffff;
  --text:           #1a2740;
  --text-muted:     #5c6a80;
  --border:         #e1e7f0;
  --shadow-xs:      0 1px 2px rgba(15,26,43,.05);
  --shadow-sm:      0 2px 8px rgba(15,26,43,.06);
  --shadow-md:      0 8px 24px rgba(15,26,43,.08);
  --shadow-lg:      0 16px 48px rgba(15,26,43,.12);
  --shadow-xl:      0 24px 64px rgba(15,26,43,.16);
  --shadow-accent:  0 10px 24px rgba(224,36,36,.28);
  --radius:         8px;
  --radius-lg:      14px;
  --radius-xl:      20px;
  --transition:     .28s cubic-bezier(.4,0,.2,1);
  --container:      1200px;
  --font:           'Raleway', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:      'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.71;
  color: var(--text-muted);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6,
.navbar, .btn, .section-title, .section-subtitle,
.nav-link, .stat-number, .stat-label, .footer-heading,
.track-card-header, .sidebar-widget-header, .page-hero h1,
.service-card h4, .why-item h5 {
  font-family: var(--font);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}
h1 { font-size: clamp(2rem,4vw,3rem); }
h2 { font-size: clamp(1.6rem,3vw,2.25rem); }
h3 { font-size: clamp(1.25rem,2.5vw,1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: .95rem; }
p  { color: var(--text-muted); line-height: 1.75; }
p + p { margin-top: .85rem; }

.text-white,
.text-white h1,.text-white h2,.text-white h3,.text-white h4,.text-white h5,
.text-white p { color: var(--white) !important; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center; }
.fw-bold { font-weight: 700; }

/* ---------- Layout Utilities ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-xs { padding: 40px 0; }

.section-light { background: var(--neutral-100); }
.section-dark  { background: var(--primary); }
.section-darker{ background: var(--primary-dark); }
.section-accent{ background: var(--accent); }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }

/* ---------- Section Header ---------- */
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle::after { margin: 0 auto; }

.section-subtitle {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
}
.section-subtitle::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 2px;
  background: var(--accent);
  transform: translateY(-50%);
}
.section-header.center .section-subtitle { padding-left: 0; padding-right: 0; }
.section-header.center .section-subtitle::before { display: none; }

.section-title {
  font-size: clamp(1.65rem,3vw,2.25rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-desc { color: var(--text-muted); max-width: 580px; }
.section-header.center .section-desc { margin: 0 auto; }

/* ---------- Buttons (Redesigned) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .03em;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.1;
  font-family: var(--font);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(224,36,36,.38);
  color: #fff;
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(15,76,129,.25);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15,76,129,.35);
  color: var(--white);
}

.btn-outline {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border-color: rgba(255,255,255,.45);
  backdrop-filter: blur(6px);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15,76,129,.25);
}

.btn-sm { padding: 9px 20px; font-size: .82rem; }
.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-wide { padding-left: 48px; padding-right: 48px; }

/* ---------- Top Bar (brand + utilities, DHL-style) ---------- */
.top-bar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 14px 0;
  font-size: .8rem;
  color: rgba(255,255,255,.78);
  border-bottom: 3px solid var(--accent);
}
.top-bar a { color: rgba(255,255,255,.78); transition: color var(--transition); }
.top-bar a:hover { color: var(--white); }
.top-bar .top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-brand { display: flex; align-items: center; flex-shrink: 0; }
.topbar-brand img {
  height: 46px;
  width: auto;
  display: block;
  background: var(--white);
  padding: 5px 14px;
  border-radius: 6px;
}
.top-bar-info { display: flex; gap: 28px; flex-wrap: wrap; }
.top-bar-info span { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; min-width: 0; flex-wrap: wrap; overflow-wrap: anywhere; }
.top-bar-info svg { flex-shrink: 0; color: var(--accent); }
.top-bar-right { display: flex; align-items: center; gap: 16px; }

/* ---------- Navigation (Redesigned) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), background var(--transition), padding var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(15,26,43,.08);
  background: rgba(255,255,255,.97);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 24px;
  transition: padding var(--transition);
}
.nav-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 8px;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.nav-portal-link:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(15,76,129,.25);
}
.nav-portal-link svg { transition: transform var(--transition); }
.nav-portal-link:hover svg { transform: translateY(1px); }
.nav-mobile-only { display: none; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  display: block;
  padding: 10px 16px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--neutral-700);
  border-radius: 100px;
  transition: color var(--transition), background var(--transition), transform var(--transition);
  letter-spacing: .02em;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%) scaleX(0);
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--primary-50);
}
.nav-link.active::after,
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Hamburger (Redesigned — animated X) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  width: 44px;
  height: 44px;
  background: var(--neutral-100);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), border-color var(--transition);
}
.hamburger:hover { background: var(--primary-50); border-color: var(--primary); }
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
  transform-origin: center;
}
.hamburger span + span { margin-top: 5px; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav (Redesigned) */
@media (max-width: 991px) {
  .hamburger { display: inline-flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px; right: 16px;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    animation: slideDown .28s ease;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav-menu.open { display: flex; }
  .nav-link {
    padding: 12px 16px;
    border-radius: var(--radius);
    border: none;
    color: var(--neutral-700);
    font-weight: 600;
  }
  .nav-link::after { display: none; }
  .nav-link:hover, .nav-link.active {
    background: var(--accent-50);
    color: var(--accent-dark);
  }
  .nav-actions { display: none; }
  .nav-actions.mobile { display: flex; padding: 12px 16px; }
  .nav-mobile-only { display: block; }
  .nav-mobile-only .nav-link { border-top: 1px dashed var(--border); margin-top: 6px; padding-top: 12px; }
  .site-header { position: sticky; }
}

/* ---------- Hero Section (DHL-style redesign) ---------- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
  padding: 72px 0 150px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10,47,82,.92) 0%, rgba(10,47,82,.62) 45%, rgba(15,76,129,.28) 100%);
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg .hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroSlideFade 18s linear infinite;
  will-change: opacity;
}
.hero-bg .hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-bg .hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-bg .hero-slide:nth-child(3) { animation-delay: 12s; }
@keyframes heroSlideFade {
  0%   { opacity: 0; }
  6%   { opacity: 1; }
  33%  { opacity: 1; }
  45%  { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg .hero-slide { animation: none; }
  .hero-bg .hero-slide:first-child { opacity: 1; }
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 720px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: clamp(2.1rem,4.5vw,3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(6,34,63,.45);
}
.hero p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.7;
  text-shadow: 0 1px 12px rgba(6,34,63,.4);
}

/* Tracking bar (white card with accent button) */
.hero-track-bar {
  display: flex;
  gap: 8px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 8px;
  max-width: 620px;
  box-shadow: 0 24px 64px rgba(6,34,63,.4);
}
.hero-track-bar input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: .95rem;
  font-family: var(--font-body);
}
.hero-track-bar input::placeholder { color: var(--neutral-500); }
.hero-track-bar input:focus { outline: none; }
.hero-track-bar .btn { border-radius: 6px; padding-left: 28px; padding-right: 28px; }

/* ---------- Hero Cards (panel overlapping hero bottom edge) ---------- */
.hero-cards {
  position: relative;
  z-index: 5;
  margin-top: -92px;
}
.hero-cards-grid {
  display: grid;
  grid-template-columns: 2fr 1.35fr;
  gap: 20px;
  align-items: stretch;
}
.hero-card-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  padding: 32px 24px;
  text-decoration: none;
  transition: background var(--transition);
}
.hero-card-duo .hero-card + .hero-card { border-left: 1px solid var(--border); }
.hero-card:hover { background: var(--neutral-50); }
.hero-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--accent-50);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.hero-card h4 { color: var(--primary); font-size: 1.02rem; font-weight: 700; }
.hero-card p  { color: var(--text-muted); font-size: .86rem; max-width: 260px; }
.hero-card-feature {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(-14px);
  padding: 32px 28px;
}
.hero-card-feature::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 58px 58px 0;
  border-color: transparent var(--accent) transparent transparent;
}
.hero-card-feature:hover { background: var(--white); }
.hero-card-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px var(--border);
  pointer-events: none;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: var(--primary-dark);
  background-image: linear-gradient(135deg, var(--primary-dark) 60%, var(--primary-light) 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; font-size: clamp(1.75rem,3.5vw,2.5rem); }
.page-hero p  { color: rgba(255,255,255,.7); }
.breadcrumb-nav { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.6); margin-top: 12px; }
.breadcrumb-nav a { color: rgba(255,255,255,.7); }
.breadcrumb-nav a:hover { color: var(--white); }
.breadcrumb-nav .sep { color: rgba(255,255,255,.4); }
.breadcrumb-nav .current { color: var(--accent); font-weight: 600; }

/* ---------- Service Cards ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--accent);
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(27,45,107,.08), rgba(27,45,107,.15));
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 28px;
  transition: background var(--transition);
}
.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--white);
}
.service-card h4 { color: var(--primary); margin-bottom: 12px; font-size: 1.1rem; }
.service-card p  { font-size: .9rem; margin: 0; }
.service-card .read-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-size: .85rem; font-weight: 600;
  margin-top: 16px;
  transition: gap var(--transition);
}
.service-card .read-more:hover { gap: 10px; }

/* ---------- Stats Section (Redesigned — icon strip) ---------- */
.stats-section {
  position: relative;
  background: var(--white);
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  align-items: stretch;
}
.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px 20px;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  height: 56px;
  width: 1px;
  background: var(--border);
}
.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--accent-50);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-number {
  font-size: clamp(1.9rem,3vw,2.6rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
  font-family: var(--font);
  letter-spacing: -0.02em;
}
.stat-number span { color: var(--accent); }
.stat-label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Service Cards (Redesigned) ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 32px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
  z-index: 1;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--accent-50), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 0;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }
.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
  border-color: transparent;
}

.service-icon {
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-50), #fff 100%);
  border: 1px solid var(--primary-50);
  border-radius: 18px;
  margin-bottom: 24px;
  color: var(--primary);
  font-size: 28px;
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-color: transparent;
  color: var(--white);
  transform: rotate(-4deg) scale(1.05);
  box-shadow: 0 10px 24px rgba(224,36,36,.28);
}
.service-card h4 { color: var(--neutral-900); margin-bottom: 12px; font-size: 1.15rem; font-weight: 700; position: relative; z-index: 1; }
.service-card p  { font-size: .92rem; margin: 0; position: relative; z-index: 1; line-height: 1.7; }
.service-card .read-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-size: .85rem; font-weight: 700;
  margin-top: 20px;
  transition: gap var(--transition), color var(--transition);
  position: relative;
  z-index: 1;
}
.service-card .read-more svg { color: var(--accent); }
.service-card:hover .read-more { gap: 12px; color: var(--accent-dark); }

/* ---------- Feature List (Redesigned) ---------- */
.feature-list { margin: 0; list-style: none; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--neutral-700);
  font-size: .94rem;
  font-weight: 500;
  transition: transform var(--transition), padding var(--transition);
}
.feature-list li:hover { transform: translateX(4px); }
.feature-list li:last-child { border-bottom: none; }
.feature-list .check {
  width: 24px; height: 24px;
  background: linear-gradient(135deg, var(--success), #34d399);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  margin-top: 1px;
  box-shadow: 0 4px 10px rgba(16,185,129,.25);
}

/* ---------- Why Choose Us (Redesigned) ---------- */
.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-lg);
  transition: background var(--transition), transform var(--transition);
}
.why-item:hover {
  background: var(--primary-50);
  transform: translateX(4px);
}
.why-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary-50), var(--white));
  border: 1px solid var(--primary-50);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 24px;
  flex-shrink: 0;
  transition: all var(--transition);
}
.why-item:hover .why-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(15,76,129,.25);
  transform: scale(1.05);
}
.why-item h5 { color: var(--neutral-900); margin-bottom: 6px; font-size: 1rem; font-weight: 700; }
.why-item p  { font-size: .88rem; margin: 0; line-height: 1.65; color: var(--text-muted); }

/* ---------- Process Steps (Redesigned) ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  position: relative;
}
.process-step {
  background: var(--white);
  padding: 44px 32px 36px;
  text-align: left;
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition);
  overflow: hidden;
  isolation: isolate;
}
.process-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
}
.process-step:hover::before { opacity: 1; }
.process-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(15,76,129,.22);
  border-color: transparent;
}
.process-step:hover * { color: var(--white) !important; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: 16px;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: .02em;
  margin: 0 0 24px;
  box-shadow: 0 8px 20px rgba(15,76,129,.22);
  transition: all var(--transition);
}
.process-step.featured .step-number {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  box-shadow: 0 8px 20px rgba(224,36,36,.28);
}
.process-step:hover .step-number {
  background: rgba(255,255,255,.18);
  color: var(--white) !important;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: none;
}
.process-step h4 { color: var(--neutral-900); margin-bottom: 12px; font-size: 1.15rem; font-weight: 700; }
.process-step p  { font-size: .92rem; margin: 0; line-height: 1.7; color: var(--text-muted); }

/* ---------- Testimonials (Redesigned) ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 32px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  transition: all var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-50);
}
.testimonial-card::before {
  content: '"';
  font-size: 6rem;
  line-height: 1;
  color: var(--primary);
  opacity: .08;
  position: absolute;
  top: 0; right: 24px;
  font-family: Georgia, serif;
  pointer-events: none;
}
.testimonial-body {
  font-style: normal;
  color: var(--neutral-700);
  margin-bottom: 28px;
  font-size: .95rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--neutral-200);
  position: relative;
  z-index: 1;
}
.testimonial-author img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-50);
  padding: 2px;
  background: var(--white);
}
.testimonial-author .name { font-weight: 700; font-size: .92rem; color: var(--neutral-900); }
.testimonial-author .role { font-size: .82rem; color: var(--text-muted); font-weight: 500; }
.stars { color: var(--accent); font-size: .9rem; margin-bottom: 16px; letter-spacing: 3px; }

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: var(--accent);
  border-radius: 50%;
  opacity: .05;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p  { color: rgba(255,255,255,.75); max-width: 540px; margin: 0 auto 32px; }

/* ---------- Track Order Page ---------- */
.track-page-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.track-page-form h3 { color: var(--primary); margin-bottom: 8px; }
.track-page-form p  { margin-bottom: 28px; }
.track-input-group { display: flex; gap: 12px; }
.track-input-group input {
  flex: 1;
  padding: 15px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--text);
  transition: border-color var(--transition);
}
.track-input-group input:focus { outline: none; border-color: var(--primary); }

/* Tracking Result */
.tracking-result { margin-top: 48px; }
.track-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.track-card-header {
  background: var(--primary);
  color: var(--white);
  padding: 16px 24px;
  display: flex; align-items: center; gap: 12px;
  font-weight: 700;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.track-card-body { padding: 24px; }
.track-info-table { width: 100%; border-collapse: collapse; }
.track-info-table th,
.track-info-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: .875rem; text-align: left; }
.track-info-table th { background: var(--neutral-100); color: var(--primary); font-weight: 600; width: 35%; }
.track-info-table tr:last-child th,
.track-info-table tr:last-child td { border-bottom: none; }

.progress-track {
  background: var(--neutral-200);
  height: 10px;
  border-radius: 10px;
  overflow: hidden;
  margin: 8px 0;
}
.progress-track-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 10px;
  transition: width 1s ease;
}

/* Timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: var(--neutral-200);
}
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-dot {
  position: absolute;
  left: -28px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--neutral-200);
}
.timeline-item.delivered .timeline-dot  { background: #10b981; box-shadow: 0 0 0 2px #d1fae5; }
.timeline-item.exception .timeline-dot  { background: #f59e0b; box-shadow: 0 0 0 2px #fef3c7; }
.timeline-item.outfordelivery .timeline-dot { background: var(--accent); box-shadow: 0 0 0 2px #fee2e2; }
.timeline-content { padding-left: 4px; }
.timeline-content h5 { font-size: .9rem; color: var(--primary); margin-bottom: 4px; }
.timeline-content .meta { font-size: .8rem; color: var(--text-muted); }
.timeline-content .meta span { margin-right: 16px; display: inline-flex; align-items: center; gap: 4px; }

/* ---------- Forms (Contact / Quote) ---------- */
.form-section-bg {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 0;
}
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.form-card h3 { margin-bottom: 8px; }
.form-card p  { margin-bottom: 28px; }

.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
  font-family: var(--font);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,45,107,.12);
}
.form-control::placeholder { color: var(--neutral-300); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row > * { min-width: 0; }
.form-full { grid-column: 1 / -1; }

/* ---------- Contact Info Boxes ---------- */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow-md); }
.contact-info-icon {
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 20px;
  flex-shrink: 0;
}
.contact-info-card h5 { color: var(--primary); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.contact-info-card p  { font-size: .9rem; margin: 0; }
.contact-info-card a  { color: var(--accent); }
.contact-info-card p, .contact-info-card a { overflow-wrap: anywhere; }

/* ---------- FAQ Accordion ---------- */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  font-size: .95rem;
  transition: background var(--transition);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  gap: 16px;
}
.accordion-header:hover { background: var(--neutral-50); }
.accordion-header.active { background: var(--primary); color: var(--white); }
.accordion-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--neutral-100);
  border-radius: 50%;
  font-size: .7rem;
  color: var(--primary);
  transition: background var(--transition), transform var(--transition), color var(--transition);
}
.accordion-header.active .accordion-icon {
  background: rgba(255,255,255,.2);
  color: var(--white);
  transform: rotate(180deg);
}
.accordion-body { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .25s ease; }
.accordion-body.open { padding: 20px 24px; max-height: 400px; }
.accordion-body p { margin: 0; font-size: .9rem; }

/* ---------- Client Logos ---------- */
.clients-section { padding: 48px 0; background: var(--neutral-100); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.clients-grid { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.client-logo { opacity: .45; transition: opacity var(--transition); filter: grayscale(1); }
.client-logo:hover { opacity: 1; filter: none; }
.client-logo img { height: 36px; width: auto; }

/* ---------- Team Members ---------- */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-align: center;
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-card-img { position: relative; overflow: hidden; aspect-ratio: 1; }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.team-card:hover .team-card-img img { transform: scale(1.05); }
.team-card-body { padding: 20px; }
.team-card h5 { color: var(--primary); margin-bottom: 4px; font-size: 1rem; }
.team-card small { color: var(--accent); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- News / Blog Cards ---------- */
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-card-img { aspect-ratio: 16/9; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 24px; }
.news-card-date {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 8px;
}
.news-card h5 { color: var(--primary); margin-bottom: 8px; font-size: 1rem; line-height: 1.4; }
.news-card p  { font-size: .875rem; margin-bottom: 16px; }
.news-card .read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 700; color: var(--accent);
  transition: gap var(--transition);
}
.news-card .read-more:hover { gap: 10px; }

/* ---------- About / Two-Column Section ---------- */
.about-image-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image-box img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  text-align: center;
}
.about-badge .num { font-size: 2rem; font-weight: 800; line-height: 1; }
.about-badge .label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; opacity: .9; }

/* ---------- Auth Pages ---------- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--neutral-100);
  padding: 40px 16px;
}
.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.auth-panel-left {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.auth-panel-left::before {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: var(--accent);
  border-radius: 50%;
  opacity: .08;
}
.auth-panel-left h2 { color: var(--white); margin-bottom: 16px; }
.auth-panel-left p  { color: rgba(255,255,255,.7); max-width: 380px; margin-bottom: 32px; }
.auth-feature-list { display: flex; flex-direction: column; gap: 12px; }
.auth-feature-list li {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
}
.auth-feature-list .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.auth-panel-right {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 60px 48px;
}
.auth-form-wrap {
  width: 100%;
  max-width: 440px;
}
.auth-logo { display: flex; justify-content: center; margin-bottom: 32px; }
.auth-logo img { height: 52px; }
.auth-form-wrap h2 { color: var(--primary); margin-bottom: 8px; text-align: center; font-size: 1.6rem; }
.auth-form-wrap .auth-subtitle { text-align: center; margin-bottom: 32px; }
.auth-footer { text-align: center; margin-top: 24px; font-size: .875rem; color: var(--text-muted); }
.auth-footer a { color: var(--accent); font-weight: 600; }
.auth-divider { display: flex; align-items: center; gap: 16px; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { font-size: .8rem; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--neutral-900);
  color: rgba(255,255,255,.7);
}
.footer-main { padding: 72px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer-brand img { height: 56px; margin-bottom: 12px; padding: 4px 8px; background: #fff; border-radius: 6px; filter: none; }
.footer-brand p  { font-size: .875rem; line-height: 1.75; max-width: 300px; }

.footer-heading {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition), padding-left var(--transition);
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }

.footer-contact-item {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 12px;
  font-size: .875rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.footer-contact-item svg { flex-shrink: 0; color: var(--accent); margin-top: 3px; }
.footer-contact-item a { color: rgba(255,255,255,.7); }
.footer-contact-item a:hover { color: var(--accent); }

.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: .8rem;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.social-link:hover { background: var(--accent); color: var(--white); }

.footer-bottom {
  background: rgba(0,0,0,.25);
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Google Translate Wrapper ---------- */
.translate-wrapper { display: inline-block; }
.translate-wrapper select { font-size: .8rem; background: transparent; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.75); border-radius: 3px; padding: 2px 4px; cursor: pointer; }

/* ---------- Alerts ---------- */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: .9rem;
  border: 1px solid transparent;
}
.alert-danger  { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.alert-success { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.alert-info    { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.alert-warning { background: #fffbeb; color: #92400e; border-color: #fde68a; }

/* ---------- Sidebar (Services) ---------- */
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 24px;
}
.sidebar-widget-header {
  background: var(--primary);
  color: var(--white);
  padding: 14px 20px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.sidebar-nav li { border-bottom: 1px solid var(--border); }
.sidebar-nav li:last-child { border-bottom: none; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  font-size: .875rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.sidebar-nav a:hover,
.sidebar-nav li.active a {
  background: var(--neutral-50);
  color: var(--accent);
  padding-left: 24px;
}
.sidebar-nav li.active a { color: var(--accent); font-weight: 600; }
.sidebar-nav .arrow { font-size: .7rem; }

/* ---------- Page Layout Helpers ---------- */
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 32px;
  align-items: center;
}
.layout-split-wide {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}
.layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.layout-split > *, .layout-split-wide > *, .layout-sidebar > * { min-width: 0; }
.layout-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}
.layout-thirds {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  text-align: center;
}
.content-card-padded {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .auth-split { grid-template-columns: 1fr; }
  .auth-panel-left { display: none; }
  .layout-sidebar { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .top-bar .top-bar-info { gap: 12px; }
  .track-input-group { flex-direction: column; }
  .hero { min-height: 440px; padding: 48px 0 140px; }
  .hero p { font-size: .98rem; margin-bottom: 24px; }
  .topbar-brand img { height: 40px; }
  .hero-cards { margin-top: -84px; }
  .hero-cards-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero-card-feature { transform: none; }
  .stat-divider { display: none; }
  .stats-inner { grid-template-columns: repeat(2,1fr); gap: 24px 8px; }
  .stat-item { flex-direction: column; text-align: center; gap: 10px; padding: 4px 8px; }
  .stat-item + .stat-item::before { display: none; }
  .stat-icon { width: 46px; height: 46px; border-radius: 12px; }
  .stat-number { font-size: 1.75rem; }
  .layout-split-wide,
  .layout-split { grid-template-columns: 1fr; gap: 32px; }
  .layout-thirds { grid-template-columns: 1fr; gap: 16px; }
  .content-card-padded { padding: 24px 16px; }
  .form-card { padding: 32px 24px; }
  .track-page-form { padding: 32px 24px; }
  .page-hero { padding: 48px 0; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding: 40px 0 130px; }
  .hero h1 { font-size: clamp(1.7rem, 8.5vw, 2.1rem); }
  .hero p { font-size: .92rem; margin-bottom: 20px; }
  .hero-track-bar { flex-direction: column; }
  .hero-track-bar .btn { width: 100%; }
  .hero-cards { margin-top: -74px; }
  .hero-card-duo { grid-template-columns: 1fr; }
  .hero-card-duo .hero-card + .hero-card { border-left: none; border-top: 1px solid var(--border); }
  .hero-card, .hero-card-feature { padding: 24px 18px; }
  .top-bar { padding: 10px 0; }
  .container { padding: 0 16px; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}

/* ---------- Utility ---------- */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }
.d-none { display: none; }
.d-flex { display: flex; }
/* Responsive display utilities (bootstrap-grid build omits them) */
@media (max-width: 575.98px) { .d-sm-none { display: none !important; } }
@media (min-width: 576px)       { .d-sm-flex { display: flex !important; } }
@media (max-width: 767.98px) { .d-md-none { display: none !important; } }
@media (min-width: 768px)       { .d-md-flex { display: flex !important; } }
.w-100 { width: 100%; }
.text-danger { color: #dc2626; }
.text-success { color: #16a34a; }
.nowrap { white-space: nowrap; }

/* ---------- Scroll Reveal Animations (site-wide) ---------- */
/* Elements get .fx from the shared layout script and reveal as .fx-in when
   they enter the viewport. Uses the standalone `translate`/`scale` properties
   so any existing `transform` (card lifts, badges) keeps working. */
.fx {
  opacity: 0;
  translate: var(--fx-tx, 0) 28px;
  scale: 0.985;
  transition:
    opacity .7s cubic-bezier(.16, 1, .3, 1),
    translate .7s cubic-bezier(.16, 1, .3, 1),
    scale .7s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--fx-delay, 0ms);
  will-change: opacity, translate;
}
.fx.fx-in {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}
@media (prefers-reduced-motion: reduce) {
  .fx {
    opacity: 1 !important;
    translate: none !important;
    scale: none !important;
    transition: none !important;
  }
}

/* ---------- Print Invoice ---------- */
@media print {
  .site-header, .site-footer, .top-bar, .no-print { display: none !important; }
}
