/* ==========================================================================
   Explore Middle East FZE — brand theme
   Load this LAST, after style3447.css and the other eme-*.css files.

   Palette (from the logo)
   Navy        #0F4E81  primary — headings, buttons, links, icons
   Sky Blue    #2FB6F0  accent  — hovers, underlines, dark-surface text
   Steel Gray  #6B7280  body copy, labels
   Ink Navy    #0A2036  dark surfaces (footer, panels), heading text
   Tints       #F2F7FB / #E6F4FD  section backgrounds, hover fills

   Note: Sky Blue is deliberately never used for body text on white —
   it fails contrast at small sizes. It is an accent and a dark-surface colour.
   ========================================================================== */

:root {
  --color-primary: #0F4E81;
  --color-primary-2: #0F4E81;
  --color-secondary: #2FB6F0;
  --color-body: #6B7280;
  --color-body-2: #6B7280;
  --color-border: #DFE7EE;
  --color-heading-1: #0A2036;
  --color-info: #2FB6F0;

  --primary-50: #F2F7FB;
  --primary-100: #E6F1F9;
  --primary-200: #C7DEEF;
  --primary-300: #8FBEDF;
  --primary-400: #4E96C7;
  --primary-500: #2A76AC;
  --primary-600: #175F92;
  --primary-700: #0F4E81;
  --primary-900: #0A3A61;

  --secondary-100: #E6F6FE;
  --secondary-200: #C4EAFC;
  --secondary-300: #9BDCFA;
  --secondary-400: #6ACBF6;
  --secondary-500: #49C0F3;
  --secondary-600: #2FB6F0;
  --secondary-700: #1B9FD8;
  --secondary-900: #1284B5;

  --shadow-1: 0px 6px 34px rgba(15, 78, 129, 0.12);

  /* brand tokens used by the rules below */
  --eme-navy: #0F4E81;
  --eme-sky: #2FB6F0;
  --eme-gray: #6B7280;
  --eme-ink: #0A2036;
  --eme-tint: #F2F7FB;
  --eme-sky-tint: #E6F4FD;
}

/* --------------------------------------------------------------------------
   1. HEADER / NAVBAR
   -------------------------------------------------------------------------- */

header.header-seven .header-mid-one-wrapper {
  gap: 24px;
}

header .logo-area img,
.eme-header-slider .logo-area img {
  max-height: 75px;
  width: auto;
  object-fit: contain;
}

/* menu items sit on one line — no more "Why / Us" wrapping */
.nav-area .eme-mainmenu {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-area .eme-mainmenu > li.main-nav > a {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  padding: 10px 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--eme-ink);
  transition: color 0.25s ease;
}

/* sky-blue underline grows in on hover / for the current page */
.nav-area .eme-mainmenu > li.main-nav > a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--eme-sky);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.nav-area .eme-mainmenu > li.main-nav:hover > a,
.nav-area .eme-mainmenu > li.main-nav.active > a {
  color: var(--eme-navy);
}

.nav-area .eme-mainmenu > li.main-nav:hover > a::before,
.nav-area .eme-mainmenu > li.main-nav.active > a::before {
  transform: scaleX(1);
}

/* dropdown caret matches the label */
.nav-area .eme-mainmenu .has-dropdown.mega-menu > a::after {
  color: var(--eme-navy);
  right: -15px;
  font-size: 11px;
}

.nav-area .eme-mainmenu .has-dropdown.mega-menu:hover > a::after {
  transform: translateY(-50%) rotate(180deg);
}

header .nav-area ul li.main-nav:hover::after {
  color: var(--eme-navy) !important;
}

@media only screen and (min-width: 1200px) and (max-width: 1499px) {
  .nav-area .eme-mainmenu {
    gap: 24px;
  }
  .nav-area .eme-mainmenu > li.main-nav > a {
    font-size: 15px;
  }
}

/* Services mega menu ------------------------------------------------------ */

.eme-services-mega {
  box-shadow: 0 26px 60px rgba(10, 32, 54, 0.14);
  border-top: 3px solid var(--eme-sky);
}

.eme-services-mega .wrapper.inner-page {
  padding: 34px 0 30px;
}

.eme-services-mega .row.g-5 {
  --bs-gutter-y: 0;
}

.eme-services-mega .inversweb-short-title {
  position: relative;
  margin-bottom: 18px;
  padding-bottom: 12px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--eme-navy);
}

.eme-services-mega .inversweb-short-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background: var(--eme-sky);
}

.eme-services-mega .mega-menu-item li {
  margin-bottom: 4px;
}

.eme-services-mega .mega-menu-item li a {
  padding: 9px 12px !important;
  border: 1px solid transparent !important;
  border-radius: 4px !important;
  font-size: 15px;
  font-weight: 500;
  color: var(--eme-gray);
  transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
}

.eme-services-mega .mega-menu-item li a:hover {
  background: var(--eme-sky-tint);
  color: var(--eme-navy);
  padding-left: 18px !important;
}

/* header quote button + burger ------------------------------------------- */

header .header-right .single-component {
  gap: 16px;
}

#menu-btn .icon {
  border: 1px solid var(--color-border);
  background: #fff;
}

#menu-btn svg rect {
  fill: var(--eme-navy);
}

/* --------------------------------------------------------------------------
   2. BUTTONS
   -------------------------------------------------------------------------- */

.tmp-btn.btn-primary {
  background: var(--eme-navy);
  color: #fff;
}

/* the ripple that fills on hover — sky blue instead of near-black */
.tmp-btn.btn-primary::after {
  background: var(--eme-sky);
}

.tmp-btn.btn-primary:hover {
  color: var(--eme-ink);
}

.tmp-btn.btn-seconday {
  background: var(--eme-sky);
  color: var(--eme-ink);
}

.tmp-btn.btn-seconday::after {
  background: var(--eme-navy);
}

.tmp-btn.btn-seconday:hover {
  color: #fff;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--eme-sky);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   3. TYPE & SECTION HEADINGS
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--eme-ink);
}

body {
  color: var(--eme-gray);
}

.section-title-area-3 .sub-title,
.sub-title {
  color: var(--eme-navy);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}

.section-title span,
.title-banner span {
  color: var(--eme-sky);
}

.hover-moving-primary:hover {
  color: var(--eme-sky) !important;
}

/* --------------------------------------------------------------------------
   4. REPLACE THE THEME'S LEFTOVER TEAL / ORANGE TINTS
   -------------------------------------------------------------------------- */

.vedio-icone .popup-video::after {
  background: rgba(47, 182, 240, 0.22);
}

.about-award-area .award-inner .star-rating-area,
.about-image-area3 .about-award-area .award-inner .star-rating-area,
.tmp-service-area.area-2,
.tmp-why-choose-us-area2,
.project-wrapper4.nc {
  background: rgba(47, 182, 240, 0.07);
}

.marquee .marquee__item .main--wrapper-tt h2 {
  -webkit-text-stroke: 1px rgba(15, 78, 129, 0.2);
}

.project-single .over-link {
  background: linear-gradient(180deg, rgba(15, 78, 129, 0.18) 0%, rgba(10, 32, 54, 0.86) 100%);
}

.cta-wrapper::before {
  background: rgba(15, 78, 129, 0.9);
}

.tmp-testimonials-area .client-content .reveiw-area .counter-area,
.swiper-slide-active .testimonial-wrapper2 .author-area .image,
.pricing-wrapper .pricing-feature li .check {
  background: rgba(47, 182, 240, 0.14);
}

.swiper-slide-active .testimonial-wrapper2 .star-rating {
  background: rgba(47, 182, 240, 0.08);
}

.company-history-area-2 .timeline__id {
  border: 2px solid rgba(15, 78, 129, 0.18);
}

/* --------------------------------------------------------------------------
   5. FOOTER
   -------------------------------------------------------------------------- */

.footer-one {
  background: var(--eme-ink);
}

.tmp-footer-area .footer-cta-area.cta-two {
  background: linear-gradient(120deg, var(--eme-navy) 0%, #0B3A63 100%);
  border-radius: 8px;
}

.main-footer-one-area .single-footer-inner .footer-title {
  color: #fff;
}

.footer-five .main-footer-one-area .single-footer-inner .footer-title::after {
  background: var(--eme-sky);
}

.main-footer-one-area .use-full-link-wrapper a.single {
  display: block;
  margin-bottom: 12px;
  color: #C3CEDA;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.main-footer-one-area .use-full-link-wrapper a.single:last-child {
  margin-bottom: 0;
}

.main-footer-one-area .use-full-link-wrapper a.single:hover {
  color: var(--eme-sky) !important;
  padding-left: 6px;
}

.main-footer-one-area .contactus-link-wrapper a:hover {
  color: var(--eme-sky) !important;
}

.main-footer-one-area .social-wrapper-1 li a {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}

.main-footer-one-area .social-wrapper-1 li a:hover {
  background: var(--eme-sky);
  border-color: var(--eme-sky);
  color: var(--eme-ink);
}

.copyright-area-one .copyright-links li a {
  color: #C3CEDA;
}

.copyright-area-one .copyright-links li a:hover {
  color: var(--eme-sky) !important;
}

@media only screen and (max-width: 767px) {
  .copyright-area-one .copyright-links {
    flex-wrap: wrap;
    row-gap: 8px;
    margin-top: 14px !important;
  }
}

/* --------------------------------------------------------------------------
   6. MOBILE MENU
   -------------------------------------------------------------------------- */

.eme-mobile-menu > li > a.main {
  font-weight: 700;
  color: var(--eme-ink);
}

.eme-mobile-menu > li > a.main:hover,
.eme-mobile-menu .submenu li a:hover {
  color: var(--eme-navy);
}

.eme-mobile-menu .submenu li a.mobile-menu-link {
  color: var(--eme-gray);
}

/* --------------------------------------------------------------------------
   7. MOTION PREFERENCE
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .nav-area .eme-mainmenu > li.main-nav > a::before,
  .main-footer-one-area .use-full-link-wrapper a.single,
  .eme-services-mega .mega-menu-item li a {
    transition: none;
  }
}