/* Algorvis site-wide UI (loaded in <head> so nothing changes size after the page appears) */
:root { --aw-navy: #0a2463; --aw-blue: #134083; --aw-sky: #2d6cdf; --aw-soft: #eef3fc; }

/* 11. scrollbar in the site colours */
html { scrollbar-color: var(--aw-blue) var(--aw-soft); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--aw-soft); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--aw-sky), var(--aw-navy)); border-radius: 10px; border: 2px solid var(--aw-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--aw-navy); }

/* 1. Enquire Now pop-up: fits the screen, scrolls inside */
#contactModal .modal-dialog { max-height: calc(100vh - 2rem); margin-top: 1rem; margin-bottom: 1rem; }
#contactModal .modal-content { max-height: calc(100vh - 2rem); display: flex; flex-direction: column; overflow: hidden; }
#contactModal .modal-header { flex: 0 0 auto; }
#contactModal .modal-body { overflow-y: auto; flex: 1 1 auto; min-height: 0; overscroll-behavior: contain; }
.brochure-popup .brochure-content, #awBrochure .aw-br-box { max-height: calc(100vh - 2rem); overflow-y: auto; overscroll-behavior: contain; }

/* 6. sticky bar on the left: actions + socials */
.aw-sticky { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 1040; display: flex; flex-direction: column; gap: 2px;
  background: linear-gradient(180deg, var(--aw-navy), var(--aw-blue)); padding: 8px 6px; border-radius: 0 18px 18px 0; box-shadow: 0 10px 26px rgba(10,36,99,.3); }
.aw-sticky a, .aw-sticky button { width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; position: relative; transition: background .15s, transform .15s; text-decoration: none; }
.aw-sticky a:hover, .aw-sticky button:hover { background: rgba(255,255,255,.16); transform: translateX(2px); color: #fff; }
.aw-sticky .aw-sep { height: 1px; background: rgba(255,255,255,.2); margin: 4px 6px; }
.aw-sticky .aw-act { color: #ffd166; }
.aw-sticky [data-tip]:hover::after { content: attr(data-tip); position: absolute; left: 50px; top: 50%; transform: translateY(-50%); white-space: nowrap;
  background: var(--aw-navy); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 8px; box-shadow: 0 6px 16px rgba(10,36,99,.25); pointer-events: none; }
@media (max-width: 767.98px) {
  .aw-sticky { padding: 6px 4px; border-radius: 0 14px 14px 0; top: auto; bottom: 90px; transform: none; }
  .aw-sticky { top: 50%; bottom: auto; transform: translateY(-50%); gap: 0; padding: 5px 3px; }
  .aw-sticky a, .aw-sticky button { width: 32px; height: 32px; font-size: 14px; border-radius: 9px; }
  .aw-sticky .aw-sep { margin: 2px 5px; }
}

/* 3. language switcher */
.aw-lang { position: relative; display: inline-flex; align-items: center; margin-right: 12px; }
.aw-lang-btn { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border-radius: 22px; border: 1px solid #d6e0f3; background: #fff; color: var(--aw-navy);
  font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.aw-lang-btn:hover { border-color: var(--aw-sky); }
.aw-lang-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 250px; max-height: 360px; overflow-y: auto; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px rgba(10,36,99,.22);
  padding: 8px; z-index: 2000; display: none; }
.aw-lang.open .aw-lang-menu { display: block; }
.aw-lang-menu input { width: 100%; border: 1px solid #d6e0f3; border-radius: 10px; padding: 8px 10px; margin-bottom: 6px; font-size: 13px; }
.aw-lang-menu button { display: flex; justify-content: space-between; gap: 8px; width: 100%; border: 0; background: transparent; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; color: #24324f; text-align: left; cursor: pointer; }
.aw-lang-menu button:hover, .aw-lang-menu button.on { background: var(--aw-soft); color: var(--aw-navy); font-weight: 600; }
.aw-lang-menu button small { color: #7a86a3; }
#google_translate_element, .goog-te-banner-frame, .skiptranslate iframe { display: none !important; }
html.translated-rtl, html.translated-rtl body, html.translated-rtl body *, html[dir="rtl"], html[dir="rtl"] body, html[dir="rtl"] body * { direction: ltr !important; }
body { top: 0 !important; }
.goog-tooltip, .goog-tooltip:hover, .goog-text-highlight { display: none !important; background: none !important; box-shadow: none !important; }
@media (max-width: 1199.98px) { .aw-lang { margin-right: 10px; } .aw-lang-btn { width: 42px; padding: 0; justify-content: center; } .aw-lang-btn .aw-lang-name, .aw-lang-btn .fa-chevron-down { display: none; } }
@media (max-width: 1023.98px) { .attr-right .aw-lang, .attr-nav .aw-lang { display: none !important; } }
.aw-side-lang { display: flex; align-items: center; gap: 8px; border: 1.5px solid #d6e0f3; border-radius: 26px; padding: 0 14px; margin-bottom: 10px; background: #fff; }
.aw-side-lang i { color: var(--aw-blue); }
.aw-side-lang select { flex: 1; border: 0 !important; background: transparent !important; height: 42px !important; font-weight: 600; color: var(--aw-navy); outline: none; box-shadow: none !important; padding: 0 !important; -webkit-appearance: auto; appearance: auto; }

/* 7. mobile side menu extras (like imeaexports.com) */
.aw-side-extra { display: none; }
@media (max-width: 1023.98px) {
  .aw-side-extra { display: block; padding: 14px 18px 22px; border-top: 1px solid #e6ecf7; margin-top: 10px; }
  .aw-side-extra .aw-side-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 11px; border-radius: 26px; border: 0; margin-bottom: 10px;
    font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--aw-sky), var(--aw-navy)); text-decoration: none; }
  .aw-side-extra .aw-side-btn.alt { background: #fff; color: var(--aw-navy); border: 1.5px solid var(--aw-blue); }
  .aw-side-extra .aw-side-socials { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 6px 0 12px; }
  .aw-side-extra .aw-side-socials a { width: 36px; height: 36px; border-radius: 50%; background: var(--aw-soft); color: var(--aw-navy); display: flex; align-items: center; justify-content: center; }
  .aw-side-extra p { margin: 4px 0; font-size: 13px; color: #4b5878; text-align: center; }
  .aw-side-extra p a { color: var(--aw-navy); font-weight: 600; }
}

/* the theme places every <button> in the mobile menu like its close (x) button - undo that for ours */
.aw-side-extra .aw-side-btn { position: static !important; top: auto !important; right: auto !important; left: auto !important; transform: none !important; height: auto !important; line-height: 1.3 !important;
  width: 100% !important; min-width: 0 !important; display: flex !important; border-radius: 26px !important; padding: 11px !important; font-size: 14px !important; box-shadow: none !important; }
.aw-side-extra .aw-side-btn.alt { background: #fff !important; color: var(--aw-navy) !important; border: 1.5px solid var(--aw-blue) !important; }
.aw-side-extra .aw-side-btn i { position: static !important; margin: 0 !important; font-size: 15px !important; }
.aw-side-extra p, .aw-side-extra p a { text-transform: none !important; }
/* while the mobile menu is open, the sticky bar and chat button step aside */
body.aw-menu-open .aw-sticky, body.aw-menu-open .imea-chat-fab, body.aw-menu-open .imea-chat-box { display: none !important; }


/* no thick left-border "accent" cards */
.seo-strategy-item, .geo-summary, [style*="border-left: 4px"], [style*="border-left:4px"], [style*="border-left: 5px"], [style*="border-left:5px"], [style*="border-left: 6px"], [style*="border-left:6px"] {
  border-left: 1px solid #e3e9f5 !important; }

/* 2. brochure pop-up for pages without one */
#awBrochure { position: fixed; inset: 0; z-index: 2050; background: rgba(10,36,99,.45); display: none; align-items: center; justify-content: center; padding: 16px; }
#awBrochure.show { display: flex; }
#awBrochure .aw-br-box { background: #fff; border-radius: 18px; width: 420px; max-width: 100%; padding: 26px 24px; position: relative; box-shadow: 0 24px 60px rgba(10,36,99,.3); }
#awBrochure h3 { color: var(--aw-navy); font-size: 22px; margin: 0 0 6px; }
#awBrochure p { color: #4b5878; font-size: 14px; margin-bottom: 14px; }
#awBrochure input[type=email] { width: 100%; border: 1px solid #d6e0f3; border-radius: 12px; padding: 11px 14px; font-size: 15px; }
#awBrochure label.c { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #4b5878; margin: 12px 0; }
#awBrochure button[type=submit] { width: 100%; border: 0; border-radius: 26px; padding: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--aw-sky), var(--aw-navy)); }
#awBrochure .aw-x { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--aw-soft); color: var(--aw-navy); font-size: 18px; }

/* 12. install app */
.aw-install-tip { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2060; background: var(--aw-navy); color: #fff; border-radius: 14px; padding: 12px 16px;
  font-size: 14px; max-width: calc(100vw - 32px); box-shadow: 0 14px 34px rgba(10,36,99,.35); display: none; }
.aw-install-tip.show { display: block; }
.aw-install-tip button { margin-left: 10px; border: 0; background: rgba(255,255,255,.18); color: #fff; border-radius: 8px; padding: 2px 9px; }
/* round 3: svg icons, one-line Enquire Now, menu button spacing, sticky bar below the header, back-to-top */
.aw-ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex: 0 0 auto; }
.aw-sticky .aw-ico { width: 18px; height: 18px; }
@media (max-width: 767.98px) { .aw-sticky .aw-ico { width: 15px; height: 15px; } }
.aw-sticky { top: calc(50% + 40px); overflow: visible !important; } .aw-sticky > * { flex-shrink: 0; }
@media (max-height: 620px) { .aw-sticky { gap: 0 !important; padding: 4px 3px !important; } .aw-sticky a, .aw-sticky button { width: 30px !important; height: 30px !important; } .aw-sticky .aw-ico { width: 14px; height: 14px; } }
.attr-nav li.button a, .attr-nav .button a { white-space: nowrap !important; display: inline-flex !important; align-items: center; justify-content: center; }
.aw-side-extra { display: none; }
@media (max-width: 1023.98px) {
  .aw-side-extra { display: flex !important; flex-direction: column; gap: 12px; }
  .aw-side-extra > * { margin: 0 !important; }
  .aw-side-extra .aw-side-btn { min-height: 46px; }
  .aw-side-extra .aw-side-btn[style*="display:none"], .aw-side-extra .aw-side-btn[style*="display: none"] { display: none !important; }
  .aw-side-extra .aw-side-socials { gap: 10px !important; }
  .aw-side-extra .aw-side-socials .aw-ico { width: 16px; height: 16px; }
  .aw-side-extra p { display: flex; align-items: center; justify-content: center; gap: 6px; }
  .aw-side-lang .aw-ico { color: var(--aw-blue); width: 16px; height: 16px; }
}
.aw-top { position: fixed; right: 30px; bottom: 92px; z-index: 1055; width: 44px; height: 44px; border-radius: 50%; border: 0; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, var(--aw-sky), var(--aw-navy)); box-shadow: 0 8px 20px rgba(10,36,99,.3); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s; }
.aw-top.show { opacity: 1; visibility: visible; transform: none; }
.aw-top:hover { filter: brightness(1.1); }
.aw-top .aw-ico { width: 16px; height: 16px; }
@media (max-width: 767.98px) { .aw-top { right: 21px; bottom: 80px; width: 40px; height: 40px; } }
body.aw-menu-open .aw-top { display: none !important; }
#scrollUp, .scrollup, .back-to-top { display: none !important; }

/* every pop-up uses the brochure pop-up design: white rounded card, navy title, soft round close, rounded fields, gradient pill button */
.modal-backdrop.show { background: #0a2463; opacity: .45 !important; }
.modal .modal-content { border: 0 !important; border-radius: 18px !important; box-shadow: 0 24px 60px rgba(10,36,99,.3) !important; overflow: hidden; background: #fff; }
.modal .modal-header { border-bottom: 0 !important; padding: 24px 64px 6px 24px !important; position: relative; background: #fff !important; }
.modal .modal-title { color: var(--aw-navy) !important; font-size: 22px !important; font-weight: 600 !important; line-height: 1.3; margin: 0; }
.modal .btn-close, .brochure-popup .close-btn, .image-modal .close, .image-modal .close-btn, .image-modal .close-modal { position: absolute !important; top: 12px !important; right: 14px !important; width: 34px !important; height: 34px !important; padding: 0 !important;
  border-radius: 50% !important; border: 0 !important; opacity: 1 !important; cursor: pointer; display: flex !important; align-items: center; justify-content: center; font-size: 20px !important; line-height: 1 !important;
  color: var(--aw-navy) !important; background: var(--aw-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230a2463'%3E%3Cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3E%3C/svg%3E") center / 11px no-repeat !important; box-shadow: none !important; }
.brochure-popup .close-btn, .image-modal .close, .image-modal .close-btn, .image-modal .close-modal { background-image: none !important; z-index: 5; }
.modal .btn-close:hover, .brochure-popup .close-btn:hover { background-color: #dfe8fa !important; }
.modal .modal-body { padding: 8px 24px 24px !important; color: #4b5878; }
.modal .modal-footer { border-top: 0 !important; padding: 0 24px 22px !important; }
.modal .modal-body label { color: #4b5878; font-size: 14px; }
.modal input[type=text], .modal input[type=email], .modal input[type=tel], .modal input[type=number], .modal input[type=url], .modal select, .modal textarea,
.brochure-popup input[type=email], .brochure-popup input[type=text], .brochure-popup input[type=tel] {
  border: 1px solid #d6e0f3 !important; border-radius: 12px !important; padding: 11px 14px !important; font-size: 15px !important; box-shadow: none !important; background: #fff !important; color: #24324f; min-height: 46px; }
.modal textarea { min-height: 96px; }
.modal input:focus, .modal select:focus, .modal textarea:focus, .brochure-popup input:focus { border-color: var(--aw-sky) !important; outline: 0; box-shadow: 0 0 0 3px rgba(45,108,223,.12) !important; }
.modal .modal-body button[type=submit], .modal .modal-body .btn-primary, .modal .modal-footer .btn-primary, .brochure-popup .brochure-content button:not(.close-btn) {
  border: 0 !important; border-radius: 26px !important; padding: 12px 24px !important; font-weight: 700 !important; font-size: 15px !important; color: #fff !important; width: 100%;
  background: linear-gradient(135deg, var(--aw-sky), var(--aw-navy)) !important; box-shadow: 0 8px 20px rgba(10,36,99,.22) !important; }
.modal .modal-body button[type=submit]:hover, .modal .modal-body .btn-primary:hover, .brochure-popup .brochure-content button:not(.close-btn):hover { filter: brightness(1.08); }
.modal .modal-footer .btn-secondary { border-radius: 26px !important; padding: 11px 22px !important; background: #fff !important; color: var(--aw-navy) !important; border: 1.5px solid var(--aw-blue) !important; }
.brochure-popup { background: rgba(10,36,99,.45) !important; }
.brochure-popup .brochure-content { background: #fff !important; border-radius: 18px !important; padding: 26px 24px !important; box-shadow: 0 24px 60px rgba(10,36,99,.3) !important; border: 0 !important; color: #4b5878; position: relative; }
.brochure-popup .brochure-content h2, .brochure-popup .brochure-content h3, .brochure-popup .brochure-content h4 { color: var(--aw-navy) !important; font-size: 22px !important; margin: 0 0 6px !important; padding-right: 40px; }
.brochure-popup .brochure-content p { color: #4b5878 !important; font-size: 14px !important; }

/* client logo carousels ("Companies That Trust Us"): same arrows on every page and every screen */
.aw-brand-wrap { position: relative !important; padding: 0 60px !important; }
.aw-brand-wrap .brand-carousel { margin: 0 !important; }
.aw-brand-arrow { position: absolute !important; top: 50% !important; bottom: auto !important; transform: translateY(-50%) !important; margin: 0 !important; width: 44px !important; height: 44px !important;
  border-radius: 50% !important; background: #fff !important; border: 1px solid #d6e0f3 !important; box-shadow: 0 6px 16px rgba(10,36,99,.12) !important; color: var(--aw-navy) !important;
  display: flex !important; align-items: center; justify-content: center; z-index: 6; cursor: pointer; opacity: 1 !important; transition: background .2s, color .2s; }
.aw-brand-arrow.swiper-button-prev, .aw-brand-arrow.aw-prev { left: 0 !important; right: auto !important; }
.aw-brand-arrow.swiper-button-next, .aw-brand-arrow.aw-next { right: 0 !important; left: auto !important; }
.aw-brand-arrow::after { font-size: 15px !important; font-weight: 700; color: inherit !important; }
.aw-brand-arrow .aw-ico { width: 15px; height: 15px; }
.aw-brand-arrow:hover { background: var(--aw-navy) !important; color: #fff !important; border-color: var(--aw-navy) !important; }
@media (max-width: 767.98px) {
  .aw-brand-wrap { padding: 0 0 58px !important; }
  .aw-brand-arrow { top: auto !important; bottom: 0 !important; transform: none !important; width: 40px !important; height: 40px !important; }
  .aw-brand-arrow.swiper-button-prev, .aw-brand-arrow.aw-prev { left: calc(50% - 48px) !important; }
  .aw-brand-arrow.swiper-button-next, .aw-brand-arrow.aw-next { right: auto !important; left: calc(50% + 8px) !important; }
}

/* Case Studies / Services menus: full list, compact text, search box, scroll when taller than the screen */
.aw-brand-arrow { --swiper-navigation-color: var(--aw-navy); }
.aw-dd-search { padding: 10px 12px 6px !important; list-style: none; }
.aw-dd-search input { width: 100%; height: 38px; border: 1px solid #d6e0f3; border-radius: 10px; padding: 0 12px 0 34px; font-size: 13.5px; color: #24324f; outline: 0; text-transform: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%237a86a3'%3E%3Cpath d='M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z'/%3E%3C/svg%3E") 12px center / 13px no-repeat; }
.aw-dd-search input:focus { border-color: var(--aw-sky); box-shadow: 0 0 0 3px rgba(45,108,223,.12); }
.aw-dd-empty { padding: 8px 16px 12px; font-size: 13px; color: #7a86a3; display: none; list-style: none; }
.aw-dd-all a { color: var(--aw-sky) !important; font-weight: 700 !important; }
@media (min-width: 1024px) {
  nav.navbar ul.nav li.dropdown > ul.dropdown-menu.aw-dd { width: 300px !important; min-width: 300px !important; max-height: calc(100vh - 170px); overflow-y: auto !important; overscroll-behavior: contain;
    padding: 4px 0 8px !important; border-radius: 0 0 14px 14px; scrollbar-width: thin; scrollbar-color: #b9c8e8 transparent; }
  nav.navbar ul.nav li.dropdown > ul.dropdown-menu.aw-dd::-webkit-scrollbar { width: 6px; }
  nav.navbar ul.nav li.dropdown > ul.dropdown-menu.aw-dd::-webkit-scrollbar-thumb { background: #b9c8e8; border-radius: 6px; }
  nav.navbar ul.nav li.dropdown > ul.dropdown-menu.aw-dd > li > a { font-size: 14.5px !important; font-weight: 500 !important; line-height: 1.35 !important; padding: 9px 18px !important;
    color: #24324f !important; text-transform: none !important; letter-spacing: 0 !important; border: 0 !important; white-space: normal; }
  nav.navbar ul.nav li.dropdown > ul.dropdown-menu.aw-dd > li > a:hover { background: var(--aw-soft) !important; color: var(--aw-navy) !important; padding-left: 22px !important; }
  nav.navbar ul.nav li.dropdown > ul.dropdown-menu.aw-dd > li { border: 0 !important; margin: 0 !important; }
}
@media (max-width: 1023.98px) {
  .aw-dd-search { padding: 8px 0 4px !important; }
  #navbar-menu .dropdown-menu.aw-dd > li > a { font-size: 14.5px !important; font-weight: 500 !important; text-transform: none !important; padding: 10px 0 10px 14px !important; }
}

/* sticky bar: hover effects and labels always visible; very short screens get smaller icons instead of clipping */
.aw-sticky a, .aw-sticky button { transition: background .18s, transform .18s, color .18s !important; }
.aw-sticky a:hover, .aw-sticky button:hover, .aw-sticky a:focus-visible, .aw-sticky button:focus-visible { background: rgba(255,255,255,.18) !important; color: #ffd166 !important; transform: translateX(3px) scale(1.06); }
.aw-sticky [data-tip]:hover::after, .aw-sticky [data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); white-space: nowrap; z-index: 2;
  background: var(--aw-navy); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 8px; box-shadow: 0 6px 16px rgba(10,36,99,.25); pointer-events: none; }
@media (hover: none) { .aw-sticky [data-tip]:hover::after { display: none; } .aw-sticky a:hover, .aw-sticky button:hover { transform: none; } }
@media (max-height: 520px) { .aw-sticky a, .aw-sticky button { width: 26px !important; height: 26px !important; } .aw-sticky .aw-ico { width: 12px !important; height: 12px !important; } .aw-sticky .aw-sep { margin: 1px 4px !important; } }
/* mobile side menu: clear hover / tap states */
@media (max-width: 1023.98px) {
  #navbar-menu ul.navbar-nav > li > a { transition: color .15s, padding-left .15s; }
  #navbar-menu ul.navbar-nav > li > a:hover, #navbar-menu ul.navbar-nav > li > a:focus-visible { color: var(--aw-sky) !important; padding-left: 6px !important; }
  #navbar-menu .dropdown-menu > li > a:hover { color: var(--aw-sky) !important; }
  .aw-side-extra .aw-side-btn { transition: filter .15s, transform .15s, background .15s !important; }
  .aw-side-extra .aw-side-btn:hover { filter: brightness(1.08); transform: translateY(-1px) !important; }
  .aw-side-extra .aw-side-btn.alt:hover { background: var(--aw-soft) !important; }
  .aw-side-extra .aw-side-socials a { transition: background .15s, color .15s, transform .15s; }
  .aw-side-extra .aw-side-socials a:hover { background: var(--aw-navy) !important; color: #fff !important; transform: translateY(-2px); }
}
.aw-dd-search input { box-sizing: border-box; max-width: 100%; display: block; }
@media (max-width: 1023.98px) { #navbar-menu .dropdown-menu.aw-dd { width: auto !important; max-width: 100% !important; overflow: hidden; } #navbar-menu .aw-dd-search { padding-right: 2px !important; } }
@media (max-width: 1023.98px) { html body nav.navbar #navbar-menu li.dropdown > ul.dropdown-menu, html body nav.navbar #navbar-menu li.dropdown > ul.dropdown-menu.aw-dd { min-width: 0 !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box; } }

/* round 7 ------------------------------------------------------------------------------------------ */
/* 1. Case Studies / Services menus: all four corners rounded */
@media (min-width: 1024px) { nav.navbar ul.nav li.dropdown > ul.dropdown-menu.aw-dd { border-radius: 16px !important; margin-top: 6px !important; box-shadow: 0 18px 40px rgba(10,36,99,.18) !important; border: 1px solid #e3eaf7 !important; } }

/* 2. pop-up forms: the Submit button stays visible at the bottom while the fields scroll */
#contactModal .modal-body form > .row:last-child, .modal .modal-body form > .row:last-child:has(button[type=submit]) {
  position: sticky; bottom: -24px; z-index: 3; background: #fff; margin: 0 -24px -24px !important; padding: 14px 24px 22px; box-shadow: 0 -10px 18px -12px rgba(10,36,99,.22); }
#contactModal .modal-body form > br:last-of-type { display: none; }

/* 3. opening a pop-up does not push the page or leave a strip on the right */
body.modal-open { padding-right: 0 !important; overflow: hidden; }
body.modal-open .navbar, body.modal-open .navbar-fixed, body.modal-open .sticky-top, body.modal-open .fixed-top, body.modal-open .top-bar, body.modal-open .aw-top { padding-right: 0 !important; }
html { scrollbar-gutter: auto; }

/* 4. one close (x) style everywhere: soft round button, navy cross, navy on hover */
.modal .btn-close, .brochure-popup .close-btn, .image-modal .close-modal, .image-modal .close, #awBrochure .aw-x, .aw-install-tip button, .imea-chat-x,
nav.navbar #navbar-menu > .navbar-toggle, nav.navbar #navbar-menu > button.navbar-toggle {
  width: 38px !important; height: 38px !important; min-width: 38px !important; padding: 0 !important; border-radius: 50% !important; border: 0 !important; opacity: 1 !important; cursor: pointer;
  background: #eef3fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230a2463' stroke-width='2' stroke-linecap='round' d='M3.5 3.5l9 9M12.5 3.5l-9 9'/%3E%3C/svg%3E") center / 14px no-repeat !important; color: transparent !important; font-size: 0 !important; line-height: 0 !important; text-indent: -999px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(10,36,99,.12) !important; transition: background-color .18s, transform .18s; display: inline-flex !important; align-items: center; justify-content: center; }
.modal .btn-close:hover, .brochure-popup .close-btn:hover, .image-modal .close-modal:hover, .image-modal .close:hover, #awBrochure .aw-x:hover, .aw-install-tip button:hover, .imea-chat-x:hover,
nav.navbar #navbar-menu > .navbar-toggle:hover { background: var(--aw-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' d='M3.5 3.5l9 9M12.5 3.5l-9 9'/%3E%3C/svg%3E") center / 14px no-repeat !important; transform: rotate(90deg); }
.modal .btn-close *, .brochure-popup .close-btn *, .image-modal .close-modal *, #awBrochure .aw-x *, .imea-chat-x *, nav.navbar #navbar-menu > .navbar-toggle * { display: none !important; }
.aw-install-tip button { width: 26px !important; height: 26px !important; min-width: 26px !important; background-size: 10px !important; vertical-align: middle; }
@media (min-width: 1024px) { nav.navbar #navbar-menu > .navbar-toggle, nav.navbar #navbar-menu > button.navbar-toggle { display: none !important; } }
