/*!
Theme Name: Beyond
Theme URI: http://underscores.me/
Author: Underscores.me
Description: Beyond — custom WordPress theme
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: beyond
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# 1. Design Tokens (CSS Custom Properties)
# 2. Reset & Normalize
# 3. Base Typography & Elements
# 4. Links & Forms
# 5. Layout (Site Structure)
# 6. Header & Navigation
   6a. Desktop Nav
   6b. Mobile Nav
# 7. Hero Section
# 8. Animations & Fade-ins
# 9. Values Strip (Marquee)
# 10. Value Cards
# 11. Values Grid (Detail Pages)
# 12. Services Carousel (Diensten)
# 13. Product Wall
# 14. Blog / Posts
# 15. Contact Section
# 16. Footer
# 17. Background Effects
# 18. WordPress Core (Widgets, Media, Galleries, A11y, Alignments)
# 19. Page-specific Overrides
--------------------------------------------------------------*/


/* ============================================================
   1. DESIGN TOKENS
============================================================ */

:root {
  /* Colors */
  --c-bg: #101a2e;
  --c-text: #fff;
  --c-muted: #9aa3ad;
  --c-surface: #0f0f10;
  --c-accent: #00f5ff;
  --c-accent-2: #ff6a4f;
  --c-glass: rgba(255, 255, 255, 0.04);

  /* Gradient color stops */
  --generic-1: #0a1f2c;
  --generic-2: #0a293d;
  --testing-1: #657e44;
  --testing-2: #6f8a4b;
  --security-1: #006682;
  --security-2: #01789a;
  --global-1: #bf5856;
  --global-2: #d1615f;

  /* Shared values */
  --radius: 16px;
  --radius-lg: 22px;
  --blur: 10px;

  /* Glass card */
  --card-bg: linear-gradient(180deg, rgba(5, 10, 20, 0.65), rgba(5, 10, 20, 0.35));
  --card-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 10px 80px rgba(0, 0, 0, 0.45);
}


/* ============================================================
   2. RESET & NORMALIZE
   (normalize.css v8.0.1 — MIT License)
============================================================ */

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

html {
  box-sizing: border-box;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: hidden;
  height: 100%;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  height: 100%;
  background: #0b1018;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}


/* ============================================================
   3. BASE TYPOGRAPHY & ELEMENTS
============================================================ */

body,
button,
input,
select,
optgroup,
textarea {
  color: #f1f1f1;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

hr {
  background-color: #f1f1f1;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li>ul,
li>ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}


/* ============================================================
   4. LINKS & FORMS
============================================================ */

a {
  color: #fff;
}

a:hover,
a:focus,
a:active {
  color: #fff;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

/* Buttons */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}

/* Text inputs */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}


/* ============================================================
   5. LAYOUT (SITE STRUCTURE)
============================================================ */

.site {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: auto;
}

.site-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.site-main {
  max-width: 1200px;
  margin: auto;
  width: 100%;
  flex: 1;
  padding: 4rem 2rem;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

body.admin-bar .site {
  min-height: calc(100dvh - 32px);
}

@media (max-width: 782px) {
  body.admin-bar .site {
    min-height: calc(100dvh - 46px);
  }
}

/* ============================================================
   6. HEADER & NAVIGATION
============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: rgba(10, 15, 25, 0.55);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 80px;
  position: relative;
  z-index: 10001;
}

.logo-area img {
  height: 60px;
  width: auto;
}

/* --- Navigation Base --- */
.main-navigation {
  position: static;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  color: #f5f5f5;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.main-navigation a:hover {
  color: #d79359;
}

/* --- Hamburger knop --- */
.menu-toggle {
  display: none;
  /* verborgen op desktop, flex op mobiel */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 10002;
  font-size: 0;
  /* verberg ☰ tekst */
  color: transparent;
  overflow: visible;
}

/* --- Hamburger balkjes (drie .bar spans uit de HTML) --- */
.menu-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: top 0.3s ease,
    transform 0.3s ease,
    opacity 0.2s ease;
  pointer-events: none;
}

/* De drie posities — :nth-child telt alle children van button
   1 = .screen-reader-text, 2/3/4 = de drie .bar spans         */
.menu-toggle .bar:nth-child(2) {
  top: 10px;
}

.menu-toggle .bar:nth-child(3) {
  top: 19px;
}

.menu-toggle .bar:nth-child(4) {
  top: 28px;
}

/* Open → kruis animatie */
.main-navigation.toggled .menu-toggle .bar:nth-child(2) {
  top: 19px;
  transform: translateX(-50%) rotate(45deg);
}

.main-navigation.toggled .menu-toggle .bar:nth-child(3) {
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
}

.main-navigation.toggled .menu-toggle .bar:nth-child(4) {
  top: 19px;
  transform: translateX(-50%) rotate(-45deg);
}

/* --- Chevron --- */
.menu-item-has-children>a {
  position: relative;
  padding-right: 1.8rem;
}

.menu-item-has-children>a::after {
  content: '';
  position: absolute;
  right: 0.6rem;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s ease;
}

.menu-item-has-children.open>a::after {
  transform: translateY(-50%) rotate(-135deg);
}

/* --- Actieve pagina --- */
.main-navigation .current-menu-item>a,
.main-navigation .current-menu-parent>a,
.main-navigation .current-menu-ancestor>a {
  font-weight: 600;
  position: relative;
}

.main-navigation .current-menu-item>a::before,
.main-navigation .current-menu-parent>a::before,
.main-navigation .current-menu-ancestor>a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgb(13, 68, 69), rgb(192, 90, 82));
}


/* ============================================================
   6a. DESKTOP NAV — 769px en breder
============================================================ */

@media (min-width: 769px) {

  .menu-toggle {
    display: none !important;
  }

  .main-navigation .menu-primary-menu-container>ul {
    display: flex;
    gap: 2rem;
  }

  .main-navigation ul ul {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding-top: 6px;
    background: rgba(5, 10, 20, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
      inset 0 0 0 1px rgba(255, 255, 255, 0.07);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  /* Onzichtbare brug zodat hover niet verloren gaat bij bewegen naar submenu */
  .main-navigation li::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 6px;
  }

  .main-navigation li:hover>ul,
  .main-navigation li:focus-within>ul {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-navigation ul ul li {
    width: 100%;
  }

  .main-navigation ul ul a {
    padding: 0.65rem 1.2rem;
    font-size: 0.9rem;
    transition: padding-left 0.2s ease, color 0.2s ease;
  }

  .main-navigation ul ul a:hover {
    background: rgba(255, 255, 255, 0.06);
    padding-left: 1.6rem;
    color: #d79359;
  }

  .main-navigation ul ul li:first-child a {
    border-radius: 10px 10px 0 0;
  }

  .main-navigation ul ul li:last-child a {
    border-radius: 0 0 10px 10px;
  }
}


/* ============================================================
   6b. MOBILE NAV — 768px en smaller
============================================================ */

@media (max-width: 768px) {

  .menu-toggle {
    display: flex !important;
  }

  /* ── Verberg submenus standaard ── */
  .main-navigation ul ul {
    display: none;
  }

  .main-navigation li.open>ul {
    display: block;
  }

  /* ── Header: geen backdrop-filter op mobiel
     anders wordt position:fixed daarbinnen gevangen ── */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(4, 8, 18, 0.95);
  }

  /* ── Menu overlay ── */
  .menu-primary-menu-container {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(4, 8, 18, 0.98);

    /* Verborgen state */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 99999;
  }

  /* Open state */
  .main-navigation.toggled .menu-primary-menu-container {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Scroll lock */
  body.menu-open {
    overflow: hidden;
  }

  /* Hoofdlijst */
  .menu-primary-menu-container>ul {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0 5rem;
    margin: 0;
    list-style: none;
  }

  /* Scheidingslijnen */
  .menu-primary-menu-container>ul>li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .menu-primary-menu-container>ul>li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  /* Hoofdlinks */
  .main-navigation ul>li>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 400;
    color: #edf2ff;
  }

  .main-navigation ul>li>a:hover,
  .main-navigation ul>li>a:focus {
    color: #d79359;
    background: rgba(255, 255, 255, 0.03);
  }

  /* Submenu styling */
  .main-navigation ul ul {
    margin: 0;
    padding: 0.25rem 0 0.5rem;
    list-style: none;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .main-navigation ul ul a {
    padding: 0.65rem 1.5rem 0.65rem 2.4rem;
    font-size: 0.92rem;
    font-weight: 300;
    color: rgba(200, 215, 255, 0.7);
    transition: padding-left 0.2s ease, color 0.2s ease;
  }

  .main-navigation ul ul a:hover {
    color: #d79359;
    padding-left: 2.8rem;
    background: rgba(255, 255, 255, 0.03);
  }

  .main-navigation ul ul .current-menu-item>a {
    color: #d79359;
  }

  .menu-item-has-children>a::after {
    right: 1.5rem;
  }

  /* Geen onderstreping op mobiel */
  .main-navigation .current-menu-item>a::before,
  .main-navigation .current-menu-parent>a::before,
  .main-navigation .current-menu-ancestor>a::before {
    display: none;
  }
}


/* ============================================================
   7. HERO SECTION
============================================================ */

.hero {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1px;
}

.hero-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
  transition: transform 0.2s ease-out;
}

.hero-line {
  background-color: #f2f2f2;
  height: 6px;
  width: 100%;
  position: absolute;
  z-index: 7;
  bottom: 0;
}

.hero-content {
  min-height: 35vh;
  margin-top: 20vh;
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  z-index: 3;
  isolation: isolate;
}

.hero-content>* {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5rem);
  color: #ecf4ff;
  letter-spacing: -0.02em;
  text-shadow:
    0 0 12px rgba(80, 140, 255, 0.35),
    0 0 40px rgba(80, 140, 255, 0.15);
}

.hero-content p {
  margin-top: 1rem;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: #c6d8ef;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: 0;
  background: radial-gradient(circle, rgba(80, 130, 255, 0.25), rgba(80, 130, 255, 0.08) 40%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform, opacity;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-title::after {
  content: '';
  display: block;
  width: 70%;
  height: 12px;
  margin: auto;
  background: linear-gradient(90deg, rgb(13, 68, 69), rgb(192, 90, 82));
  border-radius: 8px;
  filter: blur(2px);
}

.hero-tagline {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* CTA Button */
.btn-cta {
  display: inline-block;
  padding: .9rem 1.6rem;
  border-radius: 10px;
  background: linear-gradient(90deg, rgb(13, 68, 69), rgb(192, 90, 82));
  font-weight: 600;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6), 0 0 22px rgba(0, 245, 255, 0.06) inset;
  transition: transform .22s ease, box-shadow .22s;
}

.btn-cta:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}


/* ============================================================
   8. ANIMATIONS & FADE-INS
============================================================ */

.fade-in-left,
.fade-in-up {
  opacity: 0;
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--delay, 0ms);
}

.fade-in-left {
  transform: translateX(-40px);
}

.fade-in-up {
  transform: translateY(40px);
}

.fade-in-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes glowMove {
  to {
    transform: translate(20%, -10%);
  }
}

.delay-100 { --delay: 100ms; }
.delay-200 { --delay: 200ms; }
.delay-300 { --delay: 300ms; }

/* ============================================================
   9. VALUES STRIP (MARQUEE)
============================================================ */

.values-strip {
  width: 100%;
  overflow: hidden;
  padding: 2.5rem 0;
  background: linear-gradient(to right, rgba(5, 10, 20, 0), rgba(5, 10, 20, 0.65) 15%, rgba(5, 10, 20, 0.65) 85%, rgba(5, 10, 20, 0));
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  backdrop-filter: blur(var(--blur));
}

.values-marquee {
  width: 100%;
  overflow: hidden;
}

.values-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
  will-change: transform;
}

.values-set {
  display: flex;
  align-items: center;
  margin-right: 250px;
}

.values-set a:link {
  text-decoration: none;
}

.values-set a:hover {
  color: #ffffff;
  transform: scale(1.05);
}

.values-track .item {
  padding: 0 3rem;
  font-size: clamp(1rem, 1.1vw, 1.25rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(230, 240, 255, 0.85);
}

.values-track .label {
  font-weight: 500;
  color: rgba(245, 250, 255, 0.95);
}

@media (max-width: 768px) {
  .values-track {
    animation-duration: 50s;
  }

  .values-track .item {
    padding: 0 2rem;
    letter-spacing: 0.12em;
  }
}


/* ============================================================
   10. VALUE CARDS
============================================================ */

.value-card-wrapper {
  display: flex;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(var(--blur));
}

.value-cards-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin: 5rem auto;
}

.value-card-wrapper.fade-in-up:nth-child(1) {
  transition-delay: 0ms;
}

.value-card-wrapper.fade-in-up:nth-child(2) {
  transition-delay: 150ms;
}

.value-card {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 2.6rem 2.4rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(5, 10, 20, 0.9), rgba(5, 10, 20, 0.1));
  box-shadow: var(--card-shadow);
}

.value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  backdrop-filter: blur(var(--blur));
  border-radius: var(--radius-lg);
  z-index: -1;
}

.value-card li {
  margin-left: -73px;
}

.value-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  color: #ecf4ff;
}

.value-card .icon img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.4rem;
}

/* Stagger animations within card */
.stagger {
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.value-card-wrapper.is-visible .stagger:nth-child(1) {
  transition-delay: 0.1s;
}

.value-card-wrapper.is-visible .stagger:nth-child(2) {
  transition-delay: 0.25s;
}

.value-card-wrapper.is-visible .stagger:nth-child(3) {
  transition-delay: 0.4s;
}

@media (max-width: 768px) {
  .value-cards-two {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .value-card {
    padding: 2.2rem 2rem;
  }
}


/* ============================================================
   11. VALUES GRID (Detail Pages)
============================================================ */

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem 6rem;
}

.values-intro {
  max-width: 900px;
  margin: 0 auto 6rem;
  color: #dfe7f2;
  font-size: 1.05rem;
  line-height: 1.7;
  padding: 2.6rem 2.4rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg) !important;
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--card-shadow);
  isolation: auto;
}

/* Shared card style reused for value-section and dienst-inner */
.value-section {
  position: relative;
  padding: 2.6rem 2.4rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg) !important;
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--card-shadow);
  overflow: hidden;
  min-height: 420px;
  isolation: auto;             /* ← was isolate, nu auto */
}

.value-bg-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.value-bg-icon i {
  font-size: 22rem;
  color: rgba(255, 255, 255, 0.04);
  transform: rotate(-8deg);
}

.value-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.value-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.value-content p {
  color: #dbe4f1;
  line-height: 1.7;
}

/* Stagger delays */
.values .value-section:nth-child(1) {
  --delay: 0ms;
}

.values .value-section:nth-child(2) {
  --delay: 120ms;
}

.values .value-section:nth-child(3) {
  --delay: 240ms;
}

.values .value-section:nth-child(4) {
  --delay: 360ms;
}

@media (max-width: 900px) {
  .values {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 1.5rem 4rem;
  }

  .value-section {
    padding: 4rem 3rem;
  }

  .value-bg-icon i {
    font-size: 14rem;
  }
}

.value-section .wp-block-group__inner-container,
.values-intro .wp-block-group__inner-container {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: auto;
  position: static;            /* ← voorkomt dat het een nieuwe context maakt */
}

.wp-block-group.values.is-layout-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 4rem !important;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem 6rem;
}

@media (max-width: 900px) {
  .wp-block-group.values.is-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
    padding: 0 1.5rem 4rem !important;
  }
}
/* ============================================================
   12. SERVICES CAROUSEL (DIENSTEN)
============================================================ */

.diensten-carousel-wrap {
  position: relative;
  padding: 6rem 0;
  animation: fadeUp 1.2s ease-out forwards;
  margin-bottom: 160px;
}

.carousel-header {
  padding-bottom: 3rem;
}

.carousel-track {
  position: relative;
  height: 400px;
}

.dienst {
  position: absolute;
  top: 0;
  left: 50%;
  width: 380px;
  transform: translateX(-50%) scale(0.9);
  transition: transform 0.8s cubic-bezier(.25, .9, .35, 1), opacity 0.8s;
  z-index: 1;
  pointer-events: auto;
}

.dienst-inner {
  position: relative;
  padding: 2.6rem 2.4rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 10px 80px rgba(0, 0, 0, 0.45);
  isolation: isolate;
}

.dienst.active {
  transform: translateX(-50%) scale(1.1);
  opacity: 1;
  z-index: 3;
}

.dienst.left {
  transform: translateX(-145%) scale(0.75);
  z-index: 1;
}

.dienst.right {
  transform: translateX(45%) scale(0.75);
  z-index: 1;
}

.dienst img {
  margin-top: -60px;
  text-align: center;
}

.dienst h3 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  text-align: left;
}

.dienst p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
}

/* Shared button */
.btn {
  display: inline-block;
  padding: .7rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .4);
}

.btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .6);
}

/* Gradient variants */
.gradient {
  background: linear-gradient(90deg, var(--generic-1), var(--generic-2));
}

.gradient-testing {
  background: linear-gradient(90deg, var(--testing-1), var(--testing-2));
}

.gradient-security {
  background: linear-gradient(90deg, var(--security-1), var(--security-2));
}

.gradient-global {
  background: linear-gradient(90deg, var(--global-1), var(--global-2));
}

/* Carousel nav arrows */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1.8rem;
  z-index: 5;
  cursor: pointer;
  transition: background 0.3s;
}

.nav:hover {
  background: rgba(255, 255, 255, 0.15);
}

.nav.prev {
  left: 0;
}

.nav.next {
  right: 0;
}

@media (max-width: 566px) {

  .nav.prev,
  .nav.next {
    margin-top: -80px;
  }
}

@media (max-width: 900px) {
  .dienst {
    flex: 0 0 80%;
  }
}


/* ============================================================
   13. PRODUCT WALL
============================================================ */

.product-wall {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;              /* ← centreert de hele sectie */
  width: 100%;
}

/* Filters */
.product-filters {
  margin-bottom: 2rem;
  display: grid;
  justify-content: center;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.product-filters button {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
}

.product-filters button:hover,
.product-filters button.active {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}

/* Card */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  height: 250px;               /* ← vaste hoogte */
  overflow: hidden;            /* ← kapt af wat buiten valt */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 10px 60px rgba(0, 0, 0, 0.45);
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.product-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.product-card h3 {
  margin: 0 0 0.5rem;
  word-break: break-word;      /* ← breekt lange woorden af */
  overflow-wrap: break-word;
  hyphens: auto;               /* ← voegt afbrekingstekens toe */
  lang: nl;                    /* werkt samen met hyphens */
}

.product-card .category-label {
  margin-top: auto;
  font-size: 0.8rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-card p {
  margin: 0;
  font-size: 0.95rem;
}

.product-card p:first-of-type {
  flex-grow: 1;
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

/* Hover — only active cards */
.product-card:not(.inactive):hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 24px rgba(0, 0, 0, 0.25);
}

.product-card:not(.inactive):hover img {
  transform: scale(1.05);
}

/* Overlay */
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom left, var(--label-color, transparent) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 12px;
  pointer-events: none;
  z-index: 0;
}

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--card-bg));
  pointer-events: none;
  border-radius: 0 0 12px 12px;
}

.product-card.active-filter::before {
  opacity: 0.25;  /* iets hoger dan bij vlakke kleur omdat gradient al vervaagt */
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-card:not(.inactive):hover::after {
  opacity: 1;
}

/* Inactive state */
.product-card.inactive {
  opacity: 0.35;
  filter: grayscale(95%);
  pointer-events: none;
  transform: scale(0.8);
}

.product-card.inactive::after {
  background: rgba(0, 0, 0, 0.15);
  opacity: 1;
}

.product-card.global-delivery { --label-color: var(--global-1); }
.product-card.it-security     { --label-color: var(--security-1); }
.product-card.testing         { --label-color: var(--testing-1); }

/* Stagger delays */
.product-card.fade-in-up:nth-child(1) {
  animation-delay: 0ms;
}

.product-card.fade-in-up:nth-child(2) {
  animation-delay: 50ms;
}

.product-card.fade-in-up:nth-child(3) {
  animation-delay: 100ms;
}

.product-card.fade-in-up:nth-child(4) {
  animation-delay: 150ms;
}

.product-card.fade-in-up:nth-child(5) {
  animation-delay: 200ms;
}

.product-card.fade-in-up:nth-child(6) {
  animation-delay: 250ms;
}

.product-card.fade-in-up:nth-child(7) {
  animation-delay: 300ms;
}

.product-card.fade-in-up:nth-child(8) {
  animation-delay: 350ms;
}

.product-card.fade-in-up:nth-child(9) {
  animation-delay: 400ms;
}

.product-card.fade-in-up:nth-child(10) {
  animation-delay: 450ms;
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    scroll-margin-top: 100px;
  }

  .product-card.inactive {
    display: none;
  }

  .product-card {
    opacity: 1;
    filter: none;
    pointer-events: auto;
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   14. BLOG / POSTS
============================================================ */

/* Latest post card */
.latest-post-card {
  position: relative;
  background: var(--card-bg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-radius: 16px;
  padding: 2rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 20px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.latest-post-card:hover {
  transform: translateY(-6px);
}

.latest-post-card .stretched-link {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: auto;
}

.latest-post-card * {
  pointer-events: none;
}

.latest-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.latest-post-content h3 {
  margin-top: 0;
}

.latest-post-content a {
  color: inherit;
  text-decoration: none;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
}

/* Post meta bar */
.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(20, 24, 30, 0.9), rgba(15, 18, 24, 0.7));
  backdrop-filter: blur(var(--blur));
}

.post-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.post-author img {
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.author-info {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}

.meta-label {
  opacity: 0.6;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.author-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.post-details span {
  position: relative;
}

@media (max-width: 1024px) {
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .post-details {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
}

/* Article blog card (listing) */
.article-blog-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  padding: 1rem;
  margin-bottom: 20px;
}

.article-blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  background: var(--card-bg);
  z-index: 0;
}

.article-blog-card>* {
  position: relative;
  z-index: 1;
}

.article-blog-card .card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* WordPress block group (also uses glass card style)
.wp-block-group {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  background: var(--card-bg);
  z-index: 0;
  padding: 1rem;
  margin-bottom: 20px;
} */

.page-child.parent-pageid-1389 .entry-title {
  display: none;
}


/* ============================================================
   15. CONTACT SECTION
============================================================ */

.contact-section {
  position: relative;
  padding: 75px 20px;
  overflow: hidden;
}

.contact-card {
  max-width: 960px;
  margin: 0 auto;
  padding: 5rem 3.75rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(5, 10, 20, 1), rgba(5, 10, 20, 0.3));
  backdrop-filter: blur(var(--blur));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 10px 80px rgba(0, 0, 0, 0.45);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  animation: glowMove 18s ease-in-out infinite alternate;
  filter: blur(120px);
  z-index: 0;
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact-card h2 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  margin-bottom: 20px;
}

.contact-card p {
  font-size: 1.15rem;
  max-width: 520px;
  margin: 0 auto 40px;
  opacity: 0.85;
}

.contact-meta {
  margin-top: 40px;
  font-size: 0.9rem;
  opacity: 0.6;
  display: flex;
  justify-content: center;
  gap: 24px;
}


/* Primary button glow */
.btn-primary {
  position: relative;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(100, 150, 255, 0.4), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .contact-card {
    padding: 60px 24px;
    border-radius: 24px;
  }
}


/* ============================================================
   16. FOOTER
============================================================ */

.site-footer {
  position: relative;
  padding: 4rem 3rem;
  background: linear-gradient(180deg, rgba(6, 9, 14, 0.85), rgba(6, 9, 14, 0.95));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  margin-top: auto;
  margin-bottom: 0;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(180px, auto) auto 1fr auto 1fr auto minmax(80px, auto);
  align-items: center;
  column-gap: 3rem;
}

.footer-col {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: auto;
}

.footer-col h4 {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9bb7d6;
  margin-bottom: 0.8rem;
}

.footer-col p {
  margin: 0.4rem 0;
  color: #e4e8ee;
}

.footer-col a {
  color: #e4e8ee;
  text-decoration: none;
}

.footer-col a:hover {
  color: #b7dcff;
}

.footer-brand img {
  max-width: 200px;
  height: auto;
}

.footer-divider {
  color: rgba(255, 255, 255, 0.15);
  font-size: 1.8rem;
  user-select: none;
}

.footer-li {
  color: #b7dcff;
  font-size: 40px;
  transition: all 2s;
}

.footer-li a:hover {
  font-size: 45px;
  color: rgba(183, 220, 255, 0.2);
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    row-gap: 2.2rem;
    text-align: center;
  }

  .footer-divider {
    display: none;
  }

  .footer-brand img {
    margin: 0 auto;
  }

  .footer-networks {
    justify-content: center;
  }

  .footer-networks a {
    margin: 0 auto;
  }

  .footer-col h4 {
    margin-bottom: 0.4rem;
  }

  .footer-col p {
    font-size: 0.95rem;
  }
}


/* ============================================================
   17. BACKGROUND EFFECTS
============================================================ */

/* Canvas / overlay layers — never intercept clicks */
.video-bg,
#network-bg,
.hero-overlay {
  pointer-events: none !important;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}

.video-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -10;
  background: black;
  opacity: 0.05;
  /* intentional low opacity */
}

.video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

#network-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -10;
}

.hero-overlay {
  position: fixed;
  inset: 0;
  z-index: -10;
  background: radial-gradient(circle at center,
      rgba(24, 72, 54, 0.35) 0%,
      rgba(23, 40, 83, 0.65) 60%,
      rgba(3, 12, 38, 0.85) 100%);
  transform: translateZ(0);
  will-change: opacity;
}

/* Fade in on ready */
body.bg-ready #network-bg,
body.bg-ready .hero-overlay {
  opacity: 1;
}

/* Prevent transforms from creating stacking contexts that break fixed children */
.site,
#page,
.site-inner {
  transform: none !important;
  filter: none !important;
}

/* Header strip */
.header-strip {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(to right, rgba(5, 10, 20, 0), rgba(5, 10, 20, 0.65) 15%, rgba(5, 10, 20, 0.65) 85%, rgba(5, 10, 20, 0));
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  backdrop-filter: blur(var(--blur));
  text-align: center;
  text-transform: uppercase;
}


/* ============================================================
   18. WORDPRESS CORE (Widgets, Media, Galleries, A11y, Alignments)
============================================================ */

/* Posts & Pages */
.sticky {
  display: block;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

.custom-logo-link {
  display: inline-block;
}

/* Captions */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-caption {
  display: block;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

/* Jetpack Infinite Scroll */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

.infinity-end.neverending .site-footer {
  display: block;
}

/* Accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments */
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}


/* ============================================================
   19. PAGE-SPECIFIC OVERRIDES
============================================================ */

/* Shared grid layout for service sub-pages */
.page-id-913 .wp-block-group-is-layout-grid,
.page-id-1011 .wp-block-group-is-layout-grid,
.page-id-1015 .wp-block-group-is-layout-grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

/* Shared pill style for service grid items */
.page-id-913 .wp-block-group-is-layout-grid p,
.page-id-1011 .wp-block-group-is-layout-grid p,
.page-id-1015 .wp-block-group-is-layout-grid p {
  padding: 1rem;
  border-radius: 16px;
  transition: transform 0.45s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}

/* Per-page gradient color */
.page-id-913 .wp-block-group-is-layout-grid p {
  background: linear-gradient(180deg, var(--testing-1), var(--testing-2));
}

.page-id-1011 .wp-block-group-is-layout-grid p {
  background: linear-gradient(180deg, var(--security-1), var(--security-2));
}

.page-id-1015 .wp-block-group-is-layout-grid p {
  background: linear-gradient(180deg, var(--global-1), var(--global-2));
}

.page-id-913 .wp-block-group-is-layout-grid p:hover,
.page-id-1011 .wp-block-group-is-layout-grid p:hover,
.page-id-1015 .wp-block-group-is-layout-grid p:hover {
  transform: translateY(-3px) scale(1.05);
}

.expertise-grid-wrapper {
  margin-top: 3rem;
}

.expertise-grid-title {
  margin-bottom: 1.5rem;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.expertise-grid-item {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
  border-radius: var(--radius-lg, 12px);
  color: inherit;
  text-decoration: underline;
  font-size: 1rem;
  font-weight: 500;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  min-height: 60px;
  width: 100%;
}

.expertise-grid-item:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

/* Kleur per label */
.expertise-grid-item--testing {
  background: linear-gradient(180deg, var(--testing-1), var(--testing-2));
}

.expertise-grid-item--it-security {
  background: linear-gradient(180deg, var(--security-1), var(--security-2));
}

.expertise-grid-item--global-delivery {
  background: linear-gradient(180deg, var(--global-1), var(--global-2));
}

/* Responsive */
@media (max-width: 900px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }
}

.expertise-nav__next {
  float: right;
}

.expertise-nav__previous {
  float: left;
}

.content_box {
  margin: 0 auto 6rem;
  color: #dfe7f2;
  font-size: 1.05rem;
  line-height: 1.7;
  padding: 2.6rem 2.4rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--card-shadow);
  isolation: isolate;
}

.contact-intro {
  max-width: 700px;
  margin: 0 auto 6rem;
  text-align: center;
}

.contact-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #dfe7f2;
  margin-bottom: 3rem;
}

.contact-options {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 260px;
}

.contact-option:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 30px rgba(0, 0, 0, 0.35);
}

.contact-option-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--security-1), var(--security-2));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-option-icon i {
  font-size: 1.2rem;
  color: white;
}

.contact-option-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
}

.contact-option-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a9bbf;
}

.contact-option-value {
  font-size: 1rem;
  color: #dfe7f2;
  font-weight: 500;
}

@media (max-width: 600px) {
  .contact-options {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-option {
    min-width: unset;
  }
}

.security-logos {
    margin-top: 2rem;
}

.security-logos-title {
    margin-bottom: 1.5rem;
}

.security-logos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.security-logo-item {
    flex: 0 0 calc(25% - 1.5rem);
}

.security-logo-item img,
.security-logos-grid img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 124px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.2s, opacity 0.2s;
}

.security-logo-item img:hover,
.security-logos-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 600px) {
    .security-logo-item {
        flex: 0 0 calc(50% - 1rem);
    }
}