/*

TemplateMo 581 Kind Heart Charity

https://templatemo.com/tm-581-kind-heart-charity

*/



@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-Regular.woff2') format('woff2'),
        url('../fonts/Metropolis/Metropolis-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-Light.woff2') format('woff2'),
        url('../fonts/Metropolis/Metropolis-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-SemiBold.woff2') format('woff2'),
        url('../fonts/Metropolis/Metropolis-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-Bold.woff2') format('woff2'),
        url('../fonts/Metropolis/Metropolis-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #ffffff;
  --primary-color:                #2c3e5f;
  --secondary-color:              #2c3e5f;
  --section-bg-color:             #f0f8ff;
  --site-footer-bg-color:         #6b8faa;
  --custom-btn-bg-color:          #597081;
  --custom-btn-bg-hover-color:    #2c3e5f;
  --dark-color:                   #000000;
  --p-color:                      #717275;
  --border-color:                 #e9eaeb;

  --body-font-family:             'Metropolis', sans-serif;

  --h1-font-size:                 52px;
  --h2-font-size:                 46px;
  --h3-font-size:                 32px;
  --h4-font-size:                 28px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  16px;
  --btn-font-size:                18px;
  --copyright-font-size:          14px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-light:            300;
  --font-weight-normal:           400;
  --font-weight-semibold:         600;
  --font-weight-bold:             700;
}

body {
  background-color: var(--white-color);
  font-family: var(--body-font-family);
   height: 100%;
  margin: 0;
  padding: 0;
}

/*---------------------------------------
  CUSTOM CONTAINER SETTINGS               
-----------------------------------------*/

/* Override Bootstrap container max-widths to use percentages */
.container {
  width: 90% !important;  /* 90% van de viewport breedte */
  max-width: none !important;  /* Verwijder Bootstrap max-width beperkingen */
  margin: 0 auto !important;  /* Houd centrering */
}

/* Voor grotere schermen, gebruik een iets kleinere breedte */
@media (min-width: 1200px) {
  .container {
    width: 85% !important;
  }
}

/* Voor extra grote schermen */
@media (min-width: 1400px) {
  .container {
    width: 80% !important;
  }
}

/* Voor mobiele apparaten, gebruik meer breedte */
@media (max-width: 768px) {
  .container {
    width: 95% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* container-fluid blijft 100% */
.container-fluid {
  width: 100% !important;
  max-width: none !important;
}


/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-semibold);
  letter-spacing: -1px;
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
  letter-spacing: -2px;
}

h2 {
  color: var(--secondary-color);
  font-size: var(--h2-font-size);
  letter-spacing: -2px;
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  color: var(--primary-color);
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 20px;
  padding-bottom: 20px;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.section-overlay {
  background: rgba(0, 0, 0, 0.35);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.section-overlay + .container {
  position: relative;
}


/*---------------------------------------
  CUSTOM BLOCK               
-----------------------------------------*/
.custom-block-wrap {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  transition: all 0.5s;
}

.custom-block-wrap:hover {
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
}

.custom-block-body {
  padding: 30px;
}

.custom-block-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-block .custom-btn {
  border-radius: 0;
  display: block;
}


/*---------------------------------------
  PROGRESS BAR               
-----------------------------------------*/
.progress {
  background: var(--border-color);
  height: 5px;
}

.progress-bar {
  background: var(--secondary-color);
}


/*---------------------------------------
  CUSTOM ICON COLOR               
-----------------------------------------*/
.custom-icon {
  color: var(--secondary-color);
}


/*---------------------------------------
  CUSTOM LIST               
-----------------------------------------*/
.custom-list {
  margin-bottom: 0;
  padding-left: 0;
}

.custom-list-item {
  list-style: none;
  margin-top: 10px;
  margin-bottom: 10px;
}


/*---------------------------------------
  CUSTOM TEXT BOX               
-----------------------------------------*/
.custom-text-box {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  margin-bottom: 0;
  padding: 2.5rem;
}

/* Specifieke gaps voor section 2 */
#section_2 .custom-text-box:first-child {
  margin-bottom: 1.5rem;
}

#section_2 .row.g-3 {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0rem;
  margin-top: 0;
}

.custom-text-box-image {
  border-radius: var(--border-radius-medium);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-text-box-icon {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-large);
  color: var(--secondary-color);
  font-size: var(--h6-font-size);
  text-align: center;
  display: inline-block;
  vertical-align: middle;
  width: 25px;
  height: 25px;
  line-height: 30px;
}


/*---------------------------------------
  AVATAR IMAGE - TESTIMONIAL, AUTHOR               
-----------------------------------------*/
.avatar-image {
  border-radius: var(--border-radius-large);
  width: 65px;
  height: 65px;
  object-fit: cover;
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--secondary-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-normal);
  line-height: normal;
  padding: 15px 25px;
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn {
  color: var(--custom-btn-bg-color);
  margin-top: 8px;
  padding: 12px 25px;
}

.custom-btn:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--primary-color);
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn:hover,
.custom-border-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
  color: var(--white-color);
}


/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.navbar {
  background: var(--white-color);
  z-index: 9;
  padding-top: 0;
  padding-bottom: 0;
  transition: all 0.3s ease;
}

/* Sticky navbar styling */
.navbar.is-sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1050 !important;
  background: var(--white-color) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

/* Add top padding to body when navbar is sticky */
body.sticky-navbar {
  padding-top: 80px;
}

.navbar-brand {
  color: var(--primary-color);
  font-size: var(--h6-font-size);
  font-weight: var(--font-weight-bold);
}

.navbar-brand span {
  display: inline-block;
  vertical-align: middle;
}

.navbar-brand small {
  color: var(--secondary-color);
  display: block;
  font-size: 10px;
  line-height: normal;
  text-transform: uppercase;
}

.logo {
  width: 80px;
  height: auto;
}

.navbar-expand-lg .navbar-nav .nav-link {
  margin-right: 0;
  margin-left: 0;
  padding: 20px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active, 
.navbar-nav .nav-link:hover {
  background: transparent;
  color: var(--primary-color);
}

.dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  border: 0;
  max-width: 50px;
  padding: 0;
  margin-top: 20px;
}

.dropdown-item {
  display: inline-block;
  color: var(--p-bg-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
}

.dropdown-menu li:last-child .dropdown-item {
  padding-top: 0;
}

.dropdown-item.active, 
.dropdown-item:active,
.dropdown-item:focus, 
.dropdown-item:hover {
  background: transparent;
  color: var(--primary-color);
}

.dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--copyright-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
  background: var(--primary-color);
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-header p,
.site-header p a,
.site-header .social-icon-link {
  color: var(--white-color);
  font-size: var(--copyright-font-size);
}

.site-header .social-icon {
  text-align: right;
}

.site-header .social-icon-link {
  background: transparent;
  width: inherit;
  height: inherit;
  line-height: inherit;
  margin-right: 15px;
}

.site-header a[href^="tel:"] {
  padding: 0 !important;
}


/*---------------------------------------
  HERO & HERO SLIDE         
-----------------------------------------*/
.hero-section-full-height {
  height: 680px;
  min-height: 680px;
  position: relative;
}

.carousel:hover .carousel-control-next-icon, 
.carousel:hover .carousel-control-prev-icon {
  opacity: 1;
}

#hero-slide .carousel-item {
  height: 680px;
  min-height: 680px;
  position: relative;
}

#hero-slide .carousel-caption {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;  
    bottom: auto !important;  /* Reset Bootstrap's bottom: 20px */
    transform: translate(-50%, -50%) !important;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 30px 25px !important;
    color: #2c3e5f;
    width: 90% !important;
    max-width: 600px;
    text-align: center;
    box-sizing: border-box;
    overflow-wrap: break-word;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

#hero-slide .carousel-caption h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 0; /* BELANGRIJK: voorkomt dat h1 erboven hangt */
    color: var(--primary-color); /* Zorg ervoor dat de titel de primaire kleur heeft */
}

#hero-slide .carousel-caption p {
    font-size: 18px;
    margin-bottom: 20px;
}

#hero-slide .carousel-caption .info-button {
    background-color: #2c3e5f;
    color: #fff;
    font-weight: 600;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
}

#hero-slide .carousel-caption .info-button:hover {
    background-color: #415f85;
}



.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.first-slide-img {
  object-position: center 30%;
}

#hero-slide .carousel-indicators-wrap {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}

#hero-slide .carousel-indicators {
  margin-right: 0;
  margin-left: 22px;
  justify-content: inherit;
}

.carousel-control-next, 
.carousel-control-prev {
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  background-color: rgba(44, 62, 95, 0.8);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.carousel-control-next:hover, 
.carousel-control-prev:hover {
  background-color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.carousel-control-next-icon, 
.carousel-control-prev-icon {
  background-size: 40% 40%;
  width: 24px;
  height: 24px;
  opacity: 1;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

.carousel:hover .carousel-control-next-icon, 
.carousel:hover .carousel-control-prev-icon {
  opacity: 1;
}

.carousel-caption h1,
.carousel-caption p {
  margin: 0;
}

/* Bootstrap override - Reset en center alle carousel captions */
.carousel-caption {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    right: auto !important;
    bottom: auto !important;
    padding-left: 0 !important;  /* Reset Bootstrap padding */
    padding-right: 0 !important; /* Reset Bootstrap padding */
}

/* Mobile tablet: Responsive carousel styling */
@media (max-width: 768px) {
    #hero-slide .carousel-caption {
        background-color: rgba(255, 255, 255, 0.8) !important;
        border-radius: 16px !important;
        padding: 25px 20px !important;
        color: #2c3e5f !important;
        text-align: center !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
        z-index: 2 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        backdrop-filter: blur(3px) !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90% !important;
        max-width: 500px !important;
    }

    #hero-slide .carousel-caption h1 {
        font-size: 28px !important;
        font-weight: 700 !important;
        margin-bottom: 12px !important;
        margin-top: 0 !important;
        color: var(--primary-color) !important;
    }

    #hero-slide .carousel-caption p {
        font-size: 16px !important;
        margin-bottom: 18px !important;
        line-height: 1.4 !important;
    }

    #hero-slide .carousel-caption .info-button {
        background-color: #2c3e5f !important;
        color: #fff !important;
        font-weight: 600 !important;
        padding: 12px 24px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
        text-decoration: none !important;
        display: inline-block !important;
    }

    .carousel-control-next, 
    .carousel-control-prev {
        opacity: 1 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 50px !important;
        height: 50px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 5 !important;
        background-color: rgba(44, 62, 95, 0.8) !important;
        border-radius: 50% !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
        transition: all 0.3s ease !important;
    }

    .carousel-control-next:hover, 
    .carousel-control-prev:hover {
        background-color: var(--primary-color) !important;
        transform: translateY(-50%) scale(1.1) !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
    }

    .carousel-control-next-icon, 
    .carousel-control-prev-icon {
        background-size: 40% 40% !important;
        width: 20px !important;
        height: 20px !important;
        opacity: 1 !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .carousel-control-next-icon:hover, 
    .carousel-control-prev-icon:hover {
        background-color: transparent !important;
        opacity: 1 !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
    }
}

/* Extra small mobile: Carousel styling details */
@media (max-width: 480px) {
    #hero-slide .carousel-caption {
        background-color: rgba(255, 255, 255, 0.8) !important;
        border-radius: 12px !important;
        padding: 20px 15px !important;
        color: #2c3e5f !important;
        text-align: center !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
        z-index: 2 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        backdrop-filter: blur(3px) !important;
    }

    #hero-slide .carousel-caption h1 {
        font-size: 22px !important;
        font-weight: 700 !important;
        margin-bottom: 10px !important;
        margin-top: 0 !important;
        color: var(--primary-color) !important;
        line-height: 1.2 !important;
    }

    #hero-slide .carousel-caption p {
        font-size: 14px !important;
        margin-bottom: 15px !important;
        line-height: 1.4 !important;
    }

    #hero-slide .carousel-caption .info-button {
        background-color: #2c3e5f !important;
        color: #fff !important;
        font-weight: 600 !important;
        padding: 12px 24px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
        text-decoration: none !important;
        display: inline-block !important;
    }

    .carousel-control-next, 
    .carousel-control-prev {
        opacity: 1 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 45px !important;
        height: 45px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 5 !important;
        background-color: rgba(44, 62, 95, 0.8) !important;
        border-radius: 50% !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
        transition: all 0.3s ease !important;
    }

    .carousel-control-next:hover, 
    .carousel-control-prev:hover {
        background-color: var(--primary-color) !important;
        transform: translateY(-50%) scale(1.1) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
    }

    .carousel-control-next-icon, 
    .carousel-control-prev-icon {
        background-size: 40% 40% !important;
        width: 18px !important;
        height: 18px !important;
        opacity: 1 !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .carousel-control-next-icon:hover, 
    .carousel-control-prev-icon:hover {
        background-color: transparent !important;
        opacity: 1 !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
    }
}

.info-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.info-button:hover {
  background-color: #409be8;
}


/*---------------------------------------
  FEATURE BLOCK              
-----------------------------------------*/
.featured-block {
  text-align: center;
  transition: all 0.5s ease;
  min-height: 256px;
  padding: 15px;
  position: relative;
  background: transparent;
}

.featured-block:hover {
  background: transparent;
  border-radius: none;
  box-shadow: none;
  transform: translateY(-5px);
  position: relative;
}

.featured-block:hover .featured-block-image {
  transform: scale(0.75);
}

.featured-block-image {
  display: block;
  margin: auto;
  transition: all 0.5s;
  max-width: 80px;
    height: auto;

}

.featured-block:hover .featured-block-text {
  margin-top: 0;
}

.featured-block-text {
  color: var(--primary-color);
  font-size: var(--h5-font-size);
  margin-top: 20px;
  transition: all 0.5s;
}

/* Container voor alle featured blocks */
.featured-blocks-container {
  position: relative;
  background: white;
  border-radius: 25px;
  box-shadow: 0 1rem 2rem rgba(0,0,0,.15);
  padding: 2rem 1.5rem;
  margin: 0;
}

.featured-blocks-container:hover {
  box-shadow: 0 1rem 2rem rgba(0,0,0,.15);
}


/*---------------------------------------
  ABOUT              
-----------------------------------------*/
.about-section {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.about-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 20px;
  object-fit: cover;
}


.custom-text-block {
  padding: 30px 40px 60px 40px;
}


/*---------------------------------------
  COUNTER NUMBERS              
-----------------------------------------*/
.counter-thumb {
  margin: 20px;
  margin-bottom: 0;
}

.counter-number,
.counter-text {
  color: var(--secondary-color);
  display: block;
}

.counter-number,
.counter-number-text {
  color: var(--primary-color);
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
}


/*---------------------------------------
  VOLUNTEER              
-----------------------------------------*/
.volunteer-section {
  background: var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.volunteer-section::after {
  display: none !important;
}


.volunteer-form {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  padding: 50px;
}

.volunteer-image {
  border-radius: 100%;
  display: block;
  margin: auto;
  width: 300px;
  height: 300px;
  object-fit: cover;
}

.volunteer-section .custom-block-body {
  max-width: 440px;
  margin: 0 auto;
}

.volunteer-section .custom-block-body p {
  line-height: 1.7;
}


/*---------------------------------------
  DONATE              
-----------------------------------------*/
.donate-section {
  background-image: url('../images/different-people-doing-volunteer-work.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  padding-top: 150px;
  padding-bottom: 150px;
}

.donate-form {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 50px;
}


/*---------------------------------------
  NEWS         
-----------------------------------------*/
.news-detail-header-section {
  background-image: url('../images/news/thumbnail.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  padding-top: 150px;
  padding-bottom: 150px;
}

.news-block-top {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.news-block-two-col-image-wrap {
  border-radius: var(--border-radius-small);
  position: relative;
  overflow: hidden;
  width: 150px;
  margin-right: 20px;
}

.news-category-block {
  background: var(--secondary-color);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 10px 20px;
}

.news-category-block .category-block-link {
  color: var(--white-color);
  margin-right: 10px;
}

.news-block-info {
  padding-top: 10px;
  padding-bottom: 10px;
}

.news-block-title-link {
  color: var(--dark-color);
}

.news-detail-image {
  display: block;
  border-radius: var(--border-radius-medium);
  width: 100%;
  max-width: 100%;
  height: 350px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-detail-image:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(44, 62, 95, 0.15);
}

/* Voor carousel afbeeldingen - groter */
.carousel-item .news-detail-image {
  height: 600px !important;
}

/* Extra specifieke selector voor carousel images */
#newsCarousel .carousel-item .news-detail-image {
  height: 600px !important;
}

/* Nog meer specifieke selectors om Bootstrap te overschrijven */
#newsCarousel .carousel-item .news-detail-image.d-block.w-100 {
  height: 600px !important;
  min-height: 600px !important;
}

.carousel-item .news-detail-image.d-block {
  height: 600px !important;
  min-height: 600px !important;
}

/* Responsive aanpassingen */
@media (max-width: 768px) {
  .news-detail-image {
    height: 280px;
  }
  
  .carousel-item .news-detail-image {
    height: 400px !important;
    min-height: 400px !important;
  }
  
  #newsCarousel .carousel-item .news-detail-image.d-block.w-100 {
    height: 400px !important;
    min-height: 400px !important;
  }
}

@media (max-width: 576px) {
  .news-detail-image {
    height: 220px;
  }
  
  .carousel-item .news-detail-image {
    height: 300px !important;
    min-height: 300px !important;
  }
  
  #newsCarousel .carousel-item .news-detail-image.d-block.w-100 {
    height: 300px !important;
    min-height: 300px !important;
  }
}

/* News image placeholder styling */
.news-image-placeholder {
  height: 350px !important;
  background: #f8f9fa !important;
  border: 2px dashed #dee2e6;
  border-radius: 10px !important;
  transition: all 0.3s ease;
}

.news-image-placeholder:hover {
  border-color: #2c3e5f;
  background: #f1f3f5 !important;
}

.news-image-placeholder i {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.news-image-placeholder:hover i {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .news-image-placeholder {
    height: 280px !important;
  }
}

@media (max-width: 576px) {
  .news-image-placeholder {
    height: 220px !important;
  }
}

blockquote {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  font-size: var(--h5-font-size);
  font-weight: var(--font-weight-semibold);
  color: var(--site-footer-bg-color);
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 90px 50px 50px 50px;
  text-align: center;
}

blockquote::before {
  content: "“";
  color: var(--custom-btn-bg-color);
  font-size: 100px;
  line-height: 1rem;
  display: block;
}

.author-comment-link {
  font-size: var(--copyright-font-size);
  font-weight: var(--font-weight-semibold);
}

.search-form {
  margin-top: 20px;
}

.category-block,
.subscribe-form {
  margin-top: 40px;
  margin-bottom: 40px;
}

.category-block-link {
  font-size: var(--copyright-font-size);
  margin-top: 5px;
  margin-bottom: 5px;
}

.category-block-link:hover {
  color: var(--primary-color);
}

.badge {
  background: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  font-weight: var(--font-weight-normal);
  line-height: normal;
  padding-bottom: 2px;
}

.tags-block-link {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-medium);
  display: inline-block;
  font-size: var(--copyright-font-size);
  line-height: normal;
  margin-right: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 8px 15px;
}

.tags-block-link:hover {
  border-color: var(--dark-color);
  color: var(--dark-color);
}

.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  background-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: -100px;
  left: -30px;
  margin: auto;
  width: 200px;
  height: 200px;
}

.cta-section::after {
  content: "";
  border: 20px solid var(--custom-btn-bg-color);
  border-radius: 50%;
  position: absolute;
  bottom: -100px;
  right: 0;
  left: 0;
  margin: auto;
  width: 150px;
  height: 150px;
}


/*---------------------------------------
  TESTIMONIAL CAROUSEL              
-----------------------------------------*/
.testimonial-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.testimonial-section::before {
  content: "";
  background-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: -100px;
  left: -30px;
  margin: auto;
  width: 250px;
  height: 250px;
}

.testimonial-section::after {
  content: "";
  background: var(--custom-btn-bg-color);
  border-radius: 50%;
  position: absolute;
  bottom: -110px;
  right: -80px;
  width: 350px;
  height: 350px;
}

#testimonial-carousel .carousel-caption {
  position: relative;
  right: 0;
  bottom: 0;
  left: 0;
}

#testimonial-carousel .carousel-title {
  background: var(--section-bg-color);
  line-height: normal;
  margin-bottom: 30px;
}

#testimonial-carousel .carousel-title::before {
  content: open-quote;
  color: var(--p-color);
  font-size: var(--h1-font-size);
  position: relative;
  top: 10px;
  right: 10px;
}

#testimonial-carousel .carousel-title::after {
  content: close-quote;
  color: var(--p-color);
  font-size: var(--h1-font-size);
  position: relative;
  top: 10px;
  left: 10px;
}

#testimonial-carousel .carousel-title {
  quotes: "“" "”" "‘" "’";
}

#testimonial-carousel .carousel-name {
  background: var(--primary-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 10px 20px;
}

#testimonial-carousel .carousel-name::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 0;
  left: 0;
  width: 0;
  height: 0;
  margin: auto;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--primary-color);
}

.carousel-name-title {
  font-weight: var(--font-weight-semibold);
}

#testimonial-carousel .carousel-indicators {
  position: relative;
  top: 150px;
  bottom: auto;
  margin-top: 50px;
  margin-bottom: 150px;
}

#testimonial-carousel .carousel-indicators li {
  text-indent: inherit;
  background: transparent;
  margin: 0 10px; 
}

#testimonial-carousel .carousel-indicators li,
#testimonial-carousel .carousel-indicators li::before {
  width: 45px;
  height: 45px; 
}

#testimonial-carousel .carousel-indicators .avatar-image {
  width: 45px;
  height: 45px; 
}

#testimonial-carousel .carousel-indicators .active,
#testimonial-carousel .carousel-indicators .active .avatar-image {
  background: transparent;
  width: 50px; 
  height: 50px;
}




/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.contact-section {
  background: var(--white-color);
}

.contact-form {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  padding: 40px;
}

.contact-info-wrap {
  padding-top: 40px;
}

.contact-image-wrap {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  width: 100%;
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control,
.input-group-file {
  background-color: var(--section-bg-color);
  box-shadow: none;
  border: 0;
  color: var(--p-color);
  margin-bottom: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
  outline: none;
}

.custom-form .form-control:hover,
.custom-form .form-control:focus {
  border-color: var(--secondary-color);
}

.custom-form label {
  margin-bottom: 10px;
}

.custom-form .form-check-group {
  margin-bottom: 20px;
}

.donate-form .form-check-group-donation-frequency {
  padding-right: 0;
}

.form-check-group-donation-frequency + .form-check-group-donation-frequency {
  padding-right: 12px;
  padding-left: 0;
}

.form-check-group-donation-frequency .form-check-label {
  font-weight: var(--font-weight-semibold);
}

#DonationFrequencyOne {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#DonationFrequencyMonthly {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.custom-form .form-check-radio {
  position: relative;
  height: 100%;
  padding-left: 0;
}

.custom-form .input-group-text {
  background: var(--secondary-color);
  border: 0;
  color: var(--white-color);
}

.custom-form .form-check-radio .form-check-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.form-check-radio .form-check-input[type=radio] {
  background-color: var(--section-bg-color);
  border-radius: .25rem;
  border: 0;
  box-shadow: none;
  outline: none;
  width: 100%;
  margin-top: 0;
  margin-left: 0;
  padding: 25px 50px;
  transition: all 0.5s;
}

.form-check-radio .form-check-input:checked[type=radio] {
  background-image: none;
}

.form-check-radio .form-check-input:checked[type=radio] + .form-check-label,
.form-check-radio .form-check-input:hover + .form-check-label,
.form-check-radio .form-check-input:checked + .form-check-label {
  color: var(--white-color);
}

.form-check-radio .form-check-input:hover,
.form-check-radio .form-check-input:checked {
  background-color: var(--secondary-color);
  border-color: var(--white-color);
}

.input-group-file {
  border-radius: .25rem;
  padding: 13px .75rem;
}

.input-group-file input[type=file] {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
  padding: 0;
}

.input-group-file .input-group-text {
  background: transparent;
  color: inherit;
  margin-bottom: 0;
  padding: 0;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}


/*---------------------------------------
  CONTACT SEARCH & DONATE & SUBCRIBE FORM              
-----------------------------------------*/
.contact-form .form-control {
  background: var(--white-color);
}

.search-form {
  position: relative;
}

.search-form .form-control {
  padding-right: 50px;
}

.search-form button[type="submit"] {
  background: transparent;
  position: absolute;
  top: 0;
  right: 0;
  color: var(--p-color);
  width: 50px;
  padding: 12px;
}

.search-form button[type="submit"]:hover {
  background: transparent;
  color: var(--dark-color);
}

.subscribe-form {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  padding: 30px;
}

.subscribe-form .form-control {
  background: var(--white-color);
}

.donate-form .form-control {
  margin-bottom: 0;
}


/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  background-color: #3d5581;
  padding-top: 70px;
}

.site-footer .site-footer-title {
  color: white;
}
.site-footer p {
  color: white;
  margin-bottom: 0.75rem;
}
.site-footer-bottom {
  background-color: var(--primary-color);
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding-top: 25px;
  padding-bottom: 25px;
}

.site-footer-bottom a {
	color: var(--white-color);
}

.site-footer-bottom a:hover {
	color: #FF6;
}

.site-footer-link {
  color: var(--white-color);
}

.copyright-text {
  color: var(--section-bg-color);
  font-size: var(--copyright-font-size);
  margin-right: 0;
}


.site-footer .custom-btn:hover {
  background: var(--primary-color);
}
.site-footer a:hover {
  color: #ccc;
  text-decoration: none;
}

/*---------------------------------------
  FOOTER MENU               
-----------------------------------------*/
.footer-menu {
  column-count: 2;
  margin: 0;
  padding: 0;
}

.footer-menu-item {
  list-style: none;
  display: block;
}

.footer-menu-link {
  font-size: var(--p-font-size);
  color: var(--white-color);
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 5px;
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--site-footer-bg-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--copyright-font-size);
  display: block;
  margin-right: 5px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 38px;
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}


/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
  .featured-block {
    min-height: inherit;
  }

  .volunteer-section::after {
    width: 450px;
    height: 450px;
  }
  
  .volunteer-image {
    width: 350px;
    height: 350px;
  }
}

@media screen and (max-width: 1170px) {
  #hero-slide .carousel-image {
    height: 100%;
    object-fit: cover;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .hero-form {
    padding-bottom: 40px;
  }

  .donate-form {
    padding: 35px;
  }

  .navbar {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 30px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 8px 20px;
  }
  
  .dropdown:hover .dropdown-menu {
    display: block;
    position: relative;
    margin-top: 5px;
    margin-bottom: 20px;
    left: 20px;
  }

  .site-header .social-icon {
    text-align: left;
    margin-top: 5px;
  }

  .hero-section-full-height {
    height: inherit;
  }

  .carousel:hover .carousel-control-next-icon, 
  .carousel:hover .carousel-control-prev-icon {
    opacity: 1;
  }

  #hero-slide .carousel-item {
    height: inherit;
  }

  .carousel-control-prev {
    left: 12px;
  }

  .carousel-control-next {
    right: 12px;
  }

  .carousel-control-next-icon, 
  .carousel-control-prev-icon {
    opacity: 0.5; /* Half doorzichtig op mobiel */
    width: 60px;
    height: 60px;
  }

  .news-detail-header-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .cta-section::before {
    width: 150px;
    height: 150px;
  }

  .cta-section::after {
    bottom: -60px;
    width: 100px;
    height: 100px;
  }

  .cta-section .row {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .volunteer-section::after {
    width: 300px;
    height: 300px;
  }

  .testimonial-section::before {
    width: 150px;
    height: 150px;
  }

  .testimonial-section::after {
    width: 200px;
    height: 200px;
  }

  #testimonial-carousel .carousel-caption {
    padding-top: 0;
  }

  blockquote {
    padding: 70px 30px 30px 30px;
  }

  .about-image {
    width: inherit;
    height: 450px;
  }

  .volunteer-image {
    width: 250px;
    height: 250px;
    margin: 0;
  }

  .custom-text-block {
    padding: 0;
  }

  .custom-text-box,
  .volunteer-form {
    padding: 30px;
  }

  .counter-number, 
  .counter-number-text {
    font-size: var(--h2-font-size);
  }

  .contact-info-wrap {
    padding-top: 0;
  }

  .site-footer {
    padding-top: 20px;
  }

  .copyright-text-wrap {
    justify-content: center;
  }

  .site-footer-bottom {
    text-align: center;
    margin-top: 0;
  }

  .site-footer-bottom .footer-menu {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 580px) {
  .hero-section-full-height,
  #hero-slide .carousel-item,
  .carousel-image {
    min-height: 520px;
  }

  #hero-slide .carousel-caption {
    min-width: inherit;

  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }

  #hero-slide .carousel-caption {
    min-width: inherit;
    padding: 1rem;
    font-size: 0.95rem;
  }

  .carousel-control-next-icon, 
  .carousel-control-prev-icon {
    opacity: 0.5; /* Half doorzichtig op kleine mobiele schermen */
    width: 30px;
    height: 30px;

  }


  .volunteer-image {
    width: 150px;
    height: 150px;
  }

  .volunteer-section::after {
    width: 200px;
    height: 200px;
  }

  .testimonial-section::before {
    top: -50px;
    width: 100px;
    height: 100px;
  }

  .testimonial-section::after {
    bottom: -150px;
    width: 200px;
    height: 200px;
  }

  .social-share .tags-block {
    margin-bottom: 10px;
  }

  .donate-form {
    padding: 25px;
  }
}

.hero-caption-title {
  font-size: 52px; /* standaardgrootte */
  color: var(--primary-color); /* Zorg ervoor dat de titel altijd de primaire kleur heeft */
}

@media (max-width: 768px) {
  .hero-caption-title {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .hero-caption-title {
    font-size: 28px;
  }
}
.featured-block-text {
  font-size:1rem;
}

.featured-block {
  min-height: 120px;
  padding: 10px;
}

/* Klikbare boxes styling voor volledige hoogte */
.custom-clickable-box {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.custom-clickable-box .custom-text-box {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-clickable-box:hover .custom-text-box {
  background-color: #f2f8ff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}
.underline-link {
  text-decoration: underline;
}
.map-wrapper {
  height: 100%;
  min-height: 480px;
}

.appointment-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 150px;
  background: linear-gradient(135deg, #3d5581 0%, #2c3e5f 100%);
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  border-radius: 25px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 15px 35px rgba(61, 85, 129, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.appointment-button i {
  font-size: 2.5rem;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.appointment-button span {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.appointment-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.appointment-button:hover::before {
  left: 100%;
}

.appointment-button:hover {
  background: linear-gradient(135deg, var(--custom-btn-bg-hover-color) 0%, #1e2a3f 100%);
  transform: translateY(-8px) scale(1.02);
  color: white;
  box-shadow: 0 25px 50px rgba(61, 85, 129, 0.3), 0 15px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.appointment-button:hover i {
  transform: scale(1.1);
  opacity: 1;
}

.appointment-button:active {
  transform: translateY(-4px) scale(0.98);
  transition: all 0.1s ease;
}

@media (max-width: 768px) {
  .appointment-button {
    width: 100%;
    max-width: 300px;
    height: 120px;
    font-size: 16px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(61, 85, 129, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .appointment-button i {
    font-size: 2rem;
  }
  
  .appointment-button:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(61, 85, 129, 0.3), 0 10px 20px rgba(0, 0, 0, 0.15);
  }
}
.afspraak-section {
  background-image: url('../images/home/kantoor.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 60px;
}

.afspraak-title {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.overlay-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  padding: 60px 40px;
  max-width: 1000px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 📱 Responsief: minder padding op mobiel */
@media (max-width: 768px) {
  .afspraak-section {
    padding: 30px 0;
  }

  .overlay-container {
    padding: 30px 20px;
  }
}




/* Algemene container met achtergrondkleur uit root */
.section-medische-info {
  background-color: var(--section-bg-color);

}

.category-box {
  background-color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--border-radius-medium);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
}

/* Overlay voor wit filter over achtergrondafbeelding */
.category-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 0;
}

/* Zorg dat de tekst erboven ligt */
.category-box h4,
.category-box ul {
  position: relative;
  z-index: 1;
}

.category-box h4 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.category-box ul li a {
  display: block;
  padding: 4px 0;
  color: var(--p-color);
  transition: color 0.2s ease;
}

.category-box ul li a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Hoogte fix voor elke kolom */
.row.equal-height > div {
  display: flex;
  flex-direction: column;
}

/* Responsive marges tussen boxes */
@media (max-width: 768px) {
  .row.equal-height > div {
    margin-bottom: 20px;
  }
  .category-box {
    padding: 20px 15px;
  }
}

.category-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.medisch-image {
  border-radius: var(--border-radius-medium);
  margin-bottom: 20px;
  
}
/* Container om de video responsief te maken */
.video-container {
  position: relative;
  padding-bottom: 56.25%;  /* Dit is de aspect ratio van 16:9 (9 / 16 = 0.5625) */
  height: 0;
  overflow: hidden;
  max-width: 100%; /* Zorgt ervoor dat de container niet breder wordt dan zijn oudercontainer */
  margin-bottom: 20px;
}

/* Video zelf aanpassen aan de container */
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Video wordt 100% van de breedte van de container */
  height: 100%; /* Video neemt de volledige hoogte van de container in */
}

/* Lightbox overlay */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;  /* Initially hidden */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
}

.closebtn {
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 36px;
  color: white;
  cursor: pointer;
}
.thumbnail {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px; /* optioneel, voor spacing */
  border-radius: var(--border-radius-medium); /* optioneel voor consistentie */
}

/* Container voor de iframe */
.responsive-iframe {
  position: relative;
  width: 100%;          /* Zorgt ervoor dat de iframe de volledige breedte van de container gebruikt */
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
  overflow: hidden;      /* Zorgt ervoor dat niets buiten de container zichtbaar is */
}

/* Iframe zelf */
.responsive-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;        /* Zorgt ervoor dat de iframe zich uitstrekt naar 100% van de breedte */
  height: 100%;       /* Zorgt ervoor dat de iframe zich uitstrekt naar 100% van de hoogte */
  border: none;       /* Verwijdert de rand van de iframe */
  padding-bottom: 20px;
}

.robot {
    width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px; /* optioneel, voor spacing */
  border-radius: var(--border-radius-medium); /* optioneel voor consistentie */
}

#raadpleging {
  padding-top: 48px;
}

/* News carousel styling */
.news-block-top .carousel {
  border-radius: var(--border-radius-medium);
  overflow: hidden;
}

.news-block-top .carousel-item img {
  height: 300px;
  object-fit: cover;
  border-radius: 0;
}

.news-block-top .carousel-control-prev,
.news-block-top .carousel-control-next {
  width: 10%;
  opacity: 0.8;
}

.news-block-top .carousel-control-prev:hover,
.news-block-top .carousel-control-next:hover {
  opacity: 1;
}

.news-block-top .carousel-indicators {
  bottom: 10px;
  margin-bottom: 0;
}

.news-block-top .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid white;
  background-color: transparent;
  opacity: 0.7;
}

.news-block-top .carousel-indicators .active {
  background-color: white;
  opacity: 1;
}

/* Modern News Card Styles */
.modern-news-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.modern-news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modern-news-image-container {
  position: relative;
  overflow: hidden;
  height: 400px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.modern-news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
}

/* Specifieke styling voor carousel afbeeldingen in nieuws */
.modern-carousel .carousel-inner {
  height: 400px;
}

.modern-carousel .carousel-item {
  height: 400px;
}

.modern-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.modern-news-card:hover .modern-news-image {
  transform: scale(1.05);
}

.modern-news-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-news-card:hover .modern-news-overlay {
  opacity: 1;
}

.modern-news-content {
  padding: 2.5rem;
  position: relative;
  text-align: center;
}

.modern-news-date {
  display: inline-block;
  color: #2c3e50;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-news-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.modern-news-excerpt {
  color: #6c757d;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.modern-news-link {
  display: inline-flex;
  align-items: center;
  background: #2c3e5f;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(44, 62, 95, 0.3);
}

.modern-news-link:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(44, 62, 95, 0.4);
  background: #1e2a3f;
}

.modern-news-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.modern-news-link:hover i {
  transform: translateX(5px);
}

/* Carousel improvements for news */
.modern-carousel-container {
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  height: 400px;
  position: relative;
}

.modern-carousel {
  height: 100%;
}

.modern-carousel .carousel-inner {
  height: 100%;
  border-radius: 20px 20px 0 0;
}

.modern-carousel .carousel-item {
  height: 100%;
}

.modern-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.modern-carousel .carousel-control-prev,
.modern-carousel .carousel-control-next {
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
  z-index: 3;
}

.modern-carousel .carousel-control-prev {
  left: 20px;
}

.modern-carousel .carousel-control-next {
  right: 20px;
}

.modern-carousel .carousel-control-prev-icon,
.modern-carousel .carousel-control-next-icon {
  background-size: 24px 24px;
}

.modern-carousel .carousel-indicators {
  bottom: 20px;
}

.modern-carousel .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid white;
  margin: 0 5px;
}

.modern-carousel .carousel-indicators .active {
  background-color: var(--primary-color);
}

/* Author badge */
.modern-news-author {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  color: #2c3e5f;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* View all news button styling */
#view-all-news .btn-primary {
  background: #2c3e5f;
  border: none;
  box-shadow: 0 4px 15px rgba(44, 62, 95, 0.3);
  transition: all 0.3s ease;
}

#view-all-news .btn-primary:hover {
  background: #1e2a3f;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(44, 62, 95, 0.4);
}

/* Universal btn-primary styling with our custom primary color */
.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(44, 62, 95, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--custom-btn-bg-hover-color) !important;
  border-color: var(--custom-btn-bg-hover-color) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(44, 62, 95, 0.4);
}

/* Universal button animations for all buttons */
.info-button,
.custom-btn,
.btn,
.appointment-button {
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(44, 62, 95, 0.3);
}

.info-button:hover,
.custom-btn:hover,
.btn:hover,
.appointment-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(44, 62, 95, 0.4);
}

/* Specific styling for info-button to match modern design */
.info-button {
  background: #2c3e5f !important;
  color: white !important;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.info-button:hover {
  background: #1e2a3f !important;
  color: white !important;
}

/* Hero carousel caption buttons */
#hero-slide .carousel-caption .info-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2c3e5f;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(44, 62, 95, 0.3);
  margin-top: 1rem;
}

#hero-slide .carousel-caption .info-button:hover {
  background: #1e2a3f;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(44, 62, 95, 0.4);
}

/* Hero carousel navigation controls styling */
#hero-slide .carousel-control-prev,
#hero-slide .carousel-control-next {
  width: 70px;
  height: 70px;
  background: rgba(44, 62, 95, 0.8);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-slide .carousel-control-prev {
  left: 30px;
}

#hero-slide .carousel-control-next {
  right: 30px;
}

#hero-slide .carousel-control-prev:hover,
#hero-slide .carousel-control-next:hover {
  background: rgba(44, 62, 95, 1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

#hero-slide .carousel-control-prev-icon,
#hero-slide .carousel-control-next-icon {
  background-size: 28px 28px;
  width: 28px;
  height: 28px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modern-news-image-container {
    height: 300px;
  }
  
  .modern-carousel-container {
    height: 300px;
  }
  
  .modern-carousel .carousel-inner,
  .modern-carousel .carousel-item {
    height: 300px;
  }
  
  .modern-carousel .carousel-item img {
    height: 300px;
  }

  .modern-news-content {
    padding: 2rem;
  }

  .modern-news-title {
    font-size: 1.5rem;
  }

  .modern-carousel .carousel-control-prev,
  .modern-carousel .carousel-control-next {
    width: 45px;
    height: 45px;
  }

  .modern-carousel .carousel-control-prev {
    left: 10px;
  }

  .modern-carousel .carousel-control-next {
    right: 10px;
  }

  /* Hero carousel mobile adjustments */
  #hero-slide .carousel-control-prev,
  #hero-slide .carousel-control-next {
    width: 50px;
    height: 50px;
  }

  #hero-slide .carousel-control-prev {
    left: 15px;
  }

  #hero-slide .carousel-control-next {
    right: 15px;
  }

  #hero-slide .carousel-control-prev-icon,
  #hero-slide .carousel-control-next-icon {
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
  }

  /* Mobile carousel caption adjustments */

  #hero-slide .carousel-caption h1 {
    font-size: 2rem;
  }

  #hero-slide .carousel-caption p {
    font-size: 1rem;
  }

  #hero-slide .carousel-caption .info-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Admin styling improvements */
.form-control[type="date"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%232c3e5f' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 5h10M3 5v8a1 1 0 001 1h8a1 1 0 001-1V5M3 5l1-2h8l1 2M7 2v4m2-4v4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 16px;
}

.form-control[type="date"]::-webkit-calendar-picker-indicator {
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%232c3e5f' d='M3.5 0a.5.5 0 01.5.5V1h8V.5a.5.5 0 011 0V1h1a2 2 0 012 2v11a2 2 0 01-2 2H2a2 2 0 01-2-2V5h16V4H0V3a2 2 0 012-2h1V.5a.5.5 0 01.5-.5zM1 4v10a1 1 0 001 1h12a1 1 0 001-1V4H1z'/%3e%3c/svg%3e");
    cursor: pointer;
    opacity: 0.8;
    width: 20px;
    height: 20px;
}

.form-control[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    background-color: rgba(44, 62, 95, 0.1);
    border-radius: 4px;
}

.admin-date-info {
    background: #f8f9fa;
    border-left: 3px solid #2c3e5f;
    padding: 0.75rem;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    border-radius: 0 4px 4px 0;
}

/* Form validation improvements for admin */
.was-validated .form-control:valid {
    border-color: #198754;
}

.was-validated .form-control:invalid {
    border-color: #dc3545;
}

.admin-form-section {
    border-left: 4px solid #2c3e5f;
    padding-left: 1rem;
    margin-bottom: 2rem;
}

.admin-form-section h6 {
    color: #2c3e5f;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Rich text editor styling */
.text-editor-toolbar {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-bottom: none;
    padding: 0.5rem;
    border-radius: 0.375rem 0.375rem 0 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.text-editor-toolbar + .form-control {
    border-radius: 0 0 0.375rem 0.375rem;
    border-top: none;
}

.text-editor-toolbar .btn {
    border-color: #dee2e6;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.text-editor-toolbar .btn:hover {
    background-color: rgba(44, 62, 95, 0.1);
    border-color: #2c3e5f;
    color: #2c3e5f;
    transform: translateY(-1px);
}

.text-editor-toolbar .btn.active {
    background-color: #2c3e5f;
    border-color: #2c3e5f;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(44, 62, 95, 0.3);
}

#content-preview .card {
    border: 1px solid #2c3e5f;
    border-radius: 8px;
    overflow: hidden;
}

#content-preview .card-header {
    background: linear-gradient(135deg, #2c3e5f, #3d5581);
    color: white;
    border-bottom: none;
}

#content-preview .card-body {
    max-height: 300px;
    overflow-y: auto;
    line-height: 1.6;
}

/* Rich text formatting in content display */
.article-content strong, 
.news-block-body strong,
.preview-content strong {
    font-weight: bold;
    color: #2c3e5f;
}

.article-content u,
.news-block-body u,
.preview-content u {
    text-decoration: underline;
    text-decoration-color: #2c3e5f;
    text-underline-offset: 2px;
}

.article-content em,
.news-block-body em,
.preview-content em {
    font-style: italic;
    color: #495057;
}

/* Toolbar animations */
.text-editor-toolbar .btn-group {
    margin-right: 0.25rem;
}

.text-editor-toolbar .btn-group:last-child {
    margin-right: 0;
}

/* News detail title styling */
.news-title-section {
    text-align: center;
    border-bottom: 2px solid #f8f9fa;
    padding: 2rem 1.5rem;
    margin: 0 1rem;
    background: linear-gradient(135deg, rgba(44, 62, 95, 0.05), rgba(61, 85, 129, 0.05));
    border-radius: 8px;
}

.news-article-title {
    font-weight: bold;
    color: #2c3e5f;
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .news-article-title {
        font-size: 2rem;
    }
    
    .news-title-section {
        margin: 0 0.5rem;
        padding: 1.5rem 1rem;
    }
}

/* ============================= 
   MOBILE HOMEPAGE IMPROVEMENTS 
   ============================= */

/* Header & Navigation Improvements */
@media (max-width: 768px) {
    .site-header {
        padding: 8px 0;
    }
    
    .site-header p {
        font-size: var(--copyright-font-size);
        margin-bottom: 0.25rem !important;
        display: flex !important;
        align-items: center !important;
        line-height: 1.2 !important;
    }
    
    .site-header .bi-telephone-fill {
        margin-right: 0.3rem !important;
        flex-shrink: 0;
    }
    
    .navbar .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-brand small {
        font-size: 0.7rem;
    }
}

/* Hero Section Mobile Improvements */
@media (max-width: 768px) {
    .hero-section-full-height {
        min-height: 400px;
    }
    
    #hero-slide .carousel-item {
        min-height: 400px;
    }
    
    .carousel-image {
        min-height: 400px;
        object-fit: cover;
    }
    
    #hero-slide .carousel-caption {
        padding: 1rem;
        bottom: 20px;
        background: rgba(0, 0, 0, 0.6);
        border-radius: 10px;
        margin: 0 10px;
    }
}

/* Introduction Section Mobile */
@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    .custom-text-box {
        padding: 1.5rem;
        margin-bottom: 0;
    }
    
    #section_2 .custom-text-box:first-child {
        margin-bottom: 0rem;
    }
    
    #section_2 .row.g-3 {
        margin-top: 0;
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 1.5rem;
    }
    
    .custom-text-box h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .custom-text-box h5 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .custom-text-box p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .info-link {
        font-size: 0.9rem;
    }
    
    /* Klikbare blokken op mobiel */
    .custom-clickable-box .custom-text-box {
        padding: 1.2rem;
        min-height: 120px;
    }
    
    .custom-clickable-box .custom-text-box h5 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .custom-clickable-box .custom-text-box p {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
}

/* Specialties Section Mobile */
@media (max-width: 768px) {
    .featured-block {
        min-height: 100px;
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .featured-block-image {
        max-width: 100px;
        max-height: 100px;
        margin-bottom: 0.5rem;
    }
    
    .featured-block-text {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
    
    /* Grid aanpassing voor specialiteiten */
    .row .col-6.col-md-6.col-lg-3 {
        margin-bottom: 1rem;
    }
}

/* About Section Mobile */
@media (max-width: 768px) {
    .about-section {
        padding: 3rem 0;
    }
    
    .about-image {
        margin-bottom: 2rem;
        border-radius: 15px;
    }
    
    .custom-text-block h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .custom-text-block p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
}

/* Contact & Consultation Section Mobile */
@media (max-width: 768px) {
    .volunteer-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .custom-form {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .custom-form h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .custom-form p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.75rem;
    }
    
    .info-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        margin-top: 0.5rem;
        display: inline-block;
    }
    
    /* Tabel responsive styling */
    .table-responsive {
        font-size: 0.8rem;
    }
    
    .table th, .table td {
        padding: 0.4rem 0.2rem;
        text-align: center;
        vertical-align: middle;
    }
    
    .table th {
        font-size: 0.75rem;
        font-weight: 600;
    }
    
    .table td {
        font-size: 0.7rem;
    }
    
    /* Map wrapper mobile */
    .map-wrapper {
        height: 250px;
        margin-bottom: 2rem;
    }
    
    .map-wrapper iframe {
        border-radius: 15px;
    }
}

/* Footer Mobile Improvements */
@media (max-width: 768px) {
    .site-footer {
        padding: 2rem 0 0;
    }
    
    .site-footer-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .site-footer p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
    }
    
    .site-footer-link {
        font-size: 0.85rem;
    }
    
    .site-footer-bottom {
        margin: 2rem 0;
        padding: 1rem 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        background-color: rgba(0, 0, 0, 0.2);
    }
    
    .copyright-text {
        font-size: 0.8rem;
        margin-bottom: 0;
    }


}

/* Extra small mobile devices */
@media (max-width: 480px) {
    /* Header aanpassingen */
    .site-header {
        padding: 5px 0;
    }
    
    .site-header .col-lg-8 {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .site-header p {
        font-size: var(--copyright-font-size);
        margin-right: 0 !important;
        margin-bottom: 0.2rem !important;
        display: flex !important;
        align-items: center !important;
        line-height: 1.2 !important;
    }
    
    .site-header .bi-telephone-fill {
        margin-right: 0.3rem !important;
        flex-shrink: 0;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    /* Hero section extra small */
    .hero-section-full-height {
        min-height: 350px;
    }
    
    #hero-slide .carousel-item {
        min-height: 350px;
    }
    
    .carousel-image {
        min-height: 350px;
    }
    
    #hero-slide .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    
    /* Content padding reduction */
    .section-padding {
        padding: 2rem 0;
    }
    
    .custom-text-box {
        padding: 1.2rem;
    }
    
    .custom-text-box h2 {
        font-size: 1.5rem;
    }
    
    .custom-clickable-box .custom-text-box {
        padding: 1rem;
        min-height: 100px;
    }
    
    /* Featured blocks smaller */
    .featured-block {
        padding: 0.5rem;
    }
    
    .featured-block-image {
        max-width: 70px;
        max-height: 70px;
    }
    
    .featured-block-text {
        font-size: 0.8rem;
    }
    
    /* Contact section */
    .custom-form {
        padding: 1.2rem;
    }
    
    .custom-form h3 {
        font-size: 1.2rem;
    }
    
    .table {
        font-size: 0.7rem;
    }
    
    .table th, .table td {
        padding: 0.3rem 0.1rem;
    }
    
    .table th {
        font-size: 0.65rem;
    }
    
    .table td {
        font-size: 0.6rem;
    }
    
    /* Footer aanpassingen voor extra kleine schermen */
    .site-footer-bottom {
        margin: 1.5rem 0 0 0;
        padding: 0.8rem 15px;
        background-color: rgba(0, 0, 0, 0.3);
    }
    
    .copyright-text {
        font-size: 0.75rem;
    }
}

/* Algemene footer bottom fix voor alle schermgroottes */
.site-footer-bottom {
    position: relative;
}

@media (max-width: 991px) {
    .site-footer-bottom {
        text-align: center;
        padding-left: 15px;
        padding-right: 15px;
        background-color: var(--primary-color);
    }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
    /* Grotere klikbare gebieden */
    .custom-clickable-box {
        margin-bottom: 1rem;
    }
    
    .custom-clickable-box .custom-text-box {
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    /* Betere button styling voor touch */
    .info-button, .custom-btn {
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0,0,0,0);
    }
    
    .info-button:active, .custom-btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Navigation verbeteringen */
    .navbar-nav .nav-link {
        padding: 1rem 0.75rem;
        font-size: 1rem;
        text-align: center;
    }
    
    .navbar-toggler {
        padding: 0.5rem;
        font-size: 1.2rem;
        border: none;
    }
    
    /* Featured block hover effecten uitschakelen op mobiel */
    .featured-block {
        transition: none;
    }
    
    .featured-block:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    /* Betere carousel controls */
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
        background-color: rgba(0, 0, 0, 0.4);
        border-radius: 50%;
        margin: auto 0;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    /* Verbeterde telefoon links */
    a[href^="tel:"] {
        color: inherit;
        text-decoration: none;
        display: inline-block;
        padding: 2px 4px;
        border-radius: 4px;
        transition: background-color 0.2s ease;
    }
    
    a[href^="tel:"]:hover,
    a[href^="tel:"]:active {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* Betere map interactie */
    .map-wrapper {
        position: relative;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    /* Scroll indicatie voor tabel */
    .table-responsive {
        box-shadow: inset -3px 0 3px -3px rgba(0, 0, 0, 0.1);
    }
    
    .table-responsive::-webkit-scrollbar {
        height: 4px;
    }
    
    .table-responsive::-webkit-scrollbar-track {
        background-color: #f8f9fa;
        border-radius: 2px;
    }
    
    .table-responsive::-webkit-scrollbar-thumb {
        background-color: #dee2e6;
        border-radius: 2px;
    }
}

/* Hard override: center hero caption altijd en overal */
#hero-slide .carousel-item { position: relative !important; }

#hero-slide .carousel-item > .carousel-caption {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  width: min(90%, 600px) !important;

  /* jouw styling */
  background-color: rgba(255,255,255,0.8) !important;
  border-radius: 16px !important;
  padding: 25px 20px !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  backdrop-filter: blur(3px) !important;
  z-index: 2 !important;
}

/* Zet de carousel-knoppen exact in het verticale midden */
#hero-slide .carousel-control-prev,
#hero-slide .carousel-control-next {
  position: absolute !important;
  top: 50% !important;
  bottom: auto !important;      /* niet over hele hoogte */
  transform: translateY(-50%) !important;
  width: 60px !important;       /* ronde knop */
  height: 60px !important;
  display: flex !important;     /* center icoon in de knop */
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  z-index: 5 !important;        /* boven de afbeelding en caption */
}

/* Afstand tot de randen */
#hero-slide .carousel-control-prev { left: 30px !important; }
#hero-slide .carousel-control-next { right: 30px !important; }

/* Optioneel: iets kleinere knoppen op mobiel */
@media (max-width: 768px) {
  #hero-slide .carousel-control-prev,
  #hero-slide .carousel-control-next {
    display: none !important; /* Verberg op mobiel */
  }
}

#section_5 {
  padding: 20px 0 0 0
}