/* ===========================================
   Open Sea International — Flat Blue Theme
   =========================================== */

:root {
  --blue: #0a66c2;        /* logo blue */
  --blue-2: #1472d1;      /* lighter blue for gradient/hover */
  --ink: #0e1726;         /* dark text */
  --white: #ffffff;
}

/* ---------- Topbar & Header ---------- */
.header-topbar {
  background: var(--blue) !important;
}
.header-topbar a,
.header-topbar i {
  color: #fff !important;
}
.navbar {
  background: #fff !important;
}
.navbar .nav-item-link {
  color: var(--ink) !important;
}
.navbar .nav-item-link:hover,
.navbar .nav-item-link.active {
  color: var(--blue) !important;
}
.navbar .dropdown-menu {
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}
.navbar .dropdown-menu::before {
  display: none !important;
}
.mega-dropdown-menu .nav-title::after {
  background: var(--blue) !important;
}

/* ---------- Blue-only Gradients ---------- */
.clients.clients-light.bg-primary,
.panel-blue,
.slab-cta,
.footer .footer-primary {
  background-image: linear-gradient(
    180deg,
    var(--blue-2) 0%,
    var(--blue) 100%
  ) !important;
  color: #fff !important;
}

/* ---------- White Sections ---------- */
section.fancybox-layout5,
.service-item,
.fancybox-item,
.panel-light {
  background: #fff !important;
  color: var(--ink) !important;
}

/* ---------- Non-blue Accents Removed ---------- */
.incoterm.inc-fca,
.ticks .icon-check,
.industries-list li i,
.footer .social-icons a:hover {
  background: var(--blue) !important;
  color: #fff !important;
}
.link-green,
.text-accent {
  color: var(--blue) !important;
}

/* ---------- Buttons ---------- */
.btn,
.btn-primary,
.btn-accent,
.btn-secondary {
  background: var(--blue) !important;
  color: #fff !important;
  border: none !important;
}
.btn:hover {
  background: var(--blue-2) !important;
}
.btn-outlined,
.btn-white.btn-outlined {
  background: transparent !important;
  color: var(--blue) !important;
  border: 2px solid var(--blue) !important;
}
.btn-outlined:hover {
  background: var(--blue) !important;
  color: #fff !important;
}

/* ---------- Footer ---------- */
.footer .footer-secondary {
  background: #0a427e !important;
  color: rgba(255, 255, 255, 0.9) !important;
}
.footer .footer-secondary a {
  color: #fff !important;
}
.footer .footer-secondary a:hover {
  color: #dfeaff !important;
}

/* ---------- Utility ---------- */
[id*="gradient"],
[class*="gradient"] {
  background-image: none !important;
}
/* === FIX: prevent blue overlay on colored brand logos === */

/* Brand section background – keep blue gradient behind only */
.fancybox-layout5 {
  background: linear-gradient(90deg, #0a66c2 0%, #1472d1 100%) !important;
  position: relative;
}

/* Remove any extra translucent overlay */
.fancybox-layout5::before {
  content: none !important;
  background: none !important;
  opacity: 1 !important;
}

/* Make sure each brand logo displays fully opaque */
.fancybox-layout5 img {
  background: transparent !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  opacity: 1 !important;
}

/* Prevent unwanted blue tints or blending modes */
.fancybox-layout5 .fancybox-item,
.fancybox-layout5 .client,
.fancybox-layout5 .brand-box {
  background: transparent !important;
}

/* Optional: if the section uses a pattern overlay */
.fancybox-layout5 .pattern-layer,
.fancybox-layout5 .bg-overlay {
  display: none !important;
}
/* ===== FIX: colored brand logos show a blue patch ===== */

/* 1) Make sure no overlay sits on top of the logos */
.clients.has-pattern-bg::before,
.clients .bg-overlay,
.clients .pattern-layer {
  display: none !important;
  background: none !important;
  opacity: 1 !important;
}

/* 2) Hard reset for images used as brand logos in the strip */
.clients .client img,
.brands-carousel img,
.brand-logos img {
  background: transparent !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

/* 3) If the theme dims logos via the parent, neutralize it */
.clients .client,
.brand-logos .client {
  background: transparent !important;
  filter: none !important;
  opacity: 1 !important;
}

/* 4) Keep the gradient band itself (blue-only) */
.clients.clients-light.bg-primary {
  background-image: linear-gradient(180deg, #1472d1 0%, #0a66c2 100%) !important;
  background-color: transparent !important;
}
/* === BRIGHTER WHITE/BLUE GLOW FOR BRAND LOGOS === */
.clients .client,
.brand-logos .client {
  position: relative !important;
  overflow: visible !important;
  z-index: 2 !important;
}

.clients .client img,
.brand-logos img {
  position: relative !important;
  z-index: 3 !important;
  background: transparent !important;
  border-radius: 10px;
  filter:
    drop-shadow(0 0 4px rgba(255,255,255,0.95))
    drop-shadow(0 0 12px rgba(255,255,255,0.9))
    drop-shadow(0 0 24px rgba(150,190,255,0.9))   /* bluish outer glow */
    drop-shadow(0 0 40px rgba(150,190,255,0.8));
  transition: transform 0.35s ease, filter 0.35s ease;
}

/* Hover — more luminous */
.clients .client img:hover,
.brand-logos img:hover {
  transform: scale(1.06);
  filter:
    drop-shadow(0 0 6px rgba(255,255,255,1))
    drop-shadow(0 0 18px rgba(255,255,255,0.95))
    drop-shadow(0 0 36px rgba(160,200,255,1))
    drop-shadow(0 0 60px rgba(160,200,255,0.9));
}
/* ===== FORCE WHITE GLOW ON CLIENT/BRAND LOGOS ===== */
.clients,
.clients .slick-list,
.clients .slick-track,
.brand-logos,
.brand-logos .slick-list,
.brand-logos .slick-track {
  overflow: visible !important;   /* allow glow to be seen outside slides */
}

.clients .client img,
.clients img,
.brand-logos img {
  position: relative !important;
  z-index: 5 !important;
  background: transparent !important;
  border-radius: 8px;
  filter:
    drop-shadow(0 0 6px rgba(255,255,255,0.95))
    drop-shadow(0 0 14px rgba(255,255,255,0.9))
    drop-shadow(0 0 30px rgba(160,200,255,0.9))
    drop-shadow(0 0 45px rgba(160,200,255,0.7));
  transition: transform 0.35s ease, filter 0.35s ease;
}

/* Hover: stronger halo and slight zoom */
.clients .client img:hover,
.brand-logos img:hover {
  transform: scale(1.05);
  filter:
    drop-shadow(0 0 8px rgba(255,255,255,1))
    drop-shadow(0 0 20px rgba(255,255,255,0.95))
    drop-shadow(0 0 40px rgba(150,190,255,1))
    drop-shadow(0 0 70px rgba(150,190,255,0.8));
}
/* === Center phone/email exactly in the middle of the blue patch === */
.header-topbar {
  padding: 0 !important;                 /* remove random padding shifts */
}

.header-topbar .row.align-items-center {
  min-height: 56px;                      /* height of the blue patch */
}

.header-topbar .d-flex.align-items-center.justify-content-between {
  align-items: center !important;        /* hard-center the inner flex row */
  width: 100%;
}

/* prevent list margins from pulling content up/down */
.header-topbar .contact-list,
.header-topbar .header-topbar-links {
  margin: 0 !important;
}

/* tiny visual alignment for icons */
.header-topbar .contact-list i {
  position: relative;
  top: 1px;
}
/* === Bright hover for phone & email on blue topbar === */
.header-topbar .contact-list a {
  color: #ffffff;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.header-topbar .contact-list a:hover {
  color: #ffffff;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.85);
}
/* === WhatsApp & Telegram topbar styling === */
.header-topbar .header-topbar-links li {
  margin-right: 16px;
}

.header-topbar .header-topbar-links a {
  color: #ffffff;
  display: flex;
  align-items: center;
  font-weight: 500;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.header-topbar .header-topbar-links i {
  font-size: 18px;
  vertical-align: middle;
  color: #ffffff;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.header-topbar .header-topbar-links a:hover,
.header-topbar .header-topbar-links i:hover {
  color: #ffffff;
  text-shadow: 0 0 6px rgba(255,255,255,0.85);
}

/* Centered layout on mobile */
@media (max-width: 767.98px) {
  .header-topbar .header-topbar-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
}
/* Scope only to this section to avoid side effects */
.slab-cta .consent-check {
  gap: 10px;                  /* space between box and text */
  line-height: 1.45;
}

/* Make sure theme pseudo-elements are not used here */
.slab-cta .consent-check::before,
.slab-cta .consent-check::after,
.slab-cta .consent-check .consent-text::before,
.slab-cta .consent-check .consent-text::after {
  content: none !important;
}

/* Native square box — clean and aligned */
.slab-cta .consent-input {
  appearance: auto;           /* keep the browser's native square look */
  -webkit-appearance: auto;
  -moz-appearance: auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;            /* nudge to align with first line of text */
  flex: 0 0 auto;             /* don’t stretch */
}

/* Keep links readable inside consent */
.slab-cta .consent-text a {
  color: #fff;
  text-decoration: underline;
}
/* Replace gradient with a single solid blue tone */
.bg-blue-only {
  background-color: #0a66c2 !important; /* Open Sea blue */
  background-image: none !important;
}

/* Optional: if pattern background adds overlay, fade it subtly */
.has-pattern-bg::before {
  opacity: 0.05; /* or remove if it causes unwanted pattern tint */
}
/* Footer Color Scheme – Global */
.footer .footer-primary {
  background: #0a66c2 !important;
  color: #fff;
}

.footer .footer-secondary {
  background: #052f57 !important;
  color: rgba(255,255,255,0.9);
  border-top: 1px solid rgba(255,255,255,0.15);
}
/* Footer email/phone: wrap nicely on small screens */
.footer .contact-list li{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;              /* allow wrapping */
}

.footer .contact-list a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;              /* prevent overflow */
  white-space: normal;          /* allow multi-line */
  text-overflow: clip;          /* no ellipsis cutting */
}

.footer .contact-list .contact-icon{
  flex: 0 0 auto;               /* keep icon fixed size */
}

.footer .contact-list span{
  flex: 1 1 auto;               /* let text take remaining width */
  min-width: 0;                 /* enable wrapping in flex */
  overflow-wrap: anywhere;      /* break anywhere if needed */
  word-break: break-word;       /* break long parts sensibly */
  line-break: anywhere;
}

/* Optional: slightly smaller footer text on very small phones */
@media (max-width: 400px){
  .footer .contact-list span{ font-size: 14px; }
}
/* === Footer contact layout: desktop fixes === */
@media (min-width: 992px) {
  /* Keep each contact row on a single line on desktop */
  .footer .contact-list li { align-items: center; }

  .footer .footer-widget-contact a,
  .footer .footer-widget-contact p {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;          /* no wrapping on desktop */
    white-space: nowrap;
    gap: 8px;
    margin: 0;
  }

  /* Text should not force awkward breaks */
  .footer .footer-widget-contact a span,
  .footer .footer-widget-contact p span {
    white-space: nowrap;
    overflow-wrap: normal;      /* cancel mobile "anywhere" */
    word-break: normal;         /* no mid-word splits */
    min-width: 0;               /* keep flex happy */
  }

  /* Icon box: fixed width, tight alignment */
  .footer .footer-widget-contact i.contact-icon {
    flex: 0 0 18px;
    width: 18px;
    line-height: 1;
    margin-right: 0;            /* remove extra gap */
    vertical-align: middle;
  }
}

/* Optional: nicer breaking ONLY on small screens */
@media (max-width: 991.98px) {
  .footer .footer-widget-contact a span,
  .footer .footer-widget-contact p span {
    overflow-wrap: anywhere;    /* allow wrap on phones */
    word-break: break-word;
    line-break: anywhere;
  }
}
<style>
/* === Footer cleanup: icons only & spacing fix === */

/* Add breathing room above the contact list */
.footer .footer-widget-contact .contact-list {
  margin-top: 12px;   /* space between paragraph and first icon */
}

/* Hide label <p> tags inside each contact item (like "Email:", "Телефон:") */
.footer .footer-widget-contact li > p {
  display: none !important;
}

/* Keep icon + link text aligned neatly */
.footer .footer-widget-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
}

.footer .footer-widget-contact a:hover {
  color: #1ea855 !important; /* green hover accent */
}

/* Icons: size and alignment */
.footer .footer-widget-contact i.contact-icon {
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

/* Minor spacing adjustments for small screens */
@media (max-width: 576px) {
  .footer .footer-widget-contact .contact-list {
    margin-top: 10px;
  }
  .footer .footer-widget-contact a {
    font-size: 15px;
  }
}
/* === Footer contact icons uniform size & alignment === */
.footer .footer-widget-contact i.contact-icon {
  font-size: 18px !important;      /* same size for all icons */
  width: 20px;                     /* equal width box for alignment */
  height: 20px;
  line-height: 20px;
  text-align: center;
  color: #ffffff !important;       /* white for visibility */
  flex-shrink: 0;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Tighten gap between icon and text */
.footer .footer-widget-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Hover color */
.footer .footer-widget-contact a:hover i.contact-icon {
  color: #1ea855 !important; /* green accent on hover */
}
.heading-title.small {
  font-size: 20px;
  font-weight: 500;
}
.service-item,
.service-body,
.service-body p,
.service-body .service-desc {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.service-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.service-body .service-desc {
  flex-grow: 0;
}
.service-category {
  width: 100%;
  text-align: center;
}

.service-category a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: inline-block;
  background-color: #1e88e5; /* same blue */
  color: #fff;
  border-radius: 4px;
  padding: 6px 16px;
  line-height: 1.4;
}


