
/* ==========================================
   ✅ FULL HERO SLIDER MODULE - COMPLETE CSS
   ========================================== */

/* === Button Styles (restored from original) === */
.hs-hero__content .hs-hero__actions a.hs-btn {
  color: #fff;
  background: transparent;
  transition: box-shadow, background-image, background-color, transform;
  transition-duration: .1s;
  transition-timing-function: ease-in-out;
  border: 2px solid #fff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 24px;
  font-size: 16px;
  display: inline-block;
}

.hs-hero__content .hs-hero__actions a.hs-btn:hover {
  background: #fff !important;
  color: #222326 !important;
  transform: translateY(-1px);
}

/* Primary Button */
.hs-hero__content .hs-hero__actions a.hs-btn.hs-btn--primary {
  background: #ffffff;
  color: #111111;
  border: 2px solid #ffffff;
}
.hs-hero__content .hs-hero__actions a.hs-btn.hs-btn--primary:hover {
  background: transparent !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

/* ✅ Secondary (Gradient Green) Button – Final version */
.hs-hero__content .hs-hero__actions a.hs-btn.hs-btn--ghost {
  background-image: linear-gradient(135deg, #5AB44C 0%, #2B8A44 100%);
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(30, 142, 70, 0.35);
  font-weight: 600;
  transition: all 0.2s ease-in-out;
  
} 
/* Match “Book your workshop” shape */
.hs-hero__content .hs-hero__actions a.hs-btn.hs-btn--ghost {
  border-radius: 8px !important; /* same corner radius */
}

.hs-hero__content .hs-hero__actions a.hs-btn.hs-btn--ghost:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.hs-hero__content .hs-hero__actions a.hs-btn.hs-btn--ghost:focus-visible {
  outline: 3px solid rgba(255,255,255,.9);
  outline-offset: 2px;
}


/* ===== Scoped variables (tweak as needed) ===== */
.hs-hero {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  overflow: hidden;

  --hero-height: 72vh;
  --hero-min-h: 520px;
  --container: 1200px;
  --space: 20px;
  --text: #ffffff;
  --overlay: 0.20;
  --btn-bg: #ffffff;
  --btn-text: #111111;
  --btn-ghost-border: rgba(255,255,255,0.7);
  --curve-fill: #ffffff;
  --dot: rgba(255,255,255,0.5);
  --dot-active: #ffffff;
  /* ✅ New logo size variables */
  --logo-h: 42px;   /* max visual height for logos */
  --logo-w: 120px;  /* max visual width for logos */
  color: var(--text);
}

/* ===== Layout ===== */
.hs-hero__viewport {
  position: relative;
  height: var(--hero-height);
  min-height: var(--hero-min-h);
  overflow: hidden;
  isolation: isolate;
}

.hs-hero__track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 600ms ease;
  touch-action: pan-y;
}
/* ✅ Final overlap fix */
.hs-hero__slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--text);
  overflow: hidden;            /* clip scaled background */
  contain: layout paint style; /* fully isolate rendering */
  z-index: 0;                  /* ensure proper stacking order */
}

.hs-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;                 /* keeps it behind content */
  transform: scale(1.02);
}


.hs-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,var(--overlay));
  z-index: 1;
}

/* Content */
.hs-hero__content {
  position: relative;
  z-index: 2;
  width: min(var(--container), 100%);
  padding: 0 var(--space);
  text-align: left;
  width: 64%;
  margin-left: 0 !important;
  padding-left: 75px !important;
}

.hs-hero__eyebrow {
  font-weight: 600;
  letter-spacing: .04em;
  opacity: .9;
  margin: 0 0 8px;
}
.hs-hero__title {
  font-size: clamp(28px, 4.5vw, 54px);
  line-height: 1.12;
  margin: 0 0 14px;
  font-weight: 700;
}
.hs-hero__sub {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 740px;
}

/* Buttons group */
.hs-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hs-btn {
  appearance: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 16px;
  text-decoration: none;
  transition: all .2s ease-in-out;
}
.hs-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Decorative curve */
.hs-hero__curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  pointer-events: none;
}
.hs-hero__curve path {
  fill: var(--curve-fill);
}

/* Controls */
.hs-hero__controls {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.hs-hero__arrow {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.35);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.hs-hero__arrow--prev { left: 12px; }
.hs-hero__arrow--next { right: 12px; }
.hs-hero__arrow:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.hs-hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  display: flex;
  gap: 10px;
  justify-content: center;
  pointer-events: auto;
}
.hs-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot);
  border: none;
  cursor: pointer;
  padding: 0;
}
.hs-hero__dot[aria-current="true"] { background: var(--dot-active); }

/* ===== Promo Card ===== */
.hs-hero__promo {
  position: absolute;
  width: 360px;
  max-width: 40%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  color: #fff;
  z-index: 2;
}
.hs-hero__promo--top-right { top: 8%; right: 6%; }
.hs-hero__promo--middle-right { top: 50%; right: 6%; transform: translateY(-50%); }
.hs-hero__promo--bottom-right { bottom: 12%; right: 6%; }

.hs-hero__promo-media img {
  width: 100%;
  display: block;
}
//* ✅ Gradient "Blog" tag to match Book your workshop button */
.hs-hero__promo-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #5AB44C 0%, #2B8A44 100%) !important;
  background-color: transparent !important; /* clears HubSpot's inline override */
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(30, 142, 70, 0.3);
  letter-spacing: 0.02em;
  z-index: 5;
}

/* ✅ ensure override even for nested selectors */
.hs-hero__promo .hs-hero__promo-tag,
.hs-hero__promo span.hs-hero__promo-tag {
  background: linear-gradient(135deg, #5AB44C 0%, #2B8A44 100%) !important;
  background-color: transparent !important;
}


.hs-hero__promo-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 16px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.75) 100%);
}

/* ===== Logos strip ===== */
.hs-hero__logos {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 57px;
  z-index: 2;
}
.hs-hero__logos-inner {
  width: min(1180px, 92%);
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: center;
}
.hs-hero__logos-label {
  color: #fff;
  font-weight: 600;
}
.hs-hero__logos-list {
  align-items: center;
  display: flex;
  gap: 36px;
  list-style: none;
  margin: auto;
  padding: 0;
}
/* ✅ Variable-driven logo sizing (enforce same height) */
.hs-hero__logos-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(var(--logo-h) + 6px);
}

.hs-hero__logos-item img {
  height: var(--logo-h);         /* ⬅ enforce identical height */
  width: auto;
  max-width: var(--logo-w);      /* cap ultra-wide marks */
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .95;  
}
/* 🔧 Fokker compensation */
.hs-hero__logos-item img[alt*="Fokker" i],
.hs-hero__logos-item img[src*="fokker"] {
  transform: scale(1.35) !important;
  transform-origin: center;
  max-width: none !important;
}

/* ===== Side CTA ===== */
.hs-hero__aside {
  position: absolute;
  right: 100px;
  top: clamp(60px, 16vh, 120px);
  width: min(380px, 40vw);
  z-index: 2;
}
.hs-hero__aside-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(15, 15, 15, 0.55);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
  backdrop-filter: blur(6px) saturate(120%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hs-hero__aside-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 34px rgba(0,0,0,.45);
}
.hs-hero__aside-media {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.hs-hero__aside-body {
  padding: 16px 18px 20px;
}
.hs-hero__chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 999px;
  background: #1db954;
  color: #fff;
  margin-bottom: 10px;
}
.hs-hero__aside-title {
  font-size: 18px;
  line-height: 1.35;
  margin: 6px 0 6px;
  font-weight: 700;
  color: #fff;
}
.hs-hero__aside-text {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.9);
  margin: 0 0 10px;
}
.hs-hero__aside-cta {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.7);
  transition: color .2s ease, border-color .2s ease;
}
.hs-hero__aside-cta:hover {
  color: #1db954;
  border-color: #1db954;
}

/* ===== Alignment Fix ===== */
.main_banner_devide {
  padding: 0 !important;
  max-width: 1140px !important;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-bottom: 60px !important;
}
.main_banner_devide .hs-hero__content {
  max-width: 100% !important;
  padding: 0 !important;
  width: 70%;
}
.main_banner_devide a.hs-hero__aside {
  position: unset !important;
  width: 30%;
}
.main_banner_devide .hs-hero__logos {
  bottom: -10px;
  top: auto;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hs-hero__aside {
    position: static;
    width: auto;
    margin: 18px 20px 0;
  }
}

@media (max-width: 767px) {
  .main_banner_devide {
    flex-direction: column;
  }
  .hs-hero__logos-item img {
    object-fit: contain;
  }
  .hs-hero__dot {
    display: none !important;
  }
  .main_banner_devide a.hs-hero__aside {
    width: 90% !important;
    margin: 0 20px;
  }
  .main_banner_devide p.hs-hero__sub {
    max-width: 100%;
  }
  .main_banner_devide .hs-hero__actions {
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }
  .main_banner_devide .hs-hero__actions a.hs-btn {
    font-size: 13px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    line-height: normal;
    height: auto;
  }
}

@media (max-width: 768px) {
  .hs-hero__sub {
    max-width: 95%;
  }
  .hs-hero__promo {
    position: static;
    width: 100%;
    margin-top: 20px;
    transform: none;
  }
  .hs-hero__logos {
    position: static;
    margin-top: 20px;
  }
  .hs-hero__logos-inner {
    flex-direction: column;
    gap: 12px;
  }
  .hs-hero__logos-list {
    gap: 20px;
    justify-content: flex-start;
  }
}

/* ==========================================
    ADDITIONAL MOBILE FIXES
   ========================================== */
@media (max-width: 767px){
  .main_banner_devide .hs-hero__content {
    width: 100%;
  }
  .main_banner_devide {
    gap: 20px;
    padding: 60px 20px !important;
  }
  .main_banner_devide a.hs-hero__aside {
    width: 100% !important;
    margin: 0;
  }
  .hs-hero__viewport, .hs-hero {
    --hero-height: 130vh;
  }
  section.hs-hero {
    height: 100% !important;
    min-height: 100% !important;
    --hero-min-h: 100% !important;
  }
  .hs-hero_controls .hs-hero_arrow--prev {
    left: 38%;
    top: auto;
    bottom: 0;
  }
  .hs-hero_controls .hs-hero_arrow--next {
    right: 38%;
    top: auto;
    bottom: 0;
  }
}

