/* Styles for the preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    /* You can set any background color or use transparent */
    display: flex;
    flex-direction: column;
    /* Stack items vertically */
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* General */
    -ms-overflow-style: none;
    /* Internet Explorer and Edge */
    scrollbar-width: none;
    /* Firefox */
    z-index: 1;
}

/* Styles for the loading image */
.preloader__image {
    width: 200px;
    /* Adjust the size of the loading GIF as needed */
}

/* Styles for the logo */
.logo_preloader {
    width: 300px;
    /* Adjust the size of the logo image as needed */
    height: auto;
    margin-top: 5px;
    /* Add space between the loading GIF and the logo */
}


/************************************************************************
# Body
************************************************************************/

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

nav {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 500;
    transition: box-shadow 0.3s ease;
}

header#navHeader {
    padding-top: 69px !important;
}
  
nav.scrolled {
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.important-font {
    font-family: "Protest Strike", sans-serif;
    font-size: 4rem;
    font-weight: 400;
    font-style: normal;
}

.important-font-sub {
    font-family: "Protest Strike", sans-serif;
    font-size: 3rem;
    font-weight: 200;
    font-style: normal;
}

.important-font-mobile {
    font-family: "Protest Strike", sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    font-style: normal;
}

.important-font-mobile-sub {
    font-family: "Protest Strike", sans-serif;
    font-size: 1.7rem;
    font-weight: lighter;
    font-style: normal;
}

* {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.text-align-center {
    text-align: center !important;
}





/* Stijlen voor schermen groter dan of gelijk aan 768px breedte */
@media only screen and (min-width: 1045px) {
    .HideOnMobile {
        display: block;
    }

    .ShowOnMobile {
        display: none;
    }
}

/* Stijlen voor schermen kleiner dan 768px breedte */
@media only screen and (max-width: 1044px) {
    .HideOnMobile {
        display: none;
    }

    .ShowOnMobile {
        display: block;
    }
}

h1 {
    margin: 0;
    font-size: 56px;
    font-weight: 700;
    line-height: 64px;
    font-family: "Poppins", sans-serif;
}

h4 {
    padding-top: 10px;
}

/************************************************************************
# Button
************************************************************************/

.button {
    text-decoration: none;
}

a .arrow-button {
    text-decoration: none;
}

.arrow-button {
    text-decoration: none;
    display: flex;
    color: #ffffff;
    background-color: #022b33;
    border: 2px solid #022b33;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all .3s ease;
    font-weight: bold;
    cursor: pointer;
    align-items: center;
    font-size: 14px;
}



.arrow-button>.arrow {
    width: 6px;
    height: 6px;
    border-right: 3px solid #ffffff;
    border-bottom: 3px solid #ffffff;
    position: relative;
    transform: rotate(-45deg);
    margin: 0 6px;
    transition: all .3s ease;
}

.arrow-button>.arrow::before {
    display: block;
    background-color: currentColor;
    width: 3px;
    transform-origin: bottom right;
    height: 3px;
    position: absolute;
    opacity: 0;
    bottom: calc(-3px / 2);
    transform: rotate(45deg);
    transition: all .3s ease;
    content: "";
    right: 0;
}

.arrow-button:hover>.arrow {
    transform: rotate(-45deg) translate(4px, 4px);
    border-color: text-hover-color;
}

.arrow-button:hover>.arrow::before {
    opacity: 1;
    width: 12px;
}

.arrow-button:hover {
    background-color: rgb(173, 143, 60);
    border: 2px solid rgb(173, 143, 60);
    color: #ffffff;
}

/************************************************************************
# Header Section
************************************************************************/
.logo {
    width: 100%;
    height: auto;
}

.logo-mobile {
    width: 73%;
    height: auto;
}

.nav-item {
    padding-right: 5px;
}

#navbarNav {
    padding-bottom: 0%;
}

/************************************************************************
# Hero Section
************************************************************************/
#hero {
    width: 100%;
    height: 60vh;
    min-height: 300px;
    background: url("../images/carrosseriebedrijf-sanse-2.jpg") center;
    background-size: cover;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}


#hero h1 {
    margin: 0;
    font-size: 56px;
    font-weight: 700;
    line-height: 64px;
    color: #fff;
    font-family: "Poppins", sans-serif;
}


#hero h2 {
    color: rgba(255, 255, 255, 0.9);
    margin: 10px 0 0 0;
    font-size: 24px;
}

@media (min-width: 1024px) {
    #hero {
        background-attachment: fixed;
    }
}

@media (max-width: 768px) {
    #hero {
        height: auto;
    }

    #hero h1 {
        font-size: 28px;
        line-height: 36px;
    }

    #hero h2 {
        font-size: 20px;
        line-height: 24px;
    }
}

.animated-heading {
    font-family: "Protest Strike", sans-serif;
    font-weight: 400;
}

#words {
    font-family: "Protest Strike", sans-serif;
    font-weight: 400;
}

/************************************************************************
# Producten Section
************************************************************************/

#producten {
    margin-top: 5%;
    margin-bottom: 5%;
    padding-left: 10%;
    padding-right: 10%;
}

#producten .row {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

#producten h1 {
    color: rgb(3, 3, 27);
    font-weight: bold;
    margin-bottom: 2%;
}

#producten h4 {
    color: rgb(3, 3, 27);
}

#producten h5 {
    color: rgb(173, 143, 60);
    font-weight: lighter;
    font-size: 16px;
}

.product {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.product:hover {
    transform: scale(0.9);
}

#producten .btn {
    font-size: larger;
    margin-top: 2%;
}

/************************************************************************
# Over ons Section
************************************************************************/
#over {
    padding-bottom: 5%;
}

#over .row {
    margin-top: 5%;
}

.logo_small {
    width: 30%;
    height: auto;
    margin-bottom: 5%;
}

#over .btn {
    margin-top: 5%;
}

#over .col-8 {
    display: flex;
    justify-content: center;
}

.over_ons_image {
    border-radius: 20px;
    width: 100%;
    height: auto;
}

#over h1 {
    font-family: "Protest Strike", sans-serif;
    font-weight: 400;
}

#over h3 {
    font-weight: lighter;
}

#over h5 {
    font-weight: lighter;
    line-height: 2;
}

@media (max-width: 768px) {

    .row.over .col-4,
    .row.over .col-8 {
        flex: 0 0 100%;
        /* Zorg ervoor dat beide kolommen de volledige breedte innemen */
    }
}



/************************************************************************
# Keypoints Section
************************************************************************/
#keypoints {
    padding-left: 0%;
    padding-right: 0%;
    margin-bottom: 100px;

    padding-top: 10px;
    max-height: 950px;
    /* Max hoogte van 400px */
    min-height: 400px;
    width: auto;
    width: 100%;

    background: url("../images/home-carrosseriebedrijf-sanse-wisselsystemen-2-coloured.jpg") center;
    background-size: cover;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    /* Voorkomt dat de inhoud buiten de max hoogte wordt weergegeven */
}

#keypoints .row {
    display: flex;
    justify-content: space-around;
    /* Verdeelt de ruimte tussen de kolommen gelijkmatig */
    align-items: center;
    /* Centerinhoud verticaal */
    height: 100%;
    /* Gebruik de volledige hoogte van de sectie */
}

#keypoints .col {
    flex: 1;
    /* Zorgt ervoor dat alle kolommen even breed zijn */
    display: flex;
    flex-wrap: nowrap;
    /* Voorkomt dat kolommen worden gewrapt naar een nieuwe rij */
    flex-direction: column;
    align-items: center;
    /* Centerinhoud binnen elke kolom */
    text-align: center;
}

#keypoints .keypoint {
    width: 100px;
    /* Pas dit aan op basis van de gewenste grootte van de afbeeldingen */
    height: auto;
    /* Automatisch hoogte instellen om de aspectverhouding te behouden */
    margin-bottom: 20px;
    /* Optioneel: voeg ruimte toe tussen afbeeldingen */
    transition: transform 0.3s ease;
}

#keypoints .keypoint:hover {
    transform: scale(0.9);
}


#keypoints h5 {
    color: #fff;
}

/************************************************************************
# Realisaties Section
************************************************************************/
#realisaties {
    margin-top: 5%;
    margin-bottom: 5%;
    padding-left: 10%;
    padding-right: 10%;
}

#realisaties .row {
    display: flex;
    justify-content: center;
}

#realisaties h1 {
    color: rgb(3, 3, 27);
}

#realisaties h3 {
    color: rgb(3, 3, 27);
    font-weight: lighter;
    margin-top: -2%;
}



.realisatie {
    width: 100%;
    height: auto;
    max-height: 151.583px;
    border-radius: 20px;

    transition: transform 0.3s ease;
}

.realisatie:hover {
    transform: scale(0.9);
}

#realisaties .btn {
    font-size: larger;
    margin-top: 10px;
}

#realisaties .row {
    margin-bottom: 10px;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/

.portfolio {
    overflow: hidden;
}

.portfolio #portfolio-flters {
    padding: 0;
    margin: 0 auto 25px auto;
    list-style: none;
    text-align: center;
    background: white;
    border-radius: 50px;
    padding: 2px 15px;
}

.portfolio #portfolio-flters li {
    cursor: pointer;
    display: inline-block;
    padding: 8px 20px 10px 20px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    color: #444444;
    margin: 0 4px 8px 4px;
    transition: 0.3s;
    border-radius: 50px;
    border: 1px solid #fff;
}

.portfolio #portfolio-flters li:hover {
    color: #000000;
    border-color: rgb(173, 143, 60);
    background-color: rgb(173, 143, 60);
}

.portfolio #portfolio-flters li.filter-active {
    color: #ffffff;
    border-color: #022b33;
    background-color: #022b33;
}

.portfolio #portfolio-flters li:last-child {
    margin-right: 0;
}

.portfolio .portfolio-wrap {
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: rgba(255, 255, 255, 0.75);
}

.portfolio .portfolio-wrap::before {
    content: "";
    background: rgba(255, 255, 255, 0.75);
    position: absolute;
    left: 30px;
    right: 30px;
    top: 30px;
    bottom: 30px;
    transition: all ease-in-out 0.3s;
    z-index: 1;
    opacity: 0;
}

.portfolio .portfolio-wrap img {
    transition: 1s;
}

.portfolio .portfolio-wrap .portfolio-info {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    z-index: 1;
    transition: all ease-in-out 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.portfolio .portfolio-wrap .portfolio-info::before {
    display: block;
    content: "";
    width: 48px;
    height: 48px;
    position: absolute;
    top: 35px;
    left: 35px;
    border-top: 3px solid rgba(1, 41, 112, 0.2);
    border-left: 3px solid rgba(1, 41, 112, 0.2);
    transition: all 0.5s ease 0s;
    z-index: 1;
}

.portfolio .portfolio-wrap .portfolio-info::after {
    display: block;
    content: "";
    width: 48px;
    height: 48px;
    position: absolute;
    bottom: 35px;
    right: 35px;
    border-bottom: 3px solid #054350;
    border-right: 3px solid #054350;
    transition: all 0.5s ease 0s;
    z-index: 1;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
    font-size: 20px;
    color: #ffff;
    font-weight: 700;
}

.portfolio .portfolio-wrap .portfolio-info p {
    color: #022b33;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
    text-align: center;
    z-index: 1;
}

.portfolio .portfolio-wrap .portfolio-links a {
    color: #fff;
    background: #022b33;
    margin: 10px 2px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a i {
    font-size: 24px;
    line-height: 0;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
    background: #1e3c42;
}

.portfolio .portfolio-wrap:hover img {
    transform: scale(1.1);
}

.portfolio .portfolio-wrap:hover::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
    opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info::before {
    top: 15px;
    left: 15px;
}

.portfolio .portfolio-wrap:hover .portfolio-info::after {
    bottom: 15px;
    right: 15px;
}

.portfolio-gallery-image {
    width: 100%;
    height: 75%;
    border-radius: 20px;
}

/*--------------------------------------------------------------
  # Portfolio Details
  --------------------------------------------------------------*/
.portfolio-details {
    padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
    width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #fff;
    opacity: 1;
    border: 1px solid #022b33;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #022b33;
}

.portfolio-details .portfolio-info {
    padding: 30px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.08);
}

.portfolio-details .portfolio-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
    margin-top: 10px;
}

.portfolio-details .portfolio-description {
    padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
    padding: 0;
}

/************************************************************************
# Contact Section
************************************************************************/
#contact-section {
    margin-bottom: 0;
    align-items: center;
    padding-top: 100px;
    padding-left: 0%;
    padding-right: 0%;
    max-height: 800px;
    min-height: 450px;
    width: auto;
    background: url("../images/a13-coloured.jpg") center;
    background-size: cover;
    color: white;
    line-height: 2.5;
    /* Line spacing of 2.5 */
    z-index: 1;
}

#contact-section h3 {
    font-weight: lighter;
    color: rgb(173, 143, 60);
    /* Color for H3 elements */
    padding-bottom: 5px;
}

#contact-section h5 {
    line-height: 2;
}

#contact-section .underline {
    border-bottom: 3px solid rgb(255, 255, 255);
    /* Underline H3 elements with class underline */
    margin-right: 250px;
}

#contact-section h1 {
    color: white;
    /* Color for H1 elements */
}

#contact-section h2 {
    color: rgb(173, 143, 60);
    /* Color for H1 elements */
}

#contact-section a {
    text-decoration: none;
}

a h1:hover {
    transform: scale(0.9);
    transition: transform 0.3s ease;
    /* Voeg een overgang toe voor soepele animatie */
}

/************************************************************************
# Contact Page
************************************************************************/
#contactpage-hero {
    width: 100%;
    height: 60vh;
    min-height: 300px;
    background: url("../images/carrosseriebedrijf-sanse-contact-handshake.jpg") center;
    background-size: cover;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    color: white;
    font-weight: bold;
}

#contact-page .row {
    margin-bottom: 3%;
    margin-top: 2%
}

#contact-page a {
    text-decoration: none;
    color: rgb(3, 3, 27);
}

#contact-page a:hover {
    color: rgb(173, 143, 60);
    ;
}

/************************************************************************
# Over Page
************************************************************************/
#over-page {
    margin-bottom: 2%;
    margin-right: 0%;
    padding-right: 0%;
}

#over-page {
    border-radius: 3px;
}

.over-page-image {
    border-radius: 20px;
}

/*#over-hero {
    width: 100%;
    height: 60vh;
    min-height: 300px;
    background: url("../images/carrosseriebedrijf-sanse-4-coloured.jpg") center;
    background-size: cover;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    color: white
  }*/

#over-hero {
    width: 100%;
    height: 60vh;
    min-height: 300px;
    background: url("../images/a20-dark.jpg") center;
    background-size: cover;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    color: white;
}


#ons-geschiedenis .HideOnMobile,
#team-werkwijze .HideOnMobile,
#tweede-generatie .HideOnMobile,
#contact-cta .HideOnMobile,
#sfeerbeelden {
    padding: 50px 0;
}

#ons-geschiedenis .ShowOnMobile,
#team-werkwijze .ShowOnMobile,
#tweede-generatie .ShowOnMobile,
#contact-cta .ShowOnMobile,
#sfeerbeelden {
    padding: 10px 0;
}

#team-werkwijze h2,
#tweede-generatie h2,
#sfeerbeelden h2 {
    margin-bottom: 30px;
}



/************************************************************************
# Projecten Page
************************************************************************/
#projecten-hero {
    width: 100%;
    height: 60vh;
    min-height: 300px;
    background: url("../images/a1.jpg") center;
    background-size: cover;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    color: #fff;
    font-weight: bolder;
}

#projecten {
    margin-top: 20px;
}

#projecten-contact-section {
    width: 100%;
    height: 60vh;
    background: url("../images/carrosseriebedrijf-sanse-bestelwagen-fdmkr-coloured.jpg") center;
}

#projecten img {
    border-radius: 5%;
}

.projecten-container {
    padding-top: 3%;
}

/************************************************************************
# Realisaties Page
************************************************************************/
.section-header {
    padding-top: 2%;
}

#realisaties-hero {
    width: 100%;
    height: 60vh;
    min-height: 300px;
    background: url("../images/a19-dark.jpg") center;
    background-size: cover;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    color: white;
}

#realisaties .btn-primary {
    width: 200px;
}

#realisaties h2 {
    margin-bottom: 50px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-item {
    width: calc(16.666% - 20px);
    /* Bereken de breedte voor 6 items per rij */
    margin: 10px;
    cursor: pointer;
    overflow: hidden;
    /* Verberg eventuele overloop van de afbeeldingen */
    border-radius: 5%;
    transition: transform 0.3s ease;
}


.ShowOnMobile .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 4 kolommen */
    grid-gap: 10px;
    /* Spaties tussen de afbeeldingen */
}

.ShowOnMobile .gallery-item-mobile {
    width: 100%;
    /* Elke afbeelding moet de volledige breedte van zijn container innemen */
}

.ShowOnMobile .gallery-item-mobile img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-item:hover {
    transform: scale(1.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    /* Vul de hoogte van de afbeeldingen in de galerij-items op */
    object-fit: cover;
    /* Behoud de aspect ratio en vul de ruimte */
}

/* Stijlen voor het modale venster */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 950px;
    width: 90%;
    position: relative;
    margin: auto;
    background-color: #fff;
    padding: 60px;
    border-radius: 8px;
    text-align: center;
}

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

.close-btn {
    text-decoration: none;
    font-size: 24px;
    color: #888;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
}

.prev {
    left: 0;
    margin-left: 5px;
}

.next {
    right: 0;
    margin-right: 5px;
}

.action-button {
    text-decoration: none;
    font-size: 50px;
    color: #022b33;
}

/************************************************************************
# Footer Section
************************************************************************/
.maps {
    background-color: rgb(34, 34, 34);
}

#footer {
    background-color: rgb(34, 34, 34);
    color: white !important;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 3%;
    padding-bottom: 3%;
}

#footer img {
    height: auto;
    width: 30%;
    padding-bottom: 3%;
}

.footer .footer-top .social-links a {
    font-size: 20px;
    display: inline-block;
    color: rgb(255, 255, 255);
    line-height: 0;
    margin-right: 10px;
    transition: 0.3s;
}

.footer .footer-top .social-links a:hover {
    color: rgb(173, 143, 60);
}

.footer .footer-top h4 {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
}

.footer .footer-top .footer-links {
    margin-bottom: 30px;
}

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

.footer .footer-top .footer-links ul i {
    padding-right: 2px;
    color: rgb(173, 143, 60);
    font-size: 12px;
    line-height: 0;
}

.footer .footer-top .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-top .footer-links ul a {
    text-decoration: none;
    color: #ffffff;
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
}

.footer .footer-top .footer-links ul a:hover {
    color: rgb(173, 143, 60);
}

.footer .footer-top .footer-contact p {
    line-height: 26px;
}

.footer .footer-top .footer-contact a {
    text-decoration: none;
    color: #ffffff;
    line-height: 26px;
}

.footer .footer-top .footer-contact a:hover {
    text-decoration: none;
    color: rgb(173, 143, 60);
    line-height: 26px;
}

.footer .copyright {
    text-align: center;
    padding-top: 30px;
    font-weight: bold;
    color: #ffffff;
}

.footer .copyright a {
    text-decoration: none;
    text-align: center;
    color: rgb(173, 143, 60);
}

.footer .credits {
    padding-top: 10px;
    text-align: center;
    font-size: 13px;
    color: #ffffff;
}

.important-font-sub b {
    font-weight: 600;
}

.important-font-sub h5 b {
    font-weight: 600;
}

.fw-600 {
    font-weight: 600;
}

.portfolio-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;

}

.portfolio-item {
    position: relative;
    overflow: hidden;

}

.portfolio-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
}

.portfolio-wrap img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.portfolio-wrap img:hover {
    transform: scale(1.1);
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 100%;
    padding: 10px;
    text-align: center;
    font-size: 1rem;
}

.filter-btn {
    margin: 0 10px;
    padding: 8px 16px;
    background: #eee;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: #333;
    color: #fff;
}

@media only screen and (max-width: 1044px) {
  .footer-top {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-top .row {
    width: 100% !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  .footer-links,
  .footer-contact {
    width: 100% !important;
    text-align: center !important;
    margin: 10px 0 !important;
  }

  .footer-links ul {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none;
    text-align: center;
  }

  .footer-links ul li {
    display: block !important;
    margin: 5px 0 !important;
  }

  .social-links {
    justify-content: center !important;
    display: flex !important;
    margin-top: 15px !important;
    gap: 10px;
  }

  .footer-img {
    align-self: right !important;
  }
}

/* Zorg ervoor dat de container met knoppen flex-wrap ondersteunt */
.d-flex.justify-content-center {
  flex-wrap: wrap;
  gap: 10px; /* Optioneel, voor ruimte tussen knoppen */
}

/* Styling voor knoppen */
.filter-btn {
  padding: 10px 15px;
  font-size: 1rem;
  border: 1px solid #ddd;
  background-color: #f8f9fa;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #525252;
  color: #fff;
  border-color: #525252;
}

/* Voor kleinere schermen */
@media (max-width: 768px) {
  .filter-btn {
    flex: 1 1 100%; /* Knoppen nemen volledige breedte in */
    text-align: center;
  }
}

.realisaties-buttons button {
  text-decoration: none;
  display: flex;
  color: #ffffff;
  background-color: #022b33;
  border: 2px solid #022b33;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-weight: bold;
  cursor: pointer;
  align-items: center;
  font-size: 14px;
}