/* ADP Freight additions to the Tranship theme (theme.css).
   Brand colours from the logo: navy #0b2559, blue #0a5ad4, orange #f47b20. */

:root { --navy: #0b2559; --blue: #0a5ad4; --orange: #f47b20; }

/* ---------- Accessibility ---------- */
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 2000; background: var(--navy); color: #fff !important; padding: 10px 16px; border-radius: 4px; font-weight: 700; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--orange) !important; outline-offset: 2px; }
main:focus { outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
a { color: var(--blue); }
.content a:not(.btn), .about-text p a, .quote-wrapper p a, .faqs p a, .contact-group p a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.navbar-custom .top-bar { background: var(--navy); }
.navbar-custom .top-bar .contact li, .navbar-custom .top-bar .contact li a, .navbar-custom .top-bar .social li a { color: #fff; font-size: 14px; }
.navbar-custom .top-bar .contact li i { color: var(--orange); }
.navbar-custom .top-bar .social li a:hover, .navbar-custom .top-bar .contact li a:hover { color: #fff; text-decoration: underline; }
.navbar-custom .bottom-nav .navbar-header .navbar-brand img { width: auto; height: 56px; border-radius: 0; }
.navbar-custom .bottom-nav { padding: 10px 0; box-shadow: 0 2px 12px rgba(11, 37, 89, .08); }
.navbar-custom .bottom-nav .navbar-nav li a[aria-current="page"] { color: var(--blue); }
.navbar-custom .bottom-nav .navbar-nav li a { padding: 18px 12px 16px; font-weight: 600; }
.navbar-custom .bottom-nav .navbar-nav li a.btn-quote { background: var(--orange); border-color: var(--orange); color: var(--navy) !important; padding: 12px 18px; margin-top: 4px; }
.navbar-custom .bottom-nav .navbar-nav li a.btn-quote:hover { background: #d9650f; border-color: #d9650f; color: var(--navy) !important; }
.navbar-custom .bottom-nav .navbar-nav li .dropdown-menu { top: 56px; }
.navbar-custom .bottom-nav .navbar-nav li.dropdown:focus-within .dropdown-menu { display: block; opacity: 1; }
.navbar-custom .bottom-nav .navbar-nav li .dropdown-menu li a:focus { background: #2f74dc; color: #fff; }
.navbar-default .navbar-toggle { border-color: var(--navy); margin-top: 10px; padding: 11px 10px; }
.navbar-default .navbar-toggle .icon-bar { background-color: var(--navy); }
@media (min-width: 992px) and (max-width: 1199px) {
  .navbar-custom .bottom-nav .navbar-header .navbar-brand img { height: 46px; }
  .navbar-custom .bottom-nav .navbar-nav li a { padding: 16px 8px 14px; font-size: 12px; }
  .navbar-custom .bottom-nav .navbar-nav li a.btn-quote { padding: 10px 12px; margin-left: 6px; }
}
@media (max-width: 991px) {
  .navbar-custom .bottom-nav .navbar-header .navbar-brand img { height: 44px; }
  .navbar-custom .bottom-nav .navbar-nav { float: none; }
  .navbar-collapse { max-height: calc(100vh - 80px); overflow-y: auto; }
  .navbar-custom .bottom-nav .navbar-nav li a { padding: 12px 15px; }
  .navbar-custom .bottom-nav .navbar-nav li a.btn-quote { display: block; margin: 10px 15px; text-align: center; }
  .navbar-custom .bottom-nav .navbar-nav li .dropdown-menu { position: static; display: block; opacity: 1; float: none; width: auto; background: transparent; box-shadow: none; padding-left: 15px; }
  .navbar-custom .bottom-nav .navbar-nav li .dropdown-menu li a { color: #555e6d; text-transform: none; padding: 9px 15px; }
  .navbar-custom .bottom-nav .navbar-nav li .dropdown-menu li a:hover { background: transparent; color: var(--blue); }
}

/* ---------- Banners (images replace the template's placeholders) ---------- */
.fill.slide-1 { background-image: linear-gradient(90deg, rgba(7, 26, 64, .88), rgba(7, 26, 64, .45)), url("../img/hero-960.webp"); }
.fill.slide-2 { background-image: linear-gradient(rgba(7, 26, 64, .72), rgba(7, 26, 64, .72)), url("../img/sea-960.webp"); }
.fill.slide-3 { background-image: linear-gradient(270deg, rgba(7, 26, 64, .88), rgba(7, 26, 64, .45)), url("../img/customs-960.webp"); }
@media (min-width: 961px) {
  .fill.slide-1 { background-image: linear-gradient(90deg, rgba(7, 26, 64, .88), rgba(7, 26, 64, .35)), url("../img/hero-1920.webp"); }
  .fill.slide-2 { background-image: linear-gradient(rgba(7, 26, 64, .72), rgba(7, 26, 64, .72)), url("../img/sea-1920.webp"); }
  .fill.slide-3 { background-image: linear-gradient(270deg, rgba(7, 26, 64, .88), rgba(7, 26, 64, .35)), url("../img/customs-1920.webp"); }
}
.banner.carousel-fade .banner-content .banner-text h1, .banner.carousel-fade .banner-content .banner-text .slide-title { font-family: 'montserrat'; font-weight: 700; font-size: 44px; line-height: 1.2; text-transform: uppercase; color: #fff; margin: 0 0 20px; }
.banner.carousel-fade .banner-content .banner-text p { color: #eef3fb; }
.banner .btn.solid-btn { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.banner .btn.solid-btn:hover { background: #d9650f; border-color: #d9650f; color: var(--navy); }
@media (max-width: 767px) {
  .banner.carousel-fade { height: 700px; }
  .banner.carousel-fade .banner-content { padding-top: 60px; }
  .banner.carousel-fade .banner-content .banner-text h1, .banner.carousel-fade .banner-content .banner-text .slide-title { font-size: 28px; }
  .banner.carousel-fade .banner-content .banner-text p { font-size: 15px; }
  .banner-text.text-right { text-align: left; }
}

.inner-page { height: auto; min-height: 360px; padding-bottom: 50px; background-color: var(--navy); }
.inner-page .banner-text h1.page-title { font-weight: 700; }
.inner-page .banner-text p.page-breadcrumb span.current { color: var(--orange); }
.inner-page .banner-lead { max-width: 780px; margin-top: 14px; font-size: 18px; line-height: 1.6; color: #eef3fb; }
.inner-page.bn-plain { background-image: linear-gradient(120deg, #071a40, #0b2559 60%, #12357a); }
@media (max-width: 767px) {
  .inner-page { min-height: 0; }
  .inner-page .banner-text { padding-top: 130px; }
  .inner-page .banner-text h1.page-title { font-size: 30px; line-height: 1.2; }
  .inner-page .banner-lead { font-size: 16px; }
}
/* Per-page banners: 960px image on small screens, 1920px on large */
.bn-aerial { background-image: linear-gradient(rgba(7,26,64,.78), rgba(7,26,64,.78)), url("../img/aerial-960.webp"); }
.bn-hero { background-image: linear-gradient(rgba(7,26,64,.78), rgba(7,26,64,.78)), url("../img/hero-960.webp"); }
.bn-sea { background-image: linear-gradient(rgba(7,26,64,.78), rgba(7,26,64,.78)), url("../img/sea-960.webp"); }
.bn-air2 { background-image: linear-gradient(rgba(7,26,64,.72), rgba(7,26,64,.72)), url("../img/air2-960.webp"); }
.bn-road { background-image: linear-gradient(rgba(7,26,64,.78), rgba(7,26,64,.78)), url("../img/road-960.webp"); }
.bn-customs { background-image: linear-gradient(rgba(7,26,64,.78), rgba(7,26,64,.78)), url("../img/customs-960.webp"); }
.bn-docs { background-image: linear-gradient(rgba(7,26,64,.8), rgba(7,26,64,.8)), url("../img/docs-960.webp"); }
.bn-cta { background-image: linear-gradient(rgba(7,26,64,.78), rgba(7,26,64,.78)), url("../img/cta-960.webp"); }
.bn-port2 { background-image: linear-gradient(rgba(7,26,64,.78), rgba(7,26,64,.78)), url("../img/port2-960.webp"); }
@media (min-width: 961px) {
  .bn-aerial { background-image: linear-gradient(rgba(7,26,64,.78), rgba(7,26,64,.78)), url("../img/aerial-1920.webp"); }
  .bn-hero { background-image: linear-gradient(rgba(7,26,64,.78), rgba(7,26,64,.78)), url("../img/hero-1920.webp"); }
  .bn-sea { background-image: linear-gradient(rgba(7,26,64,.78), rgba(7,26,64,.78)), url("../img/sea-1920.webp"); }
  .bn-air2 { background-image: linear-gradient(rgba(7,26,64,.72), rgba(7,26,64,.72)), url("../img/air2-1920.webp"); }
  .bn-road { background-image: linear-gradient(rgba(7,26,64,.78), rgba(7,26,64,.78)), url("../img/road-1920.webp"); }
  .bn-customs { background-image: linear-gradient(rgba(7,26,64,.78), rgba(7,26,64,.78)), url("../img/customs-1920.webp"); }
  .bn-docs { background-image: linear-gradient(rgba(7,26,64,.8), rgba(7,26,64,.8)), url("../img/docs-1920.webp"); }
  .bn-cta { background-image: linear-gradient(rgba(7,26,64,.78), rgba(7,26,64,.78)), url("../img/cta-1920.webp"); }
  .bn-port2 { background-image: linear-gradient(rgba(7,26,64,.78), rgba(7,26,64,.78)), url("../img/port2-1920.webp"); }
}

/* Parallax bands */
.call-action.cta-bg { background-image: url("../img/cta-960.webp"); background-size: cover; background-position: center; }
.statistics.stat-bg { background-image: url("../img/port2-960.webp"); }
@media (min-width: 961px) {
  .call-action.cta-bg { background-image: url("../img/cta-1920.webp"); }
  .statistics.stat-bg { background-image: url("../img/port2-1920.webp"); }
}
.call-action .overly { background: rgba(7, 26, 64, .82); }
.statistics .overly { background: rgba(7, 26, 64, .8); }
.call-action .overly .cta-sub { color: #eef3fb; font-size: 17px; margin: -10px auto 28px; max-width: 680px; }
.call-action .overly .btn.solid-btn { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.call-action .overly .btn.solid-btn:hover { background: #fff; border-color: #fff; color: var(--navy); }
.statistics .stat-col .stat-top i { color: var(--blue); }
@media (max-width: 767px) {
  .call-action .overly h2 { font-size: 22px; line-height: 1.35; }
  .call-action .overly h2 br { display: none; }
  .statistics .overly { padding: 60px 0; }
  .statistics .stat-col { border-right: 0; border-bottom: 1px solid #e3e3e3; }
}

/* ---------- Typography fixes for semantic heading levels ---------- */
.section-heading { line-height: 1.25; }
.about-us .about-text .focus-text { font-family: 'montserrat'; font-size: 34px; line-height: 1.25; font-weight: 400; color: #4a4f5c; margin: 0 0 20px; }
.tab-custom .tab-content h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-top: 0; }
.tab-custom .nav-tabs li > a .tab-icon { font-size: 30px; color: var(--blue); margin-bottom: 8px; }
.tab-custom .nav-tabs li.active > a .tab-icon { color: var(--orange); }
.service .service-wrapper li h3 { text-transform: uppercase; font-weight: 700; font-size: 18px; margin: 25px 0 20px; color: #4a4f5c; }
.service .service-wrapper li .icon-wrapper { display: flex; align-items: center; justify-content: center; padding-top: 0; }
.service .service-wrapper li .icon-wrapper .fa { font-size: 34px; }
.abt-page .ser-col h3, .ser-page .service-wrapper li h3 { text-transform: uppercase; font-weight: 700; font-size: 18px; line-height: 24px; color: #4a4f5c; }
.abt-page .ser-col h3 { margin: 15px 0; }
.ser-page .service-wrapper li h3 { padding-top: 15px; margin-top: 0; transition: color 250ms; }
.ser-page .service-wrapper .ser-col:hover h3 { color: var(--blue); }
.ser-page .service-wrapper li .icon-wrapper, .abt-page .ser-col .icon-wrapper, .ser-single .service-category li a .icon-wrapper { display: flex; align-items: center; justify-content: center; padding-top: 0; }
.ser-page .service-wrapper li .icon-wrapper .fa, .abt-page .ser-col .icon-wrapper .fa, .ser-single .service-category li a .icon-wrapper .fa { font-size: 22px; line-height: 1; }
.ser-single .service-category li:hover a .icon-wrapper .fa, .ser-single .service-category li a[aria-current="page"] .icon-wrapper .fa { color: #fff; }
.ser-single .service-category li a[aria-current="page"] { color: var(--blue); }
.ser-single .service-category li a[aria-current="page"] .icon-wrapper { background: var(--blue); }
.ser-single .service-right h2.right-heading { font-size: 22px; font-weight: 700; color: var(--navy); text-transform: uppercase; margin: 0 0 25px; }
.ser-single .service-right .service-contact .btn { margin-top: 25px; }
.ser-page .service-wrapper .ser-col { height: 100%; }
.ser-page .service-wrapper { display: flex; flex-wrap: wrap; }
.ser-page .service-wrapper > li { margin-bottom: 30px; }
.ser-page .service-wrapper + .service-wrapper { margin-top: 0; }
.charge { background: #f3f6fb; border-left: 3px solid var(--orange); padding: 10px 14px; border-radius: 0 4px 4px 0; color: #3d4452 !important; font-size: 15px; }
.charge strong { color: var(--navy); }
.quote-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.meta-head { font-weight: 300; font-size: 22px; text-transform: uppercase; margin-bottom: 4px; color: #4a4f5c; }
.testi-video { padding-bottom: 80px; }
.steps-list { counter-reset: step; }
.steps-list li { counter-increment: step; position: relative; padding: 0 0 18px 56px; }
.steps-list li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -2px; font-family: 'montserrat'; font-weight: 700; font-size: 26px; color: var(--orange); }
.steps-list strong { color: var(--navy); }

/* Content blocks */
.content h2 { color: var(--navy); }
.content h2.section-heading { color: var(--blue); }
.content .list-style.cross li:before { content: '\f00d'; color: #b42318; }
.content figure { margin: 25px 0; }
.content figure img, .ser-single .content > img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.ser-single .content > img { margin-bottom: 25px; }
.note-box { background: #eaf2fd; border: 1px solid #c8dbf7; border-left: 5px solid var(--blue); border-radius: 4px; padding: 16px 20px; margin-top: 25px; }
.note-box.warn { background: #fff6ed; border-color: #f9d6b4; border-left-color: var(--orange); }
.note-box p { margin: 0 !important; }
.note-box h3 { font-size: 18px !important; margin: 0 0 8px !important; }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 25px; border: 1px solid #dbe2ec; border-radius: 5px; }
.table-wrap table { width: 100%; margin: 0; border-collapse: collapse; font-size: 15px; }
.table-wrap th, .table-wrap td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #dbe2ec; }
.table-wrap thead th { background: var(--navy); color: #fff; font-family: 'montserrat'; font-weight: 600; white-space: nowrap; }
.table-wrap tbody tr:nth-child(even) { background: #f5f8fc; }
.table-wrap tbody tr:last-child th, .table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody th { color: var(--navy); width: 36%; }
.table-wrap.wide table { min-width: 620px; }

/* Company details */
.company-details { border: 1px solid #dbe2ec; border-radius: 5px; background: #fff; margin: 0; }
.company-details > div { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 12px 18px; border-bottom: 1px solid #dbe2ec; }
.company-details > div:last-child { border-bottom: 0; }
.company-details dt { flex: 0 0 180px; color: var(--navy); font-family: 'montserrat'; font-weight: 600; }
.company-details dd { flex: 1 1 200px; margin: 0; }

/* About page "why" image */
.abt-page .img-wrapper img, .about-wrapper > div > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.abt-page .img-wrapper { position: static; max-width: none; margin-top: 40px; }

/* FAQs */
.faqs-section .faqs h3.faq-heading { font-size: 18px; color: var(--navy); line-height: 1.35; }
.faqs-section .faqs { margin-bottom: 30px; }

/* Forms */
.form-field label:not(.sr-only):not(.consent) { display: block; font-weight: 700; color: var(--navy); font-size: 14px; margin-bottom: 6px; }
.form-field .hint { display: block; font-weight: 400; color: #555e6d; font-size: 13px; }
.form-field .req, .req { color: #b42318; }
.form-control, .quote-page select, .contact select { min-height: 46px; border-color: #b6c2d4; color: #1c2434; font-size: 15px; }
.quote-page select, .contact select { width: 100%; padding: 8px 12px; border: 1px solid #b6c2d4; border-radius: 4px; background: #fff; }
.form-control::placeholder { color: #6b7280; }
[aria-invalid="true"] { border-color: #b42318 !important; }
.field-error { display: block; color: #b42318; font-size: 13px; margin-top: 4px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: #3d4452; font-size: 14px; }
.consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--blue); }
.quote-page fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.quote-page legend { border: 0; font-family: 'montserrat'; font-weight: 700; color: var(--navy); font-size: 20px; margin-bottom: 18px; }
.quote-page .form-group > [class*="col-"] { margin-bottom: 16px; }
.btn.solid-btn.sb-h { min-height: 46px; }

/* 404 */
.error-page { background: linear-gradient(120deg, #071a40, #0b2559 60%, #12357a); padding: 200px 0 120px; }
.error-page .error-code { font-family: 'montserrat'; font-weight: 700; font-size: 120px; line-height: 1; color: var(--orange); }
.error-page h1, .error-page p { color: #fff; }
.error-page h1 { font-size: 44px; line-height: 1.2; margin: 16px 0 20px; text-transform: none; }
.error-page a:not(.btn) { color: #fff; text-decoration: underline; }

/* ---------- Footer ---------- */
.footer-widget h2.heading-col { font-size: 16px; font-weight: 700; text-transform: uppercase; margin: 0 0 20px; color: #fff; }
.footer-widget h2.heading-col::after { content: ""; display: block; width: 32px; height: 3px; background: var(--orange); margin-top: 10px; }
.footer-widget .widget-container .footer-col .bottom-des .about-des a { color: #c9d5ea; text-decoration: underline; }
.footer-widget .widget-container .footer-col .bottom-des.contact-des i { color: var(--orange); }
.footer-widget a:hover { color: #fff; text-decoration: underline; }
.copyright .company-legal { font-size: 13px; color: #c9d5ea; margin: 0 15px 8px; }
.copyright span { margin-left: 15px; }
.copyright .legal-links { margin-right: 15px; }
.copyright .legal-links li { margin-left: 14px; }
.copyright .legal-links li a { font-size: 13px; }
.copyright .legal-links li a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 767px) {
  .copyright .social { float: none; margin: 12px 15px 0; }
  .copyright .legal-links li { margin: 0 14px 6px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.faqs-section .faqs h2.section-heading { font-size: 22px; margin-bottom: 12px; }
@media (max-width: 480px) { .error-page .error-code { font-size: 80px; } .error-page h1 { font-size: 32px; } .error-page { padding: 150px 0 80px; } }
