:root {
    --bs-focus-ring-color: transparent;
}

html,
body {
    font-family: "Gadugi";
    font-size: 1rem;
    font-weight: 400;
}

p {
    line-height: 31px;
}

.bg-ois {
    background-color: #0070bf;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0070bf;
    opacity: .3;
    z-index: 2;
    -webkit-transition: .3s;
    transition: .3s;
}

.blur {
    filter: blur(4px);
    -webkit-filter: blur(4px);
}

.half-square-top {
    position: absolute;
    top: -1.375rem;
    left: -0.4375rem;
    rotate: 180deg;
}

#hero .container {
    z-index: 3;
    /* tekst staat boven overlay */
}

.row-hero {
    width: 70%;
    margin: 0 auto;
}

/* Kleine devices (Bootstrap breakpoint: <576px) */
@media (max-width: 576px) {
    .row-hero {
        width: 90%;
    }
}


/* Gecentreerde container */
.container-custom {
    width: 80%;
    margin: 0 auto;
}

/* SVG kleiner maken (optioneel) */
.half-square {
    width: 80px;
    height: auto;
}

/* 10px naar buiten laten vallen */
.offset-corner {
    transform: translate(-10px, -10px);
}

/* Voor rechtsonder moet de offset andersom */
.position-absolute.bottom-0.end-0.offset-corner {
    transform: translate(10px, 10px);
}

/* Rotatie voor linkerboven */
.rotate-180 {
    transform: rotate(180deg) translate(10px, 10px);
}

.corner-wrapper {
    padding: 10px;
    /* of 15px, wat je mooi vindt */
    position: relative;
}

.block-hero {
    padding: 11.0625rem 0 9.125rem 0;
}

.section-nieuwsbrief {
    position: relative;
    padding: 4rem 0;
    /* hoogte van de sectie */
    overflow: hidden;
    /* voorkomt dat de foto eruit steekt */
}

.section-nieuwsbrief .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    /* foto naar rechts */
    z-index: 1;
}

.section-nieuwsbrief .content {
    position: relative;
    z-index: 3;
}

.section-nieuwsbrief .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: unset;
    background-image: -webkit-gradient(linear, left top, right top, from(#0070bf), to(rgba(0, 112, 191, 0.6)));
    background-image: linear-gradient(to right, #0070bf, rgba(0, 112, 191, 0.6));
    z-index: 2;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: normal;
}

h1 {
    font-size: 48px;
}

@media only screen and (max-width: 991px) {
    h1 {
        font-size: 38px;
    }
}

h2 {
    font-size: 38px;
}

@media only screen and (max-width: 991px) {
    h2 {
        font-size: 32px;
    }
}

.btn {
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    color: #fff;
    font-weight: 600;
    padding: .8125rem 1.25rem;
}

.btn-red {
    background: #da3127;
}

.btn-red:hover,
.btn-red:focus {
    color: #fff;
    background: rgb(184.5818181818, 40.1636363636, 31.6181818182);
    text-decoration: none
}

.btn-blue {
    background: #0070bf;
}

.btn-blue:hover,
.btn-blue:focus {
    color: #fff;
    background: rgb(0, 88.0753926702, 150.2);
    text-decoration: none
}

.form-label {
    margin-bottom: .5rem;
    font-weight: 700;
}

input {
    width: 100%;
    padding: .75rem .6875rem !important;
    border: 2px solid rgba(0, 0, 0, .5) !important;
    color: #0070bf !important;
}

.navbar-brand .logo {
    height: 3.1875rem;
    width: auto;
}

.navbar {
    z-index: 4;
    padding: 1.875rem .9375rem;
}

.nav-link {
    padding: .625rem;
    font-weight: 700;
    color: #000;
    font-size: 1rem;
}

.nav-link:hover {
    text-decoration: underline;
}

/* Basis: maak de hamburger lijnen wit of zwart naar wens */
.navbar-toggler-icon {
    background-image: none;
    /* verwijder standaard icoon */
    width: 24px;
    height: 2px;
    background-color: #000;
    /* kleur van de hamburger */
    position: relative;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
}

/* Bovenste lijn */
.navbar-toggler-icon::before {
    top: -7px;
}

/* Onderste lijn */
.navbar-toggler-icon::after {
    top: 7px;
}

/* --- OPEN STATE (geen .collapsed) → verander in X --- */
.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

.container-fluid {
    padding-left: 0px;
    padding-right: 0px;
}

footer#footer .footer-inner {
    padding: 8.4375rem 0 6.5625rem 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.bvb-banner {
    background: #0070bf;
    color: #fff;
    padding: 30px 0;
    font-size: 38px;
    font-weight: bold;
    display: block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 15px;
}

.footer-title {
    color: #0070bf;
    line-height: normal;
    margin-bottom: .9375rem;
    font-size: 22px;
}

.footer-link {
    color: #000;
    text-decoration: underline;
}

footer ul {
    list-style-type: none;
    margin-bottom: 1rem;
    padding: unset;
    margin: unset;
}


/* 50% blauw sectie*/
/* Blauwe achtergrond voor de hele rechterhelft */
.bg-oisblue {
    background-color: #0070bf;
}

/* Belangrijk: de kolom moet overflow toestaan */
.overflow-visible {
    overflow: visible;
}

.media-wrapper {
    position: relative;
    height: 360px;
    overflow: visible;
    /* foto mag eruit */
}

/* Foto die uitspringt */
.media-img {
    position: absolute;
    top: -70px; 
    left: -80px;
    width: 110%;
    height: 110%;
    object-fit: cover;
    z-index: 1;
}

/* Hoekje rechtsonder BUITEN de foto */
.corner-bottom-right {
    position: absolute;
    /* afstand tot de foto */
    bottom: 15px; 
    right: 0px;
    /* zelfde als left-offset van de foto */
    /*width: 70px;
    height: 80px;*/
    z-index: 2;
}

/*
.corner-bottom-right svg {
    width: 100%;
    height: auto;
    display: block;
}*/

/* Mobiel */
@media (max-width: 767.98px) {
    .media-wrapper {
        height: 240px;
    }

    .media-img {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .corner-bottom-right {
        bottom: 0;
        right: 0;
    }
}

.section-text-media {
    position: relative;
    overflow: visible;
    padding-bottom: 6rem;
    padding-top: 6rem;
    /* ruimte onder de uitspringende foto */
    background: linear-gradient(to right, #ffffff 0%, #ffffff 50%, #0070bf 50%, #0070bf 100%);
}

.featured-carousel {
  position: relative;
}

.carousel-track {
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: none;
}

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

.carousel-item-card {
  width: 280px; /* exact aantal zichtbare cards bepalen */
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
}

.carousel-item-card img {
  height: 160px;
  object-fit: cover;
}

/* Fade aan linker- en rechterkant */
.featured-carousel::before,
.featured-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.featured-carousel::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.featured-carousel::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

/* Navigatieknoppen */
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }


/*Einde 50% Blauw sectie*/

input, textarea, select, input {
    width: 100%;
    padding: .75rem .6875rem !important;
    border: 2px solid rgba(0, 0, 0, .5) !important;
    color: #0070bf !important;
    border-radius: 0 !important;
}

.aanmeldform label {
    color: #0070bf;
}

.form-control:focus {
    box-shadow: none !important;
    border-color: inherit !important; /* of een eigen kleur */
    outline: none !important;
}

.wit-blauw-split {
    background: linear-gradient(to right, white 50%, #0070bf 50%);
}

/* Mobiel: volledig wit */
@media (max-width: 768px) {
    .wit-blauw-split {
        background: white;
    }
}