/* =========================
   RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "brother-1816", sans-serif;
  color: #111;
  background-image: url(../../images/uploads/body-bg.jpg);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 60%;
  padding-top: 120px;
}
body:has(.intro) { background-position: right calc(95vh) !important; padding-top: 0; }
body:has(.hero) { padding-top: 0; }
img {
  width: 100%;
  display: block;
}
body .grecaptcha-badge { display: none !important; }
/* =========================
   TYPOGRAPHY
========================= */
h1 { font-size: 36px; line-height: 40px;  margin-bottom: 22px; }
h2 { font-size: 32px; line-height: 38px;  margin-bottom: 18px; }
h3 { font-size: 26px; line-height: 32px;  margin-bottom: 14px; }
h4 { font-size: 22px; line-height: 28px; margin-bottom: 10px; }
h5 { font-size: 18px; line-height: 24px; margin-bottom: 8px; }

p, ul, ol { font-size: 18px; line-height: 26px; margin-bottom: 20px; }
main ul, main ol { margin-left: 17px; }
.btn:link, .btn:visited, input[type=submit] { display: inline-block; font-weight: 800; padding: 4px 12px; color: #fff; background: #000; border-radius: 20px; text-transform: uppercase; border: 1px solid #000; font-size: 16px; margin: 0 10px 10px 0; text-decoration: none; }
.btn:hover, .btn:active, .btn.active, input[type=submit]:hover, input[type=submit]:active { background: #fff; color: #000; }
.btn.outline:link, .btn.outline:visited { background: #fff; color: #000; }
.btn.outline:hover, .btn.outline:active, .btn.outline.active { background: #000; color: #fff; }
.btn-no-margin .btn { margin: 0 !important; }
/*.btn.outline.active:after { content: 'x'; display: inline-block; font-size: 8px; color: #fff; margin-left: 10px; position: relative; top: -3px; }*/
.center .btn { margin: 5px !important; }
.filters { padding-bottom: 40px !important; max-width: calc(100% - 100px); display: none; }
.filters.center { margin-left: auto; margin-right: auto; }
.filters:not(.center) .btn { margin: 0 10px 10px 0; }
.filter-container { position: relative; }
.toggle-filters:link, .toggle-filters:visited { position: absolute; bottom: 20px; right: 20px; width: 40px; height: 32px; background-image:url(../images/filter-icon2.gif); background-size: 40px 64px; background-repeat: no-repeat; background-position: top left; }
.toggle-filters:hover, .toggle-filters:active { background-position: bottom left; }
.toggle-filters.close:link, .toggle-filters.close:visited { background-image: url(../images/filter-close-icon.gif); }
.text p { max-width: 680px; }
.center p { max-width: 680px; display: block; margin: 0 auto; }
.center { text-align: center; }
.center img { margin-left: auto; margin-right: auto; }
.text.center * { margin-left:auto; margin-right: auto; }
.col.align-l * { text-align: left; }
.col.align-l .center * { text-align: left !important; }
.col.align-l .center { text-align: left !important; }
.align-l .center p { max-width: 100%; }
.col.align-c * { text-align: center !important; }
.center * { text-align: center; }
.right { text-align: right; }
.right * { text-align: right; }
.col a:not(.btn):link, .col a:not(.btn):visited { color: #000; text-decoration: underline; }
.col a:not(.btn):hover, .col a:not(.btn):active { color: #444; text-decoration: underline; }
h1 a:link, h1 a:visited, h2 a:link, h2 a:visited, h3 a:link, h3 a:visited { text-decoration: none !important; }
h1 a:hover, h1 a:active, h2 a:hover, h2 a:active, h3 a:hover, h3 a:active { text-decoration: underline !important; }
.salted * { font-family: 'Salted', "brother-1816", sans-serif !important; }
img.r25 { float: right; margin: 0 0 1.5rem 1.5rem; max-width: 25%; }
img.r50 { float: right; margin: 0 0 1.5rem 1.5rem; max-width: 50%; }
img.r575 { float: right; margin: 0 0 1.5rem 1.5rem; max-width: 75%; }
img.l25 { float: left; margin: 0 1.5rem 1.5rem 0; max-width: 25%; }
img.l50 { float: left; margin: 0 1.5rem 1.5rem 0; max-width: 50%; }
img.l75 { float: left; margin: 0 1.5rem 1.5rem 0; max-width: 75%; }

/* =========================
   LAYOUT
========================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
main .container { max-width: 1080px; }
main .container.grid-module, main .container:has(.wide-module) { max-width: 1280px; }
.container:has(.col.text) { padding: 0; }
main .container:has(.full-module) { max-width: 100%; }
main .container:has(.full-module.no-padding) { padding: 0; }
main .container:has(.header-img) { margin-top: -50px; }

.break { flex-basis: 100%; height: 0; display: block; width: 100%; clear: both; }
.break-10 { height: 10px; }
.break-20 { height: 20px; }
.break-30 { height: 30px; }
.break-40 { height: 40px; }
.break-50 { height: 50px; }
.break-60 { height: 60px; }

.round-img img, img.rounded { border-radius: 8px; }

/* =========================
   HEADER
========================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #ffed00;
  z-index: 1000;
}
body:has(.intro) header.trans, body:has(.hero) header.trans { background: none; }
header:has(.hamburger.active) { background: #000 !important; }

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: -1px;
}
.logo { max-width: 30%; transform-origin: left top; transition: all 0.5s; }
.logo img { width: 100%; max-height: 50px; pointer-events: none; }
.logo img.white { display: none; }
.logo img.black { display: block; }

/* CTA */
.cta:link, .cta:visited {
  background: black;
  color: white;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}

.cta:hover, .cta:active {
  background: white;
  color: black;
}

header:has(.hamburger.active) .cta { background: #fff; color: #000; }
header:has(.hamburger.active) .logo img.black { display: none; }
header:has(.hamburger.active) .logo img.white { display: block; }

/* =========================
   HAMBURGER
========================= */
.hamburger {
  width: 42px;
  height: 30px;
  position: relative;
  cursor: pointer;
}

.hamburger span {
  position: absolute;
  width: 100%;
  height: 4px;
  background: black;
  transition: 0.3s ease;
  border-radius: 10px;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 13px; }
.hamburger span:nth-child(3) { bottom: 0; }

/* ACTIVE */
.hamburger.active span { background: white; }
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 13px;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 13px;
}

:root {
  --header-height: 70px;
}

:root {
  --header-height: 70px;
}

/* =========================
   TOP SLIDE MENU (CORRECTED)
========================= */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  color: white;
  z-index: 900;

  /* start hidden above viewport INCLUDING header space */
  transform: translateY(calc(-100% - var(--header-height)));
  transition: transform 0.5s ease;
}

/* open state */
.menu.active {
  transform: translateY(var(--header-height));
}

/* inner spacing accounts for header visually */
.menu-inner {
  padding: calc(var(--header-height) + 40px) 20px 40px;
}

/* layout */
.menu-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.menu-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu-left ul { list-style: none; margin: 0; padding: 0; }
.menu-left ul li { line-height: 44px; }

.menu-left a:link, .menu-left a:visited {
  font-size: 32px;
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.menu-left a:hover, .menu-left a:active, .menu-left .selected a {
  color: #ffed00;
}

.menu-right {
  max-width: 640px;
  opacity: 0.75;
}
.menu-right h4 { text-transform: uppercase; }

.menu-footer {
  margin: 0 auto 40px auto;
  padding: 0 20px 20px 0;
  max-width: 1280px;
  font-size: 14px;
  text-align: right;
  border-bottom: 1px solid #fff;
  position: relative;
}
.menu-footer p { margin: 0; padding: 0; }
.some:link, .some:visited { width: 40px; height: 40px; text-align:left; background-color: #fff; background-repeat: no-repeat; margin: 0 0 0 15px; text-indent: -9999px; display: inline-block; border-radius: 20px; background-size: 22px 23px; background-position: center center; }
.some:hover, .some:active { background-color: #ffed00; }
.some.facebook { background-image: url(../images/facebook.png); }
.some.instagram { background-image: url(../images/instagram.png); }
.some.linkedin { background-image: url(../images/linkedin.png); }
.some.wetransfer { background-image: url(../images/wetransfer.png); }
.menu-footer img { pointer-events: none; max-width: 200px; position: absolute; right: 160px; top: -17px; }

/* =========================
   FOOTER
========================= */
footer { background: #ffed00; margin: 80px 0 0 0; }
footer .container { position: relative; }
footer .row { margin: 0; padding-top: 50px; padding-bottom: 30px; }
footer .col { padding: 0 40px 0 0; }
.footer-img { position: absolute; top: -28px; left: 18px; width: 100px; }
footer .row .col { flex: 0; min-width: fit-content; background: none; }

/* =========================
   HERO
========================= */
.intro {
  margin: 0 0 70px 0;
  background: url('../images/MetOpenVizier-Pijl-Slogan.png') center center no-repeat #ffed00;
  background-size:  64%;
  color: white;
  padding: 120px 0;
  height: calc(100vh);
}
.hero {
  margin-top: 70px;
  background: url('https://picsum.photos/1600/600') center/cover no-repeat;
  color: white;
  padding: 120px 0;
}

/* =========================
   FLEX MODULES
========================= */
.row {
  display: flex;
  gap: 24px;
  margin: 60px 0;
}
.text-right .row { flex-direction: row-reverse; }
.list { display: flex; flex-direction: column; gap: 24px; }
.list .col { background-color: #f8f8f8; border-radius: 8px; position: relative; }
.list .col-img { width: 20%; margin: 0 24px 0 0; float: left; }
.list.round-img .col-img { border-radius: 6px; }
.list .col-content { width: calc(70% - 74px); float: left; }
.list .col-content p { margin: 0; }
.list-container .col.right { padding-right: 0 !important; }
.list-container .col.right .btn { margin-right: 0; }

.readmore:link, .readmore:visited { width: 40px; height: 40px; display: block; position: absolute; bottom: 20px; right:  20px; text-indent: -9999px; background-image: url(../images/readmore.png); background-repeat: no-repeat; background-size: 40px 80px; background-position: top left; }
.readmore:hover, .readmore:active { background-position: bottom left; }

.list .readmore:before { content:''; width: 100px; height: 25px; background: url(../images/readmore-text.gif) no-repeat top left; background-size: 100px 25px; position: absolute; bottom: 40px; right: 12px; }

.row:has(.col.text), .row:has(.no-margin) { margin: 0; }

.square-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); padding-bottom: 60px; }
.team-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); padding-bottom: 60px; }
.team-grid h3 { font-family: 'Salted'; }
.square-grid .col { position: relative; overflow: hidden; padding: 0; aspect-ratio: 1/1; }
.square-grid.round-img .col { border-radius: 8px; }
.team-grid .col { padding: 0; text-align: center; }
.team-grid img { border-radius: 50%; width: 65%; margin: 0 auto 20px auto; }
.box .col { position: relative; overflow: hidden; padding: 0; height: 100%; }
.square-grid .col .col-content, .box .col .col-content { position: absolute; left: 0; bottom: 0; pointer-events: none; padding: 20px; transform: translateY(100%); transition: transform 0.4s; width: 100%; background: rgba(0,0,0,0.9); animate: transform 2s; min-height: 80px; }
.square-grid .col .col-content:has(p), .box .col .col-content:has(p) { padding: 20px 80px 0 20px; }
.square-grid .col:hover .col-content, .box .col:hover .col-content { transform: translateY(0); }
.square-grid .col .col-content *, .box .col .col-content * { color: #fff; }
.square-grid .col .col-content h3, .box .col .col-content h3 { margin: 0; }
.square-grid .col .col-content h3 a, .box .col .col-content h3 a  { color: #fff !important; }
.square-grid .col *, .box .col *  { font-size: 14px !important; }
.box .col img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }

.col { flex: 1; padding: 20px; }
.col.two-third { min-width: calc(66.66% - 15px); }
.col.text { padding-bottom: 0; }
.col.no-padding { padding: 0; }
.col.yellow { background-color: #ffed00; border-radius: 8px; }

.some-btn:link, .some-btn:visited { background-size: 70%; background-position: center center; background-repeat: no-repeat; background-color: #000; text-indent: -9999px; width: 24px; height: 24px; border-radius: 50%; margin: 5px; display: inline-block; }
.some-btn:hover, .some-btn:active { background-color: #ffed00; }
.some-btn.linkedin { background-image: url(../images/some-linkedin.gif); }
.some-btn.mail { background-image: url(../images/some-mail.gif); }

/* Responsive */
@media(max-width: 768px) {
  .row {
    flex-direction: column;
  }
  .empty-col { display: none; }
  .list .col-img { width: 100% !important; margin: 0 0 24px 0 !important; }
  .list .col-content { width: calc(100% - 50px); padding-bottom: 40px; }
  .square-grid { grid-template-columns: repeat(1, 1fr); }

  .logo { max-width: calc(100% - 200px); }
  .intro { background-size:  90%; }
  .list-container { padding-left: 20px !important; padding-right: 20px !important;  }
  .team-grid { grid-template-columns: repeat(1, 1fr); }
}

/* =========================
   GRID MODULE
========================= */

.grid-main {
  display: grid;
  grid-template-columns: 2fr 1fr; /* 66.66 / 33.33 */
  gap: 24px;
  margin-bottom: 24px;

  /* ensures equal height columns */
  align-items: stretch;
}

/* LEFT SIDE INTERNAL GRID */
.grid-left {
  display: grid;
  grid-template-rows: auto auto;
  gap: 24px;
}

/* top split (33 / 66 inside left column) */
.grid-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
}

/* generic block styling */
.box {
  min-height: 120px;
 overflow: hidden;
}
.round-img .box { border-radius: 8px; }
.grid-left .box { max-height: 260px; }
.grid-left .col { height: 260px; }

/* full width bottom block */
.full {
  width: 100%;
}

/* RIGHT COLUMN HEIGHT MATCH */
.grid-right {
  display: flex;
  align-items: stretch;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .grid-main {
    grid-template-columns: 1fr;
  }

  .grid-top {
    grid-template-columns: 1fr;
  }
}

:root {
  --gap: 24px;
}

:root {
  --gap: 24px;
}

/* =========================
   SNAP WRAPPER (1280 SAFE)
========================= */
.snap-wrapper {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: var(--gap);
  width: 100%;
}

/* =========================
   TRACK
========================= */
.snap-track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;

  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  scrollbar-width: none;
}

.snap-track::-webkit-scrollbar {
  display: none;
}

/* =========================
   ITEMS (3 VISIBLE)
========================= */
.snap-item:link, .snap-item:visited, .snap-item {
  flex: 0 0 calc((100% - (2 * var(--gap))) / 3);
  padding: 20px;
  scroll-snap-align: start;
  box-sizing: border-box;
  border-radius: 8px;
  text-decoration: none;
}
.snap-item:hover, .snap-item:active { background: #ffed00; text-decoration: none; }
.snap-item.center { text-align: center; }
.snap-item img { margin-bottom: 20px; }
.snap-item.center img { max-width: 50%; margin-left: auto; margin-right: auto; }
.snap-item * { text-decoration: none; color: #000; }

/* =========================
   ARROWS (ALWAYS ALIGNED)
========================= */
.snap-btn {
  width: 44px;
  height: 40px;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px; color: #000;
  background: none;
}
.snap-btn:hover { color: #ffed00; }

#snapPrev, #snapNext { background-repeat: no-repeat; background-size: 34px 81px; text-indent: -9999px; background-position: top left; }
#snapNext { background-image: url(../images/arrow-next.gif); }
#snapPrev { background-image: url(../images/arrow-prev.gif); }
#snapPrev:hover, #snapNext:hover { background-position: bottom left; }

/* IMAGE CAROUSEL */
.carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .carousel.round-img { border-radius: 8px; }

  .slides {
    display: flex;
    transition: transform 0.4s ease;
  }

  .slide {
    min-width: 100%;
  }

  .slide img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
  }

  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    width: 22px;
    height: 20px;
    cursor: pointer;
    z-index: 10;
    display: none;
  }
  .carousel:hover .arrow { display: block; }
  .prev, .next { background-repeat: no-repeat; background-size: 17px 40px; text-indent: -9999px; background-position: top left; }
  .prev { left: 10px; }

  .next { right: 10px; }
  .next { background-image: url(../images/arrow-next.gif); }
  .prev { background-image: url(../images/arrow-prev.gif); }
  .prev:hover, .next:hover { background-position: bottom left; }

  .dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
  }

  .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(0,0,0,0.2);
  }

  .dot.active {
    background: #000;
  }


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .snap-wrapper {
    grid-template-columns: 44px 1fr 44px;
  }
  .menu-content { flex-direction: column; }
  .menu-right { display: none; }
  .menu { min-height: 100vh; }

  .snap-item {
    flex: 0 0 100% !important;
  }

  .break-10 { height: 5px; }
  .break-20 { height: 10px; }
  .break-30 { height: 15px; }
  .break-40 { height: 20px; }
  .break-50 { height: 25px; }
  .break-60 { height: 30px; }
}

/* ================= FORM STYLES ================= */
form { margin: 0 auto; }
.center form, .center form * { text-align: left !important; }
fieldset { border: 0; padding: 0; margin: 0 0 0.8rem 0; }
.no-bg:not(aside .no-bg) fieldset { max-width: 85%; }
fieldset.small { width: calc(50% - 8px); display: inline-block; }
fieldset.small-l { margin-right: 14px; }
fieldset.small-r:has(input[type=submit]) { text-align: right !important; }
fieldset.checkbox.small-l, fieldset.file.small-l { margin-right: 10px; }
fieldset input[type=text], fieldset textarea { width: 100%; background: #fff; color: #000; border-radius: 8px; border:1px solid #000; padding: 10px; }
fieldset textarea { min-height: 120px; font-family: "Roboto", sans-serif; resize: none; }
input[type=submit] { margin: 0; font-family: "brother-1816", sans-serif; cursor: pointer; }
::placeholder { color: #666; font-size: 14px; }

.checkbox label, .checkboxes li label { font-weight: 400; display: inline-block; position: relative; padding-left: 25px; padding-right: 10px; margin-bottom: 12px; cursor: pointer; font-size: 14px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
.checkbox label input, .checkboxes li label input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkbox .checkmark { position: absolute; top: 2px; left: 0; height: 16px; width: 16px; border-radius: 5px; background-color: #fff; border: 3px solid #fff; }
.checkbox .checkmark:after { content:''; width: 14px; height: 14px; border: 1px solid #000; border-radius: 4px; position: absolute; top: -3px; left: -3px; pointer-events: none; }
.checkbox label:hover input ~ .checkmark, .checkboxes li label:hover input ~ .checkmark { background-color: #333; }
.checkbox label input:checked ~ .checkmark, .checkboxes li label input:checked ~ .checkmark { background-color: #000; }

.radio label, .radios li label { font-weight: 400; display: inline-block; position: relative; padding-left: 25px; padding-right: 10px; margin-bottom: 12px; cursor: pointer; font-size: 14px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
.radio label input, .radios li label input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.radio .checkmark { position: absolute; top: 2px; left: 0; height: 16px; width: 16px; border-radius: 40px; background-color: #fff; border: 3px solid #fff; }
.radio .checkmark:after { content:''; width: 14px; height: 14px; border: 1px solid #000; border-radius: 40px; position: absolute; top: -3px; left: -3px; pointer-events: none; }
.radio label:hover input ~ .checkmark, .radios li label:hover input ~ .checkmark { background-color: #333; }
.radio label input:checked ~ .checkmark, .radios li label input:checked ~ .checkmark { background-color: #000; }

.checkbox, .radio { margin-bottom: 0; }
form label.error { display: none !important; }
input[type=text].error, textarea.error { background: rgba(255, 0, 0, 0.3) !important; }
input[type=text].error::placeholder, textarea.error::placeholder { color: rgba(178, 49, 49, 1); }
fieldset.checkbox:has(input.error) b, fieldset.radio:has(input.error) b { color: rgba(178, 49, 49, 1) !important; }

.thanks { display: none; }

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 0 0 60px 0;
  background: white;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 35s slide infinite linear;
}

.logos-slide img {
  height: 80px !important;
  width: auto !important;
  margin: 0 20px;
  display: inline-block;
}