/*To have our own image on the home carousel*/
.home-carousel {
  background-image: url('../img/cover_6.png') !important;
  height: auto !important;        /* automatisch hoogte gebaseerd op afbeelding */
  min-height: 500px;              /* optioneel, voor kleine schermen */
  background-size: cover !important;
  background-position: center !important;
}

.home-carousel .dark-mask,
.home-carousel .overlay {
    background: none !important; /* verwijdert rode overlay */
}


/* To get the linkedin icon in the main bar*/
.navbar-default .navbar-nav > li > a i.fab {
  font-size: 20px;
  color: #555;
  padding: 0 1px;
  transition: color 0.2s;
}

.navbar-default .navbar-nav > li > a:hover i.fab {
  color: #e74c3c;
  display: inline-block; /* zorgt dat het icoon zichtbaar blijft */
}

/* To get the image for the newsletter be fixed (like the text is moving across it*/
.background-image-fixed-2 {
    background-image: url('../img/carousel/main_slider.jpg');
    background-size: cover;
    background-position: center;
}

/* To make the logo's look better and aligned*/
.footer-logos {
  display: flex;
  flex-direction: column; /* onder elkaar */
  align-items: flex-start;    /* horizontaal centreren */
  gap: 10px;              /* ruimte tussen de logo's */
  margin-top: 15px;       /* ruimte boven de logo’s */
}

.footer-logos img {
  max-height: 108px;       /* maximaal dezelfde hoogte */
  width: auto;            /* breedte past automatisch aan */
}

/*To make the text in about us align (justify)*/
.footer-about p {
    text-align: justify;
}

.navbar-header .navbar-brand img.hidden-xs.hidden-sm {
    max-height: 115px;       /* maak het kleiner */
    margin-top: -12px;       /* omhoog schuiven */
}

/* to get more space between columns in the footer*/
#footer .col-md-4,
#footer .col-sm-6 {
  padding-right: 40px;   /* meer ruimte aan de binnenkant rechts */
}

/* to get an image at each page header*/
.page-header {
  position: relative;
  width: 100%;
  height: 300px; /* pas aan naar wens */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;    /* verticaal centreren */
  justify-content: center; /* horizontaal centreren */
  color: white;
  text-align: center;
  border-bottom: none;
  overflow: hidden;
  margin-top: 0;
}
.page-header::after {
    content: "";
    position: absolute;
    bottom: -50px; /* schuif pseudo-element naar onder */
    left: 0;
    width: 100%;
    height: 100px; /* hoogte van de bol */
    background: white; /* kleur van de pagina eronder */
    border-radius: 50% 50% 0 0; /* ronde bovenkant van pseudo-element */
    z-index: 2;
}
.page-header .page-title {
  position: relative;
  z-index: 2;
  font-size: 4em; /* pas aan naar wens */
  margin: 0;
  color: #ffffff;        
  padding: 0 20px; /* kleine padding zodat het niet tegen de zijkant staat */
 
}

.page-header + .container {
    margin-top: 0;       /* verwijdert extra ruimte boven de container */
    padding-top: 0;      /* verwijdert interne padding */
}

nav, .nav.navbar, .navbar-container {
    margin-bottom: 0;  /* verwijdert witruimte onder navbar */
}




/* to fix the navbar*/
/*Basis */
.navbar-default .navbar-nav > li > a {
  color: #333 !important;
  background-color: transparent !important;
  border-top: 3px solid transparent;
  font-weight: bold;
  text-transform: uppercase;
  padding: 15px 20px;
  transition: all 0.3s ease;
}

/*Hover state */
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  background-color: #DA4D4D !important;
  color: #fff !important;
  border-top: 3px solid #A02121 !important;
}

/*Actieve pagina (ook parent van submenu) */
.navbar-default .navbar-nav > li.active > a,
.navbar-default .navbar-nav > li.active > a:hover,
.navbar-default .navbar-nav > li.active > a:focus {
  background-color: #DA4D4D !important;
  color: #fff !important;
  border-top: 3px solid #A02121 !important;
}

/*Dropdowns standaard niet rood */
.navbar-default .navbar-nav > li.dropdown > a {
  background-color: transparent !important;
  color: #333 !important;
  border-top: 3px solid transparent !important;
}

/*Hover op dropdowns */
.navbar-default .navbar-nav > li.dropdown:hover > a {
  background-color: #DA4D4D !important;
  color: #fff !important;
  border-top: 3px solid #A02121 !important;
}

.navbar ul.nav > li.active > a {
  background-color: #DA4D4D !important;
  border-top: 3px solid #A02121 !important;
  color: white !important;
}

.navbar ul.nav > li > a:hover,
.navbar ul.nav > li.open > a {
  background-color: #DA4D4D !important;
  border-top: 3px solid #A02121 !important;
  color: white !important;
}

/*partner logo's*/
.customers .item {
  width: 120px;        /* vaste box breedte */
  height: 120px;       /* vaste box hoogte */
  display: flex;
  align-items: center;     /* verticaal centreren */
  justify-content: center; /* horizontaal centreren */
  margin: 0 auto;
  padding: 10px;
  background-color: white;
  border-radius: 10px;
}

.customers .item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;  /* behoud verhouding */
}

/*to fix the heigt of menu items*/
/* Zorg dat alle menu-links exact dezelfde hoogte en padding hebben */
.navbar-default .navbar-nav > li > a {
    display: flex;
    align-items: center; /* verticale centrering */
    height: 60px;        /* vaste hoogte voor alle items, pas aan indien nodig */
    padding: 0 20px;     /* horizontale padding */
}

/* Dropdown toggle caret mooi centreren */
.navbar-default .navbar-nav > li.dropdown > a > .caret {
    margin-left: 5px; /* kleine ruimte tussen tekst en caret */
    align-self: center;
}

/* Eventueel line-height resetten */
.navbar-default .navbar-nav > li > a {
    line-height: normal;
}

.navbar-default {
    border-bottom: none !important;
    box-shadow: none !important; /* soms ook een schaduw die eruit ziet als een lijn */
}

.navbar-default .navbar-nav > li > a {
    border-bottom: none !important;
}

.navbar-default .navbar-nav > li > a {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.navbar .container,
.navbar-collapse {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

/*to have page titels/content titels underlined*/
/* Alleen h1 in de pagina content onderlijnen, niet de page-header */
#content .container h1 {
    position: relative;
    display: inline-block;   /* lijn onder de tekst */
    padding-bottom: 5px;     /* ruimte tussen tekst en lijn */
    margin-bottom: 20px;
    margin-top: 50px; /* ruimte onder titel */
    font-size: 30px;  
    color: #555555;   
}

#content .container h1::after {
    content: "";
    display: block;             /* nieuwe regel onder de tekst */
    height: 4px;                /* dikte van de lijn */
    background-color: #DA4D4D;  /* kleur */
    width: 100%;                /* past zich aan de tekstlengte aan */
    margin-top: 5px;
    
}

/*lettertype content op pagina's groter maken*/ 
/* Alleen de paragrafen in de content van pagina's groter maken */
#content .container p {
    font-size: 20px; /* Pas aan naar gewenste grootte */
    line-height: 1.7; /* Optioneel: maakt tekst beter leesbaar */
}


/*to make de press page better*/

/*lijntje rond kader*/
.press-card .card {
  border: 1.5px solid #bbbaba;   /* lichte grijze rand */
  border-radius: 8px;        /* optioneel afgeronde hoeken */
  padding: 10px;
  background-color: #fff;    /* optioneel */
}

.press-overview {
  margin-bottom: 50px;  /* ruimte onder de kaarten */
}

.press-card .card-title {
  font-size: 2.5rem; /* pas aan naar wens */
  font-weight: 600;
  color: #DA4D4D
}

.press-card .card-subtitle {
  font-size: 2rem;
  font-weight: 400;
  color: #bbbaba;
}

.press-card .card-text {
  font-size: 1.5rem;
  line-height: 1.4;
}

.press-card .card-img-top {
  display: block;      /* maakt het element een block */
  margin: 0 auto;      /* horizontaal centreren */
  width: 100%;         /* breedte past zich aan, niet 100% */
  max-width: 100%;     /* voorkomt dat hij groter wordt dan container */
  height: 150px;       /* gewenste hoogte */
  object-fit: cover;   /* behoud verhouding en snijdt bij */
}
.image-wrapper {
   position: relative; 
   overflow: hidden; 
}

.image-wrapper img {
   width: 100%;
   height: 200px; 
   object-fit: cover; 
   display: block; 
}

.red-overlay {
   position: absolute; 
   top:0; 
   left:0; 
   width:100%; 
   height:100%; 
   background-color: rgba(229, 110, 110, 0.6); 
   opacity:0; 
   transition: opacity 0.3s; 
   z-index:1; 
}

.image-wrapper:hover .red-overlay {
   opacity:1; 
}

.image-overlay.btn {
   position: absolute;
   top:0;
   left:0; 
   width:100%;
   height:100%; 
   z-index:2; 
   display:flex; 
   justify-content:center; 
   align-items:center; 
   text-decoration:none; 
   color:#fff; 
}

.overlay-button {
   background-color:#dc3545;
   padding:8px 15px; 
   border-radius:5px; 
   font-weight:bold; 
   opacity:0; 
   transition: opacity 0.3s, transform 0.3s; 
}

.image-wrapper:hover .overlay-button { 
   opacity:1; 
   transform:scale(1.05); 
}

.image-overlay i {
   margin-right:5px; 
}

.press-card .card-title { 
  border-bottom:2px solid #dc3545; 
  display:inline-block; 
  padding-bottom:4px; 
}

/* icoontjes aanpassen op contact page*/
.contact-features .contact-box .icon i {
    font-size: 2.5rem;      /* gewenste grootte */
    color: #dc3545;       /* rood */
}

.contact-features .contact-box {
    text-align: center; /* centreren van alles binnen de box */
}

.contact-features .contact-box .icon {
    display: inline-block;
    margin-bottom: 10px; /* ruimte tussen icoon en titel */
}

.contact-features .contact-box .icon i:hover {
    transform: scale(1.1);
    transition: transform 0.2s;
}

/*home page*/


.hero {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.hero-background {
  background-image: url('../img/cover_withouttext.png');
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  font-family: 'Montserrat', sans-serif;
}

.hero-title {
  font-size: 9rem; 
  font-weight: bold;
  margin-bottom: 0px; 
}

.hero-title::after {
  content: "";
  display: block;
  width: 100%;       /* even breed als de titel */
  height: 5px;
  background: white;
  margin: 0 auto 10px auto;    /* afstand tot subtitel */
}

.hero-subtitle { 
  font-size: 3.5rem;
  font-weight: bold;
  margin-top: 10px
}

.scroll-down {
  position: absolute;
  bottom: 0;          /* helemaal onderaan de hero */
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 60px;       /* hoogte = helft van breedte */
  background-color: white;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #e74c3c;
  font-weight: bold;
  font-size: 1.5rem;
}

.scroll-down span {
  display: block;
}
.scroll-down i {
  margin-top: 2px;
  color: #e74c3c;
  font-size:1.65rem;
  display: block;
  font-weight: bold;
}




/* responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 5rem; }
  .hero-subtitle { font-size: 1.5rem; }
  .scroll-down { width: 80px; height: 40px; font-size: 0.8rem; }
}

/* opmaak tabel*/
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 20px;         /* ← pas dit aan naar wens */

}

th, td {
  border: 1px solid #ddd;
  padding: 8px;
}

th {
  background-color: #e58282;
  text-align: left;
  color: #000000;           /* ← andere kleur voor kolomtitels */
  font-weight: 600;
}


/* layout form*/
/* Alleen email + button naast elkaar */
.newsletter-section {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.newsletter-section h3 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 0.4em;
  position: relative;
  display: inline-block;
}

.newsletter-section h3::after {
  content: "";
  display: block;             /* nieuwe regel onder de tekst */
  height: 4px;                /* dikte van de lijn */
  background-color: #DA4D4D;  /* kleur */
  width: 100%;                /* past zich aan de tekstlengte aan */
  margin-top: 5px;    /* centrering */
}

.newsletter-image img {
  max-width: 100%;
  height: auto;
  

}
.newsletter-form {
  max-width: 700px;
  margin: 0 auto;

}
.newsletter-fields {
  display: flex;
  gap: 0.7em;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* responsive voor mobiel */
  margin-bottom: 0.7em; /* ruimte onder de velden */
  
}

.newsletter-fields input[type="email"] {
  flex: 1 1 300px;
  padding: 0.7em 1em;
  border: none;
  border-radius: 30px;
  background-color: #e58282;
  font-size: 20px;
  outline: none;
}

.newsletter-fields input[type="email"]::placeholder {
  color: white;
}

.newsletter-fields button {
  padding: 0.7em 1.4em;
  border: none;
  border-radius: 30px;
  background-color: #DA4D4D;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.newsletter-fields button:hover {
  background-color: #9F2121;
}

/* Checkbox en uitleg onder het formulier */
.newsletter-consent {
  display: block;
  margin-top: 0.8em;
  font-size: 1.2rem;
  color: #333;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-consent a {
  color: #c85b55;
  text-decoration: underline;
}

.newsletter-info-bottom p {
  width: 100%;
  max-width: none;       /* overschrijft beperking van 700px */
  margin: 2rem 0 0 0 !important;
  text-align: left;
  font-size: 15px !important;
  color: #C85B55;
}

.newsletter-info-bottom {
  padding-bottom: 0;
}

@media (max-width: 520px) {
  .newsletter-fields {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-fields input,
  .newsletter-fields button {
    width: 100%;
    border-radius: 15px;
  }
}

/*logo op partner pagina's*/
.partner-about {
  display: flex;
  align-items: center; /* zorgt dat tekst en logo verticaal gecentreerd zijn */
  justify-content: space-between; /* tekst links, logo rechts */
  gap: 20px; /* optioneel: ruimte tussen tekst en logo */
  margin-bottom: 2rem; /* ruimte tussen meerdere partners */
}

.partner-text {
  flex: 1; /* tekst neemt beschikbare ruimte */
}

.partner-logo {
  width: 210px;   /* alle logo’s even breed */
  height: 110px;   /* alle logo’s even hoog */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent; /* of een lichte kleur */
  padding: 2px;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}


@media (max-width: 768px) {
  .partner-about {
    flex-direction: column;
    align-items: flex-start;
  }

  .partner-logo {
    margin-top: 1rem;
  }
}

/*Funders*/
.funders {
  display: flex;
  flex-wrap: wrap; /* zorgt dat ze naar volgende lijn springen als het niet past */
  justify-content: flex-start; /* centreren in de rij */
  align-items: center;
  gap: 30px; /* ruimte tussen logo’s */
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.funder {
  width: 180px;       /* alle logo’s even breed */
  height: 100px;      /* alle logo’s even hoog */
  display: flex;
  justify-content: center;  /* horizontaal centreren */
  align-items: center;      /* verticaal centreren */
  background-color: transparent; /* optioneel */
  padding: 5px;             /* optioneel, witruimte binnen het vakje */
}

.funder img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* behoudt verhoudingen, geen vervorming */
  display: block;
}

.funder.large img {
  max-width: 150%;
}

.funder.medium img {
  max-height: 130%;
}

.funder {
  width: 180px;       /* alle logo’s even breed */
  height: 100px;      /* alle logo’s even hoog */
  display: flex;
  justify-content: center;  /* horizontaal centreren */
  align-items: center;      /* verticaal centreren */
  background-color: transparent; /* optioneel */
  padding: 5px;             /* optioneel, witruimte binnen het vakje */
}

/* h4 layout*/
.highlight {
  padding: 0.3rem 0.5rem;
  margin: 2rem 0 5rem 0; /* top 2rem, bottom 1rem */
  font-size: 20px; 
  font-weight: 10px;
  background-color:#f0b7b7 ;  
  border-radius: 5px;
  color: #555555;
  font-weight: 425;
}

/*to justify text on website*/


h2 {
  color:#555555 
}

/*Research team*/
/* Research team sectie */
.research_team {
  display: flex;
  align-items: center;      /* foto en naam verticaal centreren */
  gap: 15px;                /* ruimte tussen foto en naam */
  margin-bottom: 1.5rem;    /* ruimte tussen verschillende teamleden */
}

/* Foto zelf */
.team-picture img {
  width: 120px;             /* pas aan naargelang je foto’s */
  height: 120px;            /* vierkant formaat */
  object-fit: cover;        /* zorgt dat gezichten niet uitgerekt zijn */
  border-radius: 50%;       /* maakt ze mooi rond */
  border: 2px solid #ccc;   /* subtiele rand */
}

/* Naam naast de foto */
.team-name p {
  margin: 0;
  font-weight: 500;         /* niet te vet, niet te licht */
  font-size: 1rem;
}

/* Op mobiele schermen onder elkaar tonen */
@media (max-width: 768px) {
  .research_team {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-name {
    margin-top: 0.5rem;
  }
}

/*tekst uitlijnen maar NIET homepage*/
body.page p,
body.single p {
    text-align: justify;
}

.centered-image {
    text-align: center;
}

.centered-image img {
    max-width: 100%;
    height: auto;
    border-radius:10px;
}

/* foto's onder blog*/
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.photo-grid img {
    width: 100%;
    object-fit: cover;
}

