/* ============================================================
 * Frexus Clone — fix styles (loaded after theme.css + post-*.css)
 * ============================================================ */

/* ─── Rewritten self-contained HERO ─────────────────────────
   Brand-new, fully self-controlled hero that ignores ALL
   Elementor variables. Renders identically regardless of
   the .elementor-6085 wrapper.                              */

.frexus-hero {
    /* Reset every Elementor variable that might constrain us. */
    --width: auto;
    --content-width: 100%;
    --display: block;
    --min-height: 0;
    --height: auto;
    --flex-direction: row;
    --flex-wrap: nowrap;
    --align-items: stretch;
    --justify-content: flex-start;
    --container-widget-width: 100%;
    --container-widget-height: 100%;
    --container-widget-flex-grow: 0;
    --container-widget-align-self: auto;
    --gap: 0px;
    --row-gap: 0px;
    --column-gap: 0px;
    --margin-top: 0px;
    --margin-right: 0px;
    --margin-bottom: 0px;
    --margin-left: 0px;
    --padding-top: 0px;
    --padding-right: 0px;
    --padding-bottom: 0px;
    --padding-left: 0px;
    --border-radius: 0;
    --border-top-width: 0;
    --border-right-width: 0;
    --border-bottom-width: 0;
    --border-left-width: 0;
    --position: relative;
    --z-index: auto;
    --overflow: visible;

    position: relative;
    box-sizing: border-box;
    width: 100%;
    /* Force true full-viewport height; vh always works. */
    height: 100vh;
    min-height: 600px;
    margin-top: -96px;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    padding: 0;
    overflow: hidden;
    background: #063952 url('../images/uploads/2025/09/video-cover.jpg') center/cover no-repeat;
}

/* The video layer — absolutely fills the whole hero. */
.frexus-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.frexus-hero__media {
    /* Classic 16:9 fake-bleed using vh/vw so it works no
       matter the section's height or width. */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 56.25vw;        /* 100vw * 9/16 */
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    pointer-events: none;
    display: block;
}

/* Dark blue overlay on top of the video — slightly stronger tint
   so the brand navy color reads through the footage. */
.frexus-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #003751;
    opacity: 0.55;
    pointer-events: none;
}

/* Centred title content, above video + overlay. Block-level
   so it never falls back to flex-quirky sizing. */
.frexus-hero__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    max-width: 1140px;
    padding: 120px 20px;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
}
.frexus-hero__title {
    margin: 0;
    color: #fff;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
}
.frexus-hero__title .text-primary {
    color: #EB4304;
}

/* Header overlays the hero (transparent, fixed). */
header.scrollHeader,
.menu_area {
    position: relative;
    z-index: 10;
}

/* ─── Force every elementor-invisible block visible ─────────── */
.elementor-invisible {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ─── Generic iframe / video stretch for other pages ───────── */
.elementor-background-video-embed iframe,
.elementor-background-video-embed video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

/* Responsive: shorter hero on small screens. */
@media (max-width: 767px) {
    .frexus-hero {
        min-height: 500px;
        height: 80vh;
    }
    .frexus-hero__inner {
        padding: 90px 16px;
    }
}

/* ============================================================
 * v3 — Service page CSS-only image placeholder.
 * Used by single-service.php when a Service CPT has no
 * featured image and no manual long_desc.img override.
 * ============================================================ */
.service-image-placeholder {
    width: 100%;
    aspect-ratio: 856 / 465;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 30px -10px rgba(0, 55, 81, 0.45);
}
.service-image-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--from, #003751) 0%, var(--mid, #075c84) 50%, var(--to, #eb4304) 100%);
}
.service-image-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.18) 0%, transparent 55%),
        radial-gradient(circle at 80% 75%, rgba(255, 255, 255, 0.10) 0%, transparent 60%);
    pointer-events: none;
}
.service-image-placeholder > * {
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

/* Per-service gradient overrides (consumed by single-service.php). */
.service-image-placeholder.is-global-booking   { --from: #003751; --mid: #0e7bb8; --to: #eb4304; }
.service-image-placeholder.is-cold-chain       { --from: #062b56; --mid: #1c8bd1; --to: #d8f3ff; }
.service-image-placeholder.is-us-mexico-line  { --from: #8c1d18; --mid: #eb4304; --to: #006847; }
.service-image-placeholder.is-customs-clearance{--from: #06233f; --mid: #0f4c75; --to: #f5b301; }

/* ============================================================
 * v3 defensive layout — Service page robustness.
 * Elementor post-30685.css provides the layout grid, but
 * our CSS variable overrides can sometimes suppress it; this
 * section guarantees sidebar + content 33%/66% row and that
 * WOW/animation classes don't keep elements hidden if JS
 * hasn't fired yet.
 * ============================================================ */

/* (a) Never let animations leave content invisible. */
.elementor-invisible,
.elementor-invisible.wow,
.wow,
.wow.fadeInUp,
.wow.fadeInLeft,
.wow.fadeInRight,
.wow.fadeInDown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* (b) Service page outer container (.e-con-inner) = flex row with two columns. */
.elementor-30685 > .elementor-element[data-id="7070f04"] > .e-con-inner,
.elementor-30685 .elementor-element[data-id="7070f04"] > .e-con-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
}

/* (c) Sidebar column (data-id=72434db, possibly nested in dc7ffcb) = 33% desktop. */
.elementor-30685 .elementor-element[data-id="dc7ffcb"],
.elementor-30685 .elementor-element[data-id="72434db"] {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
}
@media (max-width: 991px) {
    .elementor-30685 .elementor-element[data-id="dc7ffcb"],
    .elementor-30685 .elementor-element[data-id="72434db"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding-right: 0 !important;
    }
}

/* (d) Main content column = 66% on desktop, full on mobile. */
.elementor-30685 .elementor-element[data-id="24396ee"] {
    flex: 0 0 66.666% !important;
    max-width: 66.666% !important;
    box-sizing: border-box !important;
}
@media (max-width: 991px) {
    .elementor-30685 .elementor-element[data-id="24396ee"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* (e) Placeholder image must always have a height, not collapse. */
.service-image-placeholder {
    min-height: 280px !important;
    height: auto !important;
}
@media (max-width: 767px) {
    .service-image-placeholder {
        min-height: 200px !important;
        aspect-ratio: 856 / 465 !important;
    }
}

/* (f) Quick facts row inside main column. */
.elementor-30685 .row.g-3.my-3 > .col-md-4 {
    padding-top: 8px;
    padding-bottom: 8px;
}

/* (g) Sidebar widget fallback list spacing. */
.elementor-30685 .widget_nav_menu ul {
    padding-left: 0;
    list-style: none;
}
.elementor-30685 .widget_nav_menu ul li {
    list-style: none;
}

/* (h) Anchor in nav_menu-2 with a real color so links show up. */
.elementor-30685 a,
.elementor-30685 .dropdown-item {
    text-decoration: none;
}
.elementor-30685 a:hover { text-decoration: underline; }

/* ===========================================================
 * C1 — Contact page (page-id 5373 / .elementor-5373)
 *      Two-column layout: form on the left, contact info on the right.
 *      Each column scales down responsively and stacks on mobile.
 * =========================================================== */

/* (C1-a) Push the page-title hero down so the header sits above it. */
.elementor-5373 .elementor-element[data-id="7811ff9"] {
  padding-top: 170px !important;
  padding-bottom: 90px !important;
  position: relative !important;
  z-index: 1 !important;
}
/* The dark overlay sits inside the hero — keep it behind the header too. */
.elementor-5373 .elementor-element[data-id="7811ff9"]::before {
  z-index: -1 !important;
}

/* (C1-b) Outer contact section: centered container with sensible padding. */
.elementor-5373 .elementor-element[data-id="c2aa5a4"] {
  --width: 100% !important;
  padding-top: 90px !important;
  padding-bottom: 90px !important;
}
.elementor-5373 .elementor-element[data-id="c2aa5a4"] > .e-con-inner {
  display: flex !important;
  flex-wrap: wrap !important;
  max-width: 1240px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  gap: 40px !important;
  align-items: flex-start !important;
  box-sizing: border-box !important;
}

/* (C1-c) Left column — contact form. ~60% on desktop. */
.elementor-5373 .elementor-element[data-id="dd9cc13"] {
  flex: 1 1 56% !important;
  max-width: 56% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
/* White form card inside the form column. */
.elementor-5373 .elementor-element[data-id="18aba00"] {
  background: #fff !important;
  padding: 40px 36px !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 28px rgba(0, 55, 81, 0.08) !important;
  box-sizing: border-box !important;
}
/* Form headings and inputs sit comfortably inside the card. */
.elementor-5373 .elementor-element[data-id="18aba00"] h2 {
  font-size: 28px !important;
  margin-bottom: 28px !important;
  letter-spacing: -0.5px !important;
  line-height: 1.2 !important;
}
.elementor-5373 .elementor-element[data-id="18aba00"] .form-control {
  height: 48px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
}
.elementor-5373 .elementor-element[data-id="18aba00"] textarea.form-control {
  height: auto !important;
  min-height: 120px !important;
}
.elementor-5373 .elementor-element[data-id="18aba00"] label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #003751 !important;
  margin-bottom: 6px !important;
}
.elementor-5373 .elementor-element[data-id="18aba00"] input[type="submit"] {
  background: #eb4304 !important;
  color: #fff !important;
  border: 0 !important;
  padding: 14px 32px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: background 200ms ease !important;
}
.elementor-5373 .elementor-element[data-id="18aba00"] input[type="submit"]:hover {
  background: #c93500 !important;
}

/* (C1-d) IMPORTANT: in the rendered DOM, `d165c45` (right column) is
 *     actually a CHILD of `dd9cc13` (left form column), not a sibling.
 *     The PHP template closes three </div> after line 122 but the form
 *     widget has 4+ nested layers, so one extra </div> is missing and
 *     d165c45 ends up nested. We don't restructure the PHP; we use
 *     dd9cc13 itself as the row container. */
.elementor-5373 .elementor-element[data-id="dd9cc13"] {
  --width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  gap: 40px !important;
  align-items: flex-start !important;
  box-sizing: border-box !important;
}
/* Form card sits on the left, ~60% of the row. */
.elementor-5373 .elementor-element[data-id="18aba00"] {
  --width: calc(56% - 20px) !important;
  flex: 1 1 calc(56% - 20px) !important;
  width: calc(56% - 20px) !important;
  max-width: calc(56% - 20px) !important;
  min-width: 280px !important;
  box-sizing: border-box !important;
}
/* Right column sits on the right, ~40% of the row. */
.elementor-5373 .elementor-element[data-id="d165c45"] {
  --width: calc(44% - 20px) !important;
  flex: 1 1 calc(44% - 20px) !important;
  width: calc(44% - 20px) !important;
  max-width: calc(44% - 20px) !important;
  min-width: 240px !important;
  box-sizing: border-box !important;
  padding-top: 8px !important;
}
/* Inner child widgets inside both columns: stop them demanding
 *     100% of their parent. Give them auto width and let them shrink. */
.elementor-5373 .elementor-element[data-id="18aba00"] > .elementor-element,
.elementor-5373 .elementor-element[data-id="d165c45"] > .elementor-element,
.elementor-5373 .elementor-element[data-id="d165c45"] .elementor-widget,
.elementor-5373 .elementor-element[data-id="d165c45"] .elementor-widget-container {
  --width: auto !important;
  flex: 0 1 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
/* Cap the giant display-4 heading inside the info column. */
.elementor-5373 .elementor-element[data-id="d165c45"] h2.display-4,
.elementor-5373 .elementor-element[data-id="d165c45"] h2 {
  font-size: 30px !important;
  letter-spacing: -0.5px !important;
  line-height: 1.2 !important;
  margin-bottom: 24px !important;
  font-weight: 800 !important;
  color: #003751 !important;
}
.elementor-5373 .elementor-element[data-id="d165c45"] .sm-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: #eb4304 !important;
  display: inline-block;
  background: rgba(235, 67, 4, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
/* The contact-info widget renders a 2-column row of city/phone/follow/email.
 *     Reset the giant margins and align columns properly. */
.elementor-5373 .elementor-element[data-id="d165c45"] .row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin: 0 !important;
}
.elementor-5373 .elementor-element[data-id="d165c45"] .row > [class*="col-"] {
  flex: 0 0 50% !important;
  max-width: 50% !important;
  padding: 12px 16px !important;
  box-sizing: border-box !important;
}
.elementor-5373 .elementor-element[data-id="d165c45"] h4 {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #003751 !important;
  margin-bottom: 6px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.elementor-5373 .elementor-element[data-id="d165c45"] p {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #4a6677 !important;
  margin-bottom: 0 !important;
}
.elementor-5373 .elementor-element[data-id="d165c45"] .frexus-wechat-qr {
  width: 96px !important;
  height: 96px !important;
  margin-bottom: 8px !important;
}
/* "始于 1980" tagline at the bottom of the info column. */
.elementor-5373 .elementor-element[data-id="9e0870e"] {
  margin-top: 28px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(0, 55, 81, 0.1) !important;
}
.elementor-5373 .elementor-element[data-id="9e0870e"] .display-custom-1 {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #eb4304 !important;
  /* Override the global inline-block+width:auto which collapses to 0px
   *     when the parent column has no remaining width to give. */
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

/* (C1-e) Tablet (≤991px): form 60%, info 40%, smaller font sizes. */
@media (max-width: 991px) {
  .elementor-5373 .elementor-element[data-id="18aba00"] {
    flex: 1 1 calc(60% - 20px) !important;
    width: calc(60% - 20px) !important;
    max-width: calc(60% - 20px) !important;
  }
  .elementor-5373 .elementor-element[data-id="d165c45"] {
    flex: 1 1 calc(40% - 20px) !important;
    width: calc(40% - 20px) !important;
    max-width: calc(40% - 20px) !important;
  }
  .elementor-5373 .elementor-element[data-id="d165c45"] h2.display-4,
  .elementor-5373 .elementor-element[data-id="d165c45"] h2 {
    font-size: 24px !important;
  }
  .elementor-5373 .elementor-element[data-id="18aba00"] {
    padding: 32px 24px !important;
  }
}

/* (C1-f) Small tablet / large phone (≤767px): stack the two columns. */
@media (max-width: 767px) {
  .elementor-5373 .elementor-element[data-id="c2aa5a4"] > .e-con-inner {
    gap: 32px !important;
    padding: 0 20px !important;
  }
  .elementor-5373 .elementor-element[data-id="dd9cc13"],
  .elementor-5373 .elementor-element[data-id="d165c45"] {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
  .elementor-5373 .elementor-element[data-id="d165c45"] .row > [class*="col-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .elementor-5373 .elementor-element[data-id="d165c45"] h2.display-4,
  .elementor-5373 .elementor-element[data-id="d165c45"] h2 {
    font-size: 26px !important;
  }
  .elementor-5373 .elementor-element[data-id="18aba00"] {
    padding: 28px 20px !important;
  }
  .elementor-5373 .elementor-element[data-id="18aba00"] h2 {
    font-size: 24px !important;
  }
}

/* (C1-g) Phone (≤575px): tighten everything for narrow screens. */
@media (max-width: 575px) {
  .elementor-5373 .elementor-element[data-id="c2aa5a4"] {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  .elementor-5373 .elementor-element[data-id="c2aa5a4"] > .e-con-inner {
    padding: 0 16px !important;
    gap: 24px !important;
  }
  .elementor-5373 .elementor-element[data-id="7811ff9"] {
    padding-top: 130px !important;
    padding-bottom: 60px !important;
  }
  .elementor-5373 .elementor-element[data-id="18aba00"] {
    padding: 24px 16px !important;
  }
  .elementor-5373 .elementor-element[data-id="18aba00"] h2 {
    font-size: 22px !important;
    margin-bottom: 20px !important;
  }
  .elementor-5373 .elementor-element[data-id="d165c45"] h2.display-4,
  .elementor-5373 .elementor-element[data-id="d165c45"] h2 {
    font-size: 22px !important;
  }
  .elementor-5373 .elementor-element[data-id="18aba00"] .form-control {
    height: 44px !important;
  }
}

/* (C1-h) Mobile overflow guard. The WeChat/social-icon widget 1313a8b
 *     is positioned at x ≈ 707 on a 375px viewport (offscreen-right).
 *     Its ancestors up to <body> have overflow-x: visible, so its
 *     bounding box inflates body.scrollWidth to 1053. Two fixes here:
 *     (1) reset the widget itself so it sits in normal flow, and
 *     (2) clip an ancestor so any remaining wide content doesn't leak. */
@media (max-width: 575px) {
  /* (1) Pull the social-icon widget into normal flow at the left edge. */
  .elementor-element-1313a8b,
  .elementor-element-1313a8b .elementor-widget-container,
  .elementor-element-1313a8b .social-icon-style4 {
    position: relative !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    margin: 16px 0 0 0 !important;
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    display: block !important;
  }
  .elementor-element-1313a8b .social-icon-style4 {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding: 0 !important;
  }
  .elementor-element-1313a8b .social-icon-style4 li {
    display: inline-block !important;
    margin: 0 !important;
  }
  /* (2) Clip ancestors that may also have wide children. */
  .elementor-element-eaec6f5,
  .elementor-element-eaec6f5 .e-con-inner,
  .elementor-element-2e480ed,
  .elementor-element-2e480ed .e-con-inner,
  .elementor-element-adfd68d {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }
  /* Hard fallback — anything still wider than the viewport gets clipped. */
  .elementor-5373 * {
    max-width: 100vw;
  }
}

/* ===========================================================
 * v5 — single-service.php v4 layout (.frexus-svc-*)
 * Plain HTML5 + Bootstrap grid. Zero Elementor wrappers.
 * =========================================================== */

.frexus-body-font { font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color: #333; }

.frexus-hero-bg {
  background: linear-gradient(135deg, #003751 0%, #0a4a73 100%);
}
.frexus-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
}

/* ==== 1) Outer page section ==== */
.frexus-svc {
  background: #fff;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* ==== 2) Hero strip on top of each service page ==== */
.frexus-svc-hero {
  position: relative;
  background-color: #003751;
  color: #fff;
  padding: 110px 16px 70px;
  text-align: center;
  margin-top: 0;
}
.frexus-svc-hero__title {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  margin: 0 0 18px;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.frexus-svc-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #eb4304;
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  flex-wrap: wrap;
}
.frexus-svc-breadcrumb a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
}
.frexus-svc-breadcrumb a:hover {
  text-decoration: underline;
}
.frexus-svc-breadcrumb__sep {
  color: rgba(255, 255, 255, 0.7);
}

/* ==== 3) Body wrap ==== */
.frexus-svc-body {
  padding: 60px 0 80px;
  background: #fff;
}

/* ==== 4) Sidebar ==== */
.frexus-svc-sidebar {
  margin-bottom: 30px;
}
.frexus-svc-widget {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 28px;
}
.frexus-svc-widget__title {
  background: #003751;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 20px;
  margin: 0;
}
.frexus-svc-widget__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.frexus-svc-widget__list-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: #003751;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
  transition: background 120ms, color 120ms;
}
.frexus-svc-widget__list-item:last-child a {
  border-bottom: none;
}
.frexus-svc-widget__list-item a:hover,
.frexus-svc-widget__list-item a:focus {
  background: #f6f9fc;
  color: #eb4304;
}
.frexus-svc-widget__list-item i {
  color: #003751;
  transition: transform 120ms;
}
.frexus-svc-widget__list-item a:hover i {
  transform: translateX(4px);
  color: #eb4304;
}
/* Active (current) item — shown when the user is viewing that service. */
.frexus-svc-widget__list-item.is-active a {
  background: #eb4304;
  color: #fff;
  border-color: #eb4304;
}
.frexus-svc-widget__list-item.is-active a:hover,
.frexus-svc-widget__list-item.is-active a:focus {
  background: #d33b03;
  color: #fff;
}
.frexus-svc-widget__list-item.is-active i {
  color: #fff;
}
.frexus-svc-widget__list-item.is-active a:hover i {
  color: #fff;
}

/* ==== 5) Contact widget ==== */
.frexus-svc-widget--contact {
  padding: 0 0 12px;
}
.frexus-svc-contact__row {
  display: flex;
  align-items: flex-start;
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
}
.frexus-svc-widget--contact .frexus-svc-contact__row:last-child {
  border-bottom: none;
}
.frexus-svc-contact__icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  background: rgba(0, 55, 81, 0.08);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  font-size: 16px;
  color: #003751;
}
.frexus-svc-contact__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  margin-bottom: 2px;
}
.frexus-svc-contact__value {
  font-size: 15px;
  color: #333;
  word-break: break-word;
}

/* ==== 6) Main content column ==== */
.frexus-svc-main {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

/* ==== 7) Hero thumbnail / placeholder ==== */
.frexus-svc-thumb {
  margin: 0 0 30px;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 856 / 465;
}
.frexus-svc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-image-placeholder {
  width: 100%;
  min-height: 320px;
  aspect-ratio: 856 / 465;
  background: linear-gradient(135deg, var(--from, #003751) 0%, var(--mid, #0e7bb8) 50%, var(--to, #eb4304) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 80px;
  border-radius: 4px;
  margin: 0 0 30px;
  position: relative;
  overflow: hidden;
}
.service-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 75%, rgba(255, 255, 255, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.service-image-placeholder > * {
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.service-image-placeholder.is-global-booking   { --from: #003751; --mid: #0e7bb8; --to: #eb4304; }
.service-image-placeholder.is-cold-chain       { --from: #062b56; --mid: #1c8bd1; --to: #d8f3ff; }
.service-image-placeholder.is-us-mexico-line  { --from: #8c1d18; --mid: #eb4304; --to: #006847; }
.service-image-placeholder.is-customs-clearance{--from: #06233f; --mid: #0f4c75; --to: #f5b301; }

/* ==== 8) Title + paragraphs ==== */
.frexus-svc-main__title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #003751;
  line-height: 1.2;
  margin: 0 0 20px;
}
.frexus-svc-main__lead {
  font-size: 17px;
  color: #555;
  margin: 0 0 26px;
  line-height: 1.7;
}
.frexus-svc-main__p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  margin: 0 0 22px;
}

/* ==== 9) Quick facts strip ==== */
.frexus-svc-facts {
  margin: 30px 0;
}
.frexus-svc-fact {
  background: #f6f9fc;
  border-left: 4px solid #eb4304;
  padding: 20px 22px;
  border-radius: 0 4px 4px 0;
  height: 100%;
}
.frexus-svc-fact__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  margin-bottom: 6px;
}
.frexus-svc-fact__value {
  font-size: 18px;
  font-weight: 600;
  color: #003751;
}

/* ==== 10) Features grid ==== */
.frexus-svc-features {
  margin: 36px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 575.98px) {
  .frexus-svc-features {
    grid-template-columns: 1fr;
  }
}
.frexus-svc-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  background: #fff;
  transition: border-color 120ms;
}
.frexus-svc-feature:hover {
  border-color: #eb4304;
}
.frexus-svc-feature > i {
  font-size: 22px;
  color: #eb4304;
  flex: 0 0 auto;
  margin-top: 2px;
}
.frexus-svc-feature__title {
  font-size: 16px;
  font-weight: 600;
  color: #003751;
}
.frexus-svc-feature__text {
  font-size: 14px;
  color: #777;
  margin-top: 4px;
}

/* ==== 11) Icon cards row ==== */
.frexus-svc-cards {
  margin: 40px 0;
}
.frexus-svc-card {
  text-align: center;
  padding: 30px 22px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  background: #fff;
  height: 100%;
  transition: transform 200ms, box-shadow 200ms;
}
.frexus-svc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 55, 81, 0.10);
  border-color: rgba(235, 67, 4, 0.4);
}
.frexus-svc-card__icon {
  font-size: 44px;
  color: #eb4304;
  margin-bottom: 18px;
  line-height: 1;
}
.frexus-svc-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #003751;
  margin: 0 0 12px;
}
.frexus-svc-card__text {
  font-size: 14px;
  color: #777;
  margin: 0;
  line-height: 1.6;
}

/* ==== 12) CTA block ==== */
.frexus-svc-cta {
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 40px;
  background: linear-gradient(135deg, #003751 0%, #0a4a73 100%);
  border-radius: 4px;
  color: #fff;
  flex-wrap: wrap;
}
.frexus-svc-cta__text {
  flex: 1 1 auto;
  min-width: 240px;
}
.frexus-svc-cta__text h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
}
.frexus-svc-cta__text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  margin: 0;
}
.frexus-svc-cta__btn {
  flex: 0 0 auto;
  display: inline-block;
  padding: 14px 30px;
  background: #eb4304;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  transition: background 120ms, transform 120ms;
}
.frexus-svc-cta__btn:hover,
.frexus-svc-cta__btn:focus {
  background: #d23b02;
  color: #fff;
  transform: translateY(-2px);
}
@media (max-width: 575.98px) {
  .frexus-svc-cta {
    padding: 28px 22px;
    flex-direction: column;
    text-align: center;
  }
}

/* ==== 13) Home service grid (replaces legacy 4-card carousel) ==== */
.frexus-home-svc-grid {
  padding: 30px 0 50px;
}
.frexus-home-svc-item {
  margin: 0 0 24px;
}
.frexus-home-svc-item > a {
  display: block;
}
.frexus-home-svc-item img {
  width: 100%;
  height: auto;
  display: block;
}
.frexus-home-svc-item figcaption {
  margin-top: 16px;
}
.frexus-home-svc-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #eb4304;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.frexus-home-svc-cite {
  font-size: 0.85rem;
  color: #99a3ad;
  margin-bottom: 8px;
}
.frexus-home-svc-intro {
  color: #4a5a66;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* ==== 14) Page background and scrollbar polish on frexx hero ==== */
.frexus-svc-hero {
  position: relative;
  overflow: hidden;
  background-image: url('../images/uploads/2025/10/bg-01.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #003751 !important;
  padding: 170px 16px 90px !important;
  color: #fff !important;
  text-align: center !important;
  margin-top: 0 !important;
}
.frexus-svc-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #003751;
  opacity: .85;
  pointer-events: none;
  z-index: 0;
}
.frexus-svc-hero > * { position: relative; z-index: 1; }

/* ==== 14) Top position adjustment (front page header offset) ==== */
body .frexus-svc-hero {
  margin-top: 0; /* header offset moved to header.php */
}

/* ==== 15) Responsive tweaks ==== */
@media (max-width: 767.98px) {
  .frexus-svc-hero { padding: 90px 14px 50px; }
  .frexus-svc-hero__title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .frexus-svc-body { padding: 40px 0 60px; }
}

@media (max-width: 991.98px) {
  .frexus-svc-card { margin-bottom: 20px; }
}

/* ===========================================================
 * v6 — Global fixes (2026-07-23)
 * A3 overflow-x, B1 inner-page header, E cosmetic fixes.
 * =========================================================== */

/* A3 — kill horizontal overflow site-wide. */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
.scroll-track,
.owl-carousel,
.owl-stage-outer {
  overflow: hidden;
}

/* Page-specific horizontal overflow guards. The front-page home
 * template uses these classes for marquee text and Owl carousels;
 * none of them has its own overflow:hidden wrapper, so the body
 * inflates to 2000–7000px wide. */
.home .scroll-group,
.home .scroll-track,
.home .owl-carousel,
.home .owl-stage-outer,
.page-id-6085 .scroll-group,
.page-id-6085 .owl-stage-outer {
  max-width: 100% !important;
  overflow: hidden !important;
}
/* The marquee scrolls horizontally inside its .scroll-track; it must
 * keep its own width but be clipped to the parent. */
.home .scroll-track,
.page-id-6085 .scroll-track {
  position: relative;
  width: 100%;
  left: 0;
  right: 0;
}
.home .scroll-group,
.page-id-6085 .scroll-group {
  width: max-content !important;  /* keep the original scrolling width */
  max-width: none !important;
}

/* Home ABOUT US section: the two child columns are marked as
 * `e-con-full` (--width:100%) by the Elementor template, which makes
 * each take the full 1140px parent width and pushes the second one
 * off-screen. Force 50% on those two siblings of the row parent. */
.home .elementor-element[data-id="1800d9a"] > .e-con-full {
  width: 50% !important;
  flex: 0 0 50% !important;
  max-width: 50% !important;
}
@media (max-width: 767px) {
  .home .elementor-element[data-id="1800d9a"] > .e-con-full {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* post-6085.css sets `--container-widget-height:100%` on the row
 * parent [1800d9a], which clamps the children to the parent's own
 * height (a self-referencing 100%) and causes the right column's
 * three step items to overflow into the marquee section below.
 * Reset to `initial` so the row grows to fit the tallest column.
 * Also override the cross-axis stretch so each column sizes to its
 * own content rather than being snapped to the left column's height. */
.home .elementor-element[data-id="1800d9a"] {
  --container-widget-height: initial !important;
  --container-widget-align-self: initial !important;
  height: auto !important;
  min-height: 1px;
  align-items: stretch;
}
.home .elementor-element[data-id="1800d9a"] > .e-con-full {
  /* Don't stretch children to each other; let each column use its
   * own content height. */
  align-self: flex-start !important;
  height: auto !important;
  flex-basis: auto !important;
  flex-grow: 0 !important;
  flex-shrink: 1 !important;
}
.home .elementor-element[data-id="d2edf6e"],
.home .elementor-element[data-id="96cf89f"] {
  height: auto !important;
  min-height: 1px;
  align-self: flex-start !important;
}
.home .elementor-element[data-id="9b5f269"] {
  height: auto !important;
  min-height: 1px;
}

/* "为什么选择炜恒" section: force two e-con-full columns to 50% each */
.home .elementor-element[data-id="352c072"] > .e-con-full {
  width: 50% !important;
  flex: 0 0 50% !important;
  max-width: 50% !important;
}
.home .elementor-element[data-id="352c072"] {
  --container-widget-height: initial !important;
  --container-widget-align-self: initial !important;
  height: auto !important;
  min-height: 1px;
  align-items: stretch;
}
.home .elementor-element[data-id="352c072"] > .e-con-full {
  align-self: flex-start !important;
  height: auto !important;
  flex-basis: auto !important;
  flex-grow: 0 !important;
  flex-shrink: 1 !important;
}
@media (max-width: 767px) {
  .home .elementor-element[data-id="352c072"] > .e-con-full {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Header contact (email + phone): inline in nav, consistent style with menu items */
.frexus-header-contact__item-li > a.frexus-header-contact__item {
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.6rem;
  margin-right: 1.25rem;
  white-space: nowrap;
  text-decoration: none;
  color: #f15a23;
  transition: color 0.2s ease;
}
.frexus-header-contact__item-li > a.frexus-header-contact__item .fa {
  font-size: 1em;
  opacity: 0.95;
  margin-right: 0.45rem;
}
.frexus-header-contact__item-li > a.frexus-header-contact__item .contact-text {
  line-height: 1.2;
}
.frexus-header-contact__item-li > a.frexus-header-contact__item:hover {
  color: #d44a18;
}
/* Email and phone sit together as a single block separated from the menu items */
#nav > .frexus-header-contact__item-li:last-of-type {
  margin-right: 1.75rem;
}
@media (max-width: 991.98px) {
  .frexus-header-contact__item-li > a.frexus-header-contact__item {
    font-size: 0.8rem;
    margin-right: 0.85rem;
  }
  #nav > .frexus-header-contact__item-li:last-of-type {
    margin-right: 1rem;
  }
}
@media (max-width: 767.98px) {
  .frexus-header-contact__item-li {
    display: none;
  }
}

/* Default (home page, transparent header): orange color always visible (no hover required) */
/* Already set on the base rule above (color: #f15a23). */

/* Marquee scrolling text: restore the spacing between items that was
   lost after the bootstrap CSS was switched to the CDN variant. */
.scroll-track .scroll-item {
  display: inline-flex;
  align-items: center;
  margin-right: 3rem !important;
  font-size: 1.05rem;
  white-space: nowrap;
}
.scroll-track .scroll-item.circle-marquee {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f15a23;
  margin-right: 3rem !important;
  display: inline-block;
}
.scroll-track .scroll-item.text-secondary {
  color: #1f2d3d;
  font-weight: 700;
}

/* Reduce vertical spacing between the "Tailored Logistics" section and the
   "Why choose Weiheng" section on the front page. */
.home .elementor-element[data-id="53b9937"] {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}
.home .elementor-element[data-id="53b9937"] > .e-con-inner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
@media (max-width: 991.98px) {
  .home .elementor-element[data-id="53b9937"] {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
}

/* Trim the marquee/scroll-track section spacing (original 5.5rem+3rem
   creates excessive empty space above and below the scrolling text).
   Use a middle value (2.5rem + 1rem) between the original 5.5rem and the
   tight 1rem, so the marquee has comfortable but not excessive breathing
   room above and below the scrolling text. */
.home .elementor-element[data-id="ddf6e54"] {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}
.home .elementor-element[data-id="b10b3d3"] {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

/* Restore the gradient overlay on the home page service cards.
   The original .service-carousel-two .service-block .overlay uses a
   solid #003751 fill at 0.6 opacity, which hides the background image.
   Bring back the linear-gradient(135deg, navy → orange) so each card's
   unique photo (service-01..04.jpg) shows through. */
.service-carousel-two .service-block .overlay {
  background: linear-gradient(135deg, rgba(0, 55, 81, 0.85) 0%, rgba(0, 55, 81, 0.55) 35%, rgba(235, 67, 4, 0.55) 65%, rgba(235, 67, 4, 0.85) 100%);
  opacity: 0.6;
}
.service-carousel-two .owl-item.active.center .service-block .overlay {
  opacity: 0.4;
}

/* E4 — breadcrumb separator safety (avoid HOMEABOUT US run-on). */
.page-title-section ul li { margin-right: 16px; }
.page-title-section ul li:last-child { margin-right: 0; }

/* F1 — Font fallback: ensure CJK chars render even when Google fonts is blocked.
   Without an explicit fallback to Noto Sans SC / system CJK fonts, Chinese
   glyphs show as tofu boxes in some mobile browsers. */
body,
header nav.navbar,
header nav.navbar .navbar-nav,
header nav.navbar .navbar-nav > li > a,
header nav.navbar .frexus-header-contact__item {
  font-family: "Plus Jakarta Sans", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif !important;
}

/* M1 — Mobile menu (collapsed navbar) text contrast. */
@media (max-width: 991.98px) {
  /* nav.navbar sits inside header.frexus-header-solid (dark navy).
     Default: keep the navbar itself transparent so the dark strip
     shows through. The white panel is applied only to the *open* menu,
     which we detect via Bootstrap's `.show` / `.open` classes on the
     toggler's parent or via a body class set by init.js. */
  header nav.navbar {
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  /* Open-state: nav-menu.js toggles `.menu-opened` on .navbar-toggler
     when the hamburger is clicked. We then paint ONLY the menu list
     (ul.navbar-nav) white — the header strip above (logo + toggler)
     stays dark navy so it matches every other page. */
  header nav.navbar:has(> .navbar-toggler.menu-opened) > ul.navbar-nav,
  header nav.navbar > ul.navbar-nav.open,
  header nav.navbar:has(> .navbar-toggler.menu-opened) .dropdown-menu {
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    padding: 8px 0 !important;
  }
  /* Top-level links — give every item a comfortable padding, a divider,
     and a clear hover background. Use a strong navy + !important to
     defeat any theme override. */
  header nav.navbar .navbar-nav > li {
    border-bottom: 1px solid #f0f0f0 !important;
  }
  header nav.navbar .navbar-nav > li:last-child {
    border-bottom: 0 !important;
  }
  header nav.navbar .navbar-nav > li > a,
  header nav.navbar .navbar-nav > li > a.nav-link,
  header nav.navbar .navbar-nav > li > .dropdown-toggle,
  header nav.navbar .navbar-nav > li.dropdown > a.nav-link {
    color: #1f2d3d !important;
    font-weight: 600 !important;
    -webkit-text-fill-color: #1f2d3d !important;
    background-color: transparent !important;
    background-image: none !important;
    padding: 14px 22px !important;
    display: block !important;
    transition: background-color 0.15s ease, color 0.15s ease !important;
  }
  /* Active / current-page item */
  header nav.navbar .navbar-nav > li.active > a,
  header nav.navbar .navbar-nav > li.active > a.nav-link,
  header nav.navbar .navbar-nav > li.current-menu-item > a,
  header nav.navbar .navbar-nav > li.current-menu-item > a.nav-link,
  header nav.navbar .navbar-nav > li.current-menu-ancestor > a,
  header nav.navbar .navbar-nav > li.current-menu-ancestor > a.nav-link {
    color: #f15a23 !important;
    -webkit-text-fill-color: #f15a23 !important;
    background-color: #fff7f3 !important;
    border-left: 3px solid #f15a23 !important;
  }
  /* Hover / focus state — orange text + faint orange wash. */
  header nav.navbar .navbar-nav > li > a:hover,
  header nav.navbar .navbar-nav > li > a.nav-link:hover,
  header nav.navbar .navbar-nav > li > a.nav-link:focus,
  header nav.navbar .navbar-nav > li > .dropdown-toggle:hover {
    color: #f15a23 !important;
    -webkit-text-fill-color: #f15a23 !important;
    background-color: #fafafa !important;
  }
  /* Sub-menu items: nested under "Services", need to be visible too.
     Indent them and give a softer background. */
  header nav.navbar .dropdown-menu {
    position: static !important;
    float: none !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 0 0 1rem !important;
    margin: 0 !important;
    background-color: #f7f7f7 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: none;
  }
  header nav.navbar .navbar-nav > li.open > .dropdown-menu,
  header nav.navbar .navbar-nav > li.show > .dropdown-menu,
  header nav.navbar .navbar-nav > li.menu-item-has-children.open > ul.dropdown-menu {
    display: block !important;
  }
  header nav.navbar .dropdown-menu .dropdown-item,
  header nav.navbar .dropdown-menu li a {
    background-color: transparent !important;
    color: #1f2d3d !important;
    -webkit-text-fill-color: #1f2d3d !important;
    background-image: none !important;
    padding: 10px 22px !important;
    font-weight: 500 !important;
  }
  header nav.navbar .dropdown-menu .dropdown-item:hover,
  header nav.navbar .dropdown-menu .dropdown-item:focus,
  header nav.navbar .dropdown-menu li a:hover {
    color: #f15a23 !important;
    background-color: #ffffff !important;
    -webkit-text-fill-color: #f15a23 !important;
  }
  /* Caret / chevron arrows inside the mobile dropdown toggle */
  header nav.navbar .navbar-nav > li.menu-item-has-children > .dropdown-toggle::after,
  header nav.navbar .navbar-nav > li.menu-item-has-children > a.dropdown-toggle::after {
    border-top-color: #1f2d3d !important;
    border-width: 6px 6px 0 6px !important;
    margin-left: 12px !important;
    vertical-align: middle !important;
  }
  header nav.navbar .navbar-nav > li.menu-item-has-children.open > .dropdown-toggle::after,
  header nav.navbar .navbar-nav > li.menu-item-has-children.show > .dropdown-toggle::after,
  header nav.navbar .navbar-nav > li.show > .dropdown-toggle::after {
    border-top-color: #f15a23 !important;
  }
  /* Header contact email/phone items: show as a brand-orange strip at
     the top of the menu (mirroring the desktop layout where they sit
     inline in the nav). On mobile, hide them — the hamburger button
     takes the same role. The lang switcher stays. */
  header nav.navbar .frexus-header-contact__item-li {
    display: none !important;
  }
  /* Lang switcher in mobile: orange, smaller, right-aligned */
  header nav.navbar .frexus-lang-switch-item {
    padding: 12px 22px !important;
    background-color: #003751 !important;
    border-top: 1px solid #003751 !important;
  }
  header nav.navbar .frexus-lang-switch-item a {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }
  header nav.navbar .frexus-lang-switch-item a.is-active {
    color: #f15a23 !important;
    -webkit-text-fill-color: #f15a23 !important;
    font-weight: 700 !important;
  }
}

/* E5 — footer logo must render at natural size, never collapse to 0. */
.footer-logo img,
.elementor-widget-image.footer-logo img {
  max-width: 180px;
  width: auto;
  height: auto;
  display: inline-block;
}

/* Footer fallbacks — the official post-14095.css is now enqueued
 * site-wide (see inc/enqueue.php). Only essential safety-net rules
 * remain here so the footer never collapses if that stylesheet
 * fails to load. */
.elementor-14095 .footer-logo img {
  max-width: 215px;
  width: auto;
  height: auto;
  display: inline-block;
}
.elementor-14095 .elementor-element-887edf8 {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-style: solid !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  border-width: 1px 0 0 0 !important;
}

/* Critical: the elementor-custom-frontend.min.css shipped with the
 * theme does NOT include the standard `--width` → `width` translator
 * that real Elementor frontend uses, NOR `.elementor-widget-container {
 * width: 100% }`. Apply both translations site-wide so every Elementor
 * section / column / widget we render behaves like real Elementor output. */

/* Make every Elementor element honour its `--width` CSS variable. */
.elementor .elementor-element {
  width: var( --width );
  flex: 0 0 var( --width );
  max-width: var( --width );
  box-sizing: border-box;
}

/* Every Elementor widget container must fill its column rather than
 * collapse to fit-content. */
.elementor .elementor-widget-container,
.elementor .elementor-widget {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: block;
}
.elementor .e-con-inner,
.elementor .e-con-full,
.elementor .elementor-element {
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.elementor .elementor-section .elementor-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Footer-specific column widths — explicit because the bundled frontend
 * CSS does not translate `--width`. */
@media (min-width: 576px) {
  .elementor-14095 .elementor-element-2e480ed,
  .elementor-14095 .elementor-element-6053a9c,
  .elementor-14095 .elementor-element-f1dd528 {
    width: 33.33% !important;
    flex: 0 0 33.33% !important;
    max-width: 33.33% !important;
  }
  .elementor-14095 .elementor-element-874c267 {
    width: 33.33% !important;
    flex: 0 0 33.33% !important;
    max-width: 33.33% !important;
  }
  .elementor-14095 .elementor-element-2fbaa5b {
    width: 66.67% !important;
    flex: 0 0 66.67% !important;
    max-width: 66.67% !important;
  }
}
@media (max-width: 991px) and (min-width: 576px) {
  .elementor-14095 .elementor-element-2e480ed,
  .elementor-14095 .elementor-element-6053a9c,
  .elementor-14095 .elementor-element-f1dd528 {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}
@media (max-width: 767px) {
  .elementor-14095 .elementor-element-2e480ed,
  .elementor-14095 .elementor-element-6053a9c,
  .elementor-14095 .elementor-element-f1dd528,
  .elementor-14095 .elementor-element-874c267,
  .elementor-14095 .elementor-element-2fbaa5b {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}
/* Ensure the inner container holds a usable max-width. */
.elementor-14095 .elementor-element-eaec6f5 .e-con-inner,
.elementor-14095 .elementor-element-adfd68d .e-con-inner {
  width: 100%;
  margin: 0 auto;
}

/* Footer style optimization - reference original design */
.elementor-14095 .elementor-element-adfd68d {
  padding-top: 4rem !important;
  padding-bottom: 3rem !important;
  --width: 100% !important;
  width: 100% !important;
  flex: 0 0 100% !important;
  max-width: 100% !important;
}
.elementor-14095 .elementor-element-adfd68d.e-con.e-flex {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
}

.elementor-14095 .elementor-element-2e480ed,
.elementor-14095 .elementor-element-6053a9c,
.elementor-14095 .elementor-element-f1dd528 {
  --width: 33.333% !important;
  width: 33.333% !important;
  flex: 0 0 33.333% !important;
  max-width: 33.333% !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Footer titles */
.elementor-14095 h3.h4.text-white {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  letter-spacing: 0.3px;
}

/* Footer description text */
.elementor-14095 .elementor-element-2e480ed p.text-white {
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  opacity: 0.85 !important;
  margin-bottom: 1.2rem !important;
}

/* Social icons - white circle background */
.elementor-14095 .social-icon-style4 {
  padding-left: 0 !important;
  margin-bottom: 0 !important;
}
.elementor-14095 .social-icon-style4 li {
  margin-right: 10px !important;
  margin-bottom: 0 !important;
}
.elementor-14095 .social-icon-style4 li:last-child {
  margin-right: 0 !important;
}
.elementor-14095 .social-icon-style4 li a {
  width: 44px !important;
  height: 44px !important;
  background: #ffffff !important;
  color: #0a1936 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}
.elementor-14095 .social-icon-style4 li a:hover {
  background: #eb4304 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}
.elementor-14095 .social-icon-style4 li a i {
  color: inherit !important;
  padding: 0 !important;
}

/* Contact info list */
.elementor-14095 ul.list-style04 {
  padding-left: 0 !important;
  margin-bottom: 0 !important;
}
.elementor-14095 ul.list-style04 li {
  list-style: none !important;
  margin-bottom: 0.7rem !important;
  font-size: 0.9rem !important;
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.6 !important;
}
.elementor-14095 ul.list-style04 li span {
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.5px;
  margin-right: 4px;
}

/* Follow Us / WeChat section */
.elementor-14095 .elementor-element-f1dd528 p.text-white {
  font-size: 0.9rem !important;
  opacity: 0.85 !important;
}
.elementor-14095 .elementor-element-f1dd528 .bg-white.p-2.rounded {
  background: #ffffff !important;
  padding: 8px !important;
  border-radius: 8px !important;
  flex: 0 0 auto !important;
  margin-right: 0.85rem !important;
}
.elementor-14095 .elementor-element-f1dd528 img.w-32.h-32 {
  width: 100px !important;
  height: 100px !important;
  object-fit: contain !important;
}
.elementor-14095 .elementor-element-f1dd528 .font-weight-600 {
  font-weight: 600 !important;
  font-size: 0.95rem !important;
}
.elementor-14095 .elementor-element-f1dd528 .text-sm {
  font-size: 0.8rem !important;
  opacity: 0.7 !important;
}

/* Keep QR + label + description inline in one row.
 * The QR container is a flex item; the text div (`.ms-3`) wraps two
 * <p> elements. Force them to sit side-by-side rather than stacking. */
.elementor-14095 .elementor-element-f1dd528 .d-flex.align-items-center {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
}
.elementor-14095 .elementor-element-f1dd528 .d-flex.align-items-center > .ms-3 {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin-left: 0.85rem !important;
}
.elementor-14095 .elementor-element-f1dd528 .d-flex.align-items-center > .ms-3 p {
  margin-bottom: 0.15rem !important;
  white-space: nowrap !important;
}

/* Footer bottom bar */
.elementor-14095 .elementor-element-887edf8 {
  --width: 100% !important;
  width: 100% !important;
  flex: 0 0 100% !important;
  max-width: 100% !important;
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}
.elementor-14095 .elementor-element-887edf8.e-con.e-flex {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}
.elementor-14095 .elementor-element-874c267 {
  --width: 33.333% !important;
  width: 33.333% !important;
  flex: 0 0 33.333% !important;
  max-width: 33.333% !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  box-sizing: border-box !important;
}
.elementor-14095 .elementor-element-2fbaa5b {
  --width: 66.667% !important;
  width: 66.667% !important;
  flex: 0 0 66.667% !important;
  max-width: 66.667% !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  box-sizing: border-box !important;
}

/* Mobile responsive footer */
@media (max-width: 991px) {
  .elementor-14095 .elementor-element-2e480ed,
  .elementor-14095 .elementor-element-6053a9c,
  .elementor-14095 .elementor-element-f1dd528 {
    --width: 50% !important;
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    margin-bottom: 2rem !important;
  }
  .elementor-14095 .elementor-element-874c267,
  .elementor-14095 .elementor-element-2fbaa5b {
    --width: 100% !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    text-align: center !important;
  }
}
@media (max-width: 575px) {
  .elementor-14095 .elementor-element-2e480ed,
  .elementor-14095 .elementor-element-6053a9c,
  .elementor-14095 .elementor-element-f1dd528 {
    --width: 100% !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 2rem !important;
  }
}

/* Language switcher in header attr-nav. */
.frexus-lang-switch-item {
  /* The wrapper itself must stay inline so the three links sit side-by-side
     even when the surrounding navbar-expand-lg collapses into a vertical
     stack at <992px viewports. */
  display: inline-block !important;
  align-items: center;
  flex-wrap: nowrap !important;
  white-space: nowrap;
  /* Override the @media (max-width:991px) rule in plugins/nav-menu.css
     which sets `width:100%` on every .navbar-nav li. Without this, the
     li would span the full header width and squeeze the inline-flex
     .frexus-lang-switch down to ~14px, breaking "中文" into two rows. */
  width: auto !important;
  border-top: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
  float: none !important;
  /* Reserve enough room for "中文 / EN / ES" + separators. */
  min-width: 130px;
  /* Avoid the parent flex item shrinking the lang switcher below its
     intrinsic width — flex-shrink:0 prevents the navbar from squeezing it. */
  flex-shrink: 0 !important;
}
.frexus-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap !important;
  white-space: nowrap;
  font-weight: 700;
  font-size: 14px;
  /* Width of the switcher = its actual content; never below that. */
  width: max-content;
}
.frexus-lang-switch a {
  color: inherit;
  text-decoration: none;
  opacity: 0.7;
  padding: 0 2px;
  /* Force the three links + two seps onto one line on mobile too. */
  display: inline-block !important;
  white-space: nowrap;
  /* width:max-content keeps the CJK "中文" pair from being squeezed
     into a single-character-per-line vertical column when the parent
     container has insufficient horizontal room. */
  width: max-content;
  /* Each link is treated as an atomic inline-block so that the CJK label
     "中文" stays on a single horizontal line and never breaks across two
     rows. word-break:keep-all is the CJK-friendly equivalent of
     word-wrap:normal — it tells the browser NOT to break between CJK
     characters just because the container is narrow. */
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: anywhere;
  -webkit-line-break: anywhere;
}
.frexus-lang-switch a.is-active {
  opacity: 1;
  color: #eb4304;
}
.frexus-lang-switch .sep {
  opacity: 0.4;
  display: inline-block;
  white-space: nowrap;
  /* A slash separator is a single glyph; lock width so flex doesn't
     give it more horizontal room than it actually needs. */
  width: max-content;
}

/* E2 — contact static map placeholder. */
.frexus-map-static {
  width: 100%;
  min-height: 320px;
  background: linear-gradient(135deg, #cfe0e8 0%, #eef4f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003751;
  border-radius: 4px;
  font-size: 15px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.frexus-map-static i { font-size: 42px; margin-bottom: 10px; color: #eb4304; }

/* --------------------------------------------------------------------------
 * Contact page fixes
 * -------------------------------------------------------------------------- */

/* "Since 1980" display-custom-1 (Elementor) defaults to 104px which blows
 * past the page width and pushes the right column off-screen.
 * Use inline-block so the box shrinks to fit content; clamp font-size
 * further; and lock the box inside its column with max-width: 100%. */
.page-id-9 .display-custom-1,
.display-custom-1 {
  display: inline-block !important;
  max-width: 100% !important;
  width: auto !important;
  overflow: hidden;
  font-size: clamp(32px, 3.4vw, 48px) !important;
  line-height: 1.05;
  word-break: break-word;
  vertical-align: top;
  box-sizing: border-box;
}
.page-id-9 .display-custom-1 p,
.display-custom-1 p {
  margin: 0;
  display: inline-block;
  max-width: 100%;
}

/* Belt-and-braces for the contact page right column: even when an
 * element shrinks to fit content, the column itself must stay inside
 * the viewport. Force every e-con on this page to obey the viewport
 * max-width and clip overflow. */
.page-id-9 .e-con,
.page-id-9 .e-con-inner,
.page-id-9 .elementor-widget-container {
  max-width: 100% !important;
  width: 100%;
  box-sizing: border-box;
}
.page-id-9 .e-con {
  flex: 0 1 auto;
  width: auto;
}

/* Map area — replaces Elementor `wl-map-widget` with a self-contained
 * static + interactive-fallback layout:
 *   - When frexus_clone_amap_key customizer value is set AND the
 *     frexus-map-canvas element exists, the page-load inline JS will
 *     attempt to load 高德地图 (AMap) JS API in the DOMContainer.
 *   - If AMap fails (no key / no network), the canvas stays hidden and
 *     the visible .frexus-map-static fallback shows.
 * Both layers coexist in HTML; no JS errors are thrown offline. */
.frexus-map { position: relative; width: 100%; min-height: 320px; }
.frexus-map canvas,
.frexus-map #frexus-map-canvas {
  width: 100% !important;
  height: 320px;
  display: block;
  border-radius: 4px;
}
.frexus-map .frexus-map-static {
  position: relative;
  inset: auto;
  height: 320px;
  overflow: hidden;
}
.frexus-map.has-amap .frexus-map-static { display: none; }
.frexus-map-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.frexus-map-card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(255, 255, 255, 0.97);
  color: #003751;
  padding: 14px 18px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 24px rgba(0, 55, 81, 0.18);
  max-width: 360px;
  z-index: 2;
}
.frexus-map-card__pin {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eb4304;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  font-size: 18px;
}
.frexus-map-card__title { font-weight: 800; font-size: 14px; line-height: 1.2; }
.frexus-map-card__addr  { font-size: 13px; color: #4a6677; margin-top: 4px; }
.frexus-map-card__meta  { font-size: 12px; color: #4a6677; margin-top: 2px; opacity: 0.85; }
.frexus-map-providers {
  position: absolute;
  right: 24px;
  top: 24px;
  display: flex;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 4px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 55, 81, 0.15);
}
.frexus-map-provider {
  border: 0;
  background: transparent;
  color: #003751;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
  transition: background 120ms, color 120ms;
}
.frexus-map-provider.is-active {
  background: #003751;
  color: #fff;
}
.frexus-map-canvas {
  position: absolute;
  inset: 0;
}
@media (max-width: 575.98px) {
  .frexus-map-card { max-width: calc(100% - 36px); }
  .frexus-map-providers { top: 12px; right: 12px; }
}

/* ============================================================
 * H1 — Two opposite header states.
 *
 * HEADER STATE 1 (default, page top):
 *   • Background: dark navy  (#003751)
 *   • All text & icons:      white
 *   • Border: subtle white at low opacity
 *
 * HEADER STATE 2 (page scrolled, .scrollHeader added by main.js):
 *   • Background: white
 *   • All text & icons:      dark navy
 *   • Border: subtle navy at low opacity
 *
 * We rely on theme.css for logo swap and nav-menu.css's basic
 * nav-link color (#fff → #003751). Here we:
 *   (a) Hard-override bg for both states.
 *   (b) Force every element with white text in STATE 1 to navy in STATE 2
 *       (contact items, lang switch, attr-nav, navbar-toggler, etc.).
 *   (c) Force hover orange on both states.
 * ============================================================ */

/* ============ STATE 1: dark navy bg, white text ============ */
header.header-style1.menu_area-dark .navbar-default,
header.header-style1.menu_area-dark .menu_area {
  background-color: #003751;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Contact items + lang switch: white. */
header.menu_area-dark .frexus-header-contact__item,
header.menu_area-dark .frexus-header-contact__item i,
header.menu_area-dark .frexus-header-contact__item .contact-text,
header.menu_area-dark .attr-nav > ul > li > a,
header.menu_area-dark .attr-nav > ul > li > a i,
header.menu_area-dark .frexus-lang-switch a {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Desktop nav links: explicit white in STATE 1 (override theme + mobile M1
   reset to #1f2d3d which leaks through if viewport shifts). */
header.menu_area-dark .navbar-nav > li > a,
header.menu_area-dark .navbar-nav > li > a.nav-link,
header.menu_area-dark .navbar-nav > li > .dropdown-toggle {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
header.menu_area-dark .frexus-lang-switch .sep {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Active lang link keeps brand orange on both states. */
header.menu_area-dark .frexus-lang-switch a.is-active,
header.scrollHeader .frexus-lang-switch a.is-active {
  color: #eb4304 !important;
  -webkit-text-fill-color: #eb4304 !important;
}

/* Mobile toggler: white bg + dark bars on dark navy bar. */
header.menu_area-dark .navbar-toggler {
  background: #ffffff !important;
}
header.menu_area-dark .navbar-toggler::before,
header.menu_area-dark .navbar-toggler::after {
  background: #003751 !important;
  border-color: #003751 !important;
}
header.menu_area-dark .navbar-toggler.menu-opened::before,
header.menu_area-dark .navbar-toggler.menu-opened::after {
  background: #003751 !important;
}

/* ============ STATE 2: scrolled → white bg, dark text ============ */
header.header-style1.menu_area-dark.scrollHeader .navbar-default,
header.header-style1.menu_area-dark.scrollHeader .menu_area {
  background-color: #ffffff !important;
  border-color: rgba(0, 55, 81, 0.12) !important;
}

/* Contact items + attr-nav + lang switch: dark navy. */
header.scrollHeader .frexus-header-contact__item,
header.scrollHeader .frexus-header-contact__item i,
header.scrollHeader .frexus-header-contact__item .contact-text,
header.scrollHeader .attr-nav > ul > li > a,
header.scrollHeader .attr-nav > ul > li > a i,
header.scrollHeader .frexus-lang-switch a {
  color: #003751 !important;
  -webkit-text-fill-color: #003751 !important;
}
header.scrollHeader .frexus-lang-switch .sep {
  color: rgba(0, 55, 81, 0.4) !important;
}

/* Mobile toggler: navy bg + white bars on white bar. */
header.scrollHeader .navbar-toggler {
  background: #003751 !important;
}
header.scrollHeader .navbar-toggler::before,
header.scrollHeader .navbar-toggler::after {
  background: #ffffff !important;
  border-color: #ffffff !important;
}
header.scrollHeader .navbar-toggler.menu-opened::before,
header.scrollHeader .navbar-toggler.menu-opened::after {
  background: #ffffff !important;
}

/* Force nav-link text colour in scrolled state — theme's
 * .header-style1.scrollHeader .navbar-nav>li>a { color:#003751 }
 * only fires with .header-style1 class; we make it explicit and
 * !important so it wins any cascade dispute. */
header.menu_area-dark.scrollHeader .navbar-nav > li > a,
header.menu_area-dark.scrollHeader .navbar-nav > li > a.nav-link {
  color: #003751 !important;
  -webkit-text-fill-color: #003751 !important;
}
header.menu_area-dark.scrollHeader .navbar-nav > li > a:hover,
header.menu_area-dark.scrollHeader .navbar-nav > li > a.nav-link:hover {
  color: #f15a23 !important;
  -webkit-text-fill-color: #f15a23 !important;
}
/* Hover orange for STATE 1 too. */
header.menu_area-dark .navbar-nav > li > a:hover,
header.menu_area-dark .frexus-header-contact__item:hover,
header.menu_area-dark .frexus-header-contact__item:hover i {
  color: #f15a23 !important;
  -webkit-text-fill-color: #f15a23 !important;
}

/* Dropdown panels: always white bg + dark text on both states. */
header.menu_area-dark .dropdown-menu {
  background: #ffffff !important;
}
header.menu_area-dark .dropdown-menu .dropdown-item {
  color: #003751 !important;
}
header.menu_area-dark .dropdown-menu .dropdown-item:hover,
header.menu_area-dark .dropdown-menu .dropdown-item:focus {
  color: #eb4304 !important;
}

/* ============================================================
 * H2 — Global hero with bg-01.jpg + #003751 overlay.
 * Replaces the flat colour / inline linear-gradient hero on every
 * page that uses `.page-title-section` (Services, FAQ, How We Work,
 * Our History, Our Pricing, Our Team, Privacy, Terms, etc.) so
 * the inner-page tops match the Contact / About hero styling.
 * ============================================================ */
.page-title-section {
    position: relative !important;
    background-image: url('../images/uploads/2025/10/bg-01.jpg') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    color: #fff !important;
    padding-top: 170px !important;
    padding-bottom: 90px !important;
    overflow: visible !important;
}
.page-title-section::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background-color: #003751 !important;
    opacity: .85 !important;
    z-index: -1 !important;
}
.page-title-section > *,
.page-title-section .e-con-inner {
    position: relative !important;
    z-index: 1 !important;
}
.page-title-section h1 {
    color: #fff !important;
}
.page-title-section .sm-title,
.page-title-section ul li a,
.page-title-section ul li:last-child {
    color: #fff !important;
}
@media (max-width: 575.98px) {
    .page-title-section {
        padding-top: 130px !important;
        padding-bottom: 60px !important;
    }
}


/* E5 — Header contact strip (phone + email next to logo).
 *     Two color variants so the strip is legible on both the dark
 *     transparent hero navbar and the solid white scrolled navbar. */
header .frexus-header-contact {
  font-size: 0.875rem;
  line-height: 1.2;
  white-space: nowrap;
}
header .frexus-header-contact__item {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
header .frexus-header-contact__item:hover { opacity: 0.85; }
header .frexus-header-contact__item i { font-size: 0.95rem; }

/* Transparent navbar (at top over hero) — light text + icons. */
header.frexus-header-transparent .frexus-header-contact__item,
header.frexus-header-transparent .frexus-header-contact__item i {
  color: #ffffff;
}
/* Solid navbar default state (dark bg) — white text + icons. */
header.frexus-header-solid .frexus-header-contact__item,
header.frexus-header-solid .frexus-header-contact__item i {
  color: #ffffff;
}
/* Solid OR transparent navbar scrolled state (white bg) — dark text + icons. */
header.frexus-header-solid.scrollHeader .frexus-header-contact__item,
header.frexus-header-solid.scrollHeader .frexus-header-contact__item i,
header.frexus-header-transparent.scrollHeader .frexus-header-contact__item,
header.frexus-header-transparent.scrollHeader .frexus-header-contact__item i {
  color: #0a1936;
}

/* E5b — Bootstrap navbar-brand already has `ms-auto` parent layout, but
 * the contact strip needs a tiny top margin so the phone/email text
 * aligns vertically with the logo image. */
header .frexus-header-contact {
  padding-top: 0.35rem;
}

/* E7 — Make sure both logo <a> elements in the navbar always have a
 *     non-zero box, otherwise an old theme.css rule that animates
 *     height/width to 0 can collapse the logo entirely. We force a
 *     reasonable height so the <img> inside has room to render. */
header .navbar-brand img {
  max-height: 47px;
  width: auto;
  height: auto;
}

/* E8 — Layout fix: logo sits alone on the left. Phone+email is now inside
 *     navbar-header, right after the logo container. */
header nav.navbar { flex-wrap: wrap; }
header .navbar-header {
  display: flex !important;
  align-items: center !important;
  margin-right: 0 !important;
  flex-shrink: 0 !important;
}
header .navbar-header .frexus-header-contact {
  margin-left: 1rem;
  flex-shrink: 0 !important;
}
header .frexus-header-contact {
  flex-shrink: 0 !important;
}
/* On inner pages (solid header) and on scroll, navbar header/contact
 * keeps the same horizontal layout. */

/* Mobile devices: hide contact text, show only icons. Click to toggle. */
@media (max-width: 991px) {
    header .frexus-header-contact__item .contact-text {
        display: none !important;
        white-space: nowrap;
    }
    header .frexus-header-contact__item {
        margin: 0 0.3rem !important;
        padding: 0.3rem !important;
    }
    header .frexus-header-contact__item.expanded .contact-text {
        display: inline !important;
    }

    header nav.navbar {
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
    }

    header .navbar-header {
        display: flex !important;
        align-items: center !important;
        flex-shrink: 0 !important;
        margin-right: auto !important;
        min-width: 0 !important;
    }

    header .frexus-logo-container {
        flex-shrink: 0 !important;
        min-width: 0 !important;
    }

    header .frexus-logo-container img {
        max-height: 36px !important;
        width: auto !important;
        height: auto !important;
    }

    header .frexus-header-contact {
        flex-shrink: 0 !important;
        margin-left: 0.5rem !important;
        padding-top: 0 !important;
    }

    header .navbar-toggler {
        flex-shrink: 0 !important;
        margin-left: auto !important;
        order: 3 !important;
    }

    header .attr-nav {
        display: none !important;
    }

    header .navbar-header {
        order: 1 !important;
    }
}
/* FOLLOW US BLOCK: force QR + label/desc into a single horizontal row.
 * Extra-high-specificity selectors so this always wins over Bootstrap. */
.elementor-14095 div.elementor-element.elementor-element-f1dd528 div.d-flex.align-items-center {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0.85rem !important;
  width: 100% !important;
}
.elementor-14095 div.elementor-element.elementor-element-f1dd528 div.d-flex.align-items-center > div.bg-white {
  flex: 0 0 auto !important;
  display: inline-block !important;
}
.elementor-14095 div.elementor-element.elementor-element-f1dd528 div.d-flex.align-items-center > div.ms-3 {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}
.elementor-14095 div.elementor-element.elementor-element-f1dd528 div.d-flex.align-items-center > div.ms-3 p {
  margin: 0 0 0.15rem 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  line-height: 1.25 !important;
}

/* FOLLOW US COLUMN: keep it in 3rd position at all widths >=768px.
 * At tablet (768-991px), force 3 columns instead of 2. */
@media (min-width: 768px) {
  .elementor-14095 .elementor-element-2e480ed,
  .elementor-14095 .elementor-element-6053a9c,
  .elementor-14095 .elementor-element-f1dd528 {
    width: 33.333% !important;
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
  }
  .elementor-14095 .elementor-element-adfd68d {
    flex-wrap: nowrap !important;
  }
}
/* Smaller QR size when in narrow 33% column */
.elementor-14095 .elementor-element-f1dd528 img.w-32.h-32 {
  width: 80px !important;
  height: 80px !important;
}
.elementor-14095 .elementor-element-f1dd528 .bg-white.p-2.rounded {
  padding: 6px !important;
}

/* FOLLOW US COLUMN V2: use Elementor --width CSS variable */
@media (min-width: 768px) {
  .elementor-14095 .elementor-element-2e480ed,
  .elementor-14095 .elementor-element-6053a9c,
  .elementor-14095 .elementor-element-f1dd528 {
    --width: 33.33% !important;
    width: 33.33% !important;
    flex: 0 0 33.33% !important;
    max-width: 33.33% !important;
    flex-basis: 33.33% !important;
  }
  .elementor-14095 .elementor-element-adfd68d {
    flex-wrap: nowrap !important;
  }
}
