/*
 * Modern Cloud Cargo - custom styles.
 * Consolidated from previously inline <style> blocks so the site can run
 * under a strict Content-Security-Policy (no 'unsafe-inline' for styles).
 */

/* Base font tokens — Space Grotesk headings + Inter body */
html {
  --main-font: 'Inter', Helvetica, Arial, sans-serif;
  --heading-font: 'Space Grotesk', 'Inter', Helvetica, Arial, sans-serif;
}

/* Apply heading font to all heading elements and heading utility classes */
h1, h2, h3, h4, h5, h6,
.font-h1, .font-h2, .font-h3, .font-h4, .font-h5,
.hero-stage__title,
.regular-stage__title,
.module__title,
.featured-teaser__title,
.teaser-list-c__teaser-title,
.teaser-list-d__teaser-title,
.sequence__item-header,
.sequence__item-title,
.banner__title,
.font-display {
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}

/* Apply body font to everything else */
body, p, a, li, span, label, input, select, textarea, button, td, th {
  font-family: var(--main-font);
}

/* Smooth scrolling: render images immediately, disable the lazy-load placeholder blink */
.lazy-placeholder-loader{background:none!important}
.lazy-placeholder-loader__content{opacity:1!important;transition:none!important}
.lazy-placeholder-loader--loading:before,.loader--active:before{display:none!important;content:none!important;animation:none!important}
html{scroll-behavior:smooth}
/* The theme's JS chunks were not mirrored, so its custom elements never
   "upgrade" and default to display:inline, which collapses the images inside.
   Force block layout so the native <picture>/<img> render normally. */
lazy-loaded-image,teaser-component,slider-component,listing-component,accordion-component{display:block}
.hero-stage__area-pic lazy-loaded-image{position:absolute;inset:0;height:100%;width:100%}
web-chat,web-chat-maintenance-holder{display:none}

/* Softened, rounded edges across the site */
:root{--mcc-radius:16px;--mcc-radius-sm:8px}
.btn,a.btn,button.btn,.reset-button.btn,.search-form__button{border-radius:var(--mcc-radius-sm)}
input,select,textarea,.inputfield,.control__input,.mcc-quote__select,.mcc-quote__input{border-radius:var(--mcc-radius-sm)}
.teaser-list-d__teaser,.featured-teaser,.teaser,.module,.paper,.tracking-form,.connect-widget__wrapper,.main-navigation__teaser,.hero-stage,.feature-stage,.card,.info-box,.quote-teaser,.text-image,.dsv-form__inner{border-radius:var(--mcc-radius)}
.cover-image,.hero-stage__picture,.featured-teaser__image,.teaser-list-d__teaser-media,.teaser-list-d__teaser-image,.main-navigation__teaser-picture-area,.lazy-placeholder-loader,[class*="ratio-"]{border-radius:var(--mcc-radius);overflow:hidden}

/* Keep the 4 featured-teaser card images the same size (only these cards). */
.featured-teaser__image{aspect-ratio:4/3;width:100%;display:block}
.featured-teaser__image img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.dialog__window,.dialog{border-radius:var(--mcc-radius)}
/* keep the logo and small inline icons square */
.header-content__logo-img,.icon,svg.icon{border-radius:0}

/* Logo sizing (was inline style attributes) */
.header-content__logo-img{height:66px;width:auto;display:block}
.mcc-footer-logo{height:96px;width:auto;display:block;background:#fff;padding:12px 16px;border-radius:12px}

/* ── Mobile hamburger fix ──────────────────────────────────────────────────
   The header sits as position:sticky with z-index:65. On mobile the logo
   anchor can stretch across the full row and swallow clicks meant for the
   hamburger button. Ensure the user-menu strip and the burger button itself
   are always on top and fully clickable.
   ───────────────────────────────────────────────────────────────────────── */
.header-user-menu {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}
.header-mobile-menu,
.js-header-mobile-menu {
  position: relative;
  z-index: 11;
  pointer-events: auto;
  cursor: pointer;
  /* Generous tap target — minimum 44×44 px */
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* Hide hamburger on desktop — show only on mobile/tablet */
@media (min-width: 992px) {
  .header-mobile-menu,
  .js-header-mobile-menu {
    display: none !important;
  }
}
/* Prevent the logo link from stretching over the burger on small screens */
.header-content__logo {
  position: relative;
  z-index: 5;
  flex-shrink: 0;
}
/* Make sure nothing in the header overlaps the user-menu area */
.header-content {
  position: relative;
  z-index: 66;
}

/* Desktop mega-menu: retain the HTTrack structure and original theme states. */
.header-content-menu > li{position:static}
.main-navigation{display:none!important}
.main-navigation__level-wrapper{display:none}
body.mcc-mobile-menu-open{overflow:hidden}
@media only screen and (min-width:992px){
  .header-content-menu { display: flex !important; gap: 32px; align-items: center; }
  .header-content-menu > li.mcc-menu-open > .main-navigation,
  .header-content-menu > li:hover > .main-navigation{display:block!important}
  .header-content-menu > li.mcc-menu-open > .main-navigation .main-navigation__all-levels-wrapper,
  .header-content-menu > li:hover > .main-navigation .main-navigation__all-levels-wrapper{opacity:1;pointer-events:auto}
  .main-navigation__all-levels-wrapper:before{bottom:100%;content:"";height:24px;inset-inline:0;pointer-events:auto;position:absolute}
  .header-content-menu > li.mcc-menu-open > .main-navigation .main-navigation__level-wrapper,
  .header-content-menu > li:hover > .main-navigation .main-navigation__level-wrapper{display:block}
  .header-content-menu__button:after{background:#0066FF;bottom:-9px;content:"";height:3px;left:0;position:absolute;right:0;transform:scaleX(0);transform-origin:left;transition:transform .15s ease}
  .header-content-menu > li.mcc-menu-open > .header-content-menu__button,
  .header-content-menu > li:hover > .header-content-menu__button{color:#0066FF}
  .header-content-menu > li.mcc-menu-open > .header-content-menu__button:after,
  .header-content-menu > li:hover > .header-content-menu__button:after{transform:scaleX(1)}
}

/* Home / MyDSV instant-quote widget (was inline <style> on those pages) */
.connect-widget__wrapper:has(.mcc-quote){background:#fff}
.mcc-quote{background:#fff;padding:26px 30px;height:100%;box-sizing:border-box}
.mcc-quote__title{margin:0 0 18px}
.mcc-quote__modes{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:26px}
.mcc-quote__mode input{position:absolute;opacity:0;width:0;height:0}
.mcc-quote__mode span{display:inline-flex;align-items:center;gap:8px;border:1px solid #c3c9d4;border-radius:6px;padding:9px 14px;font-size:14px;font-weight:600;cursor:pointer;background:#fff;color:#1B4332}
.mcc-quote__mode input:checked+span{background:#1B4332;color:#fff;border-color:#1B4332}
.mcc-quote__mode input:focus-visible+span{box-shadow:0 0 0 3px rgba(27,67,50,.25)}
.mcc-quote__grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}
.mcc-quote__label{display:block;font-weight:700;margin-bottom:10px;color:#1B4332}
.mcc-quote__select,.mcc-quote__input{width:100%;box-sizing:border-box;border:1px solid #c3c9d4;border-radius:6px;padding:12px;font:inherit;background:#fff;margin-bottom:14px;color:#1a202c}
.mcc-quote__select:focus,.mcc-quote__input:focus{outline:none;border-color:#1B4332;box-shadow:0 0 0 3px rgba(27,67,50,.12)}

/* ── Custom styled dropdown (replaces native OS select styling) ───────────── */
.mcc-select { position: relative; margin-bottom: 14px; user-select: none; -webkit-user-select: none; }
.mcc-select__input { user-select: text; -webkit-user-select: text; }
/* Hide the real native select but keep it for form submission.
   Collapse it to 1px and make it non-selectable so its option text
   can never be dragged/copied into the page selection. */
.mcc-select select {
  position: absolute;
  width: 1px;
  height: 1px;
  top: 0; left: 0;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.mcc-select__input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #c3c9d4;
  border-radius: 6px;
  padding: 12px;
  padding-right: 38px;
  font: inherit;
  background: #fff;
  color: #1a202c;
  cursor: text;
}
.mcc-select__input::placeholder { color: #6b7280; }
.mcc-select__input:hover { border-color: #1B4332; }
.mcc-select.is-open .mcc-select__input,
.mcc-select__input:focus {
  outline: none;
  border-color: #1B4332;
  box-shadow: 0 0 0 3px rgba(27,67,50,.12);
}
.mcc-select__chevron {
  position: absolute;
  right: 12px;
  top: 16px;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  transition: transform .15s ease;
  color: #1B4332;
  cursor: pointer;
  pointer-events: auto;
}
.mcc-select.is-open .mcc-select__chevron { transform: rotate(180deg); }
.mcc-select__panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 40;
  background: #fff;
  border: 1px solid #c3c9d4;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
  max-height: 280px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: none;
  padding: 4px 0;
}
.mcc-select.is-open .mcc-select__panel { display: block; }
.mcc-select__option {
  padding: 10px 14px;
  cursor: pointer;
  color: #1a202c;
  font-size: .9375rem;
  line-height: 1.3;
}
.mcc-select__option:hover,
.mcc-select__option.is-active { background: #eef2fb; color: #1B4332; }
.mcc-select__option.is-selected { font-weight: 600; color: #1B4332; }

.mcc-select__no-result {
  padding: 12px 14px;
  color: #6b7280;
  font-size: .9375rem;
}

/* City / postal autocomplete (Photon) */
.mcc-ac { position: relative; }
.mcc-ac__panel {
  position: absolute;
  top: calc(100% - 10px);
  left: 0;
  right: 0;
  z-index: 40;
  background: #fff;
  border: 1px solid #c3c9d4;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
  max-height: 280px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: none;
  padding: 4px 0;
}
.mcc-ac.is-open .mcc-ac__panel { display: block; }
.mcc-ac__option {
  padding: 10px 14px;
  cursor: pointer;
  color: #1a202c;
  font-size: .9375rem;
  line-height: 1.3;
}
.mcc-ac__option:hover { background: #eef2fb; color: #1B4332; }
.mcc-ac__option strong { font-weight: 700; }

/* Postal / city not-found error (matches DSV red styling) */
.mcc-quote__input.is-invalid {
  border-color: #d93025;
  color: #d93025;
}
.mcc-quote__input.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(217,48,37,.15);
  border-color: #d93025;
}
.mcc-ac__msg {
  margin: -8px 0 12px;
  font-size: .8125rem;
  min-height: 1em;
}
.mcc-ac__msg.is-invalid { color: #d93025; }
/* Turn the field label red when the value is invalid (like DSV) */
.mcc-quote__col:has(.mcc-quote__input.is-invalid) .mcc-quote__label {
  color: #d93025;
}
.mcc-quote__footer{display:flex;align-items:center;justify-content:flex-end;gap:18px;flex-wrap:wrap;margin-top:6px}
.mcc-quote__note{color:#4a5568;font-size:14px}
.mcc-quote__submit{min-width:96px}
@media(max-width:640px){.mcc-quote__grid{grid-template-columns:1fr}}

/* CTA panel — replaces the login/register block, matches booking-tool style */
.paper {
  background: #fff;
}
.mcc-cta-panel {
  padding: 26px 30px;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.mcc-cta-panel .font-h4 {
  margin: 0 0 10px;
}
.mcc-cta-panel .font-body-2 {
  margin: 0 0 20px;
  color: #2f3135;
}
.mcc-cta-panel .booking-tool-register__list {
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
/* Tick icons use the CTA link blue (same as "Explore eVisibility") */
.mcc-cta-panel .booking-tool-register__list-icon {
  color: #C05E2C;
}
.mcc-cta-panel__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.mcc-cta-panel__actions .btn {
  flex: 1;
  text-align: center;
}
@media (max-width: 480px) {
  .mcc-cta-panel__actions {
    flex-direction: column;
  }
  .mcc-cta-panel__actions .btn {
    width: 100%;
  }
}
.dsv-form { --dsv-navy: #1B4332; text-align: center; }
.dsv-form__inner { max-width: 760px; margin: 0 auto; }
.dsv-form__title { margin-bottom: .25rem; }
.dsv-form__intro { margin: 0 0 1.5rem; opacity: .8; }
.dsv-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; text-align: left; }
.dsv-form__field { display: flex; flex-direction: column; }
.dsv-form__field--full { grid-column: 1 / -1; }
.dsv-form__field label { font-size: .85rem; font-weight: 600; margin-bottom: .35rem; }
.dsv-form__field input,
.dsv-form__field textarea { border: 1px solid #c3c9d4; border-radius: 6px; padding: .7rem .85rem; font: inherit; background: #fff; width: 100%; box-sizing: border-box; }
.dsv-form__field input:focus,
.dsv-form__field textarea:focus { outline: none; border-color: var(--dsv-navy); box-shadow: 0 0 0 3px rgba(27, 67, 50, .12); }
.dsv-form__submit { margin-top: 1.5rem; }
.dsv-form__hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.dsv-form__alert { border-radius: 6px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; text-align: left; }
.dsv-form__alert--success { background: #e6f4ea; border: 1px solid #34a853; color: #1e6b34; }
.dsv-form__alert--error { background: #fdecea; border: 1px solid #d93025; color: #a50e0e; }
.dsv-form__alert ul { margin: .5rem 0 0; padding-left: 1.2rem; }
@media (max-width: 640px) { .dsv-form__grid { grid-template-columns: 1fr; } }

/* ── Quote form validation error states ──────────────────────────────────── */
.mcc-field--error .mcc-select__input,
.mcc-field--error.mcc-ac .mcc-quote__input,
.mcc-field--error.mcc-quote__col .mcc-quote__input {
  border-color: #d93025;
  box-shadow: 0 0 0 2px rgba(217,48,37,.15);
}
.mcc-field--error.mcc-select { animation: mcc-shake .25s ease; }
@keyframes mcc-shake {
  0%,100% { transform: translateX(0); }
  25%      { transform: translateX(-4px); }
  75%      { transform: translateX(4px); }
}

/* ── Insights article listing grid ───────────────────────────────────────── */
.mcc-article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px 28px;margin-top:8px}
@media (max-width:991px){.mcc-article-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.mcc-article-grid{grid-template-columns:1fr}}
.mcc-article-card{display:flex;flex-direction:column}
.mcc-article-card .featured-teaser__image{margin-bottom:14px}
.mcc-article-card__meta{color:#6b7280;font-size:13px;letter-spacing:.02em;text-transform:uppercase;margin:0 0 6px}
.mcc-article-card__title{font-size:1.15rem;line-height:1.3;margin:0 0 8px}
.mcc-article-card__title a{color:#1B4332;text-decoration:none}
.mcc-article-card__title a:hover{text-decoration:underline}
.mcc-article-card__excerpt{color:#2f3135;font-size:.95rem;line-height:1.5;margin:0 0 12px;flex:1}
.mcc-article-card__link{display:inline-flex;align-items:center;gap:8px;color:#1B4332;font-weight:600;text-decoration:none;margin-top:auto}
.mcc-article-card__link:hover{text-decoration:underline}
.mcc-article-card__link svg{width:14px;height:14px}

/* ── Help & contact form (DSV-style survey form) ─────────────────────────── */
.mcc-contact-form { max-width: 1000px; padding-right: 34px; }
.mcc-contact-form__title { font-size: 24px; padding: 20px 0; margin: 0; }
.mcc-contact-form .full_width_space { margin-bottom: 20px; }
.mcc-contact-form .full_width_space h3,
.mcc-contact-form .q.full_width h3 { font-size: 20px; font-weight: 400; margin: 22px 0 6px; }
.mcc-contact-form .full_width_space p { margin: 0 0 10px; }
.mcc-contact-form .full_width_space a,
.mcc-contact-form .q.full_width a { color: #1B4332; }

.mcc-contact-form .q { position: relative; margin-bottom: 14px; }
.mcc-contact-form .q.display_hidden { display: none; }
.mcc-contact-form .q.full_width { margin-bottom: 4px; }

/* Label rendered as a placeholder inside the field. */
.mcc-contact-form .q .question.top_question {
  position: absolute; top: 14px; left: 15px; z-index: 1;
  color: #6b7280; font-size: 16px; font-weight: 400; pointer-events: none;
  transition: opacity .1s ease;
}
.mcc-contact-form .q.is-filled .question.top_question { opacity: 0; }
.mcc-contact-form .q.full_width .question.top_question { position: static; }
.mcc-contact-form .icon_required { display: none; }

/* Required star, shown to the right of the field (like the reference). */
.mcc-contact-form .q.required::after {
  content: "\2605"; position: absolute; right: -22px; top: 15px;
  color: #c3c9d4; font-size: 15px; line-height: 1;
}
.mcc-contact-form .q.full_width.required::after { content: none; }

.mcc-contact-form .text_field,
.mcc-contact-form .drop_down {
  width: 100%; box-sizing: border-box;
  padding: 13px 15px; border: 1px solid #c3c9d4; border-radius: 2px;
  font: inherit; font-size: 16px; color: #131821; background: #fff;
}
.mcc-contact-form textarea.text_field { min-height: 160px; resize: vertical; line-height: 1.5; }
.mcc-contact-form .text_field:focus,
.mcc-contact-form .drop_down:focus { outline: none; border-color: #1B4332; box-shadow: 0 0 0 2px rgba(27,67,50,.12); }
.mcc-contact-form .drop_down:disabled { background: #f4f6f8; color: #9aa1ac; }

.mcc-contact-form__submit { margin-top: 18px; min-width: 140px; }

/* Honeypot */
.mcc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 649px) {
  .mcc-contact-form { padding-right: 22px; }
  .mcc-contact-form .q.required::after { right: -18px; }
}

/* Kenyan Identity Redesign Overrides */
:root {
  --mcc-primary: #0A4296;
  --mcc-accent: #0066FF;
  --mcc-bg: #F4F8FF;
  --mcc-text: #0F172A;
  --mcc-secondary: #2563EB;
  --mcc-surface: #DBEAFE;
  --mcc-white: #FFFFFF;
}

body {
  background-color: var(--mcc-bg) !important;
  color: var(--mcc-text) !important;
  font-family: 'Inter', sans-serif !important;
}

h1, h2, h3, h4, h5, h6, .font-h1, .font-h2, .font-h3, .font-h4, .font-h5, .font-h6 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.header-box { background-color: var(--mcc-white) !important; }

/* Buttons */
.btn--primary, .btn.js-booking-redirect, .header-cta-buttons .btn {
  background-color: var(--mcc-accent) !important;
  color: var(--mcc-white) !important;
  border-color: var(--mcc-accent) !important;
}
.btn--primary:hover, .btn.js-booking-redirect:hover, .header-cta-buttons .btn:hover {
  background-color: #0047AB !important;
}

/* Footer */
.footer {
  background-color: #061838 !important;
  color: var(--mcc-bg) !important;
}
.footer__section-title, .footer__copyright {
  color: var(--mcc-white) !important;
}
.footer__link {
  color: var(--mcc-surface) !important;
}
.footer__link:hover {
  color: var(--mcc-white) !important;
}
.footer__divider {
  border-top-color: var(--mcc-secondary) !important;
}

/* Route Builder Hero */
.hero-kenya {
  display: flex;
  min-height: 100vh;
  width: 100%;
}
@media (max-width: 991px) {
  .hero-kenya { flex-direction: column; }
}

.hero-kenya__left {
  width: 55%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  color: var(--mcc-white);
  background: url('/images/pexels/pexels-photo-1427107.jpeg') center/cover no-repeat;
}
@media (max-width: 991px) {
  .hero-kenya__left { width: 100%; min-height: 50vh; }
}

.hero-kenya__left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(10, 66, 150, 0.85); /* Deep Blue Overlay */
}

.hero-kenya__left-content {
  position: relative;
  z-index: 10;
}

.hero-kenya__left-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--mcc-white);
}

.hero-kenya__left-content p {
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 80%;
  color: var(--mcc-bg);
}

.hero-kenya__right {
  width: 45%;
  background-color: var(--mcc-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}
@media (max-width: 991px) {
  .hero-kenya__right { width: 100%; padding: 2rem 1rem; }
}

.hero-kenya__card {
  background-color: var(--mcc-white);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(27, 67, 50, 0.08);
  padding: 2.5rem;
  width: 100%;
  max-width: 500px;
  position: relative;
  z-index: 10;
}

.hero-kenya__card h2 {
  font-size: 1.75rem;
  color: var(--mcc-primary);
  margin-bottom: 2rem;
  font-weight: 600;
}

/* Route Inputs */
.hero-route-inputs {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hero-route-inputs::before {
  content: '';
  position: absolute;
  left: 1.5rem;
  top: 2.5rem;
  bottom: 2.5rem;
  width: 2px;
  border-left: 2px dashed var(--mcc-secondary);
  z-index: 1;
}

.hero-route-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-route-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--mcc-surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mcc-primary);
  flex-shrink: 0;
}

.hero-route-icon svg {
  width: 20px;
  height: 20px;
}

.hero-route-fields {
  flex-grow: 1;
  display: flex;
  gap: 0.5rem;
}
@media (max-width: 480px) {
  .hero-route-fields { flex-direction: column; }
}

.hero-kenya__card .mcc-quote__select,
.hero-kenya__card .mcc-quote__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #c3c9d4;
  border-radius: 8px;
  font-size: 0.95rem;
  background: var(--mcc-white);
  color: var(--mcc-text);
}
.hero-route-fields > * {
  flex: 1;
}

.hero-kenya__card .mcc-quote__select:focus,
.hero-kenya__card .mcc-quote__input:focus {
  border-color: var(--mcc-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(27, 67, 50, 0.1);
}

/* Freight Types */
.hero-freight-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-freight-type {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--mcc-surface);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.hero-freight-type:hover {
  border-color: var(--mcc-primary);
  background-color: rgba(74, 124, 89, 0.05);
}

.hero-freight-type input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.hero-freight-type svg {
  color: var(--mcc-primary);
  width: 24px;
  height: 24px;
}

.hero-freight-type span {
  font-weight: 500;
  font-size: 0.95rem;
}

.hero-freight-type:has(input:checked) {
  border-color: var(--mcc-primary);
  background-color: rgba(74, 124, 89, 0.1);
  box-shadow: 0 0 0 1px var(--mcc-primary);
}

.hero-submit-btn {
  width: 100%;
  background-color: var(--mcc-accent) !important;
  color: var(--mcc-white) !important;
  border: none;
  border-radius: 8px;
  padding: 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.2s;
}

.hero-submit-btn:hover {
  background-color: #0047AB !important;
}

.hero-submit-subtext {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #6b7280;
}

/* ==========================================================================
   Creative Homepage Redesign Sections
   ========================================================================== */

.mcc-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mcc-section {
  padding: 5rem 0;
  background: #f8faf9;
}

.mcc-section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem auto;
}

.mcc-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background-color: rgba(27, 67, 50, 0.08);
  color: var(--mcc-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.mcc-badge-light {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.mcc-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 2.3rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.mcc-subtitle {
  font-size: 1.1rem;
  color: #4b5563;
  line-height: 1.6;
}

/* Industry Grid */
.mcc-industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.mcc-industry-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mcc-industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px rgba(27, 67, 50, 0.15);
}

.mcc-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.mcc-industry-card:hover .mcc-card-bg {
  transform: scale(1.06);
}

.mcc-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.2) 0%, rgba(17, 24, 39, 0.85) 75%, rgba(17, 24, 39, 0.95) 100%);
}

.mcc-card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: #ffffff;
}

.mcc-icon-wrapper {
  width: 48px;
  height: 48px;
  background-color: var(--mcc-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(192, 94, 44, 0.4);
}

.mcc-icon-wrapper svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.mcc-card-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.mcc-card-content p {
  font-size: 0.95rem;
  color: #e5e7eb;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.mcc-card-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--mcc-surface);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mcc-card-link:hover {
  color: var(--mcc-accent);
}

/* Stats Banner Section */
.mcc-stats-banner {
  background: linear-gradient(135deg, #0A4296 0%, #061838 100%);
  padding: 5rem 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.mcc-stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.mcc-stats-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.mcc-stats-header h2 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.mcc-stats-header p {
  font-size: 1.1rem;
  color: #d1d5db;
}

.mcc-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.mcc-stat-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.mcc-stat-box:hover {
  transform: translateY(-4px);
  border-color: var(--mcc-accent);
}

.mcc-stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #ffffff 0%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mcc-stat-label {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.mcc-stat-desc {
  font-size: 0.9rem;
  color: #9ca3af;
  line-height: 1.5;
}

.mcc-stats-quote {
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.4rem;
  font-weight: 600;
  font-style: italic;
  color: var(--mcc-surface);
  opacity: 0.9;
}

/* Modes Section */
.mcc-modes-section {
  background: #ffffff;
}

.mcc-modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.mcc-mode-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.mcc-mode-card:hover {
  background: #ffffff;
  border-color: var(--mcc-primary);
  box-shadow: 0 12px 30px rgba(27, 67, 50, 0.1);
  transform: translateY(-4px);
}

.mcc-mode-icon {
  width: 52px;
  height: 52px;
  background-color: rgba(27, 67, 50, 0.08);
  color: var(--mcc-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.mcc-mode-card:hover .mcc-mode-icon {
  background-color: var(--mcc-primary);
  color: #ffffff;
}

.mcc-mode-icon svg {
  width: 26px;
  height: 26px;
}

.mcc-mode-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.mcc-mode-card p {
  font-size: 0.92rem;
  color: #6b7280;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.mcc-mode-btn {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--mcc-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mcc-mode-btn:hover {
  color: var(--mcc-accent);
}

/* Why Section */
.mcc-why-section {
  background: #f3f4f6;
  padding: 5rem 0;
}

.mcc-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.mcc-why-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.mcc-why-card:hover {
  transform: translateY(-4px);
}

.mcc-why-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.mcc-why-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.mcc-why-card p {
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.55;
}

/* CTA Section */
.mcc-cta-section {
  padding: 5rem 0;
  background: #ffffff;
}

.mcc-cta-box {
  background: linear-gradient(135deg, var(--mcc-primary) 0%, #123524 100%);
  border-radius: 24px;
  padding: 4rem 2.5rem;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(27, 67, 50, 0.2);
}

.mcc-cta-box h2 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

.mcc-cta-box p {
  font-size: 1.1rem;
  color: #d1d5db;
  max-width: 650px;
  margin: 0 auto 2.25rem auto;
}

.mcc-cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.mcc-btn-primary {
  background-color: var(--mcc-accent) !important;
  color: #ffffff !important;
  padding: 0.95rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

.mcc-btn-primary:hover {
  background-color: #0047AB !important;
}

.mcc-btn-secondary {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.95rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

.mcc-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.22) !important;
}

/* Cargo Journey Flow Section */
.mcc-journey-section {
  background: #f3f4f6;
  padding: 5rem 0;
}

.mcc-journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.mcc-journey-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.mcc-journey-card:hover {
  transform: translateY(-6px);
  border-color: var(--mcc-primary);
}

.mcc-step-badge {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--mcc-accent);
  background: rgba(192, 94, 44, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.mcc-journey-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.6rem;
}

.mcc-journey-card p {
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.55;
}

/* Maersk-Style Services Tabs & Industry Sectors */
.mcc-maersk-section {
  padding: 4.5rem 0;
  background: #ffffff;
}

.mcc-maersk-heading-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem auto;
}

.mcc-maersk-heading-left {
  text-align: left;
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.mcc-maersk-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.mcc-maersk-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #475569;
}

.hero-kenya__title {
  color: #ffffff;
}

.hero-kenya__desc {
  color: #faf7f2;
  margin-top: 15px;
}

.hero-quote-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #0f172a;
  margin: 0;
}

.hero-quote-tracking {
  margin-top: 2rem;
  border-top: 1px solid var(--mcc-surface);
  padding-top: 1.75rem;
}

.hero-quote-tracking-form {
  padding: 0;
  box-shadow: none;
}

.hero-quote-tracking-label {
  margin-bottom: 2.5rem !important;
  margin-top: 0.5rem !important;
  display: block !important;
  color: var(--mcc-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.hero-quote-tracking-row {
  display: flex;
  gap: 0.75rem;
}

.hero-quote-tracking-input {
  flex: 1;
}

.hero-quote-track-button {
  width: auto;
  padding: 0.75rem 1.5rem;
}

.mcc-maersk-section--surface {
  background: #ffffff;
}

.mcc-maersk-section--alt {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

/* Tabs Bar */
.mcc-tabs-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 3rem;
  overflow-x: auto;
  padding-bottom: 0;
  scrollbar-width: none;
}
.mcc-tabs-nav::-webkit-scrollbar { display: none; }

.mcc-tab-btn {
  background: transparent;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  padding: 0.85rem 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
  border-radius: 8px 8px 0 0;
}

.mcc-tab-btn svg {
  transition: color 0.2s ease;
  opacity: 0.65;
}

.mcc-tab-btn:hover {
  color: #0055cc;
  background: #f0f6ff;
}
.mcc-tab-btn:hover svg {
  opacity: 1;
}

.mcc-tab-btn.active {
  color: #0055cc;
  font-weight: 700;
  background: #f0f6ff;
}
.mcc-tab-btn.active svg {
  opacity: 1;
}

.mcc-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0055cc, #0099ff);
  border-radius: 3px 3px 0 0;
}

/* Product Cards Grid */
.mcc-tab-panel {
  display: none;
}

.mcc-tab-panel.is-active {
  display: block;
}

.mcc-services-carousel {
  position: relative;
  padding-top: 0.5rem;
}

.mcc-services-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.mcc-services-carousel__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mcc-services-carousel__dot {
  width: 28px;
  height: 4px;
  border-radius: 3px;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, width 0.25s ease;
}

.mcc-services-carousel__dot.is-active {
  background: #0f172a;
  width: 36px;
}

.mcc-services-carousel__arrows {
  display: flex;
  gap: 10px;
}

.mcc-services-carousel__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.mcc-services-carousel__arrow:hover {
  border-color: #0055cc;
  color: #0055cc;
}

.mcc-services-carousel__arrow.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.mcc-services-carousel__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.mcc-services-carousel__track::-webkit-scrollbar {
  display: none;
}

.mcc-services-carousel__track .mcc-product-card {
  min-width: min(320px, 85vw);
  flex: 0 0 min(320px, 85vw);
  scroll-snap-align: start;
}

.mcc-product-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  position: relative;
}

.mcc-product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0055cc, #00aaff);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 18px 18px 0 0;
}

.mcc-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 85, 204, 0.12);
  border-color: #b8d4ff;
}
.mcc-product-card:hover::before {
  opacity: 1;
}

.mcc-product-card__img {
  height: 200px;
  overflow: hidden;
}
.mcc-product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.mcc-product-card:hover .mcc-product-card__img img {
  transform: scale(1.06);
}

.mcc-product-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mcc-product-card__title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.mcc-product-card__text {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  flex: 1;
}

/* ── Industry Sectors Carousel ── */
.mcc-carousel-wrap {
  position: relative;
  overflow: hidden;
}

.mcc-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.mcc-carousel-track.is-first {
  transform: translateX(0);
}

.mcc-carousel-track.is-shifted {
  transform: translateX(-24px);
}

.mcc-carousel-arrow.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.mcc-sector-card {
  text-decoration: none;
  display: block;
  flex: 0 0 calc((100% - 72px) / 4);
  min-width: 0;
  text-align: center;
}

@media (max-width: 999px) {
  .mcc-sector-card { flex: 0 0 calc((100% - 48px) / 3); }
}
@media (max-width: 699px) {
  .mcc-sector-card { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 499px) {
  .mcc-sector-card { flex: 0 0 100%; }
}

.mcc-sector-card__img {
  background: #D6E6F2;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mcc-sector-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mcc-sector-card:hover .mcc-sector-card__img {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(10, 66, 150, 0.12);
}

.mcc-sector-card__title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

/* Carousel Controls */
.mcc-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
}

.mcc-carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mcc-carousel-dot {
  width: 28px;
  height: 4px;
  border-radius: 3px;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, width 0.25s ease;
}
.mcc-carousel-dot.active {
  background: #0f172a;
  width: 36px;
}

.mcc-carousel-arrows {
  display: flex;
  gap: 10px;
}

.mcc-carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.mcc-carousel-arrow:hover {
  border-color: #0055cc;
  color: #0055cc;
}
.mcc-carousel-arrow:disabled {
  cursor: default;
  opacity: 0.4;
}

