/* General styles */
:root {
    --primary-color: #6ab04c;
    --secondary-color: #46b949;
    --background-color: #a4b0be;
    --text-color: #000000;
    --white: #ffffff;
    --body-color: #f1f2f6;
}

html,
body {
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--body-color);
    overflow-x: hidden;
    box-sizing: border-box;
    margin-top: 30px;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

* {
font-family: "Verdana";
}

.beleid-container {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 20px auto;
}

.beleid-container h2 {
    color: #333;
    margin-bottom: 1rem;
}

.beleid-container h3 {
    color: #555;
    margin-top: 1.5rem;
}

.beleid-container p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.beleid-container a {
    color: #007bff;
    text-decoration: none;
}

.beleid-container a:hover {
    text-decoration: underline;
}

/* Mobile Navigation */
.mobile.Nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em;
    background-color: var(--secondary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    font-weight: bold;
}

.navLogo img {
    max-height: 250px;
}

.opennavLogo img {
    padding-top: 1em;
    max-height: 70px;
}

.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    padding: 0;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s linear;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

body.menu-open {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hamburgerMenu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: white;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
    padding: 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hamburgerMenu.active {
    right: 0;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobileNavItem,
.social-buttons,
.cta-button {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    transition-delay: 0.1s;
}

.hamburgerMenu.active .mobileNavItem,
.hamburgerMenu.active .social-buttons,
.hamburgerMenu.active .cta-button {
    opacity: 1;
    transform: translateY(0);
}

.mobileNavItem:nth-child(1) {
    transition-delay: 0.1s;
}

.mobileNavItem:nth-child(2) {
    transition-delay: 0.2s;
}

.mobileNavItem:nth-child(3) {
    transition-delay: 0.3s;
}

.mobileNavItem:nth-child(4) {
    transition-delay: 0.4s;
    border: 2px solid black;
    padding: 0 5px;
    border-radius: 15px;
    width: 150px;
}

.mobileNavItem:nth-child(5) {
    transition-delay: 0.5s;
}

.social-buttons {
    transition-delay: 0.6s;
}

.cta-button {
    transition-delay: 0.7s;
}

.mobileNavLinks {
    list-style-type: none;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobileNavItem {
    margin: 15px 0;
    width: 100%;
    text-align: center;
    cursor: pointer;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Desktop Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 5%;
    background-color: var(--secondary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: height 0.3s, padding 0.3s;
}

.deskNavLogo img {
    padding-top: 15px;
    max-height: 60px;
    transition: max-height 0.3s, padding-top 0.3s;
}

/* Shrink state */
nav.shrink {
    height: 56px;
    padding: 0.5em 5%;
}

nav.shrink .deskNavLogo img {
    max-height: 36px;
    padding-top: 4px;
}

.navLinks {
    list-style-type: none;
    display: flex;
    justify-content: space-evenly;
    flex-grow: 0.5;
    margin: 0;
    padding: 0;
}

.NavlinkedinBtn {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
}

.NavlinkedinSVG:hover {
    transform: scale(1.1);
}

.NavlinkedinSVG {
    width: 25px;
    height: 25px;
    fill: black;
}

.navItem a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.navItem a.active {
    color: black;
    border-bottom: 1px solid black;
    animation: activeLink 0.5s ease forwards;
}

.navItem a.inschrijfactive {
    border: 2px solid black;
    animation: activeLink 0.5s ease forwards;
}

@keyframes activeLink {
    0% {
        border-bottom: 2px solid transparent;
    }

    100% {
        border-bottom: 1px solid black;
    }
}

nav ul li:nth-child(4) a {
    border: 1px solid black;
    padding: 8px 18px;
    border-radius: 15px;
}

nav ul li:nth-child(4) a:hover {
    color: var(--text-color);
}

.navItem a:hover,
.navItem a.active:not(.inschrijfactive) {
    color: var(--text-color);
    border-bottom: 1px solid black;
}

/* Main content */
main {
    padding: 0 5% 2em;
}

.tarievenInleiding,
main {
    padding: 0;
}

.overons {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 10px 10px 30px 20px;
}

/* Hero section */
.heroContainer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 50px;
}

.hero {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    width: 550px;
    height: 350px;
    color: var(--text-color);
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.heroContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.heroContent h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.heroContent p {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.heroIcons {
    margin-top: 4em;
    padding-top: 2em;
}

.heroIcons ul {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.heroIcons li {
    flex-basis: calc(25% - 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.heroIcons i {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 0.5em;
}

.heroIcons span {
    font-weight: bold;
    margin-bottom: 0.5em;
    display: block;
}

.heroIcons p {
    font-size: 0.9em;
    line-height: 1.4;
}

.overons h1 {
    color: var(--text-color);
    margin-bottom: 1em;
}

.overons,
.paketten {
    margin-bottom: 3em;
}

.overOns h2 {
    color: var(--text-color);
    margin-bottom: 0.5em;
}

.overonslink {
    display: inline-flex;
    align-items: center;
    background-color: var(--body-color);
    color: var(--text-color);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-top: 1em;
    border: 1;
    cursor: pointer;
    font-weight: bold;
}

.overonslink:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.overonslink:hover .arrow {
    transform: translateX(5px);
}

.content-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 10px 10px 30px 20px;
}

.overonsimg {
    width: 150px;
    flex-shrink: 0;
    background-color: var(--body-color);
    border-radius: 10px;
}

.content-wrapper p {
    flex: 1;
    margin-bottom: 1em;
    min-width: 200px;
    color: var(--text-color);
}

.arrow {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    fill: var(--text-color);
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.bellen {
    margin-left: 1em;
}

.bellen:hover {
    transform: scale(1.05);
}

/* Package cards */
.paketten {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 2em 0;
    padding-bottom: 0;
}

.pakketCard {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #ccc;
    border-radius: 10px;
    width: 340px;
    position: relative;
}

.pakketCard a {
    border-radius: 0 0 9px 9px;
}

.ribbon {
    --f: 15px;
    position: absolute;
    top: 0;
    color: #fff;
    padding: .1em 1.8em;
    background: var(--c, #43aa2f);
    border-bottom: var(--f) solid #0007;
    clip-path: polygon(100% calc(100% - var(--f)), 100% 100%, calc(100% - var(--f)) calc(100% - var(--f)),
            var(--f) calc(100% - var(--f)), 0 100%, 0 calc(100% - var(--f)),
            999px calc(100% - var(--f) - 999px), calc(100% - 999px) calc(100% - var(--f) - 999px));
}

.right {
    right: 0;
    transform: translate(calc((1 - cos(45deg)) * 100%), -100%) rotate(45deg);
    transform-origin: 0% 100%;
}

@supports (-moz-appearance: none) {
    .ribbon {
        background:
            linear-gradient(to top, #0000 1px, #0005 0 var(--f), #0000 0) border-box,
            linear-gradient(var(--c, #43aa2f) 0 0) 50%/ calc(100% - 2px) calc(100% - 2px) no-repeat border-box;
        border-bottom-color: #0000;
    }
}


.pakketCard:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.pakketCardText {
    background-color: var(--secondary-color);
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 7px 7px 0 0;
    width: 100%;
}

.pakketCardPrijs {
    font-size: 1.5rem;
    text-align: center;
    margin: 15px 0;
    color: var(--text-color);
}

.pakketCard ul {
    list-style: none;
    padding: 0 20px 20px;
    margin: 0;
    flex-grow: 1;
}

.pakketCard ul li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    position: relative;
    padding-left: 25px;
}

.pakketCard ul li::before {
    content: "\2713";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.pakketCard ul li:last-child {
    border-bottom: none;
}

.cta-sectie {
    text-align: center;
    margin: 3em auto;
    background-color: var(--white);
    border-radius: 10px;
    padding: 2em;
    max-width: 800px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}

.cta-sectie h3 {
    margin-bottom: 1em;
    font-family: "Roboto Slab", serif;
}

.cta-sectie p {
    margin-bottom: 1.5em;
}

.cta-button a {
    text-decoration: none;
    color: var(--white);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
}

.tariefcta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 1em;
}

.lastHero {
    background-image: url('auto.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 20px;
    width: 100vw;
    height: 400px;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-left: calc(-50vw + 50%);
}

.lastHero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.lastHeroContent {
    position: relative;
    z-index: 2;
}

.lastHeroContent h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.lastHeroContent p {
    width: 400px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}


.leesMeerLink {
    display: inline-flex;
    align-items: center;
    background-color: var(--white);
    color: var(--text-color);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin: 1em auto;
    border: 1;
    cursor: pointer;
    font-weight: bold;
    max-width: 300px;
    text-align: center;
    justify-content: center;
}

.leesMeer h2 {
    color: var(--white);
}

.leesMeerLink:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.arrow {
    margin-left: 10px;
    fill: var(--text-color);
    transition: transform 0.3s ease;
}

.leesMeerLink:hover .arrow {
    transform: translateX(5px);
}

#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #53954e;
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

#scrollToTopBtn i {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrollToTopBtn.visible {
    opacity: 1;
    visibility: visible;
}

.inschrijfPakketButton {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 0 0 4px 4px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

/* inschrijf pagina */

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

.form-container form {
    display: grid;
    gap: 15px;
}

.form-container div {
    display: flex;
    flex-direction: column;
}

.form-container label {
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--text-color);
}

.form-container input,
.form-container select,
.form-container textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-container input:focus,
.form-container select:focus,
.form-container textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(106, 176, 76, 0.2);
}

.form-container button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.form-container button:hover {
    background-color: var(--secondary-color);
}

.tarievenContent {
    margin: 0 auto;
}

.tarievenInleiding {
    padding: 4rem;
    background-color: rgb(109, 143, 125);
}

.tarievenTekst {
    display: flex;
    justify-content: center;
    align-items: center;

}

.tarievenInleiding h2 {
    color: var(--white);
    margin-bottom: 1rem;
    text-align: center;
    font-family: "Roboto Slab", serif;
}

.tarievenTekst p {
    font-size: 1.1rem;
    color: var(--white);
    line-height: 1.5;
    text-align: center;
    max-width: 600px;
}

/* Styling voor de contactcontainer */
.contact-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

form {
    flex: 1 1 60%;
    min-width: 300px;
    margin-right: 20px;
}

.contact-info {
    flex: 1 1 30%;
    min-width: 250px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 15px;
}

h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

h3 {
    margin-top: 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.verzend {
    display: inline-flex;
    align-items: center;
    background-color: var(--body-color);
    color: var(--text-color);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-top: 1em;
    border: 1;
    cursor: pointer;
    font-weight: bold;
}

.verzend:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 1em 5%;
}

.footerMiddle {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 1em;
}

.footerMiddle ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0.5em;
}

.footerMiddle ul li:first-child {
    font-weight: bold;
    margin-bottom: 0.5em;
    font-size: 1.2em;
    color: var(--text-color);
    border-bottom: 1px solid white;
}

.footerMiddle ul li {
    color: var(--white);
}

.footerMiddle a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footerMiddle a:hover {
    color: var(--primary-color);
}

.socials {
    gap: 15px;
    margin-bottom: 1em;
}

.linkedinBtn {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
}

.linkedinBtn:hover {
    transform: scale(1.1);
}

.linkedinSVG {
    width: 30px;
    height: 30px;
    fill: var(--white);
}

.footerBottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1em;
    padding-top: 0.5em;
    border-top: 1px solid white;
    font-size: 0.75rem;
}

.policyLinks {
    color: rgb(236, 236, 236);
    text-decoration: none;
    transition: color 0.3s;
}

.policyLinks:hover {
    color: var(--background-color);
}

/* Responsive design */
@media (min-width: 768px) {
    .mobile.Nav {
        display: none;
    }

    nav {
        display: flex;
    }

    .paketten {
        flex-wrap: nowrap;
    }

    .tarievenContent {
        flex-direction: column;
    }

    .tarievenimg {
        order: -1;
        text-align: center;
        flex: none;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    nav {
        display: none;
    }

    .heroContainer {
        flex-direction: column;
        align-items: center;
    }

    .hero {
        width: 100%;
        padding: 20px;
    }

    .heroIcons ul {
        flex-direction: column;
        align-items: center;
    }

    .paketten {
        padding: 0 20px;
        justify-content: center;
    }

    .form-container form {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 20px;
    }

    .overons {
        padding: 1em;
    }

    .overonsimg {
        width: 100px;
    }

    .tarievenTekst {
        flex-direction: column;
        align-items: center;
    }

    .pakketCard {
        margin-bottom: 2em;
        max-width: 100%;
    }

    .pakketCard:first-child {
        margin-top: 30px;
    }

    .pakketCard:last-child {
        margin-bottom: 0;
    }

    .cta-sectie {
        margin: 3em 1em;
        padding: 1.5em;
    }

    .footerMiddle {
        flex-direction: column;
    }

    .footerMiddle img {
        width: 100px;
    }

    .footerBottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footerBottomRight {
        margin-top: 1em;
    }
}

/* Tablet en kleinere schermen */
@media (min-width: 768px) and (max-width: 1024px) {
    .mobile.Nav {
        display: none;
    }

    nav {
        padding: 1em 2%;
    }

    .navLinks {
        flex-grow: 0.7;
    }

    .deskNavLogo img {
        max-height: 150px;
    }

    .heroContainer {
        flex-direction: column;
        align-items: center;
    }

    .hero {
        width: 100%;
        max-width: 600px;
        height: auto;
    }

    .heroIcons ul {
        justify-content: center;
    }

    .heroIcons li {
        flex-basis: calc(33.33% - 20px);
    }

    .paketten {
        padding: 0 50px;
    }

    .pakketCard {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
        margin-bottom: 20px;
    }

    .pakketCard:nth-child(2) {
        transform: translateY(0);
    }

    .pakketCard:hover:nth-child(2) {
        transform: translateY(-5px);
    }

    .lastHero {
        height: 300px;
    }

    .lastHeroContent h2 {
        font-size: 2rem;
    }

    .lastHeroContent p {
        width: 80%;
        max-width: 400px;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-info {
        margin-top: 20px;
        width: 100%;
    }

    .footerMiddle {
        justify-content: space-around;
    }
}

/* Aanpassingen voor kleine schermen */
@media (max-width: 320px) {
    .hero {
        padding: 10px;
    }

    .heroContent h2 {
        font-size: 1.5em;
    }

    .heroContent p {
        font-size: 0.9em;
    }

    .pakketCardText {
        font-size: 1em;
    }

    .pakketCardPrijs {
        font-size: 1.2em;
    }

    .lastHeroContent h2 {
        font-size: 1.2rem;
    }

    .lastHeroContent p {
        font-size: 0.8rem;
    }
}