/* Epoxy Floorings Dubai – header, footer, menu and floating contact buttons (new design).
   Scoped to .efd-header, .efd-footer and .efd-float so nothing else on the site is affected. */
.efd-header, .efd-footer, .efd-float {
  --navy: #10243A; --navy-2: #1B3653; --navy-3: #0A1828; --teal: #17A7A1; --teal-dark: #0E7C78; --orange: #F0A34A;
  --off: #F7F8FA; --white: #fff; --muted: #bbb; --radius-btn: 4.8px; --pad-x: 45px;
  font-family: Poppins, sans-serif;
}
.efd-header *, .efd-footer *, .efd-float * { box-sizing: border-box; }
.efd-header ul, .efd-footer ul, .efd-float ul { margin: 0; padding: 0; list-style: none; }
.efd-header a, .efd-footer a, .efd-float a { text-decoration: none; }
.efd-header .ic, .efd-footer .ic, .efd-float .ic { display: inline-block; fill: currentColor; }

/* neutralise Elementor container/widget defaults */
.efd-header, .efd-header .e-con, .efd-footer, .efd-footer .e-con { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px; --margin-top: 0px; --margin-bottom: 0px; --widgets-spacing: 0px; --kit-widget-spacing: 0px; }
.efd-header.e-con, .efd-header .e-con, .efd-footer.e-con, .efd-footer .e-con { padding: 0; gap: 0; min-width: 0; }
.efd-header.e-con, .efd-footer.e-con { max-width: 100% !important; width: 100% !important; margin: 0 !important; }
.efd-header .e-con > .e-con-inner, .efd-footer .e-con > .e-con-inner { padding: 0; gap: 0; max-width: none; }
.efd-header .elementor-widget, .efd-footer .elementor-widget { margin: 0 !important; min-width: 0; width: auto; }
.efd-header .elementor-widget-container, .efd-footer .elementor-widget-container { margin: 0; padding: 0; }

/* header */
.efd-header .site-header { position: relative; z-index: 50; background: var(--white); height: 108px; }
.efd-header .header-inner { max-width: 1140px; width: 100%; margin: 0 auto; height: 93px; display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; }
.efd-header .efd-logo img { display: block; height: 76px; width: auto; max-width: none; }
.efd-header .efd-menu-w .elementor-shortcode { display: flex; align-items: center; }
.efd-header .menu { display: flex; height: 93px; }
.efd-header .menu-item { position: relative; }
.efd-header .menu-link { display: flex; align-items: center; height: 93px; padding: 0 10px; font-size: 18px; line-height: 1.2; color: var(--navy); background: none; border: 0; white-space: nowrap; }
.efd-header .menu-link:hover { color: var(--teal-dark); }
.efd-header .menu-item.is-active > .menu-link { background: var(--teal); color: var(--white); height: 100px; }
.efd-header .sub { position: absolute; z-index: 5; top: 100%; left: 0; min-width: 240px; background: var(--white); border-top: 3px solid var(--teal); box-shadow: 0 12px 28px rgba(16, 36, 58, .18); padding: 8px 0; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.efd-header .sub a { display: block; padding: 8px 20px; font-size: 16px; line-height: 24px; color: var(--navy); white-space: nowrap; }
.efd-header .sub a:hover { background: var(--off); color: var(--teal-dark); }
.efd-header .menu-item.has-sub:hover > .sub, .efd-header .menu-item.has-sub:focus-within > .sub { opacity: 1; pointer-events: auto; transform: none; }
.efd-header .burger { display: none; width: 37px; height: 50px; padding: 0; background: none; border: 0; color: var(--navy); cursor: pointer; }
.efd-header .burger:hover, .efd-header .burger:focus { background: none; color: var(--teal-dark); }
.efd-header .burger .ic { width: 30px; height: 30px; }
.efd-header .burger .ic + .ic, .efd-header .burger[aria-expanded="true"] .ic:first-child { display: none; }
.efd-header .burger[aria-expanded="true"] .ic + .ic { display: inline-block; }
.efd-header .site-header.is-stuck { position: fixed; top: 0; left: 0; right: 0; height: 60px; background: var(--navy-3); box-shadow: 0 2px 12px rgba(0, 0, 0, .25); animation: efd-drop .3s ease; }
.admin-bar .efd-header .site-header.is-stuck { top: 32px; }
.efd-header .site-header.is-stuck .header-inner, .efd-header .site-header.is-stuck .menu, .efd-header .site-header.is-stuck .menu-link, .efd-header .site-header.is-stuck .menu-item.is-active > .menu-link { height: 60px; }
.efd-header .site-header.is-stuck .efd-logo img { height: 46px; filter: brightness(0) invert(1); }
.efd-header .site-header.is-stuck .menu-link { color: var(--white); }
.efd-header .site-header.is-stuck .menu-link:hover { color: var(--orange); }
.efd-header .site-header.is-stuck .sub a { color: var(--navy); }
@keyframes efd-drop { from { transform: translateY(-100%); } }

/* mobile menu panel */
.mobile-menu.efd-float { position: absolute; top: 90px; left: 0; right: 0; z-index: 120; max-height: calc(100vh - 60px); background: var(--navy); color: var(--white); overflow-y: auto; padding: 0 24px 24px; box-shadow: 0 12px 24px rgba(10, 24, 40, .3); }
.mobile-menu.efd-float[hidden] { display: none; }
.efd-float .mmenu { padding-top: 8px; }
.efd-float .mmenu .menu-link { display: flex; align-items: center; width: 100%; padding: 14px 0; color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 18px; line-height: 1.4; }
.efd-float .mmenu .mrow { display: flex; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.efd-float .mmenu .mrow .menu-link { border-bottom: 0; flex: 1; }
.efd-float .mmenu .menu-item.is-active > .menu-link, .efd-float .mmenu .menu-item.is-active > .mrow .menu-link { color: var(--orange); }
.efd-float .mmenu .caret { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; background: none; border: 0; color: var(--white); cursor: pointer; }
.efd-float .mmenu .caret:hover, .efd-float .mmenu .caret:focus { background: none; color: var(--orange); }
.efd-float .mmenu .caret .ic { width: 24px; height: 24px; transition: transform .2s; }
.efd-float .mmenu .is-open .caret .ic { transform: rotate(180deg); }
.efd-float .mmenu .sub { display: none; background: rgba(255, 255, 255, .06); padding: 4px 0; }
.efd-float .mmenu .is-open > .sub { display: block; }
.efd-float .mmenu .sub a { display: block; color: var(--white); padding: 10px 16px; font-size: 16px; line-height: 24px; }
.efd-float .mmenu .sub a:hover { background: rgba(255, 255, 255, .08); color: var(--orange); }

/* footer */
.efd-footer .site-footer { background: var(--navy-3); color: var(--muted); display: flex; flex-direction: column; font-size: 18px; line-height: 28px; }
.efd-footer .footer-sec { padding: 72px var(--pad-x) 54px; }
.efd-footer .footer-grid { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 54px; max-width: 1350px; width: 100%; margin: 0 auto; }
.efd-footer .footer-col { display: block !important; }
.efd-footer .footer-col p { margin: 27px 0 0; color: var(--muted); }
.efd-footer .efd-flogo img { display: block; height: 76px; width: auto; max-width: 100%; filter: brightness(0) invert(1); }
.efd-footer .footer-title, .efd-footer .footer-title .elementor-heading-title { font-family: Poppins, sans-serif; font-size: 25.2px; font-weight: 400; line-height: 30px; color: #E6EBF1; margin: 0 0 27px; }
.efd-footer .footer-col li { line-height: 25px; margin-bottom: 5px; }
.efd-footer .footer-col a { color: var(--muted); }
.efd-footer .footer-col a:hover { color: var(--orange); }
.efd-footer .branch { color: #E6EBF1; font-weight: 500; margin: 0 0 6px; }
.efd-footer .branch ~ .branch { margin-top: 22px; }
.efd-footer .contact-list li { display: flex; align-items: flex-start; margin: 0; line-height: 28px; }
.efd-footer .contact-list .ci { width: 41px; flex: none; padding-top: 4px; }
.efd-footer .contact-list .ci .ic { width: 20px; height: 20px; color: var(--muted); }
.efd-footer .contact-list span { min-width: 0; overflow-wrap: anywhere; }
.efd-footer .social { display: flex; margin-top: 20px; }
.efd-footer .social a { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; color: var(--off); }
.efd-footer .social a:hover { color: var(--orange); }
.efd-footer .social .ic { width: 18px; height: 18px; }
.efd-footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px var(--pad-x); display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: 14px; line-height: 22px; }
.efd-footer .footer-bottom p { margin: 0; color: var(--muted); }
.efd-footer .footer-bottom img { display: block; height: 30px; width: auto; }

/* floating contact buttons */
.side-contact.efd-float { position: fixed; z-index: 60; right: 0; top: 286px; width: 46px; padding: 8px 6px 6px; background: var(--white); border-radius: 18px 0 0 18px; box-shadow: 0 0 10px rgba(16, 36, 58, .2); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.side-contact.efd-float button { border: 0; background: none; padding: 0; cursor: pointer; }
.side-contact.efd-float a, .side-contact.efd-float button { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: var(--teal-dark); }
.side-contact.efd-float .ic { width: 22px; height: 22px; }
.side-contact.efd-float a:hover, .side-contact.efd-float button:hover { color: var(--orange); background: none; }
.side-contact.efd-float .side-contact__num { height: 141px; background: var(--off); border-radius: 25px; margin-top: 4px; }
.side-contact.efd-float .side-contact__num span { writing-mode: vertical-rl; font-size: 13px; font-weight: 500; color: var(--navy); letter-spacing: .5px; }
.bottom-bar.efd-float { display: none; }
.to-top.efd-float { position: fixed; z-index: 60; right: 15px; bottom: 15px; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: rgba(16, 36, 58, .55); color: var(--white); border-radius: var(--radius-btn); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.to-top.efd-float.is-visible { opacity: 1; visibility: visible; }
.to-top.efd-float .ic { width: 28px; height: 28px; }
.to-top.efd-float:hover { background: var(--teal); color: var(--white); }

/* tablet */
@media (max-width: 1024px) {
  .efd-header .site-header, .efd-header .site-header.is-stuck { position: relative; top: auto; height: 90px; background: var(--white); box-shadow: none; animation: none; }
  .admin-bar .efd-header .site-header.is-stuck { top: auto; }
  .efd-header .header-inner, .efd-header .site-header.is-stuck .header-inner { height: 90px; padding: 0 18px; }
  .efd-header .site-header.is-stuck .efd-logo img { height: 60px; filter: none; }
  .efd-header .efd-logo img { height: 60px; }
  .efd-header .main-nav { display: none; }
  .efd-header .burger, .efd-header .site-header.is-stuck .burger { display: flex; align-items: center; justify-content: center; color: var(--navy); }
  .efd-footer .footer-sec { padding: 45px; }
  .efd-footer .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .efd-footer .footer-col { min-width: 0; overflow-wrap: anywhere; font-size: 16px; }
  .efd-footer .footer-title, .efd-footer .footer-title .elementor-heading-title { font-size: 21px; }
  .side-contact.efd-float { display: none; }
  .bottom-bar.efd-float { display: flex; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; height: 55px; background: var(--white); box-shadow: 0 -2px 10px rgba(16, 36, 58, .12); justify-content: space-around; align-items: center; }
  .bottom-bar.efd-float a, .bottom-bar.efd-float button { width: 60px; height: 55px; display: flex; align-items: center; justify-content: center; color: var(--teal-dark); background: none; border: 0; padding: 0; cursor: pointer; }
  .bottom-bar.efd-float .ic { width: 24px; height: 24px; }
  .to-top.efd-float { bottom: 70px; right: 10px; }
  .efd-footer .site-footer { padding-bottom: 55px; }
}

/* phone */
@media (max-width: 767px) {
  .efd-header .site-header, .efd-header .site-header.is-stuck { height: 72px; }
  .efd-header .header-inner, .efd-header .site-header.is-stuck .header-inner { height: 72px; padding: 0 16px; }
  .efd-header .efd-logo img, .efd-header .site-header.is-stuck .efd-logo img { height: 48px; }
  .efd-footer .footer-sec { padding: 30px 24px; }
  .efd-footer .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .efd-footer .footer-title, .efd-footer .footer-title .elementor-heading-title { font-size: 22px; margin-bottom: 14px; }
  .efd-footer .footer-col p { margin-top: 18px; }
  .efd-footer .footer-bottom { padding: 16px 24px; justify-content: center; text-align: center; }
}
/* live fixes: header fit + hide theme/plugin duplicate floats */
.efd-header .header-inner > .elementor-widget { flex: 0 0 auto; width: auto; }
.efd-header .header-inner > .efd-menu-w { flex: 0 1 auto; min-width: 0; margin-left: auto !important; }
#scroll-top, #okapi-wasb-button { display: none !important; }
@media (min-width: 1280px) { .efd-header .header-inner { max-width: 1300px; padding: 0 16px; } }
@media (min-width: 1025px) and (max-width: 1279px) { .efd-header .header-inner { padding: 0 12px; } .efd-header .efd-logo img { height: 60px; } .efd-header .menu-link { font-size: 14px; padding: 0 6px; } }
/* live fixes 2: footer logo has its own dark bg; hide Call Now Button plugin duplicate */
.efd-flogo img { filter: none !important; }
#callnowbutton { display: none !important; }

/* live fixes 3: header logo keeps its own colours */
.efd-logo img { filter: none !important; }
