/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images,
      rtl-language-support, threaded-comments, translation-ready
*/

/************************************************************************************************/
/*
 * DESIGN TOKENS
 *
 * Edit this section to retheme the site. All colours reference Elementor Global Colours.
 *
 * Primary   → --e-global-color-primary   (dark navy)
 * Accent    → --e-global-color-accent    (mid blue)
 * Secondary → --e-global-color-secondary (light blue / grey)
 * Text      → --e-global-color-text
 * White     → --white-color              (mapped from Elementor global)
 *
 * To change a colour: update it in Elementor → Site Settings → Global Colours.
 * Every token below updates automatically — no other CSS edits required.
 */

body {
  --white-color: var(--e-global-color-d84c982);
  --divider-color: var(--e-global-color-7d63644);
  --light-bg: var(--e-global-color-821331f);
  overflow-x: clip;
}

/************************************************************************************************/
/*
 * GLOBAL / UTILITY
 */

.br-desktop-none br {
  display: none;
}

figure {
  line-height: 0;
}

.elementor-widget-theme-post-excerpt p:last-child,
.elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}

.elementor-widget-button .elementor-button {
  transition: all 0.3s ease-in-out;
}

.elementor-widget-icon .elementor-icon-wrapper,
.elementor-widget-icon-box .elementor-icon-box-icon {
  line-height: 0;
}

.icon-height-size.elementor-widget-icon
  .elementor-icon-wrapper
  .elementor-icon
  svg {
  height: auto;
}

.elementor-widget-icon-box .elementor-icon-box-title,
.elementor-widget-image-box .elementor-image-box-title {
  margin-top: 0;
}

.icon-box-icon-center.elementor-widget-icon-box .elementor-icon-box-wrapper {
  align-items: center;
}

/* Icon / image box description links */
.elementor-widget-icon-box .elementor-icon-box-description a,
.elementor-widget-image-box .elementor-image-box-description a {
  color: inherit;
  transition: all 0.3s ease-in-out;
}

/* Two-column icon list */
.column-2 .elementor-icon-list-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
}

.column-2 .elementor-icon-list-items .elementor-icon-list-item {
  width: calc(50% - 15px);
}

/* Section title with SVG icon */
.section-title p.elementor-heading-title {
  display: inline-block;
  position: relative;
  padding-left: 28px;
}

.section-title .elementor-heading-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  bottom: 0;
  transform: translateY(-60%);
  background-color: var(--e-global-color-accent);
  mask-image: url("./images/hj-section-icon.svg");
  mask-size: contain;
  mask-repeat: no-repeat;
  width: 20px;
  height: 18px;
}

.no-color-title.section-title .elementor-heading-title::before {
  background-color: currentcolor;
}

/* Clip-path shapes */
.top-right-shape {
  clip-path: polygon(0 0, calc(100% - 55px) 0, 100% 55px, 100% 100%, 0% 100%);
}

.top-left-shape {
  clip-path: polygon(55px 0, 100% 0, 100% 100%, 0 100%, 0% calc(0% + 55px));
}

.top-bottom-shape {
  clip-path: polygon(
    55px 0%,
    100% 0,
    100% calc(100% - 55px),
    calc(100% - 55px) 100%,
    0 100%,
    0 55px
  );
}

@media only screen and (max-width: 1024px) {
  .br-tablet-none br {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  .br-mobile-none br {
    display: none;
  }

  .top-right-shape {
    clip-path: polygon(0 0, calc(100% - 45px) 0, 100% 45px, 100% 100%, 0% 100%);
  }

  .top-left-shape {
    clip-path: polygon(45px 0, 100% 0, 100% 100%, 0 100%, 0% calc(0% + 45px));
  }

  .top-bottom-shape {
    clip-path: polygon(
      45px 0%,
      100% 0,
      100% calc(100% - 45px),
      calc(100% - 45px) 100%,
      0 100%,
      0 45px
    );
  }

  .column-2 .elementor-icon-list-items .elementor-icon-list-item {
    width: 100%;
  }
}

/************************************************************************************************/
/*
 * BUTTONS
 *
 * Global Elementor button styles.
 * Variants: .dark-btn, .light-btn, .no-bg
 */

.elementor-widget-button .elementor-button {
  position: relative;
  z-index: 1;
}

/* Slide-in fill animation (right to left) */
.elementor-widget-button .elementor-button:before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: auto;
  right: 0;
  bottom: 0;
  background: var(--e-global-color-secondary);
  width: 0;
  height: 100%;
  transition: all 0.8s ease-in-out;
  z-index: -1;
}

.dark-btn.elementor-widget-button .elementor-button:before {
  background: var(--white-color);
}

.no-bg.elementor-widget-button .elementor-button:before {
  display: none;
}

.elementor-widget-button .elementor-button:hover:before,
.elementor-widget-button .elementor-button:focus:before {
  left: 0;
  right: auto;
  width: 100%;
}

/* ── Dark / Light button fill: smooth hover-out ──────────────────────────────
 * The base rule animates width + left, but CSS can't tween left:auto, causing
 * an instant positional snap on hover-out. Overriding with transform:scaleX()
 * here keeps both enter and exit silky-smooth for these two variants only.
 * The standard ink-drop button and button-hover-dark-bg are unaffected.
 * ─────────────────────────────────────────────────────────────────────────── */
.dark-btn.elementor-widget-button .elementor-button:before {
  left: 0;
  right: 0;
  width: 100%;
  transform: scaleX(0);
  transform-origin: right center;
  /* hover-out: slightly slower for a graceful exit */
  transition: transform 0.5s ease-in-out;
}

.dark-btn.elementor-widget-button .elementor-button:hover:before,
.dark-btn.elementor-widget-button .elementor-button:focus:before {
  transform: scaleX(1);
  left: 0;
  right: 0;
  width: 100%;
  /* hover-in: responsive entry */
  transition: transform 0.4s ease-in-out;
}

/* Button content layout */
.elementor-widget-button .elementor-button .elementor-button-content-wrapper {
  align-items: center;
}

/* Button icon box */
.elementor-widget-button
  .elementor-button-content-wrapper
  .elementor-button-icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  transition:
    transform 0.4s ease-in-out,
    opacity 0.4s ease-in-out,
    background-color 0.4s ease-in-out;
}

.elementor-widget-button
  .elementor-button-content-wrapper
  .elementor-button-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--white-color);
  z-index: 0;
}

.elementor-widget-button
  .elementor-button-content-wrapper
  .elementor-button-icon
  svg {
  position: relative;
  z-index: 1;
}

.dark-btn.elementor-widget-button
  .elementor-button:hover
  .elementor-button-content-wrapper
  .elementor-button-icon,
.dark-btn.elementor-widget-button
  .elementor-button:focus
  .elementor-button-content-wrapper
  .elementor-button-icon {
  background-color: var(--e-global-color-secondary);
}

.elementor-widget-button
  .elementor-button
  .elementor-button-content-wrapper
  .elementor-button-icon {
  line-height: 0;
}

/* Button SVG icon */
.elementor-widget-button .elementor-button .elementor-button-icon svg {
  fill: var(--e-global-color-accent);
  width: 14px;
  height: auto;
  transition: fill 0.3s ease-in-out;
}

.dark-btn.elementor-widget-button
  .elementor-button:hover
  .elementor-button-icon
  svg,
.dark-btn.elementor-widget-button
  .elementor-button:focus
  .elementor-button-icon
  svg {
  fill: var(--white-color);
}

.elementor-widget-button .elementor-button .elementor-button-icon svg path {
  transition: all 0.3s ease-in-out;
}

/* Dark button text */
.dark-btn.elementor-widget-button
  .elementor-button
  .elementor-button-content-wrapper
  .elementor-button-text {
  transition: all 0.4s ease-in-out;
}

.dark-btn.elementor-widget-button
  .elementor-button:hover
  .elementor-button-content-wrapper
  .elementor-button-text {
  color: var(--e-global-color-secondary);
}

/* light-btn — two-strip animation defined further below */

/* Dark-background button — gradient sweep, no z-index conflicts.
   Gradient: white LEFT half, transparent RIGHT half (205% wide).
   Default position → right (shows transparent right half = dark bg visible).
   Hover position   → left  (shows white left half = white fill visible).
   Icon box: white square with accent SVG in all states.                        */

.button-hover-dark-bg.elementor-widget-button .elementor-button {
  border: 2px solid var(--white-color) !important;
  background-image: linear-gradient(
    to right,
    var(--white-color) 50%,
    transparent 50%
  ) !important;
  background-size: 205% 100% !important;
  background-position: right center !important;
  transition: background-position 0.4s ease-in-out !important;
}

/* Kill the ::before slide — gradient handles the sweep */
.button-hover-dark-bg.elementor-widget-button .elementor-button:before {
  display: none !important;
}

/* Default text: white */
.button-hover-dark-bg.elementor-widget-button
  .elementor-button
  .elementor-button-content-wrapper
  .elementor-button-text {
  color: var(--white-color) !important;
  transition: color 0.4s ease-in-out;
}

/* Default icon SVG: accent */
.button-hover-dark-bg.elementor-widget-button
  .elementor-button
  .elementor-button-icon
  svg {
  fill: var(--e-global-color-accent) !important;
  transition: fill 0.3s ease-in-out;
}

/* Icon box: white background in all states */
.button-hover-dark-bg.elementor-widget-button
  .elementor-button
  .elementor-button-content-wrapper
  .elementor-button-icon,
.button-hover-dark-bg.elementor-widget-button
  .elementor-button:hover
  .elementor-button-content-wrapper
  .elementor-button-icon,
.button-hover-dark-bg.elementor-widget-button
  .elementor-button:focus
  .elementor-button-content-wrapper
  .elementor-button-icon {
  background-color: var(--white-color) !important;
}

.button-hover-dark-bg.elementor-widget-button
  .elementor-button
  .elementor-button-content-wrapper
  .elementor-button-icon::before,
.button-hover-dark-bg.elementor-widget-button
  .elementor-button:hover
  .elementor-button-content-wrapper
  .elementor-button-icon::before,
.button-hover-dark-bg.elementor-widget-button
  .elementor-button:focus
  .elementor-button-content-wrapper
  .elementor-button-icon::before {
  background-color: var(--white-color) !important;
}

/* Hover: shift gradient left → white floods button from right */
.button-hover-dark-bg.elementor-widget-button .elementor-button:hover,
.button-hover-dark-bg.elementor-widget-button .elementor-button:focus {
  background-position: left center !important;
}

/* Hover text: accent */
.button-hover-dark-bg.elementor-widget-button
  .elementor-button:hover
  .elementor-button-content-wrapper
  .elementor-button-text,
.button-hover-dark-bg.elementor-widget-button
  .elementor-button:focus
  .elementor-button-content-wrapper
  .elementor-button-text {
  color: var(--e-global-color-accent) !important;
}

/* Hover icon SVG: stays accent (visible on white bg) */
.button-hover-dark-bg.elementor-widget-button
  .elementor-button:hover
  .elementor-button-icon
  svg,
.button-hover-dark-bg.elementor-widget-button
  .elementor-button:focus
  .elementor-button-icon
  svg {
  fill: var(--e-global-color-accent) !important;
}

/* Button icon background implode animation */
@keyframes btn-icon-bg-implode {
  0% {
    clip-path: circle(71% at 50% 50%);
  }
  60% {
    clip-path: circle(20% at 50% 50%);
  }
  100% {
    clip-path: circle(0% at 50% 50%);
  }
}

/* Button icon bounce-forward animation */
@keyframes btn-icon-shoot {
  0% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(7px);
  }
  65% {
    transform: translateX(3px);
  }
  85% {
    transform: translateX(6px);
  }
  100% {
    transform: translateX(5px);
  }
}

/* =====================================================================
   STANDARD BUTTON HOVER ANIMATION — TWO-STRIP FILL
   Top half: white sweeps LEFT → RIGHT on hover.
   Bottom half: white sweeps RIGHT → LEFT on hover.
   Both reverse on unhover.
   =====================================================================
   HOW CSS TRANSITION DIRECTION WORKS — IMPORTANT:
     • A transition in the DEFAULT (non-hover) rule controls HOVER-OUT.
     • A transition in the :hover rule controls HOVER-IN.
   Every animated property has two labelled lines below — one for each.
   ===================================================================== */

:not(.dark-btn):not(.light-btn):not(.no-bg):not(
    .button-hover-dark-bg
  ).elementor-widget-button
  .elementor-button {
  --std-btn-icon-w: 44px;
  background-color: var(--e-global-color-accent) !important;
  background-image: none !important;
  border: 2px solid var(--e-global-color-accent) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: none !important;
}

/* -----------------------------------------------------------------
   TOP STRIP — covers the top 50% of the button.
   Sweeps LEFT → RIGHT on hover (origin: left).
   Reverses RIGHT → LEFT on unhover.
   ----------------------------------------------------------------- */
:not(.dark-btn):not(.light-btn):not(.no-bg):not(
    .button-hover-dark-bg
  ).elementor-widget-button
  .elementor-button::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 50% !important;
  background-color: var(--white-color) !important;
  transform: scaleX(0) !important;
  transform-origin: left center !important;
  /* ↓ TOP STRIP · HOVER-OUT speed (how fast it retracts when you stop hovering) */
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: 0 !important;
}

/* -----------------------------------------------------------------
   BOTTOM STRIP — covers the bottom 50% of the button.
   Sweeps RIGHT → LEFT on hover (origin: right).
   Reverses LEFT → RIGHT on unhover.
   ----------------------------------------------------------------- */
:not(.dark-btn):not(.light-btn):not(.no-bg):not(
    .button-hover-dark-bg
  ).elementor-widget-button
  .elementor-button::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 50% !important;
  background-color: var(--white-color) !important;
  transform: scaleX(0) !important;
  transform-origin: right center !important;
  /* ↓ BOTTOM STRIP · HOVER-OUT speed (how fast it retracts when you stop hovering) */
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: 0 !important;
}

/* Content wrapper sits above both strips */
:not(.dark-btn):not(.light-btn):not(.no-bg):not(
    .button-hover-dark-bg
  ).elementor-widget-button
  .elementor-button
  .elementor-button-content-wrapper {
  position: relative !important;
  z-index: 1 !important;
}

/* -----------------------------------------------------------------
   BUTTON TEXT
   ----------------------------------------------------------------- */
:not(.dark-btn):not(.light-btn):not(.no-bg):not(
    .button-hover-dark-bg
  ).elementor-widget-button
  .elementor-button
  .elementor-button-content-wrapper
  .elementor-button-text {
  color: var(--white-color) !important;
  /* ↓ TEXT COLOUR · HOVER-OUT speed · format: duration delay
       duration = how long the colour change back to white takes
       delay    = how long to wait before it starts                     */
  transition: color 0.15s ease 0.1s !important;
}

/* Default icon SVG: accent */
:not(.dark-btn):not(.light-btn):not(.no-bg):not(
    .button-hover-dark-bg
  ).elementor-widget-button
  .elementor-button
  .elementor-button-icon
  svg {
  fill: var(--e-global-color-accent) !important;
}

/* -----------------------------------------------------------------
   ICON BOX — white background in all states.
   border-radius animates square ↔ circle on hover.
   ----------------------------------------------------------------- */
:not(.dark-btn):not(.light-btn):not(.no-bg):not(
    .button-hover-dark-bg
  ).elementor-widget-button
  .elementor-button
  .elementor-button-content-wrapper
  .elementor-button-icon {
  background-color: var(--white-color) !important;
  position: relative !important;
  overflow: visible !important;
  border-radius: 0 !important;
  /* ↓ ICON BOX SHAPE · HOVER-OUT speed (circle → square) */
  transition: border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Kill any Elementor pseudo-elements on the icon box */
:not(.dark-btn):not(.light-btn):not(.no-bg):not(
    .button-hover-dark-bg
  ).elementor-widget-button
  .elementor-button
  .elementor-button-content-wrapper
  .elementor-button-icon::before,
:not(.dark-btn):not(.light-btn):not(.no-bg):not(
    .button-hover-dark-bg
  ).elementor-widget-button
  .elementor-button
  .elementor-button-content-wrapper
  .elementor-button-icon::after {
  display: none !important;
}

/* =================================================================
   HOVER-IN STATE
   ================================================================= */

/* TOP STRIP · HOVER-IN */
:not(.dark-btn):not(.light-btn):not(.no-bg):not(
    .button-hover-dark-bg
  ).elementor-widget-button
  .elementor-button:hover::before,
:not(.dark-btn):not(.light-btn):not(.no-bg):not(
    .button-hover-dark-bg
  ).elementor-widget-button
  .elementor-button:focus::before {
  transform: scaleX(1) !important;
  /* ↓ TOP STRIP · HOVER-IN speed (how fast it sweeps left → right) */
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* BOTTOM STRIP · HOVER-IN */
:not(.dark-btn):not(.light-btn):not(.no-bg):not(
    .button-hover-dark-bg
  ).elementor-widget-button
  .elementor-button:hover::after,
:not(.dark-btn):not(.light-btn):not(.no-bg):not(
    .button-hover-dark-bg
  ).elementor-widget-button
  .elementor-button:focus::after {
  transform: scaleX(1) !important;
  /* ↓ BOTTOM STRIP · HOVER-IN speed (how fast it sweeps right → left) */
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* TEXT COLOUR · HOVER-IN */
:not(.dark-btn):not(.light-btn):not(.no-bg):not(
    .button-hover-dark-bg
  ).elementor-widget-button
  .elementor-button:hover
  .elementor-button-content-wrapper
  .elementor-button-text,
:not(.dark-btn):not(.light-btn):not(.no-bg):not(
    .button-hover-dark-bg
  ).elementor-widget-button
  .elementor-button:focus
  .elementor-button-content-wrapper
  .elementor-button-text {
  color: var(--e-global-color-accent) !important;
  /* ↓ TEXT COLOUR · HOVER-IN speed · format: duration delay
       duration = how long the colour change to accent takes
       delay    = how long to wait before it starts                     */
  transition: color 0.15s ease 0.1s !important;
}

/* ICON BOX SHAPE · HOVER-IN (square → circle) */
:not(.dark-btn):not(.light-btn):not(.no-bg):not(
    .button-hover-dark-bg
  ).elementor-widget-button
  .elementor-button:hover
  .elementor-button-content-wrapper
  .elementor-button-icon,
:not(.dark-btn):not(.light-btn):not(.no-bg):not(
    .button-hover-dark-bg
  ).elementor-widget-button
  .elementor-button:focus
  .elementor-button-content-wrapper
  .elementor-button-icon {
  /* ↓ ICON BOX SHAPE · HOVER-IN speed (square → circle) */
  /*   border-radius: 50% !important; */
}

/* Hover icon SVG: stays accent */
:not(.dark-btn):not(.light-btn):not(.no-bg):not(
    .button-hover-dark-bg
  ).elementor-widget-button
  .elementor-button:hover
  .elementor-button-content-wrapper
  .elementor-button-icon
  svg,
:not(.dark-btn):not(.light-btn):not(.no-bg):not(
    .button-hover-dark-bg
  ).elementor-widget-button
  .elementor-button:focus
  .elementor-button-content-wrapper
  .elementor-button-icon
  svg {
  fill: var(--e-global-color-accent) !important;
}

/* =====================================================================
   LIGHT BUTTON — two-strip fill animation, same as standard button.
   Differences: 2px white border, white text default, accent text on hover.
   =====================================================================
   HOW CSS TRANSITION DIRECTION WORKS — IMPORTANT:
     • A transition in the DEFAULT (non-hover) rule controls HOVER-OUT.
     • A transition in the :hover rule controls HOVER-IN.
   ===================================================================== */

.light-btn.elementor-widget-button .elementor-button {
  border: 2px solid var(--white-color) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: none !important;
}

/* TOP STRIP — fills LEFT → RIGHT on hover */
.light-btn.elementor-widget-button .elementor-button::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 50% !important;
  background-color: var(--white-color) !important;
  transform: scaleX(0) !important;
  transform-origin: left center !important;
  /* ↓ TOP STRIP · HOVER-OUT speed */
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: 0 !important;
}

/* BOTTOM STRIP — fills RIGHT → LEFT on hover */
.light-btn.elementor-widget-button .elementor-button::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 50% !important;
  background-color: var(--white-color) !important;
  transform: scaleX(0) !important;
  transform-origin: right center !important;
  /* ↓ BOTTOM STRIP · HOVER-OUT speed */
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: 0 !important;
}

/* Content wrapper sits above both strips */
.light-btn.elementor-widget-button
  .elementor-button
  .elementor-button-content-wrapper {
  position: relative !important;
  z-index: 1 !important;
}

/* Default text: white */
.light-btn.elementor-widget-button
  .elementor-button
  .elementor-button-content-wrapper
  .elementor-button-text {
  color: var(--white-color) !important;
  /* ↓ TEXT COLOUR · HOVER-OUT speed · format: duration delay */
  transition: color 0.15s ease 0.1s !important;
}

/* Default icon SVG: accent */
.light-btn.elementor-widget-button
  .elementor-button
  .elementor-button-icon
  svg {
  fill: var(--e-global-color-accent) !important;
}

/* Icon box: white background, square → circle on hover */
.light-btn.elementor-widget-button
  .elementor-button
  .elementor-button-content-wrapper
  .elementor-button-icon {
  background-color: var(--white-color) !important;
  position: relative !important;
  overflow: visible !important;
  border-radius: 0 !important;
  /* ↓ ICON BOX SHAPE · HOVER-OUT speed (circle → square) */
  transition: border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Kill any Elementor pseudo-elements on the icon box */
.light-btn.elementor-widget-button
  .elementor-button
  .elementor-button-content-wrapper
  .elementor-button-icon::before,
.light-btn.elementor-widget-button
  .elementor-button
  .elementor-button-content-wrapper
  .elementor-button-icon::after {
  display: none !important;
}

/* --- HOVER-IN -------------------------------------------------------- */

/* TOP STRIP · HOVER-IN */
.light-btn.elementor-widget-button .elementor-button:hover::before,
.light-btn.elementor-widget-button .elementor-button:focus::before {
  transform: scaleX(1) !important;
  /* ↓ TOP STRIP · HOVER-IN speed */
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* BOTTOM STRIP · HOVER-IN */
.light-btn.elementor-widget-button .elementor-button:hover::after,
.light-btn.elementor-widget-button .elementor-button:focus::after {
  transform: scaleX(1) !important;
  /* ↓ BOTTOM STRIP · HOVER-IN speed */
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* TEXT COLOUR · HOVER-IN */
.light-btn.elementor-widget-button
  .elementor-button:hover
  .elementor-button-content-wrapper
  .elementor-button-text,
.light-btn.elementor-widget-button
  .elementor-button:focus
  .elementor-button-content-wrapper
  .elementor-button-text {
  color: var(--e-global-color-accent) !important;
  /* ↓ TEXT COLOUR · HOVER-IN speed · format: duration delay */
  transition: color 0.15s ease 0.1s !important;
}

/* ICON BOX SHAPE · HOVER-IN (square → circle) */
.light-btn.elementor-widget-button
  .elementor-button:hover
  .elementor-button-content-wrapper
  .elementor-button-icon,
.light-btn.elementor-widget-button
  .elementor-button:focus
  .elementor-button-content-wrapper
  .elementor-button-icon {
/*   border-radius: 50% !important; */
}

/* Hover icon SVG: stays accent */
.light-btn.elementor-widget-button
  .elementor-button:hover
  .elementor-button-icon
  svg,
.light-btn.elementor-widget-button
  .elementor-button:focus
  .elementor-button-icon
  svg {
  fill: var(--e-global-color-accent) !important;
}

/* No-background / underline variant */
.no-bg.elementor-widget-button .elementor-button {
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  text-transform: uppercase;
}

.no-bg.elementor-widget-button .elementor-button:hover,
.no-bg.elementor-widget-button .elementor-button:focus {
  color: var(--e-global-color-accent);
}

@media only screen and (max-width: 767px) {
  .elementor-widget-button .elementor-button .elementor-button-content-wrapper {
    gap: 10px !important;
  }

  .elementor-widget-button
    .elementor-button-content-wrapper
    .elementor-button-icon {
    width: 30px;
    height: 30px;
  }

  .elementor-widget-button .elementor-button .elementor-button-icon svg {
    width: 12px;
  }
}

/************************************************************************************************/
/*
 * ICON HOVER ANIMATIONS
 *
 * Reusable square-to-circle hover patterns.
 *
 * .icon-box-hover      — accent border + accent icon on hover (light bg use)
 * .icon-box-hover-dark — accent border + accent icon on hover (dark bg use)
 * .home-icon-box       — white border + white icon on hover
 * .icon-spin           — 360 degree rotation on hover
 */

/* ── icon-box-hover ─────────────────────────────────────────── */

/*
 * Legacy ::before scale fill animation kept here as reference.
 * It is suppressed below by display: none so only the
 * border-radius transition runs. Remove the legacy block
 * entirely once confirmed no longer needed.
 */
.icon-box-hover .elementor-icon-box-wrapper .elementor-icon {
  position: relative;
}

/* Legacy fill — suppressed */
.icon-box-hover .elementor-icon-box-wrapper .elementor-icon:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--e-global-color-secondary);
  width: 100%;
  height: 100%;
  transform: scale(0);
  transition: all 0.4s ease-in-out;
  display: none !important;
}

/* Legacy fill hover — suppressed */
.icon-box-hover:hover .elementor-icon-box-wrapper .elementor-icon:before {
  transform: scale(1);
}

/* Normal state */
.icon-box-hover .elementor-icon-box-wrapper .elementor-icon {
  border: 2px solid transparent !important;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    border-radius 0.3s ease !important;
}

/* Hover state */
.icon-box-hover:hover .elementor-icon-box-wrapper .elementor-icon {
  background-color: transparent !important;
  border-color: var(--e-global-color-accent) !important;
  border-radius: 50% !important;
}

.icon-box-hover:hover .elementor-icon-box-wrapper .elementor-icon svg {
  color: var(--e-global-color-accent) !important;
  fill: var(--e-global-color-accent) !important;
}

/* ── icon-box-hover-dark ────────────────────────────────────── */

/* Normal state */
.icon-box-hover-dark .elementor-icon-box-icon .elementor-icon {
  border: 2px solid transparent !important;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    border-radius 0.3s ease !important;
}

/* Hover state */
.icon-box-hover-dark:hover .elementor-icon-box-icon .elementor-icon {
  background-color: transparent !important;
  border-color: var(--e-global-color-accent) !important;
  border-radius: 50% !important;
}

.icon-box-hover-dark:hover .elementor-icon-box-icon .elementor-icon svg {
  color: var(--e-global-color-accent) !important;
  fill: var(--e-global-color-accent) !important;
}

/* ── home-icon-box (white variant) ─────────────────────────── */

.home-icon-box .elementor-icon-box-icon .elementor-icon {
  position: relative;
}

/*
 * Legacy ::before scale fill — suppressed.
 * Kept as reference, remove when confirmed safe.
 */
.home-icon-box .elementor-icon-box-icon .elementor-icon:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white-color);
  width: 100%;
  height: 100%;
  transform: scale(0);
  transition: all 0.4s ease-in-out;
  display: none !important;
}

/* Legacy fill hover — suppressed */
.home-icon-box:hover .elementor-icon-box-icon .elementor-icon:before {
  transform: scale(1);
}

/* Normal state */
.home-icon-box .elementor-icon-box-icon .elementor-icon {
  border: 2px solid transparent !important;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    border-radius 0.3s ease !important;
}

/* Hover state */
.home-icon-box:hover .elementor-icon-box-icon .elementor-icon {
  background-color: transparent !important;
  border-color: var(--white-color) !important;
  border-radius: 50% !important;
}

.home-icon-box .elementor-icon-box-icon .elementor-icon svg {
  transition: all 0.4s ease-in-out;
}

.home-icon-box:hover .elementor-icon-box-icon .elementor-icon svg {
  color: var(--white-color) !important;
  fill: var(--white-color) !important;
}

/* Description goes white on hover */
.home-icon-box .elementor-icon-box-content .elementor-icon-box-description {
  transition: all 0.4s ease-in-out;
}

.home-icon-box:hover
  .elementor-icon-box-content
  .elementor-icon-box-description {
  color: var(--white-color) !important;
}

/* ── icon-spin ──────────────────────────────────────────────── */

.icon-spin .elementor-icon-box-icon .elementor-icon svg {
  transition: transform 0.6s ease-in-out !important;
}

.icon-spin:hover .elementor-icon-box-icon .elementor-icon svg {
  transform: rotate(360deg) !important;
}

/* ── icon-hover-light ───────────────────────────────────────── */

/* Kill any ::before overlay (e.g. from contact-icon-box) */
.icon-hover-light .elementor-icon::before {
  display: none !important;
}

/* Normal state: accent background square, white icon */
.icon-hover-light .elementor-icon {
  background-color: var(--e-global-color-accent) !important;
  border: 2px solid var(--e-global-color-accent) !important;
  border-radius: 0 !important;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    border-radius 0.3s ease !important;
}

.icon-hover-light .elementor-icon svg,
.icon-hover-light .elementor-icon i {
  color: var(--white-color) !important;
  fill: var(--white-color) !important;
  transition:
    color 0.3s ease,
    fill 0.3s ease;
}

/* Hover state: white background circle, accent border, accent icon */
.icon-hover-light:hover .elementor-icon {
  background-color: var(--white-color) !important;
  border-color: var(--e-global-color-accent) !important;
  border-radius: 50% !important;
}

.icon-hover-light:hover .elementor-icon svg,
.icon-hover-light:hover .elementor-icon i {
  color: var(--e-global-color-accent) !important;
  fill: var(--e-global-color-accent) !important;
}

/************************************************************************************************/
/*
 * TABS WIDGET (Elementor Nested Tabs)
 */

.elementor-widget-n-tabs .e-n-tabs-heading .e-n-tab-title {
  transition: all 0.3s ease-in-out;
}

.elementor-widget-n-tabs .e-n-tabs-heading .e-n-tab-title:hover,
.elementor-widget-n-tabs .e-n-tabs-heading .e-n-tab-title:focus {
  border-radius: var(--n-tabs-title-border-radius);
}

.elementor-widget-n-tabs
  .e-n-tabs-heading
  .e-n-tab-title
  .e-n-tab-icon
  svg
  path {
  transition: all 0.3s;
}

/************************************************************************************************/
/*
 * NAV MENU WIDGET
 */

/* Remove inline-start border on dropdown items */
.elementor-widget-nav-menu ul.elementor-nav-menu--dropdown a,
.elementor-widget-nav-menu ul.elementor-nav-menu--dropdown a:focus,
.elementor-widget-nav-menu ul.elementor-nav-menu--dropdown a:hover {
  border-inline-start: 0 !important;
}

/************************************************************************************************/
/*
 * HEADER
 *
 * Sticky behaviour, logo shrink, and Max Mega Menu overrides.
 * Class used on the header section: .main-header
 */

.main-header.elementor-sticky {
  transition: all 0.3s ease-in-out;
}

.main-header.elementor-sticky.elementor-sticky--effects {
  /* Uncomment below to enable frosted glass sticky header */
  /* background: #00000099; */
  /* backdrop-filter: blur(20px); */
}

.header-logo img {
  transition: all 0.3s ease-in-out;
}

.main-header.elementor-sticky.elementor-sticky--effects .header-logo img {
  max-width: 180px;
}

/* Elementor nav menu dropdown transition */
.header-menu
  .elementor-nav-menu--main
  > .elementor-nav-menu
  > li
  > .elementor-nav-menu--dropdown,
.header-menu .elementor-nav-menu__container.elementor-nav-menu--dropdown {
  transition: all 0.3s ease-in-out;
}

.main-header.elementor-sticky.elementor-sticky--effects
  .header-menu
  .elementor-nav-menu--main
  > .elementor-nav-menu
  > li
  > .elementor-nav-menu--dropdown,
.main-header.elementor-sticky.elementor-sticky--effects
  .header-menu
  .elementor-nav-menu__container.elementor-nav-menu--dropdown {
  margin-top: 39px !important;
}

/* ── Max Mega Menu ── */

.header-menu
  #mega-menu-wrap-menu-1
  #mega-menu-menu-1
  li.mega-menu-item.mobile-menu {
  display: none !important;
}

/* menu visible css */
.header-menu ul li.mega-menu-visiable ul {
  /* opacity: 1 !important; */
  /* visibility: visible !important; */
}

.header-menu .mega-menu-wrap > ul > li > ul {
  margin-top: 25px !important;
}

.header-menu .mega-menu-wrap > ul > li.mega-menu-flyout > ul {
  box-shadow: 0px 0px 10px 5px
    rgb(from var(--e-global-color-primary) r g b / 10%) !important;
}

.header-menu
  .mega-menu-wrap
  > ul
  > li.mega-menu-megamenu
  ul
  .services-menu-container {
  box-shadow: 0px 0px 10px 0px
    rgb(from var(--e-global-color-primary) r g b / 5%);
}

/* ── Mega Menu Tabbed Layout ── */

#mega-menu-wrap-menu-1
  #mega-menu-menu-1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  box-shadow: 0px 0px 10px 2px
    rgb(from var(--e-global-color-primary) r g b / 10%) !important;
}

#mega-menu-wrap-menu-1
  #mega-menu-menu-1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu
  > li.mega-menu-item {
  flex: 1;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background-color 0.3s ease;
  overflow: hidden;
}

/* Sliding bottom accent line */
#mega-menu-wrap-menu-1
  #mega-menu-menu-1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu
  > li.mega-menu-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--e-global-color-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

#mega-menu-wrap-menu-1
  #mega-menu-menu-1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu
  > li.mega-menu-item:hover {
  background-color: rgb(
    from var(--e-global-color-accent) r g b / 6%
  ) !important;
}

#mega-menu-wrap-menu-1
  #mega-menu-menu-1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu
  > li.mega-menu-item:hover::after {
  transform: scaleX(1);
}

#mega-menu-wrap-menu-1
  #mega-menu-menu-1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu
  > li.mega-menu-item
  > a.mega-menu-link {
  font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
  font-size: var(--e-global-typography-secondary-font-size) !important;
  font-weight: var(--e-global-typography-secondary-font-weight) !important;
  text-transform: var(--e-global-typography-secondary-text-transform);
  font-style: var(--e-global-typography-secondary-font-style);
  line-height: var(--e-global-typography-secondary-line-height);
  width: 100%;
  padding: 20px 20px;
  background: transparent !important;
  color: var(--e-global-color-primary) !important;
  text-align: center;
  transition: color 0.3s ease !important;
}

#mega-menu-wrap-menu-1
  #mega-menu-menu-1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu
  > li.mega-menu-item.mega-current_page_item
  > a.mega-menu-link,
#mega-menu-wrap-menu-1
  #mega-menu-menu-1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu
  > li.mega-menu-item
  > a.mega-menu-link:hover,
#mega-menu-wrap-menu-1
  #mega-menu-menu-1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu
  > li.mega-menu-item
  > a.mega-menu-link:focus {
  color: var(--e-global-color-accent) !important;
}

#mega-menu-wrap-menu-1
  #mega-menu-menu-1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu
  > li.mega-menu-item.mega-menu-item-has-children
  > a.mega-menu-link
  > .mega-indicator {
  display: none;
}

#mega-menu-wrap-menu-1
  #mega-menu-menu-1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu
  > li.mega-menu-item
  > ul.mega-sub-menu {
  display: none !important;
}

/* ── Mega Menu Template (services-menu-tab) ── */

.services-menu-tab .e-n-tabs-heading {
  padding: 100px 40px 40px;
}

.services-menu-tab .e-n-tabs-content > .e-con,
.services-menu-tab .e-n-tabs-content > .e-con > .e-con {
  height: 100%;
}

@media only screen and (max-width: 1024px) {
  /* Elementor Header */
  .main-header.elementor-sticky.elementor-sticky--effects
    .header-menu
    .elementor-nav-menu__container.elementor-nav-menu--dropdown {
    margin-top: 28px !important;
  }

  /* Mega Menu toggle */
  .header-menu
    #mega-menu-wrap-menu-1
    #mega-menu-menu-1
    li.mega-menu-item.mobile-menu {
    display: block !important;
  }

  .header-menu #mega-menu-wrap-menu-1 .mega-menu-toggle,
  .header-menu .mega-menu-wrap .mega-menu-toggle {
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 32px;
  }

  .header-menu .mega-menu-wrap .mega-menu-toggle .mega-toggle-block:only-child {
    margin-left: 8px !important;
  }

  .header-menu
    .mega-menu-wrap
    .mega-menu-toggle
    .mega-toggle-animated-box
    .mega-toggle-animated-inner,
  .header-menu
    .mega-menu-wrap
    .mega-menu-toggle
    .mega-toggle-animated-box
    .mega-toggle-animated-inner:before,
  .header-menu
    .mega-menu-wrap
    .mega-menu-toggle
    .mega-toggle-animated-box
    .mega-toggle-animated-inner:after {
    width: 30px !important;
  }

  .header-menu
    .mega-menu-wrap
    .mega-menu-toggle
    .mega-toggle-animated-box
    .mega-toggle-animated-inner:before {
    left: 7px;
  }

  .header-menu
    .mega-menu-wrap
    .mega-menu-toggle.mega-menu-open
    .mega-toggle-block:only-child {
    margin-left: 14px !important;
  }

  /* Mobile mega menu panel */
  .header-menu ul.mega-menu {
    margin-top: 23px !important;
    max-height: calc(100vh - 300px) !important;
    overflow: auto !important;
    filter: drop-shadow(
      0px 0px 30px rgb(from var(--e-global-color-text) r g b / 30%)
    );
  }

  .header-menu .mega-menu-wrap > ul > li > ul {
    margin-top: 0 !important;
  }

  #mega-menu-wrap-menu-1
    #mega-menu-menu-1
    > li.mega-menu-megamenu
    > ul.mega-sub-menu {
    padding: 0 !important;
  }

  .header-menu .mega-menu-wrap > ul > li.mega-menu-flyout > ul,
  .header-menu
    .mega-menu-wrap
    > ul
    > li.mega-menu-megamenu
    ul
    .services-menu-container {
    box-shadow: none !important;
    filter: none;
  }

  .header-menu
    #mega-menu-wrap-menu-1
    #mega-menu-menu-1
    > li.mega-menu-item
    > a.mega-menu-link {
    display: flex;
    padding: 0 20px;
    transition: all 0.3s ease-in-out;
  }

  .header-menu
    #mega-menu-wrap-menu-1
    #mega-menu-menu-1
    > li.mega-menu-item
    > ul
    li
    a.mega-menu-link {
    padding: 0 30px !important;
  }

  /* Mega Menu Tab — tablet overrides */
  #mega-menu-wrap-menu-1
    #mega-menu-menu-1
    > li.mega-menu-tabbed
    > ul.mega-sub-menu {
    box-shadow: none !important;
  }

  #mega-menu-wrap-menu-1
    #mega-menu-menu-1
    > li.mega-menu-tabbed
    > ul.mega-sub-menu
    > li.mega-menu-item.mega-menu-item-has-children
    > a.mega-menu-link
    > .mega-indicator {
    display: block;
  }

  #mega-menu-wrap-menu-1
    #mega-menu-menu-1
    > li.mega-menu-tabbed
    > ul.mega-sub-menu {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    background-image: none;
    background-size: 0;
    min-height: auto !important;
  }

  #mega-menu-wrap-menu-1
    #mega-menu-menu-1
    > li.mega-menu-tabbed
    > ul.mega-sub-menu
    > li.mega-menu-item {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    min-height: 60px;
    padding: 0 !important;
  }

  #mega-menu-wrap-menu-1
    #mega-menu-menu-1
    > li.mega-menu-tabbed
    > ul.mega-sub-menu
    > li.mega-menu-item
    > a.mega-menu-link {
    font-size: 16px !important;
    padding: 20px 30px 20px 60px !important;
  }

  #mega-menu-wrap-menu-1
    #mega-menu-menu-1
    > li.mega-menu-tabbed
    > ul.mega-sub-menu
    > li.mega-menu-item
    > ul.mega-sub-menu {
    width: 100%;
    float: left;
    left: 0;
  }

  /* Template */
  .services-menu-tab .e-n-tabs-heading {
    padding: 100px 0 0;
  }
}

@media only screen and (max-width: 767px) {
  .header-top-contant-info ul {
    gap: 10px;
  }

  /* Elementor Header */
  .main-header.elementor-sticky.elementor-sticky--effects .header-logo img {
    max-width: 150px;
  }

  .main-header.elementor-sticky.elementor-sticky--effects
    .header-menu
    .elementor-nav-menu__container.elementor-nav-menu--dropdown {
    margin-top: 23px !important;
  }

  /* Mega Menu */
  .header-top-contant-info ul li:after {
    display: none;
  }

  .header-menu ul.mega-menu {
    margin-top: 23px !important;
    max-height: calc(100vh - 200px) !important;
    filter: drop-shadow(
      0px 0px 10px rgb(from var(--e-global-color-text) r g b / 10%)
    );
  }

  /* Mega Menu Tab — mobile overrides */
  #mega-menu-wrap-menu-1
    #mega-menu-menu-1
    > li.mega-menu-tabbed
    > ul.mega-sub-menu
    > li.mega-menu-item {
    min-height: auto;
  }

  #mega-menu-wrap-menu-1
    #mega-menu-menu-1
    > li.mega-menu-tabbed
    > ul.mega-sub-menu
    > li.mega-menu-item
    > ul.mega-sub-menu
    > li {
    min-height: 250px;
    padding: 20px !important;
  }

  #mega-menu-wrap-menu-1
    #mega-menu-menu-1
    > li.mega-menu-tabbed
    > ul.mega-sub-menu
    > li.mega-menu-item
    > a.mega-menu-link {
    padding: 20px 20px 20px 50px !important;
    font-size: 16px !important;
  }

  #mega-menu-wrap-menu-1
    #mega-menu-menu-1
    > li.mega-menu-tabbed
    > ul.mega-sub-menu
    > li.mega-menu-item
    > a.mega-menu-link:before {
    left: 15px;
  }

  /* Template */
  .services-menu-tab .e-n-tabs-heading {
    padding: 0;
  }

  .services-menu-tab-title {
    position: initial !important;
  }

  .services-tab-vertical-title .elementor-heading-title {
    writing-mode: initial;
    transform: rotate(0deg);
  }

  .services-menu-tab .e-n-tabs-heading .e-n-tab-title .e-n-tab-icon {
    width: 40px;
    height: 40px;
  }

  .services-menu-tab
    .e-n-tabs-heading
    .e-n-tab-title
    .e-n-tab-title-text:before {
    display: none;
  }
}

/************************************************************************************************/
/*
 * FOOTER
 */

.footer-privacy-menu ul li:after {
  transform: rotate(22deg);
}

@media only screen and (max-width: 1024px) {
  .footer-privacy-menu {
    display: flex;
    justify-content: center;
  }
}

@media only screen and (max-width: 767px) {
  .footer-menu ul {
    display: block !important;
  }

  .footer-menu ul li {
    margin-bottom: 10px;
  }

  .footer-menu ul li:last-child {
    margin-bottom: 0;
  }

  .footer-menu ul li a {
    margin: 0 !important;
  }
}

/************************************************************************************************/
/*
 * HOME PAGE
 */

.home-icon-box-container {
  filter: drop-shadow(0px 0px 20px rgba(23, 38, 47, 0.1));
}

.home-about-img img {
  aspect-ratio: 1 / 1.085;
  object-fit: cover;
}

.home-about-img-2 .elementor-widget-container {
  position: relative;
}

.home-about-img-2 .elementor-widget-container:before {
  content: "";
  position: absolute;
  top: -110px;
  left: 110px;
  background-color: rgb(from var(--e-global-color-accent) r g b / 14%);
  mask-image: url("./images/home-about-bg-dot-shape.svg");
  mask-repeat: no-repeat;
  mask-size: contain;
  width: 120px;
  height: 100px;
}

.home-about-img-2 img {
  aspect-ratio: 1 / 1.32;
  object-fit: cover;
}

/* Rotating text path */
.contact-circles .elementor-widget-text-path .e-text-path {
  animation: infiniterotate 25s infinite linear;
}

@keyframes infiniterotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.top-right-shape.home-service-container {
  clip-path: polygon(0 0, calc(100% - 45px) 0, 100% 45px, 100% 100%, 0% 100%);
}

.home-service-img img {
  aspect-ratio: 1 / 0.662;
  object-fit: cover;
}

.home-service-icon-box .elementor-icon-box-wrapper .elementor-icon {
  position: absolute;
  top: -60px;
  right: 0;
}

.home-why-choose-icon-box .elementor-icon-box-wrapper .elementor-icon {
  border-color: rgb(from var(--white-color) r g b / 14%) !important;
  padding-right: var(--icon-box-icon-margin, 15px) !important;
}

/* How it works step counter */
.home-how-it-work-section {
  counter-reset: section;
}

.home-how-it-work-box {
  counter-increment: section;
}

.home-how-it-work-box .elementor-icon-box-wrapper {
  position: relative;
}

.home-how-it-work-box .elementor-icon-box-wrapper:before {
  content: "STEP 0" counter(section) " ";
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  bottom: auto;
  background-color: rgb(from var(--e-global-color-accent) r g b / 10%);
  color: var(--e-global-color-accent);
  font-family: var(--e-global-typography-text-font-family);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90px;
  height: 35px;
  transition: all 0.4s ease-in-out;
}

.home-how-it-work-box:hover .elementor-icon-box-wrapper:before {
  background-color: var(--e-global-color-accent);
  color: var(--white-color);
}

.home-how-it-work-box .elementor-icon-box-content .elementor-icon-box-title {
  padding-bottom: 30px;
  border-bottom: 1px solid rgb(from var(--e-global-color-text) r g b / 14%);
}

/* FAQ accordion */
.faq-section .e-n-accordion-item {
  border-bottom: 1px solid var(--divider-color);
}

.faq-section .e-n-accordion-item:last-child {
  border-bottom: none;
}

.faq-section
  .e-n-accordion-item
  .e-n-accordion-item-title
  .e-n-accordion-item-title-header {
  width: calc(100% - 40px);
}

@media only screen and (max-width: 1024px) {
  .home-about-img-2 .elementor-widget-container:before {
    left: 150px;
  }
}

@media only screen and (max-width: 767px) {
  .home-about-img img {
    aspect-ratio: 1 / 1.2;
  }

  .home-about-img-2 img {
    aspect-ratio: 1 / 1.1;
  }

  .home-about-img-2 .elementor-widget-container:before {
    display: none;
    left: 0;
  }

  .home-service-icon-box .elementor-icon-box-wrapper .elementor-icon {
    top: -50px;
  }

  .home-how-it-work-box .elementor-icon-box-content .elementor-icon-box-title {
    padding-bottom: 20px;
  }
}

/************************************************************************************************/
/*
 * ABOUT PAGE
 */

.breadcrumb ul li:after {
  transform: rotate(22deg);
}

.about-text p strong {
  font-weight: 600;
}

.about-us-img img {
  aspect-ratio: 1 / 1.272;
  object-fit: cover;
}

/* About us tab underline indicator */
.about-us-tab .e-n-tabs-heading .e-n-tab-title {
  position: relative;
  border-bottom: 1px solid rgb(from var(--e-global-color-text) r g b / 14%);
}

.about-us-tab .e-n-tabs-heading .e-n-tab-title:before {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: auto;
  right: 0;
  background-color: var(--e-global-color-accent);
  width: 0;
  height: 4px;
  transition: all 0.4s ease-in-out;
}

.about-us-tab .e-n-tabs-heading .e-n-tab-title:hover:before {
  width: 100%;
  right: 0;
  left: 0;
}

.about-us-tab .e-n-tabs-heading .e-n-tab-title[aria-selected="true"]:before {
  width: 100%;
}

.about-us-tab .e-n-tabs-heading .e-n-tab-title:first-child {
  padding: 0 25px 25px 0;
}

.team-img img {
  aspect-ratio: 1 / 1.085;
  object-fit: cover;
}

@media only screen and (max-width: 1024px) {
  .about-us-img img {
    aspect-ratio: 1 / 0.85;
  }
}

@media only screen and (max-width: 767px) {
  .breadcrumb ul li:after {
    height: 18px !important;
  }

  .about-us-img img {
    aspect-ratio: 1 / 1.15;
  }
}

/************************************************************************************************/
/*
 * SERVICES — PAGE 1
 */

.service-1-about-img img {
  aspect-ratio: 1 / 1.567;
  object-fit: cover;
}

.service-1-cta
  .elementor-cta__content
  .elementor-cta__button-wrapper
  .elementor-cta__button {
  position: relative;
}

.service-1-cta
  .elementor-cta__content
  .elementor-cta__button-wrapper
  .elementor-cta__button:before {
  content: "";
  position: absolute;
  top: 50%;
  left: auto;
  right: 0;
  bottom: auto;
  background: var(--e-global-color-accent);
  mask-image: url("./images/service-cta-btn-arrow.svg");
  mask-repeat: no-repeat;
  mask-size: cover;
  width: 12px;
  height: 12px;
  transform: translate(25px, -6px);
}

.service-1-why-choose-box .elementor-icon-box-wrapper .elementor-icon {
  position: relative;
  z-index: 1;
}

.service-1-why-choose-box .elementor-icon-box-wrapper .elementor-icon:before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: 0;
  bottom: 0;
  border: 2px solid var(--e-global-color-accent);
  border-radius: 50%;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
}

.service-1-why-choose-box .elementor-icon-box-wrapper .elementor-icon:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--e-global-color-secondary);
  border-radius: 50%;
  width: 100%;
  height: 100%;
  transform: scale(0);
  transition: all 0.4s ease-in-out;
  z-index: -1;
}

.service-1-why-choose-box:hover
  .elementor-icon-box-wrapper
  .elementor-icon:after {
  transform: scale(1.1);
}

.service-1-counter-box {
  position: relative;
  background: var(--light-bg);
  z-index: 1;
}

.service-1-counter-box:before {
  content: "";
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--e-global-color-accent);
  width: 100%;
  height: 0;
  transition: all 0.4s ease-in-out;
  z-index: -1;
}

.service-1-counter-box:hover:before {
  height: 100%;
}

.service-1-counter-box .elementor-counter .elementor-counter-title {
  text-align: center;
  transition: all 0.4s ease-in-out;
}

.service-1-counter-box:hover .elementor-counter .elementor-counter-title {
  color: var(--white-color);
}

.service-1-counter-box .elementor-counter-number-wrapper {
  transition: all 0.4s ease-in-out;
}

.service-1-counter-box:hover .elementor-counter-number-wrapper {
  color: var(--white-color) !important;
}

.service-1-our-key-service-box
  .elementor-icon-box-wrapper
  .elementor-icon-box-icon {
  text-align: end;
}

.service-1-our-key-service-box
  .elementor-icon-box-content
  .elementor-icon-box-title {
  padding-bottom: 30px;
  border-bottom: 1px solid rgb(from var(--white-color) r g b / 14%);
}

.service-1-tab .e-n-tabs-heading {
  align-self: center;
  padding: 40px;
  border: 1px solid var(--divider-color);
}

.service-1-tab-img img {
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
}

/*************************************************/
/* Feature box animation */
.service-1-feature-box {
  --line-weight: 2px;
  --animation-speed: 0.25s;
  --line-color: var(--e-global-color-secondary);
  position: relative;
  isolation: isolate;
}

.service-1-feature-box-inner {
  position: relative !important;
  z-index: 2 !important;
  width: 100%;
  height: 100%;
}

.service-1-feature-box .line {
  position: absolute;
  z-index: 3;
}

.service-1-feature-box .line.horizontal {
  height: var(--line-weight);
  width: 100%;
  background: var(--line-color);
}

.service-1-feature-box .line.vertical {
  width: var(--line-weight);
  height: 100%;
  background: var(--line-color);
}

.service-1-feature-box .line.left {
  bottom: 0;
  left: 0;
  transform-origin: bottom left;
  transform: scaleY(0);
  transition: transform var(--animation-speed) ease-in-out 0s;
}

.service-1-feature-box .line.top {
  top: 0;
  left: 0;
  transform-origin: top left;
  transform: scaleX(0);
  transition: transform var(--animation-speed) ease-in-out 0s;
}

.service-1-feature-box .line.right {
  top: 0;
  right: 0;
  transform-origin: top right;
  transform: scaleY(0);
  transition: transform var(--animation-speed) ease-in-out 0s;
}

.service-1-feature-box .line.bottom {
  bottom: 0;
  right: 0;
  transform-origin: bottom right;
  transform: scaleX(0);
  transition: transform var(--animation-speed) ease-in-out 0s;
}

/* Top fill — starts at top, fills down to middle */
.service-1-feature-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: rgb(from var(--e-global-color-primary) r g b / 50%);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.4s ease-in-out 0s;
  z-index: 1;
}

/* Bottom fill — starts at bottom, fills up to middle */
.service-1-feature-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: rgb(from var(--e-global-color-primary) r g b / 50%);
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 0.4s ease-in-out 0s;
  z-index: 1;
}

.service-1-feature-box:hover .line.left {
  transform: scaleY(1);
  transition: transform var(--animation-speed) ease-in-out 0s;
}

.service-1-feature-box:hover .line.top {
  transform: scaleX(1);
  transition: transform var(--animation-speed) ease-in-out
    calc(var(--animation-speed) * 1);
}

.service-1-feature-box:hover .line.right {
  transform: scaleY(1);
  transition: transform var(--animation-speed) ease-in-out
    calc(var(--animation-speed) * 2);
}

.service-1-feature-box:hover .line.bottom {
  transform: scaleX(1);
  transition: transform var(--animation-speed) ease-in-out
    calc(var(--animation-speed) * 3);
}

/* Both fills trigger after lines complete */
.service-1-feature-box:hover::before {
  transform: scaleY(1);
  transition: transform 0.4s ease-in-out calc(var(--animation-speed) * 4);
}

.service-1-feature-box:hover::after {
  transform: scaleY(1);
  transition: transform 0.4s ease-in-out calc(var(--animation-speed) * 4);
}
/*************************************/

@media only screen and (max-width: 1024px) {
  .service-1-tab.top-right-shape {
    clip-path: unset;
  }

  .service-1-tab .e-n-tabs-content .e-con {
    clip-path: polygon(0 0, calc(100% - 55px) 0, 100% 55px, 100% 100%, 0% 100%);
  }
}

@media only screen and (max-width: 767px) {
  .service-1-about-img img {
    aspect-ratio: 1 / 1.05;
  }

  .service-1-cta .elementor-cta__content .elementor-content-item {
    margin-bottom: 20px !important;
  }

  .service-1-cta
    .elementor-cta__content
    .elementor-content-item
    .elementor-icon {
    font-size: 40px !important;
  }

  .service-1-our-key-service-box
    .elementor-icon-box-wrapper
    .elementor-icon-box-icon {
    text-align: start;
  }

  .service-1-our-key-service-box
    .elementor-icon-box-content
    .elementor-icon-box-title {
    padding-bottom: 20px;
  }
}

/************************************************************************************************/
/*
 * SERVICES — PAGE 2
 */

.service-2-about-img img {
  aspect-ratio: 1 / 1.155;
  object-fit: cover;
}

.service-2-about-img-2 img {
  aspect-ratio: 1 / 1.16;
  object-fit: cover;
}

.service-2-tab .e-n-tabs-heading {
  background: var(--light-bg);
}

.service-2-tab .e-n-tabs-heading .e-n-tab-title {
  position: relative;
}

.service-2-tab .e-n-tabs-heading .e-n-tab-title:before {
  content: "";
  position: absolute;
  top: auto;
  left: auto;
  right: 0;
  bottom: auto;
  background: var(--divider-color);
  width: 1px;
  height: 40px;
}

.service-2-tab .e-n-tabs-heading .e-n-tab-title:last-child:before {
  display: none;
}

.service-2-tab-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.service-2-tab-list ul li {
  width: calc(50% - 10px);
}

.service2-how-it-works-section {
  counter-reset: section;
}

.service2-how-it-works-box {
  counter-increment: section;
}

.service2-how-it-works-box .elementor-widget-container {
  position: relative;
}

.service2-how-it-works-box .elementor-widget-container:before {
  content: "0" counter(section) " ";
  position: absolute;
  top: auto;
  left: 45px;
  right: auto;
  bottom: 30px;
  font-family: var(--e-global-typography-primary-font-family);
  font-size: 34px;
  font-weight: var(--e-global-typography-primary-font-weight);
  color: rgb(from var(--e-global-color-accent) r g b / 10%);
  writing-mode: sideways-lr;
  width: auto;
  height: auto;
}

.service2-how-it-works-box .elementor-icon-box-wrapper .elementor-icon {
  position: relative;
}

.service2-how-it-works-box .elementor-icon-box-wrapper .elementor-icon:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--e-global-color-accent);
  width: 100%;
  height: 100%;
  transform: scale(0);
  transition: all 0.4s ease-in-out;
}

.service2-how-it-works-box:hover
  .elementor-icon-box-wrapper
  .elementor-icon:before {
  transform: scale(1);
}

.service2-key-advantages ul li span cite {
  font-size: 22px;
  color: var(--e-global-color-accent);
  font-style: normal;
}

.service2-key-advantages-img img {
  aspect-ratio: 1 / 1.01;
  object-fit: cover;
}

.service2-process-box {
  counter-reset: section;
}

.service2-process-img {
  position: relative;
  counter-increment: section;
}

.service2-process-img:before {
  content: "0" counter(section) " ";
  position: absolute;
  top: 10px;
  left: 10px;
  right: auto;
  bottom: auto;
  font-family: var(--e-global-typography-423b58a-font-family);
  font-size: var(--e-global-typography-text-font-size);
  font-weight: var(--e-global-typography-secondary-font-weight);
  color: var(--white-color);
  background-color: var(--e-global-color-accent);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
}

.service2-our-process-box:before {
  content: "";
  position: absolute;
  top: auto;
  left: auto;
  right: -70px;
  bottom: 0;
  background-color: rgb(from var(--e-global-color-accent) r g b / 20%);
  mask-image: url("./images/our-process-box-icon.svg");
  mask-repeat: no-repeat;
  mask-size: auto;
  mask-position: center center;
  width: 70px;
  height: 70px;
}

.service-2-tab-2 .e-n-tabs {
  margin: 0 auto;
  align-items: center;
  width: 100%;
}

.service-2-tab-2 .e-n-tabs-heading {
  max-width: 1300px;
  width: 100%;
}

.service-2-tab-2 .e-n-tabs-content {
  width: 100%;
}

.service-2-tab-2 .e-n-tabs-heading .e-n-tab-title {
  width: 33.33%;
}

.service-2-tab-2 .e-n-tabs-heading .e-n-tab-title .e-n-tab-title-text {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border-left: 2px solid var(--e-global-color-accent);
  padding-left: 20px;
}

.service-2-tab-2 .e-n-tabs-heading .e-n-tab-title .e-n-tab-title-text span {
  color: var(--e-global-color-accent);
  transition: all 0.4s ease-in-out;
}

.service-2-tab-2
  .e-n-tabs-heading
  .e-n-tab-title[aria-selected="false"]:hover
  .e-n-tab-title-text
  span,
.service-2-tab-2
  .e-n-tabs-heading
  .e-n-tab-title[aria-selected="true"]:hover
  .e-n-tab-title-text
  span,
.service-2-tab-2
  .e-n-tabs-heading
  .e-n-tab-title[aria-selected="true"]
  .e-n-tab-title-text
  span {
  color: rgb(from var(--e-global-color-primary) r g b / 50%);
}

.service2-how-we-work-tab .e-n-tabs-heading {
  counter-reset: section;
}

.service2-how-we-work-tab .e-n-tab-title {
  position: relative;
  counter-increment: section;
}

.service2-how-we-work-tab .e-n-tab-title:before {
  content: "0" counter(section) ".";
  position: absolute;
  top: 40px;
  left: 0;
  right: auto;
  bottom: auto;
  font-family: var(--e-global-typography-primary-font-family);
  font-size: var(--e-global-typography-primary-font-size);
  font-weight: var(--e-global-typography-primary-font-weight);
  color: var(--e-global-color-primary);
  width: auto;
  height: auto;
  transition: all 0.4s ease-in-out;
}

.service2-how-we-work-tab .e-n-tab-title[aria-selected="false"]:hover:before,
.service2-how-we-work-tab .e-n-tab-title[aria-selected="true"]:hover:before,
.service2-how-we-work-tab .e-n-tab-title[aria-selected="true"]:before {
  color: var(--e-global-color-accent);
}

.service2-how-we-work-tab .e-n-tab-title:last-child {
  border-bottom: 2px solid var(--divider-color) !important;
}

.service2-how-we-work-tab-img img {
  aspect-ratio: 1 / 1.035;
  object-fit: cover;
}

@media only screen and (max-width: 1024px) {
  .service2-how-it-works-box .elementor-widget-container:before {
    left: 35px;
  }

  .service2-key-advantages-img img {
    aspect-ratio: 1 / 0.85;
  }

  .service2-our-process-box:before {
    display: none;
  }

  .service-2-tab-2 .e-n-tabs {
    align-items: stretch;
  }

  .service-2-tab-2 .e-n-tabs-heading .e-n-tab-title {
    width: 100%;
  }

  .service2-how-we-work-tab .e-n-tab-title:before {
    top: 20px;
  }

  .service2-how-we-work-tab-img img {
    aspect-ratio: 1 / 0.8;
  }
}

@media only screen and (max-width: 767px) {
  .service-2-about-img img {
    aspect-ratio: 1 / 1.05;
  }

  .service-2-about-img-2 img {
    aspect-ratio: 1 / 1.05;
  }

  .service-2-tab .e-n-tabs-heading .e-n-tab-title:before {
    display: none;
  }

  .service-2-tab-list ul {
    gap: 15px;
  }

  .service-2-tab-list ul li {
    width: 100%;
  }

  .service2-how-it-works-box .elementor-widget-container:before {
    top: 20px;
    left: auto;
    right: 20px;
    bottom: auto;
    writing-mode: unset;
  }

  .service2-key-advantages-img img {
    aspect-ratio: 1 / 1.05;
  }

  .service2-how-we-work-tab .e-n-tab-title:before {
    top: 30px;
  }

  .service2-how-we-work-tab-img img {
    aspect-ratio: 1 / 1.05;
  }
}

/************************************************************************************************/
/*
 * SERVICES — PAGE 3
 */

.service-3-about-img img {
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
}

.service-3-about-counter-img img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.service-3-about-img:before {
  content: "";
  position: absolute;
  top: auto;
  left: auto;
  bottom: 0;
  right: -100px;
  mask-image: url("./images/home-about-bg-dot-shape.svg");
  mask-repeat: no-repeat;
  background: rgb(from var(--e-global-color-accent) r g b / 14%);
  height: 105px;
  width: 95px;
}

.service-3-ctabox .elementor-cta {
  transition: all 0.4s ease-in-out;
}

.service-3-ctabox .elementor-cta .elementor-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--e-global-color-accent);
  color: #ffffff;
  border: 2px solid transparent;
  border-radius: 0;
  height: 60px;
  width: 60px;
  position: relative;
  transition: all 0.4s ease-in-out;
}

.service-3-ctabox .elementor-cta .elementor-icon i,
.service-3-ctabox .elementor-cta .elementor-icon svg {
  color: #ffffff;
  fill: #ffffff;
  transition: all 0.4s ease-in-out;
}

.service-3-ctabox:hover .elementor-cta .elementor-icon {
  background: #ffffff;
  border-radius: 50%;
  border-color: var(--e-global-color-accent);
}

.service-3-ctabox:hover .elementor-cta .elementor-icon i,
.service-3-ctabox:hover .elementor-cta .elementor-icon svg {
  color: var(--e-global-color-accent) !important;
  fill: var(--e-global-color-accent) !important;
}

.service-3-ctabox .elementor-cta__button-wrapper {
  width: auto;
}

.service-3-ctabox .elementor-cta__button-wrapper:before {
  content: "";
  position: absolute;
  top: 9px;
  right: -22px;
  mask-image: url("./images/service-cta-btn-arrow.svg");
  mask-repeat: no-repeat;
  background: var(--e-global-color-accent);
  height: 12px;
  width: 12px;
  transition: all 0.4s ease-in-out;
}

.service-3-ctabox:hover .elementor-cta__button-wrapper:before {
  background: var(--white-color);
}

.service-3-iconbox-img img {
  aspect-ratio: 1 / 0.99;
  object-fit: cover;
}

.service-3-iconbox .elementor-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--e-global-color-accent);
  color: #ffffff;
  border: 2px solid transparent;
  border-radius: 0;
  height: 40px;
  width: 40px;
  position: relative;
  transition: all 0.4s ease-in-out;
}

.service-3-iconbox .elementor-icon i,
.service-3-iconbox .elementor-icon svg {
  color: #ffffff;
  fill: #ffffff;
  transition: all 0.4s ease-in-out;
}

.service-3-iconbox:hover .elementor-icon {
  background: #ffffff;
  border-radius: 50%;
  border-color: var(--e-global-color-accent);
}

.service-3-iconbox:hover .elementor-icon i,
.service-3-iconbox:hover .elementor-icon svg {
  color: var(--e-global-color-accent) !important;
  fill: var(--e-global-color-accent) !important;
}

.service-3-iconbox:hover .elementor-icon-box-description {
  color: var(--white-color) !important;
  transition: all 0.4s ease-in-out;
}

.service-3-stepbox-container .service-3-stepbox .elementor-icon-box-wrapper {
  position: relative;
  padding-top: 40px;
}

.service-3-stepbox-container
  .service-3-stepbox
  .elementor-icon-box-content:before {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  bottom: auto;
  background: url("./images/orange-circle.svg");
  background-repeat: no-repeat;
  height: 12px;
  width: 12px;
}

.service-3-stepbox-container
  .service-3-stepbox
  .elementor-icon-box-content:after {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  bottom: auto;
  border: 1px solid rgb(from var(--e-global-color-accent) r g b / 14%);
  height: 1px;
  width: calc(100% + 30px);
}

.service-3-stepbox-container
  .service-3-stepbox:last-child
  .elementor-icon-box-content:after {
  display: none;
}

/* Stepbox hover animation */
.service-3-stepbox-container .service-3-stepbox h2.elementor-heading-title {
  display: inline-block;
  transition:
    color 0.4s ease-in-out,
    transform 0.4s ease-in-out;
}

.service-3-stepbox-container
  .service-3-stepbox:hover
  h2.elementor-heading-title {
  color: var(--e-global-color-accent) !important;
  transform: scale(1.1);
}

.service-3-stepbox-container .service-3-stepbox .elementor-icon-box-title span {
  position: relative;
}

.service-3-stepbox-container
  .service-3-stepbox
  .elementor-icon-box-title
  span::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--e-global-color-accent);
  transition: width 0.4s ease-in-out;
}

.service-3-stepbox-container
  .service-3-stepbox:hover
  .elementor-icon-box-title
  span::after {
  width: 100%;
}

.service-3-video-iconbox .elementor-icon-box-content {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.service-3-video-iconbox .elementor-icon-box-content .elementor-icon-box-title {
  width: calc(30% - 10px);
}

.service-3-video-iconbox
  .elementor-icon-box-content
  .elementor-icon-box-description {
  width: calc(70% - 10px);
}

.service-3-video-iconbox-btn .elementor-heading-title a {
  text-decoration: underline;
}

.service-3-video-play-icon .elementor-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--e-global-color-accent);
  height: 80px;
  width: 80px;
}

.service-3-call-iconbox .elementor-icon-box-content {
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
}

.service-3-faq-img-2 {
  height: 100%;
}

.service-3-faq .e-n-accordion-item {
  border: 1px solid var(--divider-color);
}

.service-3-tab-wrapper:hover .service-3-tab-title .elementor-widget-container {
  background-color: var(--e-global-color-accent);
}

/* ── Service-3 Tab Hover Animations ───────────────────────────────────────── */

/* Number bounce-up on hover */
.service-3-tab-title .elementor-heading-title {
  display: inline-block;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    letter-spacing 0.35s ease;
}
.service-3-tab-wrapper:hover .service-3-tab-title .elementor-heading-title {
  transform: translateY(-6px) scale(1.1);
  letter-spacing: 4px;
}

/* Image scale on hover */
.service-3-imgbox .elementor-image-box-img {
  overflow: hidden;
}
.service-3-imgbox .elementor-image-box-img img {
  transition: transform 0.5s ease;
}
.service-3-tab-wrapper:hover .service-3-imgbox .elementor-image-box-img img {
  transform: scale(1.07);
}

/* Title underline slide-in on hover */
.service-3-imgbox .elementor-image-box-title {
  position: relative;
  display: inline-block;
}
.service-3-imgbox .elementor-image-box-title::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--e-global-color-accent);
  transition: width 0.35s ease;
}
.service-3-tab-wrapper:hover
  .service-3-imgbox
  .elementor-image-box-title::after {
  width: 100%;
}

/* ─────────────────────────────────────────────────────────────────────────── */

.service-3-imgbox .elementor-image-box-wrapper {
  display: flex;
  flex-direction: column-reverse;
}

.service-3-imgbox .elementor-image-box-wrapper .elementor-image-box-img {
  margin-top: 30px !important;
  clip-path: polygon(55px 0, 100% 0, 100% 100%, 0 100%, 0% calc(0% + 55px));
}

.service-3-imgbox .elementor-image-box-wrapper .elementor-image-box-img img {
  aspect-ratio: 1 / 0.62;
  object-fit: cover;
}

@media only screen and (max-width: 1024px) {
  .service-3-about-img img {
    aspect-ratio: 1 / 0.9;
  }

  .service-3-ctabox .elementor-cta .elementor-icon {
    height: 50px;
    width: 50px;
  }

  .service-3-ctabox .elementor-cta__button-wrapper:before {
    top: 7px;
    right: -20px;
  }

  .service-3-iconbox-img img {
    aspect-ratio: 1 / 0.7;
  }

  .service-3-stepbox-container .service-3-stepbox .elementor-icon-box-wrapper {
    padding-top: 25px;
  }

  .service-3-stepbox-container
    .service-3-stepbox
    .elementor-icon-box-content:before {
    right: 48%;
  }

  .service-3-stepbox-container
    .service-3-stepbox
    .elementor-icon-box-content:after {
    display: none;
  }

  .service-3-video-iconbox .elementor-icon-box-content {
    display: block;
  }

  .service-3-video-iconbox
    .elementor-icon-box-content
    .elementor-icon-box-title,
  .service-3-video-iconbox
    .elementor-icon-box-content
    .elementor-icon-box-description {
    width: 100%;
  }

  .service-3-video-play-icon .elementor-icon {
    height: 60px;
    width: 60px;
  }

  .service-3-call-iconbox .elementor-icon-box-content {
    gap: 8px;
  }
}

@media only screen and (max-width: 767px) {
  .service-3-about-img img {
    aspect-ratio: 1 / 1.2;
  }

  .service-3-about-img:before {
    display: none;
  }

  .service-3-ctabox .elementor-cta .elementor-icon {
    height: 40px;
    width: 40px;
    font-size: 25px !important;
  }

  .service-3-ctabox .elementor-cta__button-wrapper:before {
    top: 6px;
    right: -18px;
  }

  .service-3-iconbox .elementor-icon {
    height: 35px;
    width: 35px;
  }

  .service-3-video-play-icon .elementor-icon {
    height: 40px;
    width: 40px;
  }

  .service-3-imgbox .elementor-image-box-wrapper .elementor-image-box-img {
    margin-top: 20px !important;
    clip-path: polygon(45px 0, 100% 0, 100% 100%, 0 100%, 0% calc(0% + 45px));
  }
}

/************************************************************************************************/
/*
 * LOCATION PAGE
 */

.location-our-process-box:last-child .elementor-widget-container:before {
  display: none;
}

.location-our-process-box:nth-child(even) .elementor-icon-box-wrapper {
  display: flex;
  flex-direction: column-reverse;
}

.location-our-process-box:nth-child(even)
  .elementor-icon-box-wrapper
  .elementor-icon-box-icon {
  margin-top: var(--icon-box-icon-margin, 15px);
  margin-bottom: 0 !important;
}

@media only screen and (max-width: 1024px) {
  .location-our-process-box:nth-child(odd) .elementor-widget-container:before,
  .location-our-process-box:nth-child(even) .elementor-widget-container:before {
    display: none;
  }

  .location-our-process-box:nth-child(even) .elementor-icon-box-wrapper {
    display: initial;
  }

  .location-our-process-box:nth-child(even)
    .elementor-icon-box-wrapper
    .elementor-icon-box-icon {
    margin-bottom: var(--icon-box-icon-margin, 15px) !important;
    margin-top: 0;
  }
}

@media only screen and (max-width: 767px) {
  .location-about-img-box:before {
    display: none;
  }

  .location-about-img:before {
    display: none;
  }
}

/************************************************************************************************/
/*
 * BLOG — ARCHIVE / LOOP
 */

.blog-loop-item .elementor-widget-theme-post-featured-image img {
  aspect-ratio: 1 / 0.65;
  object-fit: cover;
}

.blog-loop-item .blog-loop-item-meta .elementor-post-info li:before {
  content: "\f111";
  font-family: "Font Awesome 6 Free";
  font-size: 6px;
  font-weight: 900;
  color: var(--e-global-color-accent);
  padding: 0px 10px;
}

.blog-loop-item
  .blog-loop-item-meta
  .elementor-post-info
  li:first-child:before {
  display: none;
}

/**/
/* Equal-height cards */

/* Grid rows already stretch — make each cell a flex box so the card fills full height */
.e-loop-item:has(> .blog-loop-item) {
  display: flex;
}

.e-loop-item > .blog-loop-item {
  flex: 1;
}

/* Grow the coloured content panel so every card body ends at the same line */
.blog-loop-item > .e-con:not(.top-right-shape) {
  flex-grow: 1;
}

/* Pin the meta row to the bottom of every card */
.blog-loop-item .blog-loop-item-meta {
  margin-top: auto;
}

/* Pagination */
.blog-loop-grid .elementor-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 10px;
}

.blog-loop-grid .elementor-pagination span.page-numbers.prev,
.blog-loop-grid .elementor-pagination span.page-numbers.next {
  display: none;
}

.blog-loop-grid .elementor-pagination .page-numbers.prev,
.blog-loop-grid .elementor-pagination .page-numbers.next {
  text-indent: -9999px;
}

.blog-loop-grid .elementor-pagination .page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--light-bg);
  height: 50px;
  width: 50px;
  transition: all 0.3s ease-in-out;
}

.blog-loop-grid .elementor-pagination .page-numbers:hover,
.blog-loop-grid .elementor-pagination .page-numbers.current {
  background: var(--e-global-color-accent);
}

.blog-loop-grid .elementor-pagination .page-numbers.prev {
  background-image: url("./images/blog-prev-arrow.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 16px auto;
}

.blog-loop-grid .elementor-pagination .page-numbers.prev:hover {
  background-image: url("./images/blog-prev-arrow-white.svg");
}

.blog-loop-grid .elementor-pagination .page-numbers.next {
  background-image: url("./images/blog-next-arrow.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 16px auto;
}

.blog-loop-grid .elementor-pagination .page-numbers.next:hover {
  background-image: url("./images/blog-next-arrow-white.svg");
}

@media only screen and (max-width: 1024px) {
  .blog-loop-item .blog-loop-item-meta .elementor-post-info li:before {
    font-size: 5px;
    padding: 0px 8px;
  }

  .blog-loop-grid .elementor-pagination .page-numbers {
    height: 40px;
    width: 40px;
  }

  .blog-loop-grid .elementor-pagination .page-numbers.prev,
  .blog-loop-grid .elementor-pagination .page-numbers.next {
    background-size: 14px auto;
  }
}

@media only screen and (max-width: 767px) {
  .blog-loop-grid .elementor-pagination .page-numbers {
    height: 35px;
    width: 35px;
  }

  .blog-loop-grid .elementor-pagination .page-numbers.prev,
  .blog-loop-grid .elementor-pagination .page-numbers.next {
    background-size: 12px auto;
  }
}

/************************************************************************************************/
/*
 * BLOG — SINGLE POST
 */

.blog-single-img img {
  width: 65%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/**/
/* Post content typography — restore heading hierarchy + reading rhythm */

.elementor-widget-theme-post-content h2 {
  font-family: "Afacad", sans-serif !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: var(--e-global-color-primary, #000416) !important;
  margin: 40px 0 14px !important;
}

.elementor-widget-theme-post-content h3 {
  font-family: "Afacad", sans-serif !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: var(--e-global-color-primary, #000416) !important;
  margin: 28px 0 12px !important;
}

.elementor-widget-theme-post-content h4 {
  font-family: "Afacad", sans-serif !important;
  font-size: 21px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: var(--e-global-color-primary, #000416) !important;
  margin: 22px 0 10px !important;
}

.elementor-widget-theme-post-content p {
  font-size: 20px;
  line-height: 1.6;
  color: var(--e-global-color-text, #4a4d5a);
  margin: 0 0 18px !important;
}

.elementor-widget-theme-post-content ul,
.elementor-widget-theme-post-content ol {
  margin: 0 0 20px !important;
  padding-left: 24px;
}

.elementor-widget-theme-post-content ul {
  list-style: disc;
}

.elementor-widget-theme-post-content ol {
  list-style: decimal;
}

.elementor-widget-theme-post-content li {
  font-size: 20px;
  line-height: 1.6;
  color: var(--e-global-color-text, #4a4d5a);
  margin-bottom: 8px;
}

/* First block sits flush with the top of the content area */
.elementor-widget-theme-post-content .elementor-widget-container > *:first-child {
  margin-top: 0 !important;
}

.single-blog-icon-box .elementor-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--e-global-color-accent);
  height: 50px;
  width: 50px;
}

.blog-single-meta-info ul li .elementor-post-info__item--type-terms span {
  font-size: 0px;
}

.blog-single-meta-info ul li .elementor-post-info__item--type-terms span a {
  display: inline-block !important;
  font-size: 20px;
  background: var(--e-global-color-accent);
  padding: 15px 30px;
  margin-right: 20px;
}

.related-blog-loop-item .elementor-widget-theme-post-featured-image img {
  aspect-ratio: 1 / 0.65;
  object-fit: cover;
}

.related-blog-loop-item
  .related-blog-loop-item-meta
  .elementor-post-info
  li:before {
  content: "\f111";
  font-family: "Font Awesome 6 Free";
  font-size: 6px;
  font-weight: 900;
  color: var(--e-global-color-accent);
  padding: 0px 10px;
}

.related-blog-loop-item
  .related-blog-loop-item-meta
  .elementor-post-info
  li:first-child:before {
  display: none;
}

@media only screen and (max-width: 1024px) {
  .blog-single-img img {
    aspect-ratio: auto;
    width: 65%;
  }

  .elementor-widget-theme-post-content h2 {
    font-size: 28px !important;
    margin-top: 34px !important;
  }

  .elementor-widget-theme-post-content h3 {
    font-size: 22px !important;
  }

  .blog-single-meta-info ul li .elementor-post-info__item--type-terms span a {
    font-size: 18px;
    padding: 12px 25px;
    margin-right: 18px;
  }
}

@media only screen and (max-width: 767px) {
  .blog-single-img img {
    aspect-ratio: auto;
    width: 100%;
  }

  .elementor-widget-theme-post-content h2 {
    font-size: 25px !important;
    margin-top: 30px !important;
  }

  .elementor-widget-theme-post-content h3 {
    font-size: 21px !important;
  }

  .elementor-widget-theme-post-content h4 {
    font-size: 19px !important;
  }

  .elementor-widget-theme-post-content p,
  .elementor-widget-theme-post-content li {
    font-size: 18px;
  }

  .single-blog-icon-box .elementor-icon {
    height: 40px;
    width: 40px;
  }

  .blog-single-meta-info ul li .elementor-post-info__item--type-terms span a {
    font-size: 14px;
    padding: 10px;
    margin-right: 12px;
    margin-bottom: 12px;
  }

  .related-blog-loop-item
    .related-blog-loop-item-meta
    .elementor-post-info
    li:before {
    font-size: 5px;
    padding: 0px 8px;
  }
}

/************************************************************************************************/
/*
 * CONTACT PAGE
 */

.contact-icon-box .elementor-icon {
  position: relative;
}

.contact-icon-box .elementor-icon:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--e-global-color-primary);
  width: 100%;
  height: 100%;
  transform: scale(0);
  transition: all 0.4s ease-in-out;
}

.contact-icon-box:hover .elementor-icon:before {
  transform: scale(1);
}

.contact-icon-box .no-bg.elementor-widget-button .elementor-button {
  text-decoration-line: unset;
}

/************************************************************************************************/
/*
 * THANK YOU PAGE
 */

.thank-you-img img {
  aspect-ratio: 1 / 0.68;
  object-fit: cover;
}

@media only screen and (max-width: 767px) {
  .thank-you-img img {
    aspect-ratio: 1 / 1.05;
  }
}

/************************************************************************************************/
/*
 * GRAVITY FORMS — GLOBAL
 *
 * Applies to all forms sitewide.
 * Per-form overrides are in their own sections below.
 * To add a new form override: copy the Form ID 2 block and update the ID.
 */

.gform_wrapper .gform_heading {
  display: none;
}

.gform_wrapper form .gform-body .gform_fields {
  row-gap: 30px;
  column-gap: 30px;
  --gf-field-gap-x: 30px;
  --gf-field-gap-y: 30px;
}

.gform_wrapper form .gform-body .gform_fields .gfield {
  border-radius: 0;
  box-shadow: none;
}

/* Input / select / textarea */
.gform_wrapper form .gform-body .gform_fields .gfield .ginput_container input,
.gform_wrapper form .gform-body .gform_fields .gfield .ginput_container select,
.gform_wrapper
  form
  .gform-body
  .gform_fields
  .gfield
  .ginput_container
  textarea {
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  font-size: var(--e-global-typography-text-font-size);
  font-weight: var(--e-global-typography-text-font-weight);
  line-height: var(--e-global-typography-text-line-height);
  color: var(--e-global-color-text);
  background-color: var(--white-color);
  border: 1px solid var(--divider-color);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  height: auto;
  padding: 15px 20px;
}

/* Placeholder text */
.gform_wrapper
  form
  .gform-body
  .gform_fields
  .gfield
  .ginput_container
  input::placeholder,
.gform_wrapper
  form
  .gform-body
  .gform_fields
  .gfield
  .ginput_container
  select::placeholder,
.gform_wrapper
  form
  .gform-body
  .gform_fields
  .gfield
  .ginput_container
  textarea::placeholder {
  color: var(--e-global-color-text);
}

/* Select icon */
.gform_wrapper form .gform-body .gform_fields .gfield .ginput_container select {
  background-image: var(--gf-ctrl-select-icon);
  background-position: var(--gf-ctrl-select-icon-position);
  background-repeat: no-repeat;
  background-size: var(--gf-ctrl-select-icon-size);
}

.gform_wrapper
  form
  .gform-body
  .gform_fields
  .gfield
  .ginput_container
  select
  option {
  background-color: var(--white-color);
}

/* Grid helpers */
.gform_wrapper .gform-grid-row {
  margin-inline: 0;
  column-gap: var(--gf-field-gap-x);
  row-gap: var(--gf-field-gap-y);
}

.gform_wrapper .gform-grid-col {
  padding-inline: 0;
}

/* Date field */
.gform_wrapper
  form
  .gform-body
  .gform_fields
  .gfield--type-date
  .ginput_container_date {
  position: relative;
  flex-direction: column;
}

.gform_wrapper
  form
  .gform-body
  .gform_fields
  .gfield--type-date
  .ginput_container_date
  img {
  position: absolute;
  top: 50%;
  left: auto;
  right: 20px;
  opacity: 1;
  transform: translateY(-50%);
}

.gform_wrapper
  form
  .gform-body
  .gform_fields
  .gfield--type-date
  .ginput_container_date
  input {
  width: 100%;
}

/* Time field */
.gform_wrapper
  form
  .gform-body
  .gform_fields
  .gfield--type-time
  .ginput_container {
  column-gap: 0;
}

.gform_wrapper
  form
  .gform-body
  .gform_fields
  .gfield--type-time
  .ginput_container
  .gform-grid-col {
  inline-size: 50%;
}

/* Number field instruction */
.gform_wrapper
  form
  .gform-body
  .gform_fields
  .gfield--type-number
  .ginput_container
  .instruction {
  display: none;
}

/* Focus / hover resets */
.gform_wrapper
  form
  .gform-body
  .gform_fields
  .gfield
  .ginput_container
  input:focus,
.gform_wrapper
  form
  .gform-body
  .gform_fields
  .gfield
  .ginput_container
  select:focus,
.gform_wrapper
  form
  .gform-body
  .gform_fields
  .gfield
  .ginput_container
  textarea:focus,
.gform_wrapper form .gform_footer .gform_button:focus {
  outline: none !important;
  box-shadow: none;
}

/* Textarea */
.gform-theme--foundation .gfield textarea.large {
  min-block-size: auto;
}

.gform_wrapper
  form
  .gform-body
  .gform_fields
  .gfield
  .ginput_container
  textarea {
  height: 215px;
}

/* Validation message */
.gform_wrapper
  form
  .gform-body
  .gform_fields
  .gfield
  .validation_message.gfield_validation_message {
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: var(--e-global-typography-text-line-height);
  text-transform: capitalize;
  letter-spacing: 0.02em;
  color: #c8221e;
  margin-top: 0;
}

.contact-us-form .gform_validation_errors {
  padding: 10px;
  margin-bottom: 20px;
}

/* Form footer */
.gform_wrapper form .gform_footer {
  --gf-form-footer-margin-y-start: 40px;
  justify-content: start;
}

/* Global submit button base styles */
.gform_wrapper form .gform_footer .gform_button {
  text-align: center;
  font-family:
    var(--e-global-typography-accent-font-family), Sans-serif !important;
  font-size: var(--e-global-typography-accent-font-size) !important;
  font-weight: var(--e-global-typography-accent-font-weight) !important;
  line-height: var(--e-global-typography-accent-line-height) !important;
  color: var(--white-color) !important;
  background-color: var(--e-global-color-accent) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 12.5px 30px !important;
  transition: all 0.3s ease-in-out !important;
  box-shadow: none;
}

/* Global submit button hover */
.gform_wrapper form .gform_footer .gform_button:hover {
  background-color: var(--e-global-color-accent) !important;
}

/* Loader (hidden) */
.gform_wrapper form .gform_footer .gform-loader,
.gform_wrapper form .gform-loader {
  display: none !important;
  --gf-color-primary-rgb: 21, 100, 155;
  --gf-form-spinner-bg-color: rgba(var(--gf-color-primary-rgb), 0.1) !important;
  border-block-end-color: var(--e-global-color-primary);
  border-block-start-color: var(--gf-form-spinner-bg-color);
  border-inline-end-color: var(--gf-form-spinner-bg-color);
  border-inline-start-color: var(--e-global-color-primary);
}

/* Validation errors banner */
.gform_wrapper .gform_validation_errors {
  padding: 10px;
  margin-bottom: 30px;
}

.gform_wrapper .gform_validation_errors h2.gform_submission_error {
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  font-size: var(--e-global-typography-text-font-size);
  font-weight: 500;
  line-height: 1.2em;
}

/* Confirmation message */
.gform_wrapper .gform_confirmation_message {
  font-family: var(--e-global-typography-primary-font-family), Sans-serif;
  font-size: 30px;
  font-weight: var(--e-global-typography-primary-font-weight);
  line-height: var(--e-global-typography-primary-line-height);
  color: var(--e-global-color-primary);
}

@media only screen and (max-width: 1024px) {
  .gform_wrapper .gform_confirmation_message {
    font-size: 24px;
  }
}

@media only screen and (max-width: 767px) {
  .gform_wrapper form .gform-body .gform_fields {
    column-gap: 0;
    row-gap: 20px;
    --gf-field-gap-x: 0;
    --gf-field-gap-y: 20px;
  }

  .gform_wrapper form .gform_footer {
    --gf-form-footer-margin-y-start: 20px;
  }

  .gform_wrapper
    form
    .gform-body
    .gform_fields
    .gfield
    .validation_message.gfield_validation_message {
    font-size: 12px;
  }

  .gform_wrapper .gform_confirmation_message {
    font-size: 20px;
  }
}

/************************************************************************************************/
/*
 * GRAVITY FORMS — FORM ID 1
 *
 * Light labels variant used on dark background sections.
 * Apply .light-form-labels to the Elementor section/container wrapping the form.
 */

/* Field labels — white on dark background */
.light-form-labels #gform_1 .gform-field-label {
  color: var(--white-color) !important;
}

.light-form-labels #gform_1 .gfield_required {
  color: var(--white-color) !important;
}

/* Submit button — white border */
.light-form-labels input#gform_submit_button_1 {
  border: 2px solid var(--white-color) !important;
}

/************************************************************************************************/
/*
 * GRAVITY FORMS — FORM ID 2
 *
 * CTA form used on location page dark background section.
 * Door-sweep animation: white doors close inward over accent base on hover.
 */

/* Input fields — white on dark background */
#gform_2 .ginput_container input,
#gform_2 .ginput_container select,
#gform_2 .ginput_container textarea {
  background-color: var(--white-color) !important;
  color: var(--e-global-color-primary) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 15px 20px !important;
}

/* Placeholder text */
#gform_2 .ginput_container input::placeholder,
#gform_2 .ginput_container textarea::placeholder {
  color: var(--e-global-color-primary) !important;
  opacity: 0.6 !important;
}

/* Submit button — door-sweep animation */
#gform_wrapper_2 .gform_footer .gform_button,
#gform_wrapper_2 .gform-footer .gform_button {
  border: 2px solid var(--e-global-color-accent) !important;
  color: var(--white-color) !important;
  background-color: var(--e-global-color-accent) !important;
  background-image:
    linear-gradient(var(--white-color), var(--white-color)),
    linear-gradient(var(--white-color), var(--white-color)) !important;
  background-repeat: no-repeat !important;
  background-position:
    left center,
    right center !important;
  background-size:
    0% 100%,
    0% 100% !important;
  transition:
    background-size 0.45s ease,
    color 0.25s ease !important;
}

/* Submit button hover */
#gform_wrapper_2 .gform_footer .gform_button:hover,
#gform_wrapper_2 .gform-footer .gform_button:hover {
  background-color: var(--e-global-color-accent) !important;
  background-size:
    51% 100%,
    51% 100% !important;
  color: var(--e-global-color-accent) !important;
}

/*********************************************************************************************************/
/* Icon Animations */
/* Normal state */
.icon-hover-circle-dark .elementor-icon {
  border: 2px solid transparent !important;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    border-radius 0.3s ease !important;
}

.icon-hover-circle-dark .elementor-icon svg {
  transition: color 0.3s ease !important;
}

/* Hover state */
.icon-hover-circle-dark:hover .elementor-icon {
  background-color: var(--white-color) !important;
  border-color: var(--e-global-color-accent) !important;
  border-radius: 50% !important;
}

.icon-hover-circle-dark:hover .elementor-icon svg {
  color: var(--e-global-color-accent) !important;
  fill: var(--e-global-color-accent) !important;
}

.icon-hover-circle-dark.service2-how-it-works-box
  .elementor-icon-box-wrapper
  .elementor-icon:before,
.service2-how-it-works-box
  .icon-hover-circle-dark
  .elementor-icon-box-wrapper
  .elementor-icon:before {
  display: none !important;
}

/*********************************************************************************************************/
/* Box Trace Dark */
.box-trace-dark {
  --btd-line-weight: 2px;
  --btd-animation-speed: 0.25s;
  --btd-line-color: var(--e-global-color-accent);
  position: relative;
  isolation: isolate;
}

.box-trace-dark .btd-line {
  position: absolute;
  z-index: 3;
}

.box-trace-dark .btd-line.horizontal {
  height: var(--btd-line-weight);
  width: 100%;
  background: var(--btd-line-color);
}

.box-trace-dark .btd-line.vertical {
  width: var(--btd-line-weight);
  height: 100%;
  background: var(--btd-line-color);
}

/* Default state — all collapsed */
.box-trace-dark .btd-line.left {
  bottom: 0;
  left: 0;
  transform-origin: bottom left;
  transform: scaleY(0);
  transition: transform var(--btd-animation-speed) ease-in-out 0s;
}

.box-trace-dark .btd-line.top {
  top: 0;
  left: 0;
  transform-origin: top left;
  transform: scaleX(0);
  transition: transform var(--btd-animation-speed) ease-in-out 0s;
}

.box-trace-dark .btd-line.right {
  top: 0;
  right: 0;
  transform-origin: top right;
  transform: scaleY(0);
  transition: transform var(--btd-animation-speed) ease-in-out 0s;
}

.box-trace-dark .btd-line.bottom {
  bottom: 0;
  right: 0;
  transform-origin: bottom right;
  transform: scaleX(0);
  transition: transform var(--btd-animation-speed) ease-in-out 0s;
}

/* Hover state — draw: left, top, right, bottom */
.box-trace-dark:hover .btd-line.left {
  transform: scaleY(1);
  transition: transform var(--btd-animation-speed) ease-in-out 0s;
}

.box-trace-dark:hover .btd-line.top {
  transform: scaleX(1);
  transition: transform var(--btd-animation-speed) ease-in-out 0s;
}

.box-trace-dark:hover .btd-line.right {
  transform: scaleY(1);
  transition: transform var(--btd-animation-speed) ease-in-out 0s;
}

.box-trace-dark:hover .btd-line.bottom {
  transform: scaleX(1);
  transition: transform var(--btd-animation-speed) ease-in-out 0s;
}
/*********************************************************************************************************/
/* Box Trace Light */
.box-trace-light {
  --btl-line-weight: 2px;
  --btl-animation-speed: 0.25s;
  --btl-line-color: var(--white-color);
  position: relative;
  isolation: isolate;
}

.box-trace-light .btl-line {
  position: absolute;
  z-index: 3;
}

.box-trace-light .btl-line.horizontal {
  height: var(--btl-line-weight);
  width: 100%;
  background: var(--btl-line-color);
}

.box-trace-light .btl-line.vertical {
  width: var(--btl-line-weight);
  height: 100%;
  background: var(--btl-line-color);
}

.box-trace-light .btl-line.left {
  bottom: 0;
  left: 0;
  transform-origin: bottom left;
  transform: scaleY(0);
  transition: transform var(--btl-animation-speed) ease-in-out 0s;
}

.box-trace-light .btl-line.top {
  top: 0;
  left: 0;
  transform-origin: top left;
  transform: scaleX(0);
  transition: transform var(--btl-animation-speed) ease-in-out 0s;
}

.box-trace-light .btl-line.right {
  top: 0;
  right: 0;
  transform-origin: top right;
  transform: scaleY(0);
  transition: transform var(--btl-animation-speed) ease-in-out 0s;
}

.box-trace-light .btl-line.bottom {
  bottom: 0;
  right: 0;
  transform-origin: bottom right;
  transform: scaleX(0);
  transition: transform var(--btl-animation-speed) ease-in-out 0s;
}

.box-trace-light:hover .btl-line.left {
  transform: scaleY(1);
  transition: transform var(--btl-animation-speed) ease-in-out 0s;
}

.box-trace-light:hover .btl-line.top {
  transform: scaleX(1);
  transition: transform var(--btl-animation-speed) ease-in-out 0s;
}

.box-trace-light:hover .btl-line.right {
  transform: scaleY(1);
  transition: transform var(--btl-animation-speed) ease-in-out 0s;
}

.box-trace-light:hover .btl-line.bottom {
  transform: scaleX(1);
  transition: transform var(--btl-animation-speed) ease-in-out 0s;
}

/*********************************************************************************************************/
/* Circular Image Hover */
/* Image zoom */
.circular-image-hover .elementor-widget-container {
  position: relative;
}

.circular-image-hover .elementor-widget-container img {
  transition: transform 0.4s ease-in-out;
}

.circular-image-hover:hover .elementor-widget-container img {
  transform: scale(1.05);
}

/* Pulse ring */
.circular-image-hover .elementor-widget-container::before,
.circular-image-hover .elementor-widget-container::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--e-global-color-accent);
  opacity: 0;
  pointer-events: none;
}

.circular-image-hover:hover .elementor-widget-container::before {
  animation: circular-pulse 1.2s ease-out 0s infinite;
}

.circular-image-hover:hover .elementor-widget-container::after {
  animation: circular-pulse 1.2s ease-out 0.4s infinite;
}

.service2-process-img::before {
  z-index: 2;
}

@keyframes circular-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0;
  }
}

/* ── Reviews Feed ──────────────────────────────────────────────────────────── */

/* Hide the Google provider icon */
.sb-post-item .sb-item-provider-icon {
  display: none !important;
}

/* Make the carousel items stretch to equal height */
.sbr-owl-stage {
  display: flex !important;
  align-items: stretch !important;
}
.sbr-owl-item {
  display: flex !important;
  flex-direction: column !important;
}
.sb-post-item-wrap {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

/* Card styling */
.sb-post-item {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  height: 100% !important;
  background: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 28px 26px 24px !important;
  box-shadow: 0 2px 12px rgba(10, 30, 60, 0.07);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Accent top border */
.sb-post-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--e-global-color-primary, #0d2341);
}

.sb-post-item:hover {
  box-shadow: 0 8px 28px rgba(10, 30, 60, 0.14);
  transform: translateY(-3px);
}

/* Author name */
.sb-item-author-name {
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #0d2341 !important;
  letter-spacing: 0.02em;
}

/* Stars — gold */
.sb-item-rating-icon svg {
  fill: #f5b400 !important;
  width: 16px !important;
  height: 16px !important;
}
.sb-item-rating {
  margin: 6px 0 14px !important;
}
.sb-item-rating-ctn {
  display: flex !important;
  gap: 3px !important;
}

/* Review text */
.sb-item-text {
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: #4a5568 !important;
  flex: 1 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 4 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* "Read more" link */
.sb-expand a,
.sb-expand-on-click {
  color: var(--e-global-color-primary, #0d2341) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

/* Nav arrows */
.sbr-owl-prev,
.sbr-owl-next {
  background: var(--e-global-color-primary, #0d2341) !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 38px !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.25s ease !important;
}
.sbr-owl-prev:hover,
.sbr-owl-next:hover {
  background: var(--e-global-color-accent, #1a73e8) !important;
}
.sbr-owl-prev svg,
.sbr-owl-next svg {
  width: 12px !important;
  height: 12px !important;
}

/* Services image box carousel — prev/next arrows */
.services-image-box-carousel .slick-arrow,
.services-image-box-carousel .slick-arrow.prev-arrow,
.services-image-box-carousel .slick-arrow.next-arrow {
  background-color: var(--e-global-color-accent) !important;
  color: var(--white-color) !important;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.services-image-box-carousel .slick-arrow svg {
  fill: currentColor !important;
}

.services-image-box-carousel .slick-arrow:hover,
.services-image-box-carousel .slick-arrow:focus,
.services-image-box-carousel .slick-arrow.next-arrow:hover,
.services-image-box-carousel .slick-arrow.next-arrow:focus {
  background-color: var(--white-color) !important;
  color: var(--e-global-color-accent) !important;
}

/* ─────────────────────────────────────────────────────────────────────────── */

/*********************************************************************************************************/


/* Reserve consistent height for title + description so images align across columns */
.service-3-imgbox .elementor-image-box-title {
  min-height: 2.6em; /* space for 2 lines */
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-3-imgbox .elementor-image-box-description {
  min-height: 4.8em; /* space for 3 lines */
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/************************************************************************************************/
/* MEGA MENU — SERVICES FLYOUT (Kitchen / Home / Bathroom Renovations) */

/* Desktop panel — position, size, colors, icon-box layout. Scoped to
   min-width:1025px to match MMM's own data-breakpoint="1024" so this
   never fights MMM's mobile/tablet rendering. */
@media only screen and (min-width: 1025px) {

  #mega-menu-item-206 {
    position: relative !important;
  }

  #mega-sub-menu-206 {
    background-color: #345a35 !important;
    width: 380px !important;
    padding: 28px 40px !important;
    box-sizing: border-box !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    /* height reset only safe on desktop — on mobile this fights MMM's
       own slide-open JS animation (see below) */
    height: auto !important;
    min-height: 0 !important;
  }

  #mega-menu-206-0,
  #mega-sub-menu-206 .mega-menu-row,
  #mega-menu-206-0 > ul.mega-sub-menu,
  #mega-menu-206-0-0,
  #mega-menu-206-0-0 > ul.mega-sub-menu {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }

  #mega-menu-206-0-0 {
    --columns: 1 !important;
    --span: 1 !important;
  }

  .mega-menu-item-text-3 .elementor-element-8b0064d {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .mega-menu-item-text-3 .elementor-widget-icon-box {
    width: 100% !important;
    text-align: left !important;
    margin: 0 0 22px 0 !important;
  }

  .mega-menu-item-text-3 .elementor-widget-icon-box:last-child {
    margin-bottom: 0 !important;
  }

  .mega-menu-item-text-3 .elementor-icon-box-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .mega-menu-item-text-3 .elementor-icon-box-icon {
    flex: 0 0 auto;
    margin: 0 !important;
  }

  .mega-menu-item-text-3 .elementor-icon-box-icon svg {
    width: 22px;
    height: 22px;
    color: var(--white-color, #ffffff) !important;
  }

  .mega-menu-item-text-3 .elementor-icon-box-content {
    flex: 1 1 auto;
  }

  .mega-menu-item-text-3 .elementor-icon-box-title,
  .mega-menu-item-text-3 .elementor-icon-box-title a {
    margin: 0;
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
    color: var(--white-color, #ffffff) !important;
  }

  .mega-menu-item-text-3 .elementor-icon-box-icon svg,
  .mega-menu-item-text-3 .elementor-icon-box-title,
  .mega-menu-item-text-3 .elementor-icon-box-title a {
    transition: color 0.25s ease;
  }

  .mega-menu-item-text-3 .elementor-widget-icon-box:hover .elementor-icon-box-icon svg,
  .mega-menu-item-text-3 .elementor-widget-icon-box:hover .elementor-icon-box-title,
  .mega-menu-item-text-3 .elementor-widget-icon-box:hover .elementor-icon-box-title a,
  .mega-menu-item-text-3 .elementor-widget-icon-box:focus-within .elementor-icon-box-icon svg,
  .mega-menu-item-text-3 .elementor-widget-icon-box:focus-within .elementor-icon-box-title,
  .mega-menu-item-text-3 .elementor-widget-icon-box:focus-within .elementor-icon-box-title a {
    color: #000000 !important;
  }

}

/* Kill reserved space from MMM's own permanently-hidden fallback row
   (#mega-menu-206-999) */
#mega-menu-206-999 {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Kill MMM's default drop-shadow/filter on this panel at all widths —
   was causing a shadow to flash at the top edge on open (tablet/mobile).
   NOT scoped to a media query on purpose. Do NOT add height/min-height
   overrides here — that blocks MMM's own slide-open JS animation on
   mobile (the "not smooth" open). Height is handled desktop-only above. */
#mega-sub-menu-206 {
  box-shadow: none !important;
  filter: none !important;
}

/* MMM's default "open" state darkens the bottom of the trigger link
   itself (box-shadow/gradient) once its panel is fully expanded —
   e.g. <a class="mega-menu-link" aria-expanded="true">. Kill it here,
   scoped to this one nav item only so no other menu links are affected. */
#mega-menu-item-206 > a.mega-menu-link,
#mega-menu-item-206 > a.mega-menu-link[aria-expanded="true"],
#mega-menu-item-206.mega-menu-open > a.mega-menu-link,
#mega-menu-item-206.mega-toggle-on > a.mega-menu-link {
  box-shadow: none !important;
  background-image: none !important;
  filter: none !important;
}

/* Icon + title inline row, no wrap — tablet and mobile
   (mirrors the desktop layout, sized down for narrower widths) */
@media only screen and (max-width: 1024px) {

  .mega-menu-item-text-3 .elementor-icon-box-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: left !important;
  }

  .mega-menu-item-text-3 .elementor-icon-box-icon {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .mega-menu-item-text-3 .elementor-icon-box-icon svg {
    width: 24px !important;
    height: 24px !important;
  }

  .mega-menu-item-text-3 .elementor-icon-box-content {
    flex: 1 1 auto !important;
  }

  .mega-menu-item-text-3 .elementor-icon-box-title,
  .mega-menu-item-text-3 .elementor-icon-box-title a {
    font-size: 15px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    text-align: left !important;
  }

  .mega-menu-item-text-3 .elementor-widget-icon-box {
    margin-bottom: 20px !important;
  }

  .mega-menu-item-text-3 .elementor-widget-icon-box:last-child {
    margin-bottom: 0 !important;
  }

  /* Top spacing above first item — still collapsing per handoff notes, needs DevTools check */
  .mega-menu-item-text-3 .elementor-widget-icon-box:first-child {
    margin-top: 20px !important;
  }

}

/* .hide-item utility — hidden desktop/tablet, shown mobile only.
   Targets MMM's mega-hide-item fallback row class combo, reusable elsewhere. */
li.hide-item {
  display: none !important;
}

@media only screen and (max-width: 767px) {
  li.hide-item {
    display: block !important;
  }
}

/************************************************************************************************/


/************************************************************************************************/
/* Gravity Form - Field 7 Checkbox Columns */
/************************************************************************************************/

#input_1_7.gfield_checkbox {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px 20px;
}

/**/ /* Align checkbox with label text */
#input_1_7 .gchoice {
	display: flex;
	align-items: center;
}

#input_1_7 .gfield-choice-input {
	margin-top: 0;
	flex-shrink: 0;
}

/**/ /* Tablet - 2 columns */
@media (max-width: 1024px) {
	#input_1_7.gfield_checkbox {
		grid-template-columns: repeat(2, 1fr);
	}
}

/**/ /* Mobile - 1 column */
@media (max-width: 767px) {
	#input_1_7.gfield_checkbox {
		grid-template-columns: 1fr;
	}
}

/************************************************************************************************/
/* MOBILE MENU CLONE — mirror menu-1 (Services item 206) styling onto the second
   Max Mega Menu location max_mega_menu_1 (Services item 1246, text item text-4,
   child-links row 1246-1). Auto-generated to match the original header menu. */

.header-menu
  #mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1
  li.mega-menu-item.mobile-menu {
  display: none !important;
}

#mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  box-shadow: 0px 0px 10px 2px
    rgb(from var(--e-global-color-primary) r g b / 10%) !important;
}

#mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu
  > li.mega-menu-item {
  flex: 1;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background-color 0.3s ease;
  overflow: hidden;
}

#mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu
  > li.mega-menu-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--e-global-color-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

#mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu
  > li.mega-menu-item:hover {
  background-color: rgb(
    from var(--e-global-color-accent) r g b / 6%
  ) !important;
}

#mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu
  > li.mega-menu-item:hover::after {
  transform: scaleX(1);
}

#mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu
  > li.mega-menu-item
  > a.mega-menu-link {
  font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
  font-size: var(--e-global-typography-secondary-font-size) !important;
  font-weight: var(--e-global-typography-secondary-font-weight) !important;
  text-transform: var(--e-global-typography-secondary-text-transform);
  font-style: var(--e-global-typography-secondary-font-style);
  line-height: var(--e-global-typography-secondary-line-height);
  width: 100%;
  padding: 20px 20px;
  background: transparent !important;
  color: var(--e-global-color-primary) !important;
  text-align: center;
  transition: color 0.3s ease !important;
}

#mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu
  > li.mega-menu-item.mega-current_page_item
  > a.mega-menu-link, #mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu
  > li.mega-menu-item
  > a.mega-menu-link:hover, #mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu
  > li.mega-menu-item
  > a.mega-menu-link:focus {
  color: var(--e-global-color-accent) !important;
}

#mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu
  > li.mega-menu-item.mega-menu-item-has-children
  > a.mega-menu-link
  > .mega-indicator {
  display: none;
}

#mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1
  > li.mega-menu-tabbed
  > ul.mega-sub-menu
  > li.mega-menu-item
  > ul.mega-sub-menu {
  display: none !important;
}

#mega-menu-1246-1 {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

#mega-sub-menu-1246 {
  box-shadow: none !important;
  filter: none !important;
}

#mega-menu-item-1246 > a.mega-menu-link, #mega-menu-item-1246 > a.mega-menu-link[aria-expanded="true"], #mega-menu-item-1246.mega-menu-open > a.mega-menu-link, #mega-menu-item-1246.mega-toggle-on > a.mega-menu-link {
  box-shadow: none !important;
  background-image: none !important;
  filter: none !important;
}

@media only screen and (max-width: 1024px) {
  .header-menu
      #mega-menu-wrap-max_mega_menu_1
      #mega-menu-max_mega_menu_1
      li.mega-menu-item.mobile-menu {
      display: block !important;
    }

  .header-menu #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle {
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 32px;
    }

  #mega-menu-wrap-max_mega_menu_1
      #mega-menu-max_mega_menu_1
      > li.mega-menu-megamenu
      > ul.mega-sub-menu {
      padding: 0 !important;
    }

  .header-menu
      #mega-menu-wrap-max_mega_menu_1
      #mega-menu-max_mega_menu_1
      > li.mega-menu-item
      > a.mega-menu-link {
      display: flex;
      padding: 0 20px;
      transition: all 0.3s ease-in-out;
    }

  .header-menu
      #mega-menu-wrap-max_mega_menu_1
      #mega-menu-max_mega_menu_1
      > li.mega-menu-item
      > ul
      li
      a.mega-menu-link {
      padding: 0 30px !important;
    }

  #mega-menu-wrap-max_mega_menu_1
      #mega-menu-max_mega_menu_1
      > li.mega-menu-tabbed
      > ul.mega-sub-menu {
      box-shadow: none !important;
    }

  #mega-menu-wrap-max_mega_menu_1
      #mega-menu-max_mega_menu_1
      > li.mega-menu-tabbed
      > ul.mega-sub-menu
      > li.mega-menu-item.mega-menu-item-has-children
      > a.mega-menu-link
      > .mega-indicator {
      display: block;
    }

  #mega-menu-wrap-max_mega_menu_1
      #mega-menu-max_mega_menu_1
      > li.mega-menu-tabbed
      > ul.mega-sub-menu {
      flex-direction: column !important;
      flex-wrap: nowrap !important;
      background-image: none;
      background-size: 0;
      min-height: auto !important;
    }

  #mega-menu-wrap-max_mega_menu_1
      #mega-menu-max_mega_menu_1
      > li.mega-menu-tabbed
      > ul.mega-sub-menu
      > li.mega-menu-item {
      width: 100%;
      flex-direction: column;
      justify-content: center;
      min-height: 60px;
      padding: 0 !important;
    }

  #mega-menu-wrap-max_mega_menu_1
      #mega-menu-max_mega_menu_1
      > li.mega-menu-tabbed
      > ul.mega-sub-menu
      > li.mega-menu-item
      > a.mega-menu-link {
      font-size: 16px !important;
      padding: 20px 30px 20px 60px !important;
    }

  #mega-menu-wrap-max_mega_menu_1
      #mega-menu-max_mega_menu_1
      > li.mega-menu-tabbed
      > ul.mega-sub-menu
      > li.mega-menu-item
      > ul.mega-sub-menu {
      width: 100%;
      float: left;
      left: 0;
    }

  .mega-menu-item-text-4 .elementor-icon-box-wrapper {
      display: flex !important;
      flex-direction: row !important;
      align-items: center !important;
      gap: 12px !important;
      text-align: left !important;
    }

  .mega-menu-item-text-4 .elementor-icon-box-icon {
      flex: 0 0 auto !important;
      margin: 0 !important;
    }

  .mega-menu-item-text-4 .elementor-icon-box-icon svg {
      width: 24px !important;
      height: 24px !important;
    }

  .mega-menu-item-text-4 .elementor-icon-box-content {
      flex: 1 1 auto !important;
    }

  .mega-menu-item-text-4 .elementor-icon-box-title, .mega-menu-item-text-4 .elementor-icon-box-title a {
      font-size: 15px !important;
      line-height: 1.3 !important;
      white-space: nowrap !important;
      text-align: left !important;
    }

  .mega-menu-item-text-4 .elementor-widget-icon-box {
      margin-bottom: 20px !important;
    }

  .mega-menu-item-text-4 .elementor-widget-icon-box:last-child {
      margin-bottom: 0 !important;
    }

  .mega-menu-item-text-4 .elementor-widget-icon-box:first-child {
      margin-top: 20px !important;
    }

}

@media only screen and (max-width: 767px) {
  #mega-menu-wrap-max_mega_menu_1
      #mega-menu-max_mega_menu_1
      > li.mega-menu-tabbed
      > ul.mega-sub-menu
      > li.mega-menu-item {
      min-height: auto;
    }

  #mega-menu-wrap-max_mega_menu_1
      #mega-menu-max_mega_menu_1
      > li.mega-menu-tabbed
      > ul.mega-sub-menu
      > li.mega-menu-item
      > ul.mega-sub-menu
      > li {
      /* Hug the content: reduced top space, no forced slack */
      min-height: 0;
      padding: 12px 24px 24px !important;
    }

  #mega-menu-wrap-max_mega_menu_1
      #mega-menu-max_mega_menu_1
      > li.mega-menu-tabbed
      > ul.mega-sub-menu
      > li.mega-menu-item
      > a.mega-menu-link {
      padding: 20px 20px 20px 50px !important;
      font-size: 16px !important;
    }

  #mega-menu-wrap-max_mega_menu_1
      #mega-menu-max_mega_menu_1
      > li.mega-menu-tabbed
      > ul.mega-sub-menu
      > li.mega-menu-item
      > a.mega-menu-link:before {
      left: 15px;
    }

}

@media only screen and (min-width: 1025px) {
  #mega-menu-item-1246 {
      position: relative !important;
    }

  #mega-sub-menu-1246 {
      background-color: #345a35 !important;
      width: 380px !important;
      padding: 28px 40px !important;
      box-sizing: border-box !important;
      position: absolute !important;
      top: 100% !important;
      left: 0 !important;
      right: auto !important;
      transform: none !important;
      /* height reset only safe on desktop — on mobile this fights MMM's
         own slide-open JS animation (see below) */
      height: auto !important;
      min-height: 0 !important;
    }

  #mega-menu-1246-0, #mega-sub-menu-1246 .mega-menu-row, #mega-menu-1246-0 > ul.mega-sub-menu, #mega-menu-1246-0-0, #mega-menu-1246-0-0 > ul.mega-sub-menu {
      width: 100% !important;
      max-width: none !important;
      margin: 0 !important;
      padding: 0 !important;
      float: none !important;
    }

  #mega-menu-1246-0-0 {
      --columns: 1 !important;
      --span: 1 !important;
    }

  .mega-menu-item-text-4 .elementor-element-8b0064d {
      align-items: flex-start !important;
      justify-content: flex-start !important;
      width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
    }

  .mega-menu-item-text-4 .elementor-widget-icon-box {
      width: 100% !important;
      text-align: left !important;
      margin: 0 0 22px 0 !important;
    }

  .mega-menu-item-text-4 .elementor-widget-icon-box:last-child {
      margin-bottom: 0 !important;
    }

  .mega-menu-item-text-4 .elementor-icon-box-wrapper {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 14px;
    }

  .mega-menu-item-text-4 .elementor-icon-box-icon {
      flex: 0 0 auto;
      margin: 0 !important;
    }

  .mega-menu-item-text-4 .elementor-icon-box-icon svg {
      width: 22px;
      height: 22px;
      color: var(--white-color, #ffffff) !important;
    }

  .mega-menu-item-text-4 .elementor-icon-box-content {
      flex: 1 1 auto;
    }

  .mega-menu-item-text-4 .elementor-icon-box-title, .mega-menu-item-text-4 .elementor-icon-box-title a {
      margin: 0;
      font-size: 13px;
      line-height: 1.3;
      white-space: nowrap;
      color: var(--white-color, #ffffff) !important;
    }

  .mega-menu-item-text-4 .elementor-icon-box-icon svg, .mega-menu-item-text-4 .elementor-icon-box-title, .mega-menu-item-text-4 .elementor-icon-box-title a {
      transition: color 0.25s ease;
    }

  .mega-menu-item-text-4 .elementor-widget-icon-box:hover .elementor-icon-box-icon svg, .mega-menu-item-text-4 .elementor-widget-icon-box:hover .elementor-icon-box-title, .mega-menu-item-text-4 .elementor-widget-icon-box:hover .elementor-icon-box-title a, .mega-menu-item-text-4 .elementor-widget-icon-box:focus-within .elementor-icon-box-icon svg, .mega-menu-item-text-4 .elementor-widget-icon-box:focus-within .elementor-icon-box-title, .mega-menu-item-text-4 .elementor-widget-icon-box:focus-within .elementor-icon-box-title a {
      color: #000000 !important;
    }

}

/************************************************************************************************/
/* Mega Menu - Services Dropdown (Mobile & Tablet nesting) */
@media only screen and (max-width: 1024px) {

  /* Indent items so they read as nested under "Services"; even vertical gap */
  .elementor-element-8b0064d {
    gap: 24px !important;
    padding-left: 28px !important;
    /* Kill the -4px top margin and top padding above the first service */
    --margin-top: 0px;
    --padding-top: 0px;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .elementor-element-8b0064d .elementor-widget-icon-box {
    margin: 0 !important;
  }

  /* Vertically centre the label with its icon */
  .elementor-element-8b0064d .elementor-icon-box-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
  }

  .elementor-element-8b0064d .elementor-icon-box-icon {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .elementor-element-8b0064d .elementor-icon-box-content {
    flex: 1 1 auto !important;
  }

  .elementor-element-8b0064d .elementor-icon-box-title,
  .elementor-element-8b0064d .elementor-icon-box-title a {
    margin: 0 !important;
    line-height: 1.3 !important;
  }

  /* Icon matches the text colour when tapped/pressed (was staying grey) */
  .elementor-element-8b0064d .elementor-widget-icon-box:hover .elementor-icon-box-icon svg,
  .elementor-element-8b0064d .elementor-widget-icon-box:active .elementor-icon-box-icon svg,
  .elementor-element-8b0064d .elementor-widget-icon-box:focus-within .elementor-icon-box-icon svg,
  .elementor-element-8b0064d .elementor-icon-box-icon a:active svg,
  .elementor-element-8b0064d .elementor-icon-box-icon a:focus svg {
    color: #000000 !important;
    fill: #000000 !important;
  }
}

/************************************************************************************************/
/* Mega Menu - Tablet dropdown offset (aligns panel below the taller tablet header) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .header-menu #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 {
    /* tablet header is taller than mobile; nudge the open panel below it.
       Tune this value if the panel sits too high or too low. */
    margin-top: 27px !important;
  }
}
