/* Contrast overrides — the template was designed around a light/bright accent.
   With a dark navy accent, every element that uses background: var(--theme-color)
   needs white text / icons instead of dark ink. Loaded LAST so these win. */

/* BUTTONS — text contrast rules.
   Children inherit color from the button, so we only set color on the button
   itself. Forcing child (* ) colors causes banner-section hover to show a
   white span on a white background (banner.css deliberately flips to a white
   bg + dark text on hover). Keep it simple and let cascade do its work. */

/* Idle — navy-bg buttons (btn-one) get white text */
.theme-btn.btn-one:not(:hover) {
  color: #ffffff !important;
}

/* Idle — white-bg banner button gets dark text */
.banner-btn.theme-btn:not(:hover) {
  color: var(--title-color) !important;
}

/* Default hover — navy-900 overlay fills the bg, text goes white */
.theme-btn:hover {
  color: #ffffff !important;
}

/* Exception: .banner-section btn-one hover deliberately shows white bg +
   dark text (see banner.css:64-72). Respect that and keep text dark. */
.banner-section .content-box .btn-box .theme-btn.btn-one:hover,
.banner-section .content-box .btn-box .theme-btn.btn-one:hover span {
  color: var(--title-color) !important;
}

/* Icon boxes, counters and pill labels that now sit on dark navy */
.chooseus-block-one .inner-box .icon-box,
.processing-block-one .inner-box .count-text,
.process-section .tab-btns li:before,
.pricing-section .tab-btns:before,
.welcome-section .tab-btns li.active-btn,
.image_block_one .image-box .single-item .experience-box h3,
.image_block_one .image-box .single-item .support-box .icon-box,
.image_block_two .image-inner .support-box .icon-box,
.processing-block-two .inner-box h4,
.nav-style-one .owl-nav button:before,
.service-sidebar .category-widget .category-list li a.current,
.service-sidebar .category-widget .category-list li a:hover,
.sortable-masonry .filter-tabs li:hover,
.sortable-masonry .filter-tabs li.active,
.pagination li a:hover,
.pagination li a.current,
.contact-section .info-box .single-item .icon-box {
  color: #ffffff !important;
}

/* The marquee strip (slide-text) — text needs to be visible on navy */
.slide-text .text-inner,
.slide-text .text-inner li {
  color: #ffffff !important;
}

/* Tab buttons on welcome — the active state has navy bg, inactive icons keep dark */
.welcome-section .tab-btns li.active-btn,
.welcome-section .tab-btns li.active-btn i {
  color: #ffffff !important;
}

/* Download banner "Download E-book" button sits on the accent — force white text */
.download-section .content-box .theme-btn.btn-one {
  color: #ffffff !important;
}

/* Footer widget headings and copyright link hover on dark footer */
.main-footer.light-footer .widget-title h4 {
  color: var(--title-color);
}

/* Inverted logo variant for dark backgrounds (footer + mobile menu panel).
   The Euro Jobs PNG is black text + navy dot — invert it on dark surfaces. */
.main-footer .footer-logo img,
.mobile-menu .nav-logo img {
  filter: brightness(0) invert(1);
}

/* Preloader gate — if the inline <head> script set `ej-preloaded` on <html>
   (because the preloader has already played once this session), hide the
   loader-wrap before it can paint. Covers language switches and any other
   full-page reload within the same session. */
html.ej-preloaded .loader-wrap {
  display: none !important;
}

/* List checkmark discs (.list-style-one li). Template draws them with
   var(--theme-color) at 20% opacity behind a var(--theme-color) checkmark —
   both navy on the navy-900 About section background, invisible.
   Force a solid ice-blue disc with a navy-900 checkmark so the bullets
   have clear contrast on any background. */
.list-style-one li:after {
  background: #7FB3FF !important;
  opacity: 1 !important;
}
.list-style-one li:before {
  color: #0A1F44 !important;
  font-weight: 700;
  z-index: 1;
}

/* Language switcher (replaces the template's <select>-based picker).
   Small tri-state pill: EN · RO · RU — active option gets navy-700 bg. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(10, 31, 68, 0.12);
  border-radius: 999px;
  background: rgba(232, 238, 250, 0.6);
}
.lang-switch__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #0A1F44;
  border-radius: 999px;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease;
}
.lang-switch__item:hover {
  background: rgba(20, 53, 122, 0.1);
  color: #14357A;
}
.lang-switch__item.is-active {
  background: #14357A;
  color: #ffffff;
}

/* Client logos — we removed the template's overlay-logo twin (it caused a
   visible duplicate on hover). Replace with a subtle desaturate → full-color
   treatment so the row has life without the slide-in duplication. */
.clients-section .clients-box .clients-logo {
  filter: grayscale(1);
  opacity: 0.55;
  transition: all 300ms ease;
}
.clients-section .clients-box:hover .clients-logo {
  filter: grayscale(0);
  opacity: 1;
}

/* Welcome section — the template's pattern-layer uses shape-16.png, a PNG with
   baked-in bright green and orange blobs. Hide it and paint the section with a
   soft navy + ice-blue wash that matches the brand palette. */
.welcome-section > .pattern-layer {
  display: none !important;
}
.welcome-section {
  background:
    radial-gradient(ellipse 900px 600px at 15% 20%, rgba(20, 53, 122, 0.10), transparent 60%),
    radial-gradient(ellipse 900px 600px at 85% 75%, rgba(127, 179, 255, 0.12), transparent 60%),
    #F7F8FC;
}

/* Testimonials — same treatment. shape-17.png is a large green elliptical
   wash with yellow edges. Hide and replace with a navy/ice radial wash. */
.testimonial-style-two > .pattern-layer {
  display: none !important;
}
.testimonial-style-two {
  background:
    radial-gradient(ellipse 1100px 700px at 50% 20%, rgba(20, 53, 122, 0.09), transparent 55%),
    radial-gradient(ellipse 700px 500px at 80% 80%, rgba(127, 179, 255, 0.12), transparent 60%),
    #F7F8FC;
}

/* The rotated "Warehouse · Hospitality · Manufacturing · …" marquee strip
   between welcome and testimonials — it renders as a tilted white band with
   decorative star icons that don't match the theme. Remove it entirely. */
.slide-text {
  display: none !important;
}

/* Eyebrow "sub-title" pills (TESTIMONIALS, INDUSTRIES, ABOUT US, …).
   Default template style is dark navy-800 text on a 10% navy-tinted pill —
   reads as faint/muddy on light section backgrounds. Flip to a solid navy
   pill with white text so the eyebrow is a clear, branded tag. */
.sec-title .sub-title {
  color: #FFFFFF !important;
  background: #14357A !important;
  letter-spacing: 0.14em;
}
.sec-title .sub-title:before {
  display: none !important;
}
.sec-title .sub-title:after {
  display: none !important;
}
/* On already-dark section contexts (.sec-title.light), keep the same treatment
   but switch the pill to ice-blue for better separation from a dark parent. */
.sec-title.light .sub-title {
  color: #0A1F44 !important;
  background: #7FB3FF !important;
}

/* Hero / banner section — the template uses shape-10.png as a full-width
   pattern layer. That PNG has baked-in pink/yellow/green washes. Hide it
   and paint the hero with an on-brand navy/ice radial gradient on paper. */
.banner-section.banner-style-three > .pattern-layer,
.banner-style-three > .pattern-layer {
  display: none !important;
}
.banner-section.banner-style-three,
.banner-style-three {
  background:
    radial-gradient(ellipse 1200px 700px at 20% 30%, rgba(20, 53, 122, 0.12), transparent 60%),
    radial-gradient(ellipse 900px 600px at 85% 70%, rgba(127, 179, 255, 0.16), transparent 55%),
    linear-gradient(180deg, #F7F8FC 0%, #E8EEFA 100%);
}

/* Industries section sits on a dark navy background — the default icon color
   (var(--theme-color) = dark navy) blends in. Use a lighter tech-blue for the
   stroke so the outlined icons pop. Titles are already white. */
.industries-style-three .industries-block-three .inner-box .icon-box,
.industries-style-three .industries-block-three .inner-box .icon-box i {
  color: #7FB3FF !important;
}

/* Welcome tabs — the active pill uses the primary accent (navy-700). The pill
   track was the old hardcoded green and is now navy-900, giving a subtle tier.
   Ensure the active state text stays readable and inactive labels are readable
   on the navy-900 track. */
.welcome-section .tab-btns li {
  color: #ffffff !important;
}
.welcome-section .tab-btns li.active-btn,
.welcome-section .tab-btns li.active-btn i {
  color: #ffffff !important;
}

/* Sticky-header-safe anchor-jump setup. Smoothness is driven by the
   SmoothScrollNav client component (eased rAF tween), so we force
   scroll-behavior back to auto — otherwise bootstrap.css's media-gated
   `:root { scroll-behavior: smooth }` would turn every positional
   window.scrollTo(x, y) inside the tween into a queued smooth scroll
   and stutter the animation. scroll-padding-top still offsets the sticky
   header in case JS fails to hydrate and the browser does a native jump. */
html,
:root {
  scroll-behavior: auto !important;
  scroll-padding-top: 100px;
}

/* About section — the template's image-2 backdrop was a baked-in dark green
   (#2D4D31) that slipped past the earlier color sweep. Swap for the theme
   ice-blue so it reads as an on-brand accent behind the rounded image. */
.about-style-three .video_block_two .video-box .image-2:before {
  background: #7FB3FF !important;
}

/* Font Awesome fa-broom (Curățenie / Cleaning / Pulizie / Уборка tile) is
   solid-only in the free FA5 build, while the other industry glyphs in this
   row are outlined flaticons. Render the broom as a stroke-only outline so
   it matches the visual weight of its neighbours. */
.industries-style-three .industries-block-three .inner-box .icon-box i.fa-broom {
  color: transparent !important;
  -webkit-text-stroke: 1.2px #7FB3FF;
}
