/* ============================================================
   SSF Navbar — CTA button + EN toggle
   ============================================================ */

.ssf-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    font-family: 'Alexandria', sans-serif;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
    line-height: 1.3;
    box-sizing: border-box;
    height: 40px;
}

.ssf-nav-btn-outline {
    background: #ffffff;
    color: #082a6d;
    border: 1.5px solid #082a6d;
}
.ssf-nav-btn-outline:hover,
.ssf-nav-btn-outline:focus {
    background: #082a6d;
    color: #ffffff;
}

.ssf-nav-btn-solid {
    background: #082a6d;
    color: #ffffff;
    border: 1.5px solid #082a6d;
    box-shadow: 0 2px 8px rgba(8, 42, 109, .25);
}
.ssf-nav-btn-solid:hover,
.ssf-nav-btn-solid:focus {
    background: #0a3a8f;
    border-color: #0a3a8f;
    color: #ffffff;
}

/* icon after text in markup → lands on the left in RTL */
.ssf-nav-btn-icon { gap: 8px; }
.ssf-nav-btn-icon img {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    display: block;
}

.ssf-nav-btns-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 10px;
}

/* ============================================================
   EN toggle — matches CTA pill style
   ============================================================ */
.bd-button-45,
.bd-button-45:link,
.bd-button-45:visited {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #082a6d !important;
    color: #ffffff !important;
    border: 1.5px solid #082a6d !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 8px rgba(8, 42, 109, .25) !important;
    padding: 0 11px !important;
    height: 40px !important;
    box-sizing: border-box !important;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    font-family: 'Alexandria', sans-serif;
}
.bd-button-45:hover,
.bd-button-45:focus {
    background-color: #0a3a8f !important;
    border-color: #0a3a8f !important;
    color: #ffffff !important;
}
.bd-button-45:active {
    background-color: #061f52 !important;
}

.bd-linkbutton-3 { margin-top: 0 !important; }

/* ============================================================
   Row alignment
   ============================================================ */
.bd-headerarea-1 .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.bd-headerarea-1 .bd-vertical-align-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
}
.bd-headerarea-1 .bd-columnwrapper-39 .bd-vertical-align-wrapper {
    justify-content: flex-end;
    padding-left: 24px;
    box-sizing: border-box;
}

/* ============================================================
   Header shell
   ============================================================ */
.bd-headerarea-1 .bd-containereffect-2.container-effect.container {
    max-width: 1320px;
}
.bd-headerarea-1 .bd-section-3 {
    background-color: #ffffff !important;
    opacity: 1 !important;
    padding: 5px 0;
    border-radius: 18px !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    margin-top: 16px;
}

/* Tablet: CTA + EN hidden below 1200px */
@media (max-width: 1199px) {
    .bd-headerarea-1 .bd-columnwrapper-36 {
        display: none !important;
    }
    .bd-headerarea-1 .row {
        justify-content: flex-start;
    }
    .bd-headerarea-1 .bd-columnwrapper-40 {
        margin-left: auto;
    }
    .bd-headerarea-1 .bd-columnwrapper-39 .bd-vertical-align-wrapper {
        padding: 0 0 0 15px;
        box-sizing: border-box;
    }
    .bd-headerarea-1 .bd-columnwrapper-40 .bd-vertical-align-wrapper {
        padding: 0 15px 0 0;
        box-sizing: border-box;
        justify-content: flex-start;
    }
    .bd-hmenu-3 .navbar-toggle {
        float: none;
        margin: 0;
    }
}

/* Phone: tighter insets + inset floating bar */
@media (max-width: 767px) {
    .bd-headerarea-1 .bd-columnwrapper-39 .bd-vertical-align-wrapper {
        padding: 0 0 0 10px;
    }
    .bd-headerarea-1 .bd-columnwrapper-40 .bd-vertical-align-wrapper {
        padding: 0 10px 0 0;
    }
    .bd-headerarea-1 .bd-section-3 {
        padding-right: 10px;
        padding-left: 10px;
    }
    .bd-headerarea-1 .bd-containereffect-2.container-effect.container {
        margin-left: 16px;
        margin-right: 16px;
        width: auto;
        height: auto;
    }
}
body {
    font-family: 'Almarai', sans-serif !important;
}


/* Remove the gap between the header and the page content below it */
.bd-stretchtobottom-2 {
    margin-top: 0 !important;
}


/* Force the partner-name badge to overlap the bottom-right corner of its image (Elementor's --margin-top var chain isn't applying reliably here) */
.elementor-5133 .elementor-element-0dfbc30,
.elementor-5133 .elementor-element-5e89788,
.elementor-5133 .elementor-element-2782158,
.elementor-5133 .elementor-element-e4d09ff,
.elementor-5133 .elementor-element-8c3015f,
.elementor-5133 .elementor-element-f1245f4,
.elementor-5133 .elementor-element-a06eeb5 {
    margin-top: -46px !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Mobile nav: remove gray backdrop overlay behind the offcanvas menu (keep element for click-to-close) */
.bd-menuoverlay-15 {
  background-color: rgba(17, 24, 39, 0.5) !important;
}

/* Mobile nav panel itself: solid white background (was transparent, showing page content through it) */
@media (max-width: 1199px) {
  .bd-hmenu-3 .navbar-collapse {
    background-color: #FFFFFF !important;
  }
}

/* ============================================================
   Mobile nav (offcanvas side menu): quote button + EN switch
   Rendered inside the offcanvas panel itself (includes/hmenu_3.php,
   bd-container-84 slot, after the menu links), shown only while the
   panel is in its offcanvas/drawer state (<=991px, matches the
   navbar-collapse background rule above).
   ============================================================ */
.ssf-mobile-nav-actions {
  display: none;
}
@media (max-width: 1199px) {
  .ssf-mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 20px;
    margin-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
  }
  .ssf-mobile-nav-actions .ssf-mobile-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    font-family: 'Alexandria', sans-serif;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color .25s ease, color .25s ease;
  }
  .ssf-mobile-nav-actions .ssf-mobile-quote-btn {
    background-color: #082a6d;
    color: #ffffff !important;
    border: 1.5px solid #082a6d;
    box-shadow: 0 2px 8px rgba(8, 42, 109, .25);
  }
  .ssf-mobile-nav-actions .ssf-mobile-quote-btn:hover,
  .ssf-mobile-nav-actions .ssf-mobile-quote-btn:focus {
    background-color: #0a3a8f;
    border-color: #0a3a8f;
  }
  .ssf-mobile-nav-actions .ssf-mobile-en-btn {
    background-color: #ffffff;
    color: #082a6d !important;
    border: 1.5px solid #082a6d;
  }
  .ssf-mobile-nav-actions .ssf-mobile-en-btn:hover,
  .ssf-mobile-nav-actions .ssf-mobile-en-btn:focus {
    background-color: #082a6d;
    color: #ffffff !important;
  }
}

/* ============================================================
   Desktop navbar widen + consistent item spacing (2026-09-16)
   The header's inner .container was capped at 1320px (Bootstrap
   xl default) leaving huge unused side margins on wide screens,
   and the 4 top-level groups (logo / EN toggle / quote CTA / menu)
   sat in fixed Bootstrap columns (col-lg-2/1/2/7) whose widths
   didn't match their content, producing wildly uneven gaps between
   them. Fix: widen the container on large screens, and switch the
   header row to flex content-sized items with one uniform gap.
   ============================================================ */
@media (min-width: 1200px) {
  .bd-headerarea-1 .bd-containereffect-2.container-effect.container {
    width: 96% !important;
    max-width: 1600px !important;
  }
}
@media (min-width: 1600px) {
  .bd-headerarea-1 .bd-containereffect-2.container-effect.container {
    width: 96% !important;
    max-width: 1760px !important;
  }
}
@media (min-width: 1200px) {
  .bd-headerarea-1 .row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 32px !important;
  }
  .bd-headerarea-1 .bd-columnwrapper-36,
  .bd-headerarea-1 .bd-columnwrapper-39,
  .bd-headerarea-1 .bd-columnwrapper-40,
  .bd-headerarea-1 .bd-columnwrapper-ssf2 {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
  }
  /* Logo sits alone on the outer edge; it absorbs whatever extra room the
     widened container adds, so the functional cluster (EN / quote / menu)
     keeps a tight, uniform 32px gap regardless of container width. */
  .bd-headerarea-1 .bd-columnwrapper-39 {
    margin-inline-start: auto !important;
  }
  .bd-headerarea-1 .bd-columnwrapper-39 .bd-vertical-align-wrapper,
  .bd-headerarea-1 .bd-columnwrapper-40 .bd-vertical-align-wrapper {
    padding: 0 !important;
  }
  .bd-headerarea-1 .bd-columnwrapper-40 .bd-vertical-align-wrapper {
    justify-content: flex-start !important;
  }
}