.elementor-kit-5{--e-global-color-primary:#023365;--e-global-color-secondary:#023365;--e-global-color-text:#242424;--e-global-color-accent:#79BD24;--e-global-color-8c4f56d:#F0EFF4;--e-global-color-873df20:#D7E8EA;--e-global-typography-primary-font-family:"Alumni Sans";--e-global-typography-primary-font-weight:700;--e-global-typography-primary-text-transform:uppercase;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Outfit";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;color:var( --e-global-color-text );font-family:"Outfit", Sans-serif;}.elementor-kit-5 e-page-transition{background-color:#FFBC7D;}.elementor-kit-5 a{color:var( --e-global-color-accent );}.elementor-kit-5 h1{font-family:"Alumni Sans", Sans-serif;font-weight:700;text-transform:uppercase;}.elementor-kit-5 h2{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );text-transform:var( --e-global-typography-primary-text-transform );}.elementor-kit-5 h3{font-family:"Alumni Sans", Sans-serif;font-size:2em;}.elementor-kit-5 h4{font-family:"Alumni Sans", Sans-serif;font-size:24px;font-weight:700;text-transform:uppercase;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-5 h1{font-size:4em;}.elementor-kit-5 h3{font-size:1.5em;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* ===================================================================
   .grid-lines-5
   Add this CSS class to any Elementor Section (Advanced tab > CSS
   Classes). Paste this whole block once into:
     - Elementor: Site Settings > Custom CSS (Pro), OR
     - WordPress: Appearance > Customize > Additional CSS (free, built
       into WP core, works regardless of Elementor version)

   It draws 5 evenly-spaced 1px vertical lines across the section,
   layered above the background image/video/overlay but below all
   widgets and content inside the section.
=================================================================== */

/* ===================================================================
   .grid-lines-5
   Add this CSS class to any Elementor Section or Container (Advanced
   tab > CSS Classes). Paste this whole block once into:
     - Elementor: Site Settings > Custom CSS (Pro), OR
     - WordPress: Appearance > Customize > Additional CSS (free, built
       into WP core, works regardless of Elementor version)

   It draws 5 evenly-spaced 1px vertical lines across the section,
   layered above the background image/video/overlay but below all
   widgets and content inside the section.

   NOTE: this uses ::after rather than ::before. Elementor's newer
   "Container" (Flexbox) elements often build their own background
   overlay using that same element's ::before pseudo-element — using
   ::before here too would silently overwrite it, which is why the
   first version only showed the overlay with no lines.
=================================================================== */

/* ===================================================================
   .grid-lines-5
   Add this CSS class to any Elementor Section or Container (Advanced
   tab > CSS Classes). Paste this whole block once into:
     - Elementor: Site Settings > Custom CSS (Pro), OR
     - WordPress: Appearance > Customize > Additional CSS (free, built
       into WP core, works regardless of Elementor version)

   Layer order (bottom to top):
     1. background image / video
     2. background overlay colour (Elementor's own setting)
     3. the 5 grid lines (this class)
     4. your actual content/widgets

   NOTE: this uses ::after rather than ::before, since Elementor's
   Container elements often build their own overlay using that same
   element's ::before pseudo. !important is used throughout because
   Elementor's own generated CSS for the overlay can otherwise win on
   specificity and sit on top of ours.
=================================================================== */

/* ===================================================================
   .grid-lines-5
   Add this CSS class to any Elementor Section or Container (Advanced
   tab > CSS Classes). Paste this whole block once into:
     - Elementor: Site Settings > Custom CSS (Pro), OR
     - WordPress: Appearance > Customize > Additional CSS (free, built
       into WP core, works regardless of Elementor version)

   Layer order (bottom to top):
     1. background image / video
     2. background overlay colour (Elementor's own setting)
     3. the 5 grid lines (this class)
     4. your actual content/widgets

   NOTE: this uses ::after rather than ::before, since Elementor's
   Container elements often build their own overlay using that same
   element's ::before pseudo. Rather than targeting Elementor's content
   wrapper by name (which differs between classic Sections and the
   newer Flexbox/Grid Containers), this promotes every direct child
   EXCEPT the known background layers — so it works regardless of
   which structure your section uses.
=================================================================== */

.grid-lines-5 {
  position: relative !important;
}

/* Background overlay / video sit at the very bottom */
.grid-lines-5 > .elementor-background-overlay,
.grid-lines-5 > .elementor-background-video-container,
.grid-lines-5 > .elementor-motion-effects-container {
  z-index: 1 !important;
}

/* The 5 grid lines — sits above the overlay colour, below your content */
.grid-lines-5::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;

  background-image:
    linear-gradient(to right, transparent calc(16.666% - 1px), rgba(255, 255, 255, 0.18) calc(16.666% - 1px), rgba(255, 255, 255, 0.18) 16.666%, transparent 16.666%),
    linear-gradient(to right, transparent calc(33.333% - 1px), rgba(255, 255, 255, 0.18) calc(33.333% - 1px), rgba(255, 255, 255, 0.18) 33.333%, transparent 33.333%),
    linear-gradient(to right, transparent calc(50% - 1px), rgba(255, 255, 255, 0.18) calc(50% - 1px), rgba(255, 255, 255, 0.18) 50%, transparent 50%),
    linear-gradient(to right, transparent calc(66.666% - 1px), rgba(255, 255, 255, 0.18) calc(66.666% - 1px), rgba(255, 255, 255, 0.18) 66.666%, transparent 66.666%),
    linear-gradient(to right, transparent calc(83.333% - 1px), rgba(255, 255, 255, 0.18) calc(83.333% - 1px), rgba(255, 255, 255, 0.18) 83.333%, transparent 83.333%) !important;
  background-color: transparent !important;
}

/* Every real content child (widgets, columns, inner containers — whatever
   Elementor happens to call them) sits above the grid lines. Excludes only
   the known background-layer elements above. */
.grid-lines-5 > *:not(.elementor-background-overlay):not(.elementor-background-video-container):not(.elementor-motion-effects-container) {
  position: relative !important;
  z-index: 3 !important;
}



/* ===================================================
   PHILOSOPHY SCROLL SECTION — structural CSS
   Paste into Site Settings > Custom CSS
   (or the phil-section Container's own Advanced > Custom CSS panel)
   =================================================== */

.phil-section { position: relative; }

.phil-grid { display: grid; }

/* invisible scroll track - defines how much scroll distance each point gets */
.phil-track {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  display: flex;
  flex-direction: column;
}
.phil-marker {
  height: 100vh; /* increase for a slower/longer scroll per point */
}

/* pinned content that stays fixed in view while the track scrolls beneath it */
.phil-pinned {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.phil-col { width: 50%; height: 100%; }

.phil-left { box-sizing: border-box; }

.phil-points {
  position: relative;
  min-height: 220px; /* room for the longest point so nothing clips */
}

.phil-point {
  position: absolute !important; /* !important guards against Elementor's own container positioning */
  top: 0;
  left: 0;
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important; /* stops Elementor's own flex-basis sizing shrinking the card */
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.phil-point.active {
  opacity: 1;
  pointer-events: auto;
}

.phil-right { position: relative; }

.phil-button {
  position: absolute !important;
  right: 30px;
  bottom: 30px;
  z-index: 5;
}
.phil-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.phil-image.active { opacity: 1; }

/* ---- mobile fallback: drop the pin effect, show a normal stacked list ---- */
@media (max-width: 767px) {
  .phil-track { display: none; }
  .phil-pinned {
    position: static;
    height: auto;
    flex-direction: column;
  }
  .phil-col { width: 100%; height: auto; }
  .phil-points { position: static; min-height: 0; }
  .phil-point {
    position: static !important;
    opacity: 1;
    margin-bottom: 2rem;
  }
  .phil-right { height: 60vh; }
  .phil-image { position: static; opacity: 1; height: 60vh; margin-bottom: 1rem; }
  .phil-image:not(:first-child) { display: none; }
}



/* ===================================================================
   MASTER STYLESHEET — Epoxy Flooring Perth site
   Paste this ENTIRE file, once, into:
     WordPress > Appearance > Customize > Additional CSS
   (or Elementor > Site Settings > Custom CSS if on Elementor Pro)

   Do NOT paste any <style> blocks into HTML widgets anymore — this is
   the only place the CSS should live. The HTML widgets should now
   contain ONLY the markup (divs/spans/svgs), nothing else.
=================================================================== */


/* ------------------------------------------------------------------
   BUILT FOR WORK animated heading
------------------------------------------------------------------ */
  /* Everything below is scoped under .bfw-heading — it will not affect
     anything else on the page. */

  .bfw-heading {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 4em;
    /* font-family/weight/color still inherit from your theme's H2 styling */
    margin: 0;
  }

  .bfw-heading .bfw-space {
    display: inline-block;
    width: 0.28em;
  }

  /* Each letter of "BUILT FOR" fades + lifts in */
  .bfw-heading .bfw-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.25em);
    animation: bfw-fade-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--i) * 0.045s);
  }

  @keyframes bfw-fade-in {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* The WORK block: green panel wipes in, then the word fades up inside it */
  .bfw-heading .bfw-work {
    position: relative;
    display: inline-block;
    overflow: hidden;
    margin-left: 0.22em;
    padding: 0.06em 0.22em 0.1em;
    /* square corners, no border-radius */
  }

  .bfw-heading .bfw-work::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #79bd24;
    transform: scaleX(0);
    transform-origin: left center;
    animation: bfw-reveal 0.55s cubic-bezier(0.65, 0, 0.35, 1) forwards;
    /* starts once the 9 letters of BUILT FOR have finished fading in */
    animation-delay: 0.65s;
  }

  .bfw-heading .bfw-work span {
    position: relative;
    display: inline-block;
    color: #0f1210;
    opacity: 0;
    transform: translateY(0.15em);
    animation: bfw-fade-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1.05s;
  }

  @keyframes bfw-reveal {
    to { transform: scaleX(1); }
  }

  @media (prefers-reduced-motion: reduce) {
    .bfw-heading .bfw-letter,
    .bfw-heading .bfw-work::before,
    .bfw-heading .bfw-work span {
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
    }
  }


/* ------------------------------------------------------------------
   Google review badge
------------------------------------------------------------------ */
  .grev-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    padding: 0.5em 1em;
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 999px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  }

  .grev-badge .grev-logo {
    width: 1.4em;
    height: 1.4em;
    flex-shrink: 0;
  }

  .grev-badge .grev-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }

  .grev-badge .grev-stars {
    display: flex;
    gap: 0.08em;
  }

  .grev-badge .grev-stars svg {
    width: 0.85em;
    height: 0.85em;
  }

  .grev-badge .grev-count {
    color: #ffffff;
    font-size: 0.8em;
    font-weight: 600;
    white-space: nowrap;
    margin-top: 0.15em;
  }


/* ------------------------------------------------------------------
   Client logo marquee grid
------------------------------------------------------------------ */
  .logo-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
    /* fades the logos out at each edge instead of a hard cut */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  }

  .logo-marquee__track {
    display: flex;
    align-items: stretch;
    width: max-content;
    animation: logo-marquee-scroll 30s linear infinite;
  }

  .logo-marquee:hover .logo-marquee__track {
    animation-play-state: paused;
  }

  .logo-marquee__cell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 190px;
    height: 130px;
    border-right: 1px solid #e3e3e3;
    padding: 1.5em;
  }

  /* small accent tick at the top of each divider */
  .logo-marquee__cell::before {
    content: "";
    position: absolute;
    top: -1px;
    right: -1px;
    width: 1px;
    height: 14px;
    background: #cfcfcf;
  }

  .logo-marquee__cell img {
    max-width: 100%;
    max-height: 3em;
    width: auto;
    height: auto;
    object-fit: contain;
    /* desaturate and render as solid black */
    filter: grayscale(100%) brightness(0);
    opacity: 0.85;
    transition: opacity 0.25s ease;
  }

  .logo-marquee__cell img:hover {
    opacity: 1;
  }

  @keyframes logo-marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  @media (prefers-reduced-motion: reduce) {
    .logo-marquee__track {
      animation: none;
    }
    .logo-marquee {
      overflow-x: auto;
    }
  }


/* ------------------------------------------------------------------
   Hover carousel tile
------------------------------------------------------------------ */
  /* One tile = one carousel slide. See hover-carousel-tile-markup-only.html
     for the markup to duplicate per slide. */
  .hover-tile {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 320px;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
  }
  /* Bottom gradient over the image, default state */
  .hover-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 55%);
    transition: opacity 0.35s ease;
    z-index: 1;
  }
  /* Title, sits above the gradient */
  .hover-tile__title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    margin: 0;
    padding: 1.25em 1.4em;
    color: #ffffff;
    font-size: 1.4em;
    font-weight: 700;
    line-height: 1.2;
    transition: opacity 0.3s ease;
  }
  /* Solid navy hover layer */
  .hover-tile__overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: #023365;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.4em;
    transition: opacity 0.35s ease;
    pointer-events: none;
  }
  /* Small green slash icon, top left of the flip side */
  .hover-tile__icon {
    display: block;
    width: 25px;
    height: auto;
    margin-bottom: 0.8em;
    flex-shrink: 0;
  }
  .hover-tile__icon svg {
    display: block;
    width: 100%;
    height: auto;
    fill: #79bd24;
  }
  .hover-tile__overlay-text {
    color: #ffffff;
    font-size: 0.95em;
    line-height: 1.5;
    max-width: 90%;
  }
  .hover-tile__arrow {
    align-self: flex-end;
    width: 2.4em;
    height: 2.4em;
    border-radius: 50%;
    border: 1px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .hover-tile__arrow svg {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
  }
  /* Hover state */
  .hover-tile:hover::before {
    opacity: 0;
  }
  .hover-tile:hover .hover-tile__title {
    opacity: 0;
  }
  .hover-tile:hover .hover-tile__overlay {
    opacity: 1;
    pointer-events: auto;
  }
  @media (prefers-reduced-motion: reduce) {
    .hover-tile::before,
    .hover-tile__title,
    .hover-tile__overlay {
      transition: none;
    }
  }


/* ------------------------------------------------------------------
   Image gallery marquee
------------------------------------------------------------------ */
.img-hmarquee-wrap {
  --img-size: 300px;   /* size of each square image */
  --img-gap: 15px;     /* gap between images */
  --speed: 30s;        /* time for one full loop - higher = slower */
  width: 100%;
  height: var(--img-size);
  overflow: hidden;
  position: relative;
}
.img-hmarquee-track {
  display: flex;
  align-items: center;
  gap: var(--img-gap);
  width: max-content;
  animation: img-hmarquee-scroll var(--speed) linear infinite;
}
.img-hmarquee-track img {
  width: var(--img-size);
  height: var(--img-size);
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border-radius: 5px;
}
@keyframes img-hmarquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - (var(--img-gap) / 2))); } /* exactly one full set, since the list is duplicated below */
}
/* pause on hover - remove this block if you don't want that */
.img-hmarquee-wrap:hover .img-hmarquee-track {
  animation-play-state: paused;
}/* End custom CSS */