/* ==========================================================================
   Olmak Logistics — brand override layer
   Loaded AFTER style.css. Rebrands the TransHub theme to Olmak colours and
   adds styles for the custom sections (Sudan map, industries, process).
   Brand: primary #FF6C00 (logo orange) · navy #032467 (logo navy)
   ========================================================================== */

:root {
  --primary: #FF6C00;
  --primary-rgb: 255, 108, 0;
  --dark: #032467;
  --dark-rgb: 3, 36, 103;
  --headings-color: #032467;
  --blue: #032467;
}

/* --- Patch the handful of literal-hex rules compiled into style.css --- */
.bg-primary { background-color: #FF6C00 !important; }
.text-primary { color: #FF6C00 !important; }
.btn-primary { background-color: #FF6C00; border-color: #FF6C00; }
.text-dark { color: #032467 !important; }

/* Dark elements use the original theme's deep navy (#020e28). */
.bg-dark { background-color: #020e28 !important; }
.parallax-overly { background: linear-gradient(89deg, #020e28, rgba(2, 14, 40, .55)) !important; }

/* Hero + footer + quote band: original theme deep navy, solid (placeholder
   background images hidden so no grey shows through). */
.slider-section { background-color: #020e28 !important; }
.slider-section::before { background: #020e28 !important; }
.tracking-cta-sec,
.footer { background-color: #020e28 !important; }
.tracking-cta-sec .jarallax-img,
.footer .jarallax-img { display: none !important; }
.tracking-cta-sec .parallax-overly,
.footer .parallax-overly { background: #020e28 !important; }

/* Heading text-gradient effect (was orange→dark-red) → brand orange */
.sec-title span,
.text-gradient {
  background: linear-gradient(163deg, #FF6C00, #b23f00) !important;
  -webkit-background-clip: text;
  background-clip: text;
}

/* Inline decorative SVG icons in sub-titles carry fill="#fd5523" in markup;
   force them to brand orange without touching every file. */
.sub-title svg path { fill: #FF6C00 !important; }

/* Header logo sizing (client PNG logo, not the theme SVG) */
.navbar-brand img { max-height: 58px; width: auto; }
.offcanvas-header img { max-height: 46px; width: auto; }
.header-sticky.scroll-on .navbar-brand img { max-height: 50px; }

/* Nudge the desktop nav menu to the right (clears the header notch) */
@media (min-width: 1200px) {
  .header-nav-wrapper .navbar .navbar-nav { transform: translateX(55px); }
  /* Dark-grey menu text on the white header pill (mobile offcanvas keeps light text) */
  .header-nav-wrapper .navbar .navbar-nav > li > a.nav-link { color: #2b2b2b !important; }
  .header-nav-wrapper .navbar .navbar-nav > li:hover > a.nav-link,
  .header-nav-wrapper .navbar .navbar-nav > li.active > a.nav-link { color: var(--primary) !important; }
}

/* Footer logo: white/orange mark, sits directly on the solid navy footer. */
.f-logo { display: inline-block; }
.f-logo img { max-height: 46px; width: auto; }

/* Footer "Get in Touch" block — theme's muted-grey text + default link-blue
   read poorly on the dark footer; force clear white text with orange icons/links. */
.footer-widget.contact-widget .opening-inner p { color: rgba(255, 255, 255, .82) !important; }
.footer-widget.contact-widget .opening-inner p i { color: var(--primary); width: 18px; }
.footer-widget.contact-widget .opening-inner p a { color: rgba(255, 255, 255, .92) !important; transition: color .25s ease; }
.footer-widget.contact-widget .opening-inner p a:hover { color: var(--primary) !important; }

/* ==========================================================================
   Industries — icon grid (custom section, replaces theme portfolio carousel)
   ========================================================================== */
.industries-sec .industry-card {
  background: var(--white);
  border: 1px solid var(--theme-border);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.industries-sec .industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(3, 36, 103, .10);
  border-color: var(--primary);
}
.industries-sec .industry-card .ind-icon {
  width: 66px; height: 66px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), .10);
  color: var(--primary);
  font-size: 26px;
}
.industries-sec .industry-card h3 { font-size: 17px; margin: 0; color: var(--headings-color); }

/* ==========================================================================
   Solutions — detailed feature cards
   ========================================================================== */
.solution-sec .sol-detail-card {
  background: var(--white);
  border: 1px solid var(--theme-border);
  border-radius: 16px;
  padding: 34px 32px;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.solution-sec .sol-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(3, 36, 103, .10);
  border-color: var(--primary);
}
.solution-sec .sol-detail-card .sol-badge {
  width: 58px; height: 58px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(var(--primary-rgb), .10);
  color: var(--primary);
  font-size: 24px;
}
.solution-sec .sol-detail-card ul.check { margin: 0; }
.solution-sec .sol-detail-card ul.check li { margin-bottom: 10px; }

/* ==========================================================================
   Process — circular-icon design (index-3 style) adapted to 7 steps (4 + 3)
   ========================================================================== */
.olmak-process .op-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.olmak-process .op-item {
  position: relative;
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 12px;
  margin-bottom: 55px;
  text-align: center;
}
.olmak-process .op-icon-wrap {
  position: relative;
  width: 132px;
  margin: 0 auto 30px;
}
.olmak-process .op-icon {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  /* Orange arc ring is the circle's own background (gap at the bottom-left) */
  background: conic-gradient(from 150deg, var(--primary) 0deg 265deg, rgba(var(--primary-rgb), .18) 265deg 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform .35s ease;
}
/* Light inner disc sits on top of the ring, leaving a 7px orange rim */
.olmak-process .op-icon::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--light-alt);
  z-index: 1;
}
.olmak-process .op-icon i { position: relative; z-index: 2; font-size: 46px; color: var(--headings-color); transition: color .35s ease; }
.olmak-process .op-item:hover .op-icon { transform: translateY(-6px); }
.olmak-process .op-item:hover .op-icon i { color: var(--primary); }
.olmak-process .op-count {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  z-index: 2;
}
.olmak-process .op-item h3 { margin: 0 0 14px; }
.olmak-process .op-item p { margin: 0; max-width: 260px; margin-left: auto; margin-right: auto; }

/* Dotted connector + arrowhead between circles */
.olmak-process .op-line {
  position: absolute;
  top: 66px;
  left: calc(50% + 78px);
  width: calc(100% - 156px);
  height: 2px;
}
.olmak-process .op-line::before {
  content: "";
  position: absolute;
  inset: 0 14px 0 0;
  border-top: 2px dotted var(--headings-color);
  opacity: .55;
}
.olmak-process .op-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -5px;
  border-left: 9px solid var(--headings-color);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  opacity: .55;
}
/* Hide the connector at the end of each desktop row (4th) and on the last step */
.olmak-process .op-item:nth-child(4n) .op-line,
.olmak-process .op-item:last-child .op-line { display: none; }

@media (max-width: 991px) {
  .olmak-process .op-item { flex: 0 0 50%; max-width: 50%; }
  .olmak-process .op-line { display: none; }
}
@media (max-width: 575px) {
  .olmak-process .op-item { flex: 0 0 100%; max-width: 100%; }
}

/* ==========================================================================
   Sudan distribution map (real states outline, images/sudan-map.png)
   ========================================================================== */
.map-sec { padding: 100px 0; position: relative; overflow: hidden; }
.sudan-map-wrap {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.sudan-map-img { width: 100%; height: auto; display: block; filter: drop-shadow(0 12px 30px rgba(3, 36, 103, .12)); }
.map-marker {
  position: absolute;
  transform: translate(-50%, -100%);
  text-align: center;
  opacity: 0;
  transition: opacity .5s ease, transform .5s ease;
}
.map-marker.show { opacity: 1; }
.map-marker .pin {
  width: 14px; height: 14px;
  background: var(--primary);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  margin: 0 auto;
  box-shadow: 0 0 0 rgba(var(--primary-rgb), .6);
  animation: olmak-pulse 2.4s infinite;
}
.map-marker.hub .pin { background: var(--dark); width: 18px; height: 18px; }
.map-marker .label {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--headings-color);
  background: #fff;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(3, 36, 103, .16);
}
/* Khartoum + Omdurman sit almost on top of each other geographically —
   offset their labels sideways instead of stacking below the pin, so they
   don't collide. */
.map-marker.label-left { transform: translate(-100%, -50%); text-align: right; }
.map-marker.label-left .pin { margin: 0 0 0 auto; }
.map-marker.label-left .label { margin-top: 0; margin-right: 10px; }
.map-marker.label-right { transform: translate(0, -50%); text-align: left; }
.map-marker.label-right .pin { margin: 0 auto 0 0; }
.map-marker.label-right .label { margin-top: 0; margin-left: 10px; }
@keyframes olmak-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), .5); }
  70%  { box-shadow: 0 0 0 14px rgba(var(--primary-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0); }
}
.map-statbar {
  margin-top: 70px;
  border-top: 1px solid var(--theme-border);
  border-bottom: 1px solid var(--theme-border);
  padding: 34px 0;
}
.map-statbar .ms-item h3 { color: var(--primary); margin-bottom: 4px; }
.map-statbar .ms-item p { margin: 0; font-weight: 600; color: var(--headings-color); }

@media (max-width: 575px) {
  .map-marker .label { font-size: 10px; padding: 1px 5px; }
  .map-marker.label-left .label { margin-right: 6px; }
  .map-marker.label-right .label { margin-left: 6px; }
}

/* Footer top band — the slogan replaced the theme's newsletter signup, so
   give it more width (was capped at 300px for short 2-word headlines) and
   shrink the button column (was sized for a 450px-wide form). */
.footer-top .subs-head { max-width: 480px; }
.footer-top .subs-widget { flex: 0 0 auto; margin: 0; }
@media (max-width: 767px) {
  .footer-top .subs-head { max-width: 100%; margin-bottom: 20px; }
}

/* ==========================================================================
   Footer credit — "Designed by Click Solutions"
   ========================================================================== */
.footer-credit {
  display: inline-block;
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .55);
}
.footer-credit a { font-weight: 600; }
.footer-credit a:hover { text-decoration: underline; }
/* On narrow screens the credit drops to its own line under the copyright
   line, centered, without the divider (which only makes sense inline). */
@media (max-width: 767px) {
  .footer-bottom .copy-right { text-align: center; }
  .footer-credit {
    display: block;
    margin: 6px 0 0;
    padding-left: 0;
    border-left: 0;
  }
}
