/* =============================================================
   Stichting Vobis ? Custom Styles
   Stack: Bootstrap 5 + bs-utils.min.css + jQuery
   ============================================================= */

/* --- Google Fonts ------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&family=Roboto+Condensed:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Roboto+Slab:wght@500&display=swap');

/* --- Brand Variables --------------------------------------- */
:root {
  --vobis-orange:    #EF8023;
  --vobis-orange-dk: #CD5607;
  --vobis-green:     #A6C83F;
  --vobis-dark-gray: #34373C;
  --vobis-cream:     #FCFAF8;
}

/* --- Base Typography --------------------------------------- */
body {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  line-height: 1.44;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
} 

h2, .h2 {
  font-family: 'Roboto Slab', serif;
  font-weight: 500;
  font-size: 34px;
  line-height: 40px;
}

a { color: #fff; text-decoration: none; }

/* --- Brand Utilities --------------------------------------- */
.text-vobis-orange { color: var(--vobis-orange) !important; }
.text-vobis-green  { color: var(--vobis-green)  !important; }
.bg-vobis-orange   { background-color: var(--vobis-orange) !important; }
.bg-vobis-green    { background-color: var(--vobis-green)  !important; }
.bg-dark-gray      { background-color: var(--vobis-dark-gray) !important; }

/* --- Buttons ----------------------------------------------- */
.btn-vobis {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  padding: 0px 30px;
  border-radius: 30px;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-vobis-fill {
  background-color: var(--vobis-orange);
  color: var(--vobis-cream);
  border: none;
}

.btn-vobis-fill:hover,
.btn-vobis-fill:focus {
  background-color: var(--vobis-orange-dk);
  color: #fff;
}

.btn-vobis-outline {
  background-color: #fff;
  color: var(--vobis-orange);
  border: 1px solid var(--vobis-orange);
}

.btn-vobis-outline:hover,
.btn-vobis-outline:focus {
  background-color: var(--vobis-orange);
  color: #fff;
}

/* --- Navbar mobile overlay --------------------------------- */
@media (max-width: 1399.98px) {

  /* Both collapsing and show states are fullscreen */
  .navbar-vobis .navbar-collapse.collapsing,
  .navbar-vobis .navbar-collapse.show {
    position: fixed;
    inset: 0;
    width: 100vw !important;
    min-height: 100dvh !important;
    z-index: 1055;
    background: #fff;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    padding: 100px 0 40px !important;
    transition: opacity .22s ease !important;
  }

  /* Fade in / out */
  .navbar-vobis .navbar-collapse.collapsing { opacity: 0; }
  .navbar-vobis .navbar-collapse.show       { opacity: 1; }

  /* Nav links: centered, larger */
  .navbar-vobis .navbar-collapse .navbar-nav {
    align-items: center;
    gap: 4px !important;
    padding: 0;
  }
  .navbar-vobis .navbar-collapse .nav-link {
    font-size: 26px;
    padding: 10px 0 !important;
    text-align: center;
  }

  /* Dropdown items inside overlay */
  .navbar-vobis .navbar-collapse .dropdown-menu {
    position: static !important;
    box-shadow: none;
    text-align: center;
    min-width: unset;
    padding: 0;
    margin: 0;
  }
  .navbar-vobis .navbar-collapse .dropdown-item {
    font-size: 18px;
    padding: 4px 0;
  }

  /* CTA buttons row */
  .navbar-vobis .navbar-collapse > .d-flex {
    flex-direction: column;
    align-items: center;
    gap: 12px !important;
    padding: 24px 0 0;
  }

  /* Hide the navbar brand/toggler when the overlay is open */
  .navbar-vobis:has(.navbar-collapse.show) .navbar-brand,
  .navbar-vobis:has(.navbar-collapse.show) .navbar-toggler {
    visibility: hidden;
  }

  /* Logo inside overlay */
  .nav-overlay-logo {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* X close button */
  .nav-overlay-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--vobis-dark-gray);
    cursor: pointer;
    padding: 8px;
    transition: color .15s;
  }
  .nav-overlay-close:hover {
    color: var(--vobis-orange);
  }

}

/* --- Navbar ------------------------------------------------ */
.navbar-vobis {
  height: 80px;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.navbar-vobis .navbar-brand img {
  height: 56px;
}

.navbar-vobis .nav-link {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  line-height: 30px;
  text-transform: uppercase;
  color: #000;
  padding: 0;
  transition: color .15s;
}

.navbar-vobis .nav-link.active,
.navbar-vobis .nav-link:hover {
  color: var(--vobis-orange);
}

/* --- Bg-image utilities ------------------------------------ */
.bg-image {
  background-repeat: no-repeat;
  background-position: center center;
}
.bg-cover {
  background-size: cover;
}

/* --- Hero -------------------------------------------------- */
.hero-section {
  height: 500px;
  overflow: hidden;
}

.hero-section .bg-image {
  height: 100%;
}

/* --- Radio Ticker ------------------------------------------ */
.radio-ticker {
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background-color: var(--vobis-orange-dk);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.radio-ticker-track {
  display: flex;
  white-space: nowrap;
  animation: vobis-ticker 40s linear infinite;
}

.radio-ticker-track span {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 25px;
  line-height: 30px;
  text-transform: uppercase;
  color: #fff;
  padding-right: 60px;
}

@keyframes vobis-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Intro Block ------------------------------------------- */
.intro-section {
  position: relative;
  overflow: hidden;
  background-color: var(--vobis-green);
}

.intro-section .section-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotate(180deg) scaleX(-1);
  pointer-events: none;
  z-index: 0;
}

.intro-section .container {
  position: relative;
  z-index: 1;
}

.intro-photo-shape {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  display: block;
}

/* --- Doelgroepen ------------------------------------------- */
.doelgroep-card {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  height: 192px;
  max-width: 100%;
}

.doelgroep-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.doelgroep-card .card-label {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.doelgroep-card .card-label .btn {
  width: 142px;
}

/* --- Project Slider ---------------------------------------- */
.projects-slider {
  background-color: var(--vobis-dark-gray);
  overflow: hidden;
}

.projecten-swiper {
  overflow: visible;
}

.projecten-swiper .swiper-slide {
  width: 782px;
  height: 294px;
  background: #fff;
  border-radius: 40px;
  overflow: hidden;
  display: flex;
}

.project-slide-photo {
  width: 282px;
  min-width: 282px;
  height: 294px;
  object-fit: cover;
  display: block;
}

.project-slide-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.slider-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 30px;
  color: #000;
}

/* Swiper pagination ? green active dot */
.projecten-swiper .swiper-pagination {
  position: static;
  margin-top: 35px;
  line-height: 13px;
}

.projecten-swiper .swiper-pagination-bullet {
  width: 13px;
  height: 13px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  margin: 0 6px;
}

.projecten-swiper .swiper-pagination-bullet-active {
  background: var(--vobis-green);
}

.projecten-swiper .swiper-slide:not(.swiper-slide-active) {
  position: relative;
}

.projecten-swiper .swiper-slide:not(.swiper-slide-active)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 40px;
  pointer-events: none;
}

/* --- Agenda ------------------------------------------------ */
.agenda-section {
  background-color: var(--vobis-orange);
}

.agenda-card {
  background: #fff;
  border-radius: 40px;
  padding: 40px 60px;
}

@media (max-width: 767px) {
  .agenda-card { padding: 24px 20px; }
}

.agenda-date {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 28px;
  line-height: 40px;
  color: var(--vobis-orange);
  margin-bottom: 4px;
}

.agenda-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 30px;
  color: #000;
  margin-bottom: 12px;
}

.agenda-divider {
  border-color: var(--vobis-dark-gray);
  opacity: 1;
  margin-top: 24px;
  margin-bottom: 24px;
}

.agenda-item .btn-vobis { min-width: 142px; }

/* --- Testimonials ------------------------------------------ */
.testimonial-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 0 60px;
}

.testimonial-text {
  font-family: 'Roboto Condensed', sans-serif;
  font-style: italic;
  font-size: 18px;
  line-height: 26px;
}

.testimonial-author {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-top: 16px;
  margin-bottom: 4px;
}

.testimonial-location {
  font-size: 18px;
}

/* Arrow controls for testimonial swiper */
.ervaringen-swiper {
  position: relative;
}

.testimonial-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.ervaringen-prev { left: 0; }
.ervaringen-next { right: 0; }

.testimonial-arrow-icon {
  font-size: 57px;
  color: var(--vobis-green);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
font-size: 20px;
    color: #FFF;
    border: 1px solid #fff;
    border-radius: 8px;
    padding: 10px;
    width: 30px;
    height: 30px;
    text-align: center;
    margin-right: 4px;
}

.social-icon:hover {
  color: var(--vobis-dark-gray);
  background-color: #fff;
}

/* --- Donation Section -------------------------------------- */
.donation-section {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  background-color: var(--vobis-green);
}

.donation-section .section-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.donation-section .container {
  position: relative;
  z-index: 1;
}

.donation-photo {
  width: 100%;
  /* aspect-ratio: 545 / 460; */
  object-fit: cover;
  display: block;
  border-radius: 20px;
  /* width: 544px; */
  height: 460px;
}

.donation-content {
  padding: 0 0 0 40px;
}

@media (max-width: 1399px) {
  .donation-content { padding: 32px 0 0; }
  #ervaringenCarousel .carousel-control-prev { left: 0; }
  #ervaringenCarousel .carousel-control-next { right: 0; }
  .testimonial-content { padding: 0 50px; }
}

/* --- Footer ------------------------------------------------ */
.footer-main {
  background-color: var(--vobis-dark-gray);
}

.footer-main h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 30px;
  color: #fff;
  margin-bottom: 20px;
}

.footer-main p {
  font-size: 18px;
  line-height: 26px;
  color: #fff;
  margin-bottom: 6px;
}

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

.footer-main ul li {
  font-size: 18px;
  line-height: 26px;
  color: #fff;
  margin-bottom: 4px;
}

.footer-main ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-main ul li a:hover {
  color: var(--vobis-green);
}

.footer-link-green {
  color: var(--vobis-green);
  text-decoration: none;
}

.footer-link-green:hover {
  text-decoration: underline;
}

.footer-contact-link {
  color: var(--vobis-green);
  text-decoration: none;
  font-size: 18px;
  line-height: 26px;
  display: block;
}

.footer-contact-link:hover {
  text-decoration: underline;
}

.footer-badges img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.social-icons a img {
  height: 32px;
  width: auto;
}

/* --- Footer Copyright Bar ---------------------------------- */
.footer-copyright {
  background-color: var(--vobis-green);
  padding: 10px 0;
}

.footer-copyright p,
.footer-copyright a {
  font-size: 18px;
  line-height: 26px;
  color: #000;
  text-decoration: none;
  margin: 0;
}

.footer-copyright a:hover {
  text-decoration: underline;
}

/* leftovers */
.gy-40 { --bs-gutter-y: 40px; }
.g-80 { --bs-gutter-x: 80px; --bs-gutter-y: 80px; }
.gx-80 { --bs-gutter-x: 80px; }

/* --- Responsive ------------------------------------------- */
@media (max-width: 1399px) {
  .hero-section { height: 320px; }
  .intro-section { padding: 48px 0; }
  .projecten-swiper .swiper-slide { width: 90%; height: auto; flex-direction: column; }
  .project-slide-photo { width: 100%; min-width: unset; height: 200px; border-radius: 40px 40px 0 0; }
  .testimonials-section { padding: 48px 0; }
  .footer-main { padding: 48px 0 40px; }
  .agenda-section .btn-vobis, .testimonials-section .btn-vobis, .donation-section .btn-vobis { min-width: 100%; }
  .navbar-collapse .btn-vobis { width: 300px; }
  .container { padding: 0 25px; }
}

@media (max-width: 767px) {
  h2, .h2 { font-size: 26px; line-height: 32px; }
  .agenda-date { font-size: 22px; }
  .agenda-title { font-size: 22px; }
  .slider-title { font-size: 22px; }
  .project-slide-content { padding: 24px; }
  .donation-content { padding: 24px 0 0; }
  .footer-copyright .d-flex { flex-direction: column; gap: 4px; text-align: center; }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1180px;
    }
}

/* --- Navbar Dropdown --------------------------------------- */
.navbar-vobis {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-vobis .dropdown-toggle::after {
  display: none;
}

.navbar-vobis .dropdown-menu {
  background-color: #fff;
  border: none;
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
  padding: 8px 0 16px;
  min-width: 300px;
  margin-top: 0;
}

.navbar-vobis .dropdown-item {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 30px;
  text-transform: uppercase;
  color: #808080;
  padding: 2px 16px;
  white-space: normal;
}

.navbar-vobis .dropdown-item:hover,
.navbar-vobis .dropdown-item:focus {
  background-color: transparent;
  color: var(--vobis-orange);
}

.navbar-vobis .dropdown-item.active,
.navbar-vobis .dropdown-item:active {
  background-color: transparent;
  color: var(--vobis-orange);
}
.dropdown-toggle .fa-chevron-down {
    transition: transform 0.2s ease;
    font-size: 0.75em;
    position: relative;
    bottom: 1px;
}
.dropdown-toggle[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
    position: relative;
    bottom: 4px;
}

/* --- Pagination (lapozas) ---------------------------------- */
.lapozas {
  /* padding: 40px 0 40px; */
}

.lapozas .col-12 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lapozas span,
.lapozas a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 18px;
  border-radius: 30px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

/* Active / current page */
.lapozas span {
  background-color: var(--vobis-orange);
  color: #fff;
  font-weight: 700;
  border: 1px solid var(--vobis-orange);
  cursor: default;
}

/* Other pages */
.lapozas a {
  background-color: #fff;
  color: var(--vobis-orange);
  border: 1px solid var(--vobis-orange);
  font-weight: 400;
}

.lapozas a:hover,
.lapozas a:focus {
  background-color: var(--vobis-orange);
  color: #fff;
}

/* --- Accessibility: reduced motion ------------------------- */
@media (prefers-reduced-motion: reduce) {
  .radio-ticker-track {
    animation: none;
  }
  * {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* --- Accessibility: focus outline -------------------------- */
:focus-visible {
  outline: 3px solid var(--vobis-orange);
  outline-offset: 3px;
}

/* --- Content card (long-form article block) ---------------- */
.content-card {
  background: #fff;
  border-radius: 40px;
}
.content-card h3 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
}

/* --- Accordion (organisatiestructuur) ---------------------- */
.vobis-accordion .accordion-item {
  border: none;
  border-top: 1px solid var(--vobis-dark-gray);
  border-radius: 0 !important;
  background: transparent;
}
.vobis-accordion .accordion-item:last-child {
  border-bottom: 1px solid var(--vobis-dark-gray);
}
.vobis-accordion-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 14px 0;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: #000 !important;
}
.vobis-accordion-btn:focus-visible {
  outline: 3px solid var(--vobis-orange);
  outline-offset: 2px;
}
.vobis-accordion-icon {
  font-size: 14px;
  color: var(--vobis-dark-gray);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.vobis-accordion-btn[aria-expanded="true"] .vobis-accordion-icon {
  transform: rotate(90deg);
}
.vobis-accordion-body {
  padding: 0 0 16px 26px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  line-height: 26px;
  color: #000;
}

.accordion-button::after {
  display: none;
}

/* --- Logo card (partner grid) ------------------------------ */
.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background-color: #fff;
  border: 1px solid var(--vobis-dark-gray);
  border-radius: 40px;
  padding: 32px;
  transition: box-shadow .2s ease;
}
.logo-card:hover,
.logo-card:focus-visible {
  box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
  outline: none;
}
.logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* mobile */
@media (max-width: 767px) {
  .section-logo-grid .gx-80 { --bs-gutter-x: 40px; }
  .logo-card {
    padding: 16px;
  }
}

/* --- Text list (50-50 bullet block) ------------------------ */
.text-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.text-list li {
  padding-left: 1.2em;
  position: relative;
  margin-bottom: 4px;
  line-height: 26px;
}
.text-list li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* section-content-card */
.section-content-card a {
  color: var(--vobis-orange);
  text-decoration: none;
}
.section-content-card a:hover {
  text-decoration: underline;
}
/* mobile */
@media (max-width: 767px) {
  .section-content-card h2 {word-break: break-word;}
}

.section-content-card-green-50-50 iframe {
  border: none;
  width: 100%;
  min-height: 400px;
  border-radius: 20px;
}

/* --- Project grid filter buttons (Figma: 2063:703) -------- */
.btn-filter {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  text-transform: uppercase;
  color: var(--vobis-orange);
  background-color: #fff;
  border: 1px solid var(--vobis-orange);
  border-radius: 10px;
  padding: 3px 24px;
  height: 38px;
  min-width: 137px;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
  text-align: center;
}
.btn-filter.active,
.btn-filter:hover {
  background-color: var(--vobis-orange);
  color: #fff;
}

/* --- Project cards (Figma: 2057:696) ---------------------- */
.project-card {
  display: block;
  color: inherit;
}
.project-card-img-wrap {
  border-radius: 40px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
}
.project-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-card-category, .project-card-category a {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  color: var(--vobis-orange);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.project-card-title {
  font-family: 'Roboto', sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 30px;
  color: #000;
  margin-bottom: 0;
}
@media (prefers-reduced-motion: reduce) {
  .btn-filter { transition: none; }
}

/* bottommenu */
#bottommenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 24px;
}
#bottommenu ul li a {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  line-height: 30px;
  color: #000;
  text-decoration: none;
}
#bottommenu ul li a:hover {
  color: var(--vobis-orange);
} 

.footer-text a {
  color: var(--vobis-green);
  text-decoration: none;
}
.footer-text a:hover {
  text-decoration: underline;
}

.footer-main ul img {
  display: none !important;
}

/* empty */
.empty:empty {
  display: none !important;
}