/* ==========================================================================
   Ocean Gate Logistics — brand overrides
   Loaded AFTER style.css so it wins the cascade.

   Palette sampled directly from images/logo@2x.png:
     #283E59  deep navy   — the "O" and the OCEAN GATE wordmark   (54% of pixels)
     #ABB0B9  cool silver — the "G" and LOGISTICS                 (38%)
     #476EA5  wave blue   — the wave under the monogram            (8%)

   Contrast note: the silver is 2.2:1 on white, so it is used only for
   borders, dividers and decoration — never for text.
   ========================================================================== */

:root {
  /* Deep navy — headers, footers, dark sections */
  --theme-color2: #283E59;
  --bg-theme-color2: var(--theme-color2);

  /* Wave blue — primary accent: buttons, links, icons. 5.2:1 on white (AA). */
  --theme-color1: #476EA5;
  --bg-theme-color1: var(--theme-color1);

  /* Darker wave blue for hover / pressed states */
  --theme-color3: #35547E;
  --bg-theme-color3: var(--theme-color3);

  /* Logo silver — borders, dividers, muted chrome. Not for text. */
  --theme-color4: #ABB0B9;
  --bg-theme-color4: var(--theme-color4);

  /* Neutrals tuned to sit under the navy */
  --text-color: #5B6672;
  --sec-title-subtitle-color: #8A94A2;
}

/* Brand tokens used by the components further down */
:root {
  --ogl-navy: #283E59;
  --ogl-blue: #476EA5;
  --ogl-blue-dark: #35547E;
  --ogl-silver: #ABB0B9;
  --ogl-border: #DFE4EA;
  --ogl-surface: #F4F7FA;
}

/* --------------------------------------------------------------------------
   Hard-coded template colours the variables do not reach.
   -------------------------------------------------------------------------- */

/* Template ships #ff6d2e / #f55713 / #d70006 baked into a few rules */
.preloader h1,
.scroll-to-top:hover,
.sec-title .sub-title,
.theme-btn.btn-style-one:hover {
  color: var(--theme-color1);
}

.scroll-to-top,
.theme-btn.btn-style-one {
  background-color: var(--theme-color1);
}

/* --------------------------------------------------------------------------
   Language switcher (added for NL / EN / AR)
   -------------------------------------------------------------------------- */

/* The header-top bar is #f5f5f5, so these must be dark, not white. */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lang-switcher li a {
  display: block;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--ogl-navy);
  border: 1px solid var(--ogl-border);
  border-radius: 4px;
  background: #fff;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}
.lang-switcher li a:hover {
  color: #fff;
  background: var(--ogl-blue);
  border-color: var(--ogl-blue);
}
.lang-switcher li.active a {
  color: #fff;
  background: var(--ogl-navy);
  border-color: var(--ogl-navy);
}

/* On dark surfaces (mobile menu, footer) invert the resting state. */
.lang-switcher.on-dark li a {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, .35);
}
.lang-switcher.on-dark li.active a,
.lang-switcher.on-dark li a:hover {
  background: var(--ogl-blue);
  border-color: var(--ogl-blue);
}

/* header-top is display:none under 992px, so the mobile menu carries its own. */
.mobile-menu .lang-switcher { margin: 18px 0 0; }

/* --------------------------------------------------------------------------
   RTL corrections for Arabic — the template's RTL sheet misses these
   -------------------------------------------------------------------------- */

body.rtl { font-family: "Cairo", "DM Sans", sans-serif; }
body.rtl .lang-switcher { direction: ltr; }

/* ==========================================================================
   Components added for Ocean Gate that the Transplix template does not ship:
   trade-lane cards, the sailing schedule table, track & trace, and the
   export-document checklist. All colours come from the tokens above.
   ========================================================================== */

/* --- Trade-lane card (home, /routes, service detail) --------------------- */
.lane-card {
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 10px;
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.lane-card:hover {
  border-color: var(--theme-color1);
  box-shadow: 0 12px 30px rgba(1, 42, 74, .10);
  transform: translateY(-3px);
}
.lane-card h5 { margin-bottom: .35rem; }
.lane-card h5 a { color: var(--theme-color2); }
.lane-card h5 a:hover { color: var(--theme-color1); }
.lane-card ul li { padding: 2px 0; color: var(--text-color); }

/* --- Sailing schedule table --------------------------------------------- */
.schedule-table { border-collapse: separate; border-spacing: 0; width: 100%; }
.schedule-table thead th {
  background: var(--theme-color2);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  padding: 12px 14px;
  border: 0;
}
.schedule-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid #e9eef3;
  font-size: 15px;
  vertical-align: middle;
}
.schedule-table tbody tr:hover td { background: #f5f9fc; }
.schedule-filters .form-label { font-weight: 600; color: var(--theme-color2); }

/* --- Track & trace ------------------------------------------------------- */
.track-strip {
  background: var(--theme-color2);
  padding: 28px 0;
}
.track-strip .form-label { color: rgba(255, 255, 255, .85); font-weight: 600; }

.shipment-result {
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 12px;
}
.shipment-result .progress { height: 10px; background: #e9eef3; border-radius: 999px; }
.shipment-result .progress-bar { background: var(--theme-color1); }

.tracking-timeline li {
  position: relative;
  padding: 0 0 18px 22px;
  border-left: 2px solid #e9eef3;
  margin-left: 6px;
}
.tracking-timeline li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--theme-color1);
}
.tracking-timeline li:last-child { border-left-color: transparent; }

/* --- Sidebar fact boxes -------------------------------------------------- */
.route-facts,
.route-related {
  background: #f5f9fc;
  border: 1px solid #e5eaf0;
  border-radius: 12px;
}
.route-facts h4,
.route-facts h5,
.route-related h5 { color: var(--theme-color2); }
.route-facts ul li,
.route-related ul li { padding: 5px 0; border-bottom: 1px solid #e9eef3; }
.route-facts ul li:last-child,
.route-related ul li:last-child { border-bottom: 0; }

/* --- Export document checklist ------------------------------------------ */
.document-checklist > li {
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 10px;
  padding: 16px 18px;
}
.document-checklist i { font-size: 20px; }

/* --- "Coming soon" service tiles (road & air) --------------------------- */
.service-block.is-coming-soon { opacity: .62; }
.service-block.is-coming-soon:hover { transform: none; box-shadow: none; }

/* --- Quote CTA band ------------------------------------------------------ */
.cta-band {
  background: var(--ogl-navy);
  padding: 55px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  inset-inline-end: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(71, 110, 165, .28);
}
.cta-band h2 { color: #fff; font-size: 34px; margin-bottom: 10px; position: relative; z-index: 1; }
.cta-band p  { color: rgba(255, 255, 255, .78); margin-bottom: 0; position: relative; z-index: 1; }
.cta-band .theme-btn { position: relative; z-index: 1; }

@media (max-width: 991.98px) {
  .cta-band { padding: 40px 0; text-align: center; }
  .cta-band h2 { font-size: 26px; }
  .cta-band .theme-btn { margin-top: 22px; }
}

/* --- "Coming soon" marker on road & air service cards -------------------- */
.soon-badge {
  display: inline-block;
  margin-inline-start: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--ogl-silver);
  color: var(--ogl-navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  vertical-align: middle;
}

/* --- Slider: keep the headline legible over the photography -------------- */
.main-slider .tp-caption h1 { color: #fff; }
.main-slider .tp-caption .text { color: rgba(255, 255, 255, .85); }
.main-slider .tp-caption .sub-title span { color: var(--ogl-blue); }

/* --- RTL flips for the components above --------------------------------- */
body.rtl .tracking-timeline li {
  padding: 0 22px 18px 0;
  border-left: 0;
  border-right: 2px solid #e9eef3;
  margin-left: 0;
  margin-right: 6px;
}
body.rtl .tracking-timeline li::before { left: auto; right: -7px; }
body.rtl .tracking-timeline li:last-child { border-right-color: transparent; }
body.rtl .banner-section .bg::after {
  background: linear-gradient(270deg, rgba(1, 42, 74, .88) 0%, rgba(1, 42, 74, .55) 100%);
}

/* ==========================================================================
   Header corrections
   The template was built for a 5-item English menu and a light-on-dark logo.
   Ocean Gate has a 7-item menu, longer Dutch labels, and a dark logo designed
   for light backgrounds — so the plate goes white and the nav gets tighter.
   ========================================================================== */

/* Logo plate: template paints #04223e behind it, which hides our navy logo. */
.header-style-one .header-lower .logo-box:before { background-color: #fff; }
.header-style-one .header-lower .logo-box {
  min-width: 300px;
  margin-inline-end: 40px;
  margin-right: 0;
}
.header-style-one .header-lower .logo-box .logo img { max-width: 190px; height: auto; }

@media only screen and (max-width: 1699px) {
  .header-style-one .header-lower .logo-box { margin-inline-end: 30px; }
}

/* 7 top-level items at 80px gaps wrapped onto a second row. */
.main-menu .navigation > li { margin-right: 0; margin-inline-end: 30px; }
.main-menu .navigation > li > a { white-space: nowrap; }

@media only screen and (max-width: 1500px) {
  .main-menu .navigation > li { margin-inline-end: 20px; }
  .main-menu .navigation > li > a { font-size: 15px; }
}
@media only screen and (max-width: 1300px) {
  .main-menu .navigation > li { margin-inline-end: 14px; }
  /* The phone block is the least critical thing in the bar — drop it first. */
  .header-style-one .header-lower .outer-box .info-btn-two { display: none; }
}

/* Header top bar: stop the link list and info list from wrapping mid-phrase. */
.header-top .features-list > li,
.header-top .list-style-one > li { white-space: nowrap; }
.header-top .features-list > li > a { font-size: 14px; }
.header-top .list-style-one > li { font-size: 13px; }
.header-top .social-icon-one { display: flex; flex-wrap: nowrap; gap: 2px; }
.header-top .social-icon-one li { float: none; }

/* The switcher must never be the thing that gets pushed off the edge. */
.header-top .inner-container { overflow: hidden; }
.header-top .top-right {
  min-width: 0;
  gap: 22px;
}
.header-top .top-right .lang-switcher { flex-shrink: 0; }
.header-top .top-right .list-style-one { min-width: 0; }

@media only screen and (max-width: 1600px) {
  /* Address duplicates the footer; hours and email are what people act on. */
  .header-top .list-style-one > li:nth-child(2) { display: none; }
}
@media only screen and (max-width: 1400px) {
  .header-top .features-list > li:nth-child(n + 3) { display: none; }
}
@media only screen and (max-width: 1250px) {
  .header-top .list-style-one > li:nth-child(1) { display: none; }
  .header-top .social-icon-one { display: none; }
}

/* Hero: the template's .text is only styled on some home variants. */
.banner-section .content-box .text {
  color: rgba(255, 255, 255, .85);
  font-size: 18px;
  line-height: 1.7;
  margin: 18px 0 30px;
  max-width: 640px;
}
.banner-section .content-box .btn-box { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 767.98px) {
  .banner-section .content-box .text { font-size: 16px; }
  .banner-section .content-box .btn-box .theme-btn { width: 100%; }
}

/* Service card titles were breaking mid-word ("Containerverv / oer"). */
.service-block .content .title,
.service-block .content .title a {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

/* ==========================================================================
   Section corrections
   ========================================================================== */

/* Fun facts: the template colours the counters white because its own home-1
   lays them over a dark hero image. Ours sits on white, so give the band the
   dark ground the design assumes rather than recolouring the type. */
.funfacts-section {
  background-color: var(--ogl-navy);
  background-image: linear-gradient(rgba(40, 62, 89, .93), rgba(40, 62, 89, .93)),
                    url('../images/background/2.jpg');
  background-size: cover;
  background-position: center;
  padding: 70px 0 40px;
}
.funfacts-section .counter-block .icon { color: #fff; opacity: .9; }
.funfacts-section .counter-block .count-box,
.funfacts-section .counter-block .count-box .count-text { color: #fff; }
.funfacts-section .counter-block .counter-title { color: rgba(255, 255, 255, .8); }

/* Track strip sits directly under the funfacts band — keep it light so the
   page does not stack two identical navy blocks. */
.track-strip {
  background: var(--ogl-surface);
  border-top: 1px solid var(--ogl-border);
  border-bottom: 1px solid var(--ogl-border);
}
.track-strip .form-label { color: var(--ogl-navy); font-weight: 600; }
.track-strip .form-control {
  border: 1px solid var(--ogl-border);
  background: #fff;
}
.track-strip .form-control:focus {
  border-color: var(--ogl-blue);
  box-shadow: 0 0 0 3px rgba(71, 110, 165, .15);
}

/* --- Trade-lane cards ---------------------------------------------------- */
.lane-card--linked { text-decoration: none; position: relative; }
.lane-card__locode {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--ogl-blue);
  margin-bottom: 6px;
}
.lane-card__head h5 { margin: 0 0 2px; color: var(--ogl-navy); font-size: 22px; }
.lane-card__country { color: var(--text-color); margin: 0 0 16px; font-size: 14px; }

.lane-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0 0 16px; }
.lane-card__facts dt {
  min-height: 2.6em;      /* keeps values aligned when one label wraps */
  display: flex;
  align-items: flex-end;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #93A1B0;
  margin: 0;
}
.lane-card__facts dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--ogl-navy); }

.lane-card__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--ogl-border);
}
.lane-card__price span { font-size: 12px; color: var(--text-color); }
.lane-card__price strong { font-size: 20px; color: var(--ogl-blue); }

.lane-card__go {
  position: absolute;
  inset-inline-end: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ogl-surface);
  color: var(--ogl-blue);
  transition: background-color .25s ease, color .25s ease;
}
.lane-card--linked:hover .lane-card__go { background: var(--ogl-blue); color: #fff; }
body.rtl .lane-card__go i { transform: scaleX(-1); }

/* --- Service carousel cards --------------------------------------------- */
/* Source photos have different aspect ratios, which knocked the overlaid
   content box out of alignment between cards. */
.services-carousel .service-block .image-box .image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.services-carousel .service-block .inner-box { height: 100%; }

/* "Containervervoer" was being hyphen-broken mid-word in the narrow title box.
   Stop the break and drop the size a touch — widening the box instead pushed
   the overlay past the card edge and clipped the copy. */
.service-block .content .title,
.service-block .content .title a {
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
  font-size: 18px;
  line-height: 1.35;
}
.services-carousel .service-block .content .text {
  overflow-wrap: break-word;
  font-size: 14px;
}

/* Arabic nav labels run wider than the Latin ones; without this the 7-item
   menu wraps and drags the quote button out of the header bar. */
body.rtl .main-menu .navigation > li { margin-inline-end: 20px; }
body.rtl .header-style-one .header-lower .logo-box {
  min-width: 240px;
  margin-inline-end: 20px;
}
body.rtl .header-style-one .header-lower .logo-box .logo img { max-width: 165px; }
@media only screen and (max-width: 1500px) {
  body.rtl .main-menu .navigation > li { margin-inline-end: 13px; }
  body.rtl .header-style-one .header-lower .outer-box .info-btn-two { display: none; }
}

/* --- Inland transit (the Jordan / Iraq road leg) ------------------------- */
.lane-card__onward {
  padding-top: 14px;
  border-top: 1px solid var(--ogl-border);
}
.lane-card__onward span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #93A1B0;
  margin-bottom: 3px;
}
.lane-card__onward strong { font-size: 14px; color: var(--ogl-navy); font-weight: 600; }

.lane-onward__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #93A1B0;
  margin-bottom: 8px;
}
.lane-onward__list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.lane-onward__list li {
  padding: 4px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ogl-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--ogl-navy);
}

/* --- Empty sailing schedule --------------------------------------------- */
.schedule-empty {
  background: var(--ogl-surface);
  border: 1px solid var(--ogl-border);
  border-inline-start: 4px solid var(--ogl-blue);
  border-radius: 10px;
}
.schedule-empty h4 { color: var(--ogl-navy); margin-bottom: 6px; }
.schedule-empty p { color: var(--text-color); }

/* ==========================================================================
   Robustness + spacing
   ========================================================================== */

/* wow.js hides .wow elements inline until it animates them. If the script is
   blocked, fails, or the visitor prefers reduced motion, that content would
   never appear — so force it visible in those cases. */
@media (prefers-reduced-motion: reduce) {
  .wow,
  .banner-carousel .content-box [class*="animate-"] {
    visibility: visible !important;
    opacity: 1 !important;
    animation: none !important;
  }
}
.no-js .wow { visibility: visible !important; }

/* --- Hero sizing ---------------------------------------------------------
   "Amsterdam to Lattakia, and onward by road" ran to four lines at the
   template's 84px h1. Scale it to the copy we actually ship. */
.banner-section .content-box .title {
  font-size: 58px;
  line-height: 1.1;
  max-width: 15ch;
}
.banner-section .content-box .sub-title { font-size: 15px; }

@media only screen and (max-width: 1400px) {
  .banner-section .content-box .title { font-size: 50px; }
}
@media only screen and (max-width: 991.98px) {
  .banner-section .content-box .title { font-size: 38px; max-width: none; }
}
@media (max-width: 575.98px) {
  .banner-section .content-box .title { font-size: 30px; }
}

/* Arabic sets wider glyphs; give the headline a little more room. */
body.rtl .banner-section .content-box .title { max-width: 18ch; }

/* --- About list: wrapped bullets lost their hanging indent --------------- */
.list-style-two li {
  position: relative;
  padding-inline-start: 28px;
}
.list-style-two li i {
  position: absolute;
  inset-inline-start: 0;
  top: 8px;
}

/* --- Vertical rhythm -----------------------------------------------------
   Replaced by the section-rhythm block at the end of this file. */

/* --- Hero legibility -----------------------------------------------------
   The stock port photography is busy across the whole frame, so the headline
   competes with cranes and containers. Lay a directional scrim under the copy
   (heavier on the text side) rather than dimming the entire image. */
.banner-section .slide-item { position: relative; }
.banner-section .slide-item > .bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20, 33, 48, .90) 0%,
    rgba(20, 33, 48, .78) 38%,
    rgba(20, 33, 48, .35) 68%,
    rgba(20, 33, 48, .18) 100%
  );
}
body.rtl .banner-section .slide-item > .bg::after {
  background: linear-gradient(
    to left,
    rgba(20, 33, 48, .90) 0%,
    rgba(20, 33, 48, .78) 38%,
    rgba(20, 33, 48, .35) 68%,
    rgba(20, 33, 48, .18) 100%
  );
}
.banner-section .slide-item .auto-container { position: relative; z-index: 2; }
/* The decorative diagonal cut across the headline — push it behind the scrim. */
.banner-section .slide-item .shape-1 { z-index: 1; opacity: .55; }

/* Owl reveals these with CSS animations on the active slide. If the carousel
   never initialises, the hero copy must still be readable. */
.banner-carousel:not(.owl-loaded) .content-box [class*="animate-"] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ==========================================================================
   Header: keep the quote button on the menu row
   --------------------------------------------------------------------------
   .main-header .main-box .nav-outer is flex, but header-style-one resets it to
   display:block. The nav and .outer-box then stack, so the quote button drops
   to a second row and inflates the header. Restore the row.
   ========================================================================== */

.header-style-one .main-box .nav-outer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
.header-style-one .main-box .nav-outer .main-menu {
  flex: 1 1 auto;
  min-width: 0;
}
.header-style-one .main-box .outer-box {
  flex-shrink: 0;
  margin-right: 0;
  margin-inline-end: 40px;   /* template's 40px, kept off the viewport edge */
  height: auto;
}
@media only screen and (max-width: 1300px) {
  .header-style-one .main-box .outer-box { margin-inline-end: 20px; }
}
/* The li padding sets the bar height; with one row it no longer doubles up. */
.header-style-one .main-box .nav-outer .navigation > li { padding: 26px 0; }

/* The template re-declares margin-right: 60px under 1699px at a higher
   specificity than our base rule, so nav spacing is restated here at matching
   specificity. One custom property drives the gap, the dropdown "+" indicator
   and the dot separator, so they can never drift apart again:
     - the "+" is pinned 19px past the label, so dropdowns need extra room
     - the dot sits at right:-45px in the template, sized for its 60px gap
   ========================================================================== */

.header-style-one .main-box .nav-outer .navigation > li {
  --ogl-nav-gap: 34px;
  margin-right: 0;
  margin-inline-end: var(--ogl-nav-gap);
}
.header-style-one .main-box .nav-outer .navigation > li.dropdown {
  margin-inline-end: calc(var(--ogl-nav-gap) + 16px);
}

/* Centre the separator dot in whatever gap is currently in force. */
.header-style-one .main-box .nav-outer .navigation > li:after {
  right: calc(var(--ogl-nav-gap) / -2);
}
body.rtl .header-style-one .main-box .nav-outer .navigation > li:after {
  right: auto;
  left: calc(var(--ogl-nav-gap) / -2);
}

@media only screen and (max-width: 1500px) {
  .header-style-one .main-box .nav-outer .navigation > li { --ogl-nav-gap: 24px; }
}
@media only screen and (max-width: 1300px) {
  .header-style-one .main-box .nav-outer .navigation > li { --ogl-nav-gap: 16px; }
}
body.rtl .header-style-one .main-box .nav-outer .navigation > li { --ogl-nav-gap: 24px; }

/* ==========================================================================
   Services carousel backdrop
   --------------------------------------------------------------------------
   The template hardcodes this decorative panel at 666x903px offset 338px from
   the left — dimensions tied to its own taller cards. With our card height it
   overhangs the content. Size it from the carousel instead.
   ========================================================================== */

.services-section .carousel-outer { position: relative; }
.services-section .carousel-outer:before {
  /* .carousel-outer is pulled out by -27px each side to cancel the card
     padding, so inset by the same amount to line the panel up with the grid. */
  top: -40px;
  bottom: 56px;
  left: 27px;
  right: 27px;
  width: auto;
  height: auto;
  transform: none;
  z-index: 0;
}
.services-section .carousel-outer .service-block { position: relative; z-index: 1; }
/* Carousel dots sit inside the section's bottom padding. */
.services-section .owl-dots { margin-top: 10px; }
.services-section { padding-bottom: 70px; }

@media (max-width: 991.98px) {
  .services-section .carousel-outer:before {
    top: 0;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
  }
}

/* ==========================================================================
   Section rhythm
   --------------------------------------------------------------------------
   .sec-title .sub-title carries its icon as a ::before pinned to top:0, so a
   section with no top padding pushes that icon flush against the block above.
   The template ships .services-section at `padding: 0 0 100px` because its own
   home page overlapped it with the slider's bottom shape, which we no longer
   use. Give every section a consistent top edge.
   ========================================================================== */

.services-section,
.about-section,
.countries-section,
.features-section,
.faq-section,
.news-section,
.routes-index,
.schedule-section,
.tracking-section,
.quote-section,
.contact-section,
.documents-section,
.service-detail,
.route-detail {
  padding-top: 100px;
  padding-bottom: 90px;
}

/* Bands that supply their own ground need less breathing room around them. */
.funfacts-section { padding: 70px 0 40px; }
.track-strip      { padding: 34px 0; }
.cta-band         { padding: 60px 0; }

/* A section directly after a full-width dark band does not need the full gap. */
.funfacts-section + .track-strip,
.track-strip + .countries-section,
.cta-band + .faq-section { padding-top: 80px; }

@media only screen and (max-width: 991.98px) {
  .services-section,
  .about-section,
  .countries-section,
  .features-section,
  .faq-section,
  .news-section,
  .routes-index,
  .schedule-section,
  .tracking-section,
  .quote-section,
  .contact-section,
  .documents-section,
  .service-detail,
  .route-detail {
    padding-top: 64px;
    padding-bottom: 56px;
  }
}

/* ==========================================================================
   Top bar overflow (RTL)
   --------------------------------------------------------------------------
   Items are nowrap, so once the row runs out of width flexbox shrinks them
   below their content and the text visually collides with its neighbour —
   in Arabic the switcher landed on top of the email address. Stop the shrink
   and shed the optional items sooner, since Arabic labels run wider.
   ========================================================================== */

.header-top .top-right > *,
.header-top .top-left > *,
.header-top .features-list > li,
.header-top .list-style-one > li { flex-shrink: 0; }

.header-top .features-list { display: flex; flex-wrap: nowrap; gap: 26px; }
.header-top .features-list > li { margin: 0; }
.header-top .list-style-one { display: flex; flex-wrap: nowrap; margin: 0; }

@media only screen and (max-width: 1700px) {
  body.rtl .header-top .features-list > li:nth-child(n + 3) { display: none; }
}
@media only screen and (max-width: 1550px) {
  body.rtl .header-top .list-style-one > li:nth-child(2) { display: none; }
}
@media only screen and (max-width: 1450px) {
  body.rtl .header-top .social-icon-one { display: none; }
}
@media only screen and (max-width: 1300px) {
  body.rtl .header-top .list-style-one > li:nth-child(1) { display: none; }
  body.rtl .header-top .features-list > li:nth-child(n + 2) { display: none; }
}

/* --------------------------------------------------------------------------
   Keep the quote CTA on laptops.
   The template hides .outer-box .theme-btn below 1400px to make room. 1280–1400
   is a common laptop width and this is the primary conversion action, so shrink
   it instead and only drop it where the mobile menu takes over (<992px), which
   is also where the hero CTA is the first thing on screen.
   -------------------------------------------------------------------------- */

@media (max-width: 1399.98px) and (min-width: 1280px) {
  .header-style-one .main-box .outer-box .theme-btn {
    display: inline-flex;
    margin-left: 0;
    margin-inline-start: 0;
  }
  .header-style-one .main-box .outer-box .theme-btn .btn-title {
    padding: 14px 22px;
    font-size: 14px;
  }
}
/* Below 1280 the six-item menu needs the whole row; the hero CTA covers it. */
@media (max-width: 1279.98px) {
  .header-style-one .main-box .outer-box .theme-btn { display: none; }
  .header-style-one .main-box .nav-outer .navigation > li { --ogl-nav-gap: 12px; }
  .header-style-one .main-box .nav-outer .navigation > li > a { font-size: 14px; }
  .header-style-one .header-lower .logo-box { min-width: 240px; }
  .header-style-one .header-lower .logo-box .logo img { max-width: 160px; }
}

/* ==========================================================================
   Corridor section
   --------------------------------------------------------------------------
   Draws the actual service — sea leg to Lattakia, road leg beyond it — instead
   of the flat label grid it replaced. The journey strip is a flex row of
   alternating stops and legs; the connecting lines are drawn on the legs so
   they stay glued to the stops at any width. Uses logical properties
   throughout so it mirrors cleanly in Arabic.
   ========================================================================== */

.corridor {
  position: relative;
  background: #fff;
  border: 1px solid var(--ogl-border);
  border-radius: 16px;
  padding: 38px 40px 30px;
  margin-bottom: 56px;
  box-shadow: 0 18px 44px rgba(40, 62, 89, .07);
  overflow: hidden;
}
.corridor::before {           /* navy spine along the leading edge */
  content: '';
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 5px;
  background: linear-gradient(var(--ogl-blue), var(--ogl-navy));
}

.corridor__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(71, 110, 165, .12);
  color: var(--ogl-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.corridor__title {
  color: var(--ogl-navy);
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 10px;
}
.corridor__arrow { color: var(--ogl-blue); margin: 0 6px; }
body.rtl .corridor__arrow { display: inline-block; transform: scaleX(-1); }
.corridor__intro {
  color: var(--text-color);
  max-width: 82ch;
  margin: 0 0 30px;
}

/* --- Journey strip ------------------------------------------------------- */
.journey {
  position: relative;
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  gap: 0;
}
/* One continuous rail runs the width of the strip so the line never breaks in
   the gap between a stop's dot and the next leg. Legs paint over it. */
.journey::before {
  content: '';
  position: absolute;
  top: 8px;
  inset-inline-start: 9px;
  inset-inline-end: 9px;
  height: 2px;
  background: repeating-linear-gradient(
    to right, var(--ogl-silver) 0 5px, transparent 5px 11px);
}

.journey__stop {
  flex: 0 0 auto;
  min-width: 150px;
  padding-top: 30px;
  position: relative;
}
.journey__stop--fan { flex: 1 1 auto; min-width: 210px; }
/* The rail spans the whole strip, so the final stop masks the trailing stretch
   that would otherwise run on past the last dot. */
.journey__stop--fan::after {
  content: '';
  position: absolute;
  top: 6px;
  height: 5px;
  inset-inline-start: 24px;
  inset-inline-end: 0;
  background: #fff;
}

.journey__dot {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 4px solid var(--ogl-blue);
  background: #fff;
}
.journey__stop--key .journey__dot {
  border-color: var(--ogl-navy);
  background: var(--ogl-navy);
  box-shadow: 0 0 0 5px rgba(40, 62, 89, .12);
}

.journey__label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: #93A1B0;
  margin-bottom: 3px;
}
.journey__place { display: block; font-size: 19px; color: var(--ogl-navy); line-height: 1.25; }
.journey__meta  { display: block; font-size: 12.5px; color: var(--text-color); margin-top: 2px; }

/* Legs carry the connecting line so it can never detach from the stops. */
.journey__leg {
  flex: 1 1 0;
  min-width: 130px;
  padding: 30px 18px 0;
  position: relative;
  text-align: center;
}
.journey__leg::before {       /* paints over the rail for this leg's stretch */
  content: '';
  position: absolute;
  top: 7px;
  inset-inline-start: 0;
  inset-inline-end: 0;
  height: 4px;
  background-color: #fff;     /* hides the rail underneath */
}
.journey__leg--sea::before {
  background-image: repeating-linear-gradient(
    to right, var(--ogl-blue) 0 10px, transparent 10px 18px);
  background-size: 100% 2px;
  background-position: 0 1px;
  background-repeat: no-repeat;
}
.journey__leg--road::before {
  background-image: repeating-linear-gradient(
    to right, var(--ogl-silver) 0 6px, transparent 6px 12px);
  background-size: 100% 2px;
  background-position: 0 1px;
  background-repeat: no-repeat;
}
.journey__leg-icon {
  position: absolute;
  top: -4px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--ogl-blue);
  font-size: 19px;
}
body.rtl .journey__leg-icon { transform: translateX(50%); }
.journey__leg--road .journey__leg-icon { color: #7E8B99; }

.journey__leg-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: #93A1B0;
}
.journey__leg-value { display: block; font-size: 16px; color: var(--ogl-navy); margin-top: 2px; }
.journey__leg-note  { display: block; font-size: 12.5px; color: var(--text-color); }

.journey__cities { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 4px 0 0; }
.journey__cities li {
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--ogl-border);
  background: var(--ogl-surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--ogl-navy);
}

/* --- Footer stats -------------------------------------------------------- */
.corridor__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--ogl-border);
}
.corridor__stat dt {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: #93A1B0;
  margin: 0 0 2px;
}
.corridor__stat dd { margin: 0; font-size: 20px; font-weight: 700; color: var(--ogl-navy); }
.corridor__cta { margin-inline-start: auto; }

/* --- Secondary lanes ----------------------------------------------------- */
.corridor-others__title { color: var(--ogl-navy); font-size: 20px; margin-bottom: 20px; }

.mini-lane {
  display: block;
  height: 100%;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--ogl-border);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.mini-lane:hover {
  border-color: var(--ogl-blue);
  box-shadow: 0 14px 32px rgba(40, 62, 89, .10);
  transform: translateY(-3px);
}

.mini-lane__route { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mini-lane__code {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ogl-blue);
}
.mini-lane__code--end { color: var(--ogl-navy); }
.mini-lane__line {
  flex: 1 1 auto;
  height: 2px;
  background: repeating-linear-gradient(
    to right, var(--ogl-border) 0 6px, transparent 6px 11px);
}

.mini-lane__place   { margin: 0 0 2px; font-size: 21px; color: var(--ogl-navy); }
.mini-lane__country { margin: 0 0 16px; font-size: 13.5px; color: var(--text-color); }

.mini-lane__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 14px; }
.mini-lane__facts dt {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #93A1B0;
  margin: 0 0 2px;
}
.mini-lane__facts dd { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ogl-navy); }

.mini-lane__onward {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  padding-top: 13px;
  border-top: 1px solid var(--ogl-border);
  font-size: 13px;
  color: var(--text-color);
}
.mini-lane__onward i { color: var(--ogl-blue); font-size: 15px; }
.mini-lane__onward span { color: #93A1B0; }

/* --- Narrow screens: stack the journey vertically ------------------------ */
@media only screen and (max-width: 1199.98px) {
  .corridor { padding: 30px 26px 24px; }
  .corridor__title { font-size: 26px; }

  .journey { display: block; }
  .journey::before,
  .journey__stop--fan::after { display: none; }
  .journey__stop,
  .journey__leg {
    min-width: 0;
    text-align: start;
    padding: 0 0 22px;
    padding-inline-start: 34px;
  }
  .journey__dot { top: 3px; }
  .journey__leg::before {         /* line becomes vertical */
    top: 6px;
    bottom: 6px;
    inset-inline-start: 8px;
    inset-inline-end: auto;
    width: 2px;
    height: auto;
  }
  .journey__leg--sea::before {
    background: repeating-linear-gradient(
      to bottom, var(--ogl-blue) 0 10px, transparent 10px 18px);
  }
  .journey__leg--road::before {
    background: repeating-linear-gradient(
      to bottom, var(--ogl-silver) 0 6px, transparent 6px 12px);
  }
  .journey__leg-icon {
    top: 0;
    inset-inline-start: -4px;
    transform: none;
    width: 26px;
  }
  body.rtl .journey__leg-icon { transform: none; }
  .corridor__cta { margin-inline-start: 0; width: 100%; }
  .corridor__foot { gap: 24px; }
}
