/*
Theme Name:   Astra Child
Theme URI:    https://wpastra.com/
Description:  Astra Child Theme
Author:       Xylene Dae Dimaano
Author URI:
Template:     astra
Version:      1.0.1
Text Domain:  astra-child
*/

:root {
  --color-white: #FFFFFF;
  --color-bg: #EEEEEE;
  --color-gray-300: #C7CCD6;
  --color-gray-500: #8F8A8A;
  --color-primary-blue: #0E5E96;
  --color-primary-blue-dark: #0E5C8E;
  --color-primary-blue-darker: #066198;
  --color-secondary-blue: #064675;
  --color-yellow: #FDDF6F;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-gray-500);
}

html, body {
  max-width: 100%;
  overflow-x: clip;
}

.layout-container {
  width: 100%;
  box-sizing: border-box;
  padding-left: 1.5em;
  padding-right: 1.5em;
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .layout-container {
    flex-direction: row;
    gap: 1.5em;
    padding-left: 2.5em;
    padding-right: 2.5em;
  }
}

@media (min-width: 1280px) {
  .layout-container {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 3.75em;
    padding-right: 3.75em;
    gap: 1.5em;
  }
}

.elementor-element.btn-icon .elementor-button,
.elementor-element.btn-icon-blue .elementor-button {
  position: relative;
  padding-right: 3.125em !important;
  box-sizing: border-box;
  border-radius: 1.5625em;
}

.elementor-element.btn-icon .elementor-button::after,
.elementor-element.btn-icon-blue .elementor-button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.625em;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
}

.elementor-element.btn-icon .elementor-button:hover::after,
.elementor-element.btn-icon-blue .elementor-button:hover::after {
  transform: translateY(-50%) scale(1.06);
  transition: 0.2s ease;
}

.elementor-element.btn-icon .elementor-button::after {
  background-color: #EDE6E8;
  background-image: url("https://staging.equitytech.com.au/wp-content/uploads/2025/12/arrow-up.png");
}

.elementor-element.btn-icon-blue .elementor-button::after {
  background-color: #0E5E96;
  background-image: url("https://staging.equitytech.com.au/wp-content/uploads/2025/12/arrow-up-blue.png");
}

.embed-map-responsive {
  position: relative;
  text-align: start;
  width: 100%;
  height: 0;
  padding-bottom: 66.6666666667%;
  border-radius: 1.5625em;
  overflow: hidden;
}

.embed-map-container {
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 1.5625em;
}

.embed-map-frame {
  width: 95% !important;
  height: 95% !important;
  border: 0;
  border-radius: 1.5625em;
}

.elementor-element.counter-gradient .elementor-counter-number,
.elementor-element.counter-gradient .elementor-counter-number-prefix,
.elementor-element.counter-gradient .elementor-counter-number-suffix {
  background: linear-gradient(180deg, #0E5E96 0%, #0A4268 50%, #07324C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ================================
   ECO Tabs — Mobile First (Wrap)
   ================================ */

.eco-tabs-wrapper{
  display:flex;
  justify-content:center;
  width:100%;
  max-width:1920px;
  margin:0 auto;
  padding:0 1rem;
}

/* MOBILE DEFAULT — wrapped buttons */
.eco-tabs{
  display:flex;
  flex-wrap:wrap;                 /* ✅ wrap instead of scroll */
  justify-content:center;
  align-items:center;

  background:#0E5E96;
  padding:0.5rem;
  border-radius:1.75rem;
  gap:0.5rem;

  width:100%;
  max-width:100%;
}

/* Individual tab */
.eco-tab{
  border:none;
  padding:0.65em 1.1em;
  border-radius:999px;
  background:transparent;
  color:#ffffff;
  font-weight:600;
  cursor:pointer;
  transition:0.2s ease;

  white-space:nowrap;
  text-align:center;
}

/* Active */
.eco-tab.is-active{
  background:#ffffff;
  color:#0E5E96;
}

/* Hover */
.eco-tab:hover{
  opacity:0.9;
}

/* Panels */
.eco-tab-panel{
  display:none;
  margin-top:1.5em;
  animation:fadeIn .25s ease;
}

.eco-tab-panel.is-active{
  display:block;
}

@keyframes fadeIn{
  from{opacity:0; transform:translateY(0.25em);}
  to{opacity:1; transform:translateY(0);}
}

/* ================================
   TABLET — more breathing room
   ================================ */
@media (min-width: 768px){
  .eco-tabs-wrapper{
    padding:0 2.5rem;
  }

  .eco-tab{
    padding:0.75em 1.75em;
  }
}

/* ================================
   DESKTOP — single row pills
   ================================ */
@media (min-width: 1024px){
  .eco-tabs{
    flex-wrap:nowrap;              /* ✅ back to one row */
    width:auto;
    padding:0.35em;
  }

  .eco-tab{
    padding:0.75em 2.25em;
  }

  .eco-tabs-wrapper{
    padding:0 3.75rem;
  }
}

/* ================================
   MOBILE ONLY — buttons only (no bg)
   ================================ */
@media (max-width: 767px){
  .eco-tabs{
    background: none;          /* ❌ remove blue bg */
    padding: 0;                /* ❌ remove container padding */
    border-radius: 0;
    gap: 0.6rem;
  }

  .eco-tab{
    background: #ffffff;       /* standalone pill */
    color: #0E5E96;
    border: 2px solid #0E5E96;
    padding: 0.7em 1.25em;
  }

  .eco-tab.is-active{
    background: #0E5E96;
    color: #ffffff;
  }
}



.eco-feature-slider{
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 1em;
}

.eco-feature-progress{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  margin-bottom: 1.5em;
}

.eco-progress-segment{
  height: 4px;
  background: #D9D9D9;
  border-radius: 0.125em;
  transition: background 0.3s ease;
}

.eco-progress-segment.is-active{
  background: #0E5E96;
}

.eco-feature-items{
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.eco-feature-item{
  width: 100%;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.3s ease;
}

.eco-feature-item.is-active{
  opacity: 1;
}

.eco-feature-item-inner{
  display: flex;
  flex-direction: column;
  gap: 0.75em;
}

.eco-feature-header{
  display: flex;
  align-items: center;
  gap: 0.75em;
}

.eco-feature-icon img{
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.eco-feature-heading{
  font-size: 1.125em;
  font-weight: 700;
  color: #505259;
  margin: 0;
  line-height: 1.2;
}

.eco-feature-desc{
  font-size: 1em;
  color: #505259;
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 768px){
  .eco-feature-progress{
    gap: 2em;
    margin-bottom: 2em;
  }

  .eco-feature-heading{
    font-size: 1.25em;
  }

  .eco-feature-desc{
    font-size: 1.0625em;
  }
}

@media (min-width: 1024px){
  .eco-feature-items{
    flex-direction: row;
    justify-content: space-between;
    gap: 3.75em;
  }

  .eco-feature-item{
    width: 33.333%;
  }

  .eco-feature-heading{
    font-size: 1.5em;
  }

  .eco-feature-desc{
    font-size: 1.125em;
  }
}

.eco-adv{
  border-bottom: 1px solid #C7CCD6;
  padding: 1em 0;
}

.eco-adv__row{
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

.eco-adv__left{
  display: flex !important;
  align-items: center;
  gap: 0.75em;
  min-width: 0;
}

.eco-adv__icon{
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.eco-adv__icon-img{
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.eco-adv__title{
  margin: 0 !important;
  color: #505259 !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.eco-adv__chev{
  all: unset;
  cursor: pointer;
  width: 24px;
  height: 24px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

.eco-adv__chev:hover,
.eco-adv__chev:focus,
.eco-adv__chev:active{
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

.eco-adv__chev img{
  position: absolute;
  width: 16px;
  height: 16px;
  display: block;
  transition: none !important;
}

.eco-adv__chev-down{ opacity: 1; }
.eco-adv__chev-up{ opacity: 0; }
.eco-adv.is-open .eco-adv__chev-down{ opacity: 0; }
.eco-adv.is-open .eco-adv__chev-up{ opacity: 1; }

.eco-adv__panel{
  display: none;
  margin-top: 0.5em;
  margin-left: 0;
  font-size: 1em;
  line-height: 1.6;
  color: #6a6a6a;
  opacity: 0.85;
}

.eco-adv.is-open .eco-adv__panel{
  display: block;
}

@media (min-width: 768px){
  .eco-adv{
    padding: 1.125em 0;
  }

  .eco-adv__row{
    gap: 1.5em;
  }

  .eco-adv__left{
    gap: 1em;
  }

  .eco-adv__icon{
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
  }

  .eco-adv__icon-img{
    width: 32px;
    height: 32px;
  }

  .eco-adv__title{
    font-size: 1.375em;
  }

  .eco-adv__panel{
    margin-top: 0.625em;
    margin-left: 64px;
    font-size: 1.0625em;
  }
}

@media (min-width: 1024px){
  .eco-adv{
    padding: 1.25em 0;
  }

  .eco-adv__row{
    gap: 2em;
  }

  .eco-adv__title{
    font-size: 1.5em;
  }

  .eco-adv__panel{
    font-size: 1.125em;
    margin-left: 64px;
  }
}

.eco-testimonials {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 3rem 0 4rem;
  position: relative;
}

.eco-slider {
  width: 100%;
}

.eco-slider .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.eco-slider .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: stretch;
  transform: scale(0.9);
  opacity: 0.5;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.eco-slider .swiper-slide-active {
  transform: scale(1);
  opacity: 1;
  z-index: 3;
}

.eco-slider .swiper-slide-prev,
.eco-slider .swiper-slide-next {
  opacity: 0.8;
}

.eco-slide-card {
  background: #ffffff;
  border-radius: 2.1875em;
  padding: 1.75rem;
  box-shadow: 0 0.625em 1.875em rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.25em;
  width: 100%;
  max-width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.eco-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  padding-bottom: 0.75em;
}

.eco-logo {
  max-height: 44px;
  width: auto;
  display: block;
}

.eco-quote-icon {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}

.eco-slide-card p,
.eco-quote p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  color: rgba(90, 90, 90, 1);
}

.eco-nav {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 1em;
}

.eco-nav button.eco-prev,
.eco-nav button.eco-next {
  all: unset;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 0.09375em solid rgba(255, 255, 255, 0.55);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.eco-nav button.eco-prev:hover,
.eco-nav button.eco-next:hover {
  border-color: rgba(255, 255, 255, 0.85);
}

.eco-nav button.eco-nav-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.eco-nav svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  stroke-width: 2.5;
  fill: none;
  display: block;
}

@media (min-width: 768px) {
  .eco-testimonials {
    padding: 4rem 0 4.5rem;
  }

  .eco-slide-card {
    padding: 2.25rem;
    max-width: 1050px;
  }

  .eco-logo {
    max-height: 59px;
  }

  .eco-quote-icon {
    width: 40px;
    height: 40px;
  }

  .eco-slide-card p {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .eco-nav {
    margin-top: 3.75rem;
  }
}

.eco-steps-overlay{
  width: 100%;
}

.eco-steps-overlay__media{
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
}

.eco-steps-overlay__img{
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 1.5625em !important;
}

.eco-steps-overlay__panel{
  position: static;
  transform: none;
  width: 100%;
  max-width: 100%;
  margin-top: 1em;
  z-index: 1;
  text-align: left;
}

.eco-steps{
  display: grid;
  gap: 0.875em;
  width: 100%;
}

.eco-step{
  background: #ffffff;
  border-radius: 0.875em;
  box-shadow: 0 0.375em 1.125em rgba(0,0,0,0.14);
}

.eco-step__inner{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.875em;
  padding: 1em;
}

.eco-step__left{
  display: flex;
  align-items: flex-start;
  gap: 0.875em;
  min-width: 0;
  flex: 1 1 auto;
}

.eco-step__icon{
  width: 3.25em;
  height: 3.25em;
  flex: 0 0 3.25em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.eco-step__icon-img{
  width: 2.5em;
  height: 2.5em;
  object-fit: contain;
  display: block;
}

.eco-step__copy{
  min-width: 0;
}

.eco-step__title{
  margin: 0 0 0.25em;
  font-size: 1.125em;
  font-weight: 700;
  color: #505259;
  line-height: 1.2;
}

.eco-step__text p{
  margin: 0;
  font-size: 0.9375em;
  line-height: 1.45;
  color: #505259;
}

.eco-step__num{
  font-size: 1.5em;
  font-weight: 700;
  color: rgba(80,82,89,0.18);
  opacity: 0.5;
  flex: 0 0 auto;
  line-height: 1;
}

@media (max-width: 767px){
  .eco-step__inner{
    flex-direction: column;
    align-items: stretch;
    gap: 0.75em;
  }

  .eco-step__left{
    width: 100%;
  }

  .eco-step__num{
    width: 100%;
    text-align: right;
    font-size: 1.25em;
  }
}

@media (min-width: 768px){
  .eco-steps-overlay{
    padding: 0 1em;
  }

  .eco-steps-overlay__panel{
    margin-top: 1.125em;
  }

  .eco-step__inner{
    padding: 1.25em;
  }

  .eco-step__icon{
    width: 3.5em;
    height: 3.5em;
    flex: 0 0 3.5em;
  }

  .eco-step__icon-img{
    width: 2.75em;
    height: 2.75em;
  }

  .eco-step__title{
    font-size: 1.25em;
  }

  .eco-step__text p{
    font-size: 1em;
  }

  .eco-step__num{
    font-size: 1.75em;
  }
}

@media (min-width: 1024px){
  .eco-steps-overlay{
    padding: 0 3.75em;
  }

  .eco-steps-overlay__media{
    display: inline-block;
    width: 80%;
    max-width: 100%;
    padding: 20px;
  }

  .eco-steps-overlay__img{
    height: 420px;
  }

  .eco-steps-overlay__panel{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(40%, -50%);
    width: 550px;
    max-width: 550px;
    margin-top: 0;
    z-index: 5;
  }

  .eco-step__inner{
    padding: 1.875em;
  }

  .eco-step__icon{
    width: 5em;
    height: 5em;
    flex: 0 0 5em;
  }

  .eco-step__icon-img{
    width: 4.375em;
    height: 4.375em;
  }

  .eco-step__title{
    font-size: 1.5em;
  }

  .eco-step__text p{
    font-size: 1em;
  }

  .eco-step__num{
    font-size: 2em;
  }
}



.eco-logos{
  --eco-logos-per-page: 2;
  --eco-logos-gap: 40px;
  position: relative;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px){
  .eco-logos{
    --eco-logos-per-page: 3;
  }
}

@media (min-width: 1024px){
  .eco-logos{
    --eco-logos-per-page: 5;
  }
}

.eco-logos__track{
  display: flex;
  align-items: center;
  gap: var(--eco-logos-gap);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.75em 0 0.5em;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.eco-logos__track::-webkit-scrollbar{
  display: none;
}

.eco-logos__item{
  flex: 0 0 calc(
    (100% - (var(--eco-logos-gap) * (var(--eco-logos-per-page) - 1)))
    / var(--eco-logos-per-page)
  );
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-logos__img{
  width: auto;
  max-width: 100%;
  max-height: 52px;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0.95;
}

.eco-logos__link{
  display: block;
}

.eco-logos::before,
.eco-logos::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width: 56px;
  pointer-events:none;
  opacity: 1;
  transition: opacity .2s ease;
  z-index: 2;
}

.eco-logos::before{
  left:0;
  background: linear-gradient(to right, #fff, rgba(255,255,255,0));
}

.eco-logos::after{
  right:0;
  background: linear-gradient(to left, #fff, rgba(255,255,255,0));
}

.eco-logos.is-at-start::before{ opacity: 0; }
.eco-logos.is-at-end::after{ opacity: 0; }

.eco-logos__dots{
  margin-top: 1.875em;
  display: flex;
  justify-content: center;
  gap: 0.5em;
}

.eco-logos__dot{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(0,0,0,0.18);
}

.eco-logos__dot.is-active{
  background: rgba(0,0,0,0.7);
}

.eco-hero-slider{
  position:relative;
  width:100%;
  height:80vh;
  min-height:520px;
  max-height:900px;
  overflow:hidden;
}

.eco-hero-slider__track{
  position:relative;
  height:100%;
}

/* Fade slides (no left/right movement) */
.eco-hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  pointer-events:none;
  transition:opacity .7s ease;
}

.eco-hero-slide.is-active{
  opacity:1;
  pointer-events:auto;
}

@media (prefers-reduced-motion: reduce){
  .eco-hero-slide{transition:none;}
}

/* Background */
.eco-hero-slide__bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  transform:scale(1.01);
}

.eco-hero-slide__overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0);
}

/* Inner */
.eco-hero-slide__inner{
  position:relative;
  z-index:2;
  height:100%;
  max-width:1920px;
  margin:0 auto;
  padding:clamp(32px,4vw,60px);
  display:flex;
  align-items:center;
}

.eco-hero-slide__grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:clamp(18px,3vw,40px);
  align-items:center;
  width:100%;
}

/* Text colors per slide */
.eco-hero-copy{ color: var(--eco-hero-text, #fff); }
.eco-hero-title{ color: var(--eco-hero-text, #fff); }

.eco-hero-kicker{
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:12px;
  opacity:.75;
  margin:0 0 12px;
}

.eco-hero-title{
  font-weight:700;
  line-height:1.05;
  font-size:clamp(28px,4vw,62px);
  margin:0 0 14px;
}

.eco-hero-desc{
  font-size:clamp(14px,1.6vw,16px);
  line-height:1.55;
  opacity:.9;
  margin:0 0 22px;
  max-width:70ch;
}

/* Gradient for “More Than a BPO.” */
.eco-hero-title__grad{
  background:linear-gradient(90deg,#0E5E96 0%,#0A4268 48%,#07324C 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent;
}

/* Buttons (your final style) */
.eco-hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.eco-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:48px;
  padding:0 26px;
  font-size:16px;
  font-weight:600;
  line-height:1;
  border-radius:999px;
  text-decoration:none;
  border:2px solid transparent;
  transition:all .18s ease;
}

.eco-btn--solid{
  background:#ffffff;
  color:#0E5E96;
  border-color:#ffffff;
}

.eco-btn--solid:hover{
  background:#f2f6fb;
  border-color:#f2f6fb;
}

.eco-btn--outline{
  background:transparent;
  color:var(--eco-hero-text, #ffffff);
  border-color:var(--eco-hero-text, #ffffff);
}

.eco-btn--outline:hover{
  background:rgba(255,255,255,0.08);
}

/* Light slide button overrides */
.eco-hero--light .eco-btn--solid{
  background:#0E5E96;
  color:#ffffff;
  border-color:#0E5E96;
}

.eco-hero--light .eco-btn--outline{
  color:#0E5E96;
  border-color:#0E5E96;
}

.eco-hero--light .eco-btn--outline:hover{
  background:rgba(14,94,150,0.08);
}

/* Right visual + “go up” animation */
.eco-hero-visual{
  display:flex;
  justify-content:flex-end;
  align-items:var(--eco-hero-visual-align, center);
  height:100%;
}

.eco-hero-visual__img{
  max-width:min(620px, 100%);
  max-height:70vh;
  height:auto;
  width:auto;
  object-fit:contain;
  display:block;
  opacity:0;
  transform:translateY(18px);
  transition:transform .7s ease, opacity .7s ease;
  transition-delay:.08s;
}

.eco-hero-slide.is-active .eco-hero-visual__img{
  opacity:1;
  transform:translateY(0);
}

/* Slide 1 image offset */
.eco-hero-slide--1.is-active .eco-hero-visual__img{
  transform: translateY(40px);
}

@media (prefers-reduced-motion: reduce){
  .eco-hero-visual__img{
    transition:none;
    transform:none;
    opacity:1;
  }
}

/* Slide 1 bottom pin (desktop) */
.eco-hero-slide--1 .eco-hero-visual{ align-items:flex-end; }

/* Dots */
.eco-hero-dots{
  position:absolute;
  left:50%;
  bottom:22px;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
  z-index:999;

  /* helps crisp rendering */
  -webkit-transform:translateX(-50%);
  transform:translate3d(-50%,0,0);
}

/* Base dot: crisp ring */
.eco-hero-dot{
  width:12px;
  height:12px;
  padding:0;
  border-radius:999px;
  border:2px solid rgba(14,94,150,.45);
  background:transparent;
  cursor:pointer;

  /* avoid blur from shadows */
  box-shadow:none;
  outline:none;

  /* smoother but still sharp */
  transition: transform .18s ease, opacity .18s ease, border-color .18s ease;
  transform: translateZ(0);
}

/* Inner fill for active state (sharp circle) */
.eco-hero-dot::after{
  content:"";
  display:block;
  width:6px;
  height:6px;
  border-radius:999px;
  margin:50% auto 0;
  transform:translateY(-50%);
  background:rgba(14,94,150,.55);
  opacity:.0;
  transition: opacity .18s ease, background-color .18s ease;
}

/* Active */
.eco-hero-dot[aria-current="true"]{
  border-color:#0E5E96;
}
.eco-hero-dot[aria-current="true"]::after{
  background:#0E5E96;
  opacity:1;
}

/* Hover */
.eco-hero-dot:hover{
  transform:scale(1.15) translateZ(0);
  opacity:.95;
}

/* Slide 1 (dark bg) -> white dots */
.eco-hero-slide--1.is-active ~ .eco-hero-dots .eco-hero-dot{
  border-color:rgba(255,255,255,.55);
}
.eco-hero-slide--1.is-active ~ .eco-hero-dots .eco-hero-dot::after{
  background:rgba(255,255,255,.65);
}
.eco-hero-slide--1.is-active ~ .eco-hero-dots .eco-hero-dot[aria-current="true"]{
  border-color:rgba(255,255,255,.95);
}
.eco-hero-slide--1.is-active ~ .eco-hero-dots .eco-hero-dot[aria-current="true"]::after{
  background:#ffffff;
  opacity:1;
}

/* Slide 2 (light bg) -> blue dots */
.eco-hero-slide--2.is-active ~ .eco-hero-dots .eco-hero-dot{
  border-color:rgba(14,94,150,.45);
}
.eco-hero-slide--2.is-active ~ .eco-hero-dots .eco-hero-dot::after{
  background:rgba(14,94,150,.55);
}
.eco-hero-slide--2.is-active ~ .eco-hero-dots .eco-hero-dot[aria-current="true"]{
  border-color:#0E5E96;
}
.eco-hero-slide--2.is-active ~ .eco-hero-dots .eco-hero-dot[aria-current="true"]::after{
  background:#0E5E96;
  opacity:1;
}

/* Mobile: add top breathing room + ensure full viewport height (no cut) */
@media (max-width:900px){
  .eco-hero-slider{
    height:auto;
    min-height:100svh;     /* ✅ full mobile viewport height */
    max-height:none;
  }

  .eco-hero-slide__inner{
    min-height:100svh;
    align-items:flex-start;
  }

  .eco-hero-slide__grid{
    grid-template-columns:1fr;
    text-align:start;
    justify-items:center;
  }

  .eco-hero-actions{
    justify-content:center;
  }

  .eco-hero-desc{
    margin-left:auto;
    margin-right:auto;
  }

  .eco-hero-visual{
    justify-content:center;
    align-items:center !important;
    height:auto;
    margin-top:18px;
  }

  .eco-hero-visual__img{
    max-height:360px; /* a bit more room so it won’t feel cramped */
  }
}

@media (max-width:900px){
  /* Slide 2 — allow full image */
  .eco-hero-slide--2 .eco-hero-visual__img{
    max-height: none;
    width: 80%;
    height: auto;
  }

  .eco-hero-slide--2 .eco-hero-visual{
    margin-top: 24px;
  }
}


/* Desktop-only slide 1 image offset */
@media (min-width: 901px){
  .eco-hero-slide--1 .eco-hero-visual__img{
    transform: translateY(150px);
  }

  .eco-hero-slide--1.is-active .eco-hero-visual__img{
    transform: translateY(150px);
  }
}

@media (max-width:900px){
  .eco-hero-slide--1 .eco-hero-visual{
    align-items: flex-end !important;
  }
}


@media (max-width:900px){
  .eco-hero-slide__inner{
    padding-top: 60px;
  }
}

.eco-hero-slider{
  touch-action: pan-y;
}

.eco-hero-slider.is-dragging{
  cursor: grabbing;
}

.eco-slider{overflow:hidden}
.eco-slider .swiper-wrapper,.eco-slider .swiper-slide{pointer-events:auto}
.eco-slide-card img,.eco-slide-card a{-webkit-user-drag:none;user-select:none}
.eco-slider .swiper-slide{cursor:grab}
.eco-slider .swiper-slide:active{cursor:grabbing}

/* HARD STOP horizontal overflow from testimonials slider */
.eco-testimonials {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

.eco-testimonials .eco-slider {
  overflow: hidden;
  width: 100%;
}

.eco-testimonials .swiper-wrapper {
  max-width: 100%;
}

/* Helps swipe without fighting the browser */
.eco-hero-slider { touch-action: pan-y; }

/* Optional: while dragging, avoid accidental text selection */
.eco-hero-slider.is-dragging,
.eco-hero-slider.is-dragging * {
  user-select: none;
  -webkit-user-select: none;
}

