/* Oswald — SIL OFL licensed, modeled on highway/transit signage lettering.
   Used for headings, buttons and price figures across the customer site. */
@font-face {
  font-family: 'Oswald';
  src: url('../fonts/Oswald-Variable.ttf') format('truetype');
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --ot-ink: #101820;
  --ot-ink-soft: #24333b;
  --ot-muted: #65727a;
  --ot-line: #dfe8e5;
  --ot-panel: #ffffff;
  --ot-panel-tint: #e7f5f1;
  --ot-bg: #f4f7f6;
  --ot-green: #0e8f7a;
  --ot-green-dark: #0a6c5c;
  --ot-amber: #ff7a45;
  --ot-amber-dark: #e35d29;
  --ot-sky: #2f8fe0;
  --ot-red: #d94c43;
  --ot-gold: #b5750c;
  --ot-gold-bg: #fff6e8;
  --ot-gold-line: #ffe1ab;
  --ot-bar-ink: #0a141d;
  --ot-bar-ink-2: #101f29;
  --ot-shadow-sm: 0 1px 2px rgba(16, 24, 32, .06);
  --ot-shadow: 0 18px 45px rgba(16, 24, 32, .09);
  --ot-shadow-lg: 0 26px 70px rgba(16, 24, 32, .16);
  --ot-display: 'Oswald', 'Segoe UI Semibold', system-ui, sans-serif;
  --ot-mono: Consolas, 'SF Mono', 'Cascadia Mono', 'Roboto Mono', monospace;
}

.ot-display {
  font-family: var(--ot-display);
}

.ot-mono {
  font-family: var(--ot-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ot-ink);
  background:
    linear-gradient(180deg, rgba(244, 247, 246, .98), rgba(244, 247, 246, 1));
  text-rendering: optimizeLegibility;
}

a,
button,
.btn,
.primary-btn1,
.card,
.table tbody tr,
.form-control,
.form-select {
  transition: all .22s ease;
}

.header-area.style-1 {
  /* Solid gradient instead of backdrop-filter glass — Chrome has a real
     compositing bug where backdrop-filter on this ancestor bleeds through
     the opaque background of descendants that extend past its own box
     (the Services mega-panel below is exactly that), painting them
     translucent instead of solid. A solid navy bar also matches the
     approved nav concept better than the old frosted-glass look. */
  background: linear-gradient(180deg, var(--ot-bar-ink) 0%, var(--ot-bar-ink-2) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 14px 38px rgba(16, 24, 32, .07);
}

.header-area.style-1 .container-fluid {
  padding-left: clamp(16px, 3vw, 42px);
  padding-right: clamp(16px, 3vw, 42px);
}

.header-logo img,
.mobile-logo-wrap img {
  max-height: 46px;
  width: auto;
}

/* The nav grew from 6 to 8 items (About Us / Contact Us) — on laptop-width
   screens (roughly 1200-1650px) that's wide enough to stay inline but not
   wide enough for the theme's default spacing, so it wrapped to a second
   line. Tightening spacing here keeps it on one line without touching the
   off-canvas/hamburger breakpoint (still 1199px, unchanged). */
@media (min-width: 1200px) and (max-width: 1650px) {
  header.style-1 .logo-and-menu-area {
    gap: 22px;
  }

  header.style-1 .main-menu > ul > li {
    padding: 28px 0;
  }

  header.style-1 .main-menu > ul > li > a {
    font-size: 13.5px;
    padding: 4px 9px;
  }

  header.style-1 .nav-right {
    gap: 14px;
  }

  header.style-1 .contact-area {
    gap: 18px;
  }

  header.style-1 .primary-btn1 {
    padding: 12px 16px;
    font-size: 13px;
  }
}

.main-menu .menu-list > li > a {
  color: var(--ot-ink);
  font-weight: 700;
}

.main-menu .menu-list > li.active > a,
.main-menu .menu-list > li:hover > a {
  color: var(--ot-green);
}

/* ============================================================
   Nav concept — "the manifest line": each top-level item sits on a
   thin route rule and lights a waypoint dot when active/hovered.
   Services collapses the 4 verticals into one mega-panel, coded
   TL / WH / PM / VS — the same prefixes the backend already stamps
   on every tracking number (see generateTrackingNumber() in the
   Shipment/Warehouse/PackersMover/VehicleShipment controllers).
   ============================================================ */

header.style-1 .main-menu > ul > li > a {
  font-family: var(--ot-display);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 500;
}

header.style-1 .main-menu .menu-list > li.active > a,
header.style-1 .main-menu .menu-list > li:hover > a {
  color: var(--ot-amber) !important;
}

@media (min-width: 1200px) {
  /* Drawn as a background line (not an absolutely-positioned pseudo-element)
     so .menu-list never becomes a positioning context — the Services
     mega-panel below depends on nothing between it and header.style-1
     (position:fixed) being position:relative/absolute. */
  header.style-1 .menu-list {
    background-image: linear-gradient(rgba(255, 255, 255, .14), rgba(255, 255, 255, .14));
    background-repeat: no-repeat;
    background-size: calc(100% - 12px) 1px;
    background-position: 6px calc(100% - 21px);
  }

  /* The dot lives on the <a> (already position:relative in the base theme
     rule), not the <li> — the Services <li> has to give up its own
     position:relative for the mega-panel trick below, so it can't anchor
     the dot itself. */
  header.style-1 .main-menu > ul > li > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ot-amber);
    opacity: 0;
    transform: translate(-50%, 4px);
    transition: opacity .18s ease, transform .18s ease;
    pointer-events: none;
  }

  header.style-1 .main-menu > ul > li:hover > a::after,
  header.style-1 .main-menu > ul > li.active > a::after {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Service detail pages (Shipment / Warehouse / Packers & Movers / Vehicle
   Shipment) — the header's Services dropdown is a plain name list that
   links here instead of surfacing Create/Cart/Requests in the hover menu
   itself. */
.service-hero-section {
  padding: 110px 0 80px;
  background:
    radial-gradient(ellipse 900px 400px at 88% 0%, rgba(255, 122, 69, .06), transparent 60%),
    var(--ot-bg);
}

.service-code-chip {
  display: inline-block;
  font-family: var(--ot-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ot-amber-dark);
  border: 1px solid rgba(255, 122, 69, .4);
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.service-eyebrow {
  display: block;
  color: var(--ot-green-dark);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.service-hero-section h1 {
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 18px;
  max-width: 24ch;
}

.service-hero-desc {
  color: var(--ot-ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 64ch;
  margin: 0 0 40px;
}

.service-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}

.service-feature-card {
  background: var(--ot-panel);
  border: 1px solid var(--ot-line);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--ot-shadow-sm);
}

.service-feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
}

.service-feature-card p {
  color: var(--ot-muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

.service-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  background: var(--ot-panel-tint);
  border: 1px solid rgba(14, 143, 122, .25);
  border-radius: 14px;
  padding: 26px 28px;
}

.service-cta-text strong {
  font-size: 17px;
}

.service-cta-text p {
  margin: 6px 0 0;
  color: var(--ot-ink-soft);
  font-size: 14px;
  max-width: 48ch;
}

.service-cta-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.service-cta-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ot-green-dark);
  text-decoration: none;
}

.service-cta-link:hover {
  text-decoration: underline;
}

@media (max-width: 575px) {
  .service-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* CTA button — its own class (not .primary-btn1) so the amber accent
   stays scoped to the header and doesn't touch buttons elsewhere. */
header.style-1 .nav-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--ot-amber), var(--ot-amber-dark)) !important;
  color: #fff8f3 !important;
  font-family: var(--ot-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 12px 18px !important;
  border-radius: 999px;
  box-shadow: 0 12px 26px -8px rgba(255, 122, 69, .55);
}

header.style-1 .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -8px rgba(255, 122, 69, .65);
}

.main-menu .sub-menu,
.dropdown-menu {
  border: 1px solid rgba(223, 232, 229, .95) !important;
  border-radius: 8px !important;
  box-shadow: var(--ot-shadow) !important;
  overflow: hidden;
}

.dropdown-item {
  font-weight: 600;
}

.dropdown-item:hover {
  background: #eef8f2;
  color: var(--ot-green-dark);
}

.web-user-chip,
.web-cart-chip {
  border: 1px solid rgba(223, 232, 229, .95);
  box-shadow: 0 10px 24px rgba(16, 24, 32, .08);
}

.web-cart-count {
  background: var(--ot-red) !important;
}

.primary-btn1,
.primary-btn2,
.btn-success,
.btn-primary {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ot-green), var(--ot-green-dark)) !important;
  color: #fff !important;
  box-shadow: 0 16px 32px rgba(14, 143, 122, .22);
  font-family: var(--ot-display);
  letter-spacing: .02em;
}

.primary-btn1:hover,
.primary-btn2:hover,
.btn-success:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(14, 143, 122, .3);
}

.primary-btn1.white-bg,
.primary-btn1.white-bg:hover,
.primary-btn2.white-bg,
.primary-btn2.white-bg:hover {
  background: #fff !important;
  color: var(--ot-ink) !important;
  box-shadow: 0 12px 28px rgba(16, 24, 32, .11);
}

.btn-outline-primary,
.btn-outline-success {
  border-color: var(--ot-green);
  color: var(--ot-green);
  border-radius: 999px;
  font-weight: 700;
}

.btn-outline-primary:hover,
.btn-outline-success:hover {
  background: var(--ot-green);
  border-color: var(--ot-green);
  color: #fff;
}

.btn-light,
.btn-secondary {
  border: 1px solid var(--ot-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ot-ink);
  font-weight: 700;
}

.transport-home-content,
.shipment-form-section,
.shipment-cart-section,
section[style*="background:#f7f7f7"],
section[style*="background: #f7f7f7"] {
  background:
    linear-gradient(180deg, #f6f9f8 0%, #eef4f2 100%) !important;
}

.home1-banner-section .banner-content span,
.home-section-title span,
.auth-title span,
div[style*="color:#ff7a00"],
span[style*="color:#ff7a00"] {
  color: var(--ot-green) !important;
  letter-spacing: .08em !important;
}

.home1-banner-section .banner-content h1 {
  max-width: 780px;
  letter-spacing: 0;
  text-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

.home1-banner-section .banner-wrapper:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 12, 15, .42), rgba(4, 12, 15, .05) 58%, rgba(4, 12, 15, .22));
}

.home1-banner-section .banner-content-wrap {
  z-index: 4;
}

.home-band {
  position: relative;
}

.home-section-title h2,
.auth-title h2,
.register-form-area h2,
h2,
h3,
h4,
h5 {
  color: var(--ot-ink);
  letter-spacing: 0;
  font-family: var(--ot-display);
}

.header-logo-text,
.brand-mark-text {
  font-family: var(--ot-display);
}

.service-tile,
.step-tile,
.stat-tile,
.info-card,
.stat-card,
.shipment-card,
.auth-panel,
.register-panel,
div[style*="background:#fff; border:1px solid #e8e8e8"],
div[style*="background:#fff; border:1px solid #e7e7e7"] {
  border: 1px solid rgba(223, 232, 229, .95) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: var(--ot-shadow) !important;
}

.service-tile:hover,
.step-tile:hover,
.stat-tile:hover,
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ot-shadow-lg) !important;
}

.stat-tile strong {
  font-family: var(--ot-mono);
  font-variant-numeric: tabular-nums;
}

.tile-icon,
.profile-avatar,
.web-user-avatar {
  background: linear-gradient(135deg, var(--ot-green), var(--ot-sky)) !important;
}

.route-panel {
  border-radius: 8px !important;
  background:
    linear-gradient(135deg, #101820 0%, #25424d 48%, #133927 100%) !important;
  box-shadow: var(--ot-shadow-lg);
}

.route-city {
  backdrop-filter: blur(8px);
}

.home-cta {
  background:
    linear-gradient(135deg, var(--ot-green-dark), var(--ot-green) 52%, #2d6f7e) !important;
}

.form-label {
  color: var(--ot-ink-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}

.form-control,
.form-select,
select.form-control {
  min-height: 46px;
  border: 1px solid var(--ot-line);
  border-radius: 8px !important;
  background: #fbfdfc;
  color: var(--ot-ink);
  box-shadow: none;
}

.form-control:focus,
.form-select:focus,
select.form-control:focus {
  border-color: rgba(14, 143, 122, .55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 143, 122, .12);
}

.shipment-item-row {
  border: 1px solid var(--ot-line) !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, #fff, #fbfdfc);
}

.table-responsive {
  border-radius: 8px;
}

.table {
  color: var(--ot-ink);
}

.table thead th {
  border: 0;
  background: #eef5f2;
  color: var(--ot-ink-soft);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.table tbody td,
.table tbody th {
  border-color: #edf2f0;
  vertical-align: middle;
}

.table tbody tr:hover {
  background: #f6fbf8 !important;
}

.badge {
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .01em;
}

.alert {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(16, 24, 32, .06);
}

.alert-success {
  background: #e8f7ee;
  color: #0b6a3c;
}

.alert-danger {
  background: #fdecea;
  color: #a9322c;
}

.alert-info {
  background: #eaf6fc;
  color: #1d6687;
}

.profile-card,
.profile-cover {
  border-radius: 8px !important;
}

.profile-cover {
  background:
    linear-gradient(135deg, var(--ot-green-dark), var(--ot-sky) 58%, var(--ot-amber)) !important;
}

.footer-section {
  background:
    linear-gradient(180deg, #101820 0%, #0b1216 100%) !important;
  color: rgba(255, 255, 255, .78);
}

.footer-section .company-logo-and-contact-area,
.footer-section .footer-menu,
.footer-section .footer-bottom {
  border-color: rgba(255, 255, 255, .1) !important;
}

.footer-section h2,
.footer-section h3,
.footer-section a {
  color: #fff;
}

.footer-section a:hover {
  color: var(--ot-amber);
}

.footer-section p,
.footer-section li {
  color: rgba(255, 255, 255, .68);
}

.auth-shell,
.register-shell {
  background:
    radial-gradient(circle at 15% 16%, rgba(255, 122, 69, .18), transparent 17%),
    radial-gradient(circle at 85% 22%, rgba(47, 143, 224, .2), transparent 18%),
    linear-gradient(135deg, #101820 0%, #244653 50%, #143927 100%);
}

.auth-scene,
.register-copy {
  background:
    linear-gradient(135deg, #101820 0%, #264b58 54%, #143927 100%) !important;
}

.auth-mode-switch {
  border: 1px solid var(--ot-line);
}

.auth-mode-btn.active {
  background: var(--ot-green) !important;
}

@media (max-width: 991px) {
  .main-menu {
    background: #fff;
  }

  .home1-banner-section .banner-content h1 {
    font-size: clamp(42px, 10vw, 64px);
  }

  .service-tile,
  .step-tile,
  .stat-tile {
    padding: 20px;
  }
}

@media (max-width: 575px) {
  .home1-banner-section .banner-wrapper,
  .home1-banner-section .banner-img-area,
  .home1-banner-section .banner-video-area,
  .home1-banner-section .shipment-gif-bg {
    min-height: 560px !important;
  }

  .home-band {
    padding: 54px 0 !important;
  }

  .primary-btn1,
  .btn {
    white-space: normal;
  }

  .tracking-line {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .tracking-line:before {
    display: none;
  }
}
