* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #d8d3d3;
    padding: 40px;
    font-family: 'Poppins', sans-serif;
}

.container {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 40px;
}

.card {
    background-color: #ffffff ;
    padding: 20px;
    border-radius: 24px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 300px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-20px);
}

.card img {
    width: 100%;
    height: 50px;
    object-fit: cover;
}

.card h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
}

.card-beschrijving {
    font-size: 16px; 
    color: #4b4747 ;
}

.card-more a {
    display: inline-block;
    background-color:  #ff4a4a ;
    color:  #000000;
    padding: 10px 20px; 
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}


.card-more a:hover {
    background-color: #c80303;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 10px;
    background-color: #ffffff;
    margin: -40px -40px 40px -40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    text-decoration: none;
    color: #000000;   
    font-weight: 600; 
}

.nav-links a {
    color: #000000;
    text-decoration: none;
    font-weight: 600; 
}

.nav-links a:hover {
    color: #ff5050;
}

.nav-logo {
    font-size: 20px;
    font-weight: 700;
    color:#1a1a1a;
}

.hero {
    height: 60vh;
    background-color: #ff4848;
    display: flex;
    justify-content: center; 
    align-items: center; 
}

.hero h1 {
    font-size: 50px; 
    font-weight: bold;
    color: #000000;
}

.hero p {
    font-size: 20px;
    color: #393636;  
}

.hero-btn {
    display: inline-block;
    background-color: rgb(211, 19, 19);
    color: #000000;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: #c80303;
    transform: translateY(-12px);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.hero-icon {
    width: 300px; 
    height: auto;   
}

.footer {
    display: flex;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 20px 40px;
    margin: 40px -40px -40px -40px; 
    color: #000000;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-section p {
    font-size: 15px;
    color: #000000;
    line-height: 1.8;
}

@media (max-width: 768px) {
    body {
        padding: 20px;
    }

    .navbar {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        margin: -20px -20px 24px -20px;
        padding: 20px;
    }

    .nav-links {
        flex-direction: column;
        gap: 12px;
    }

    .hero {
        height: auto;
        min-height: 70vh;
        padding: 40px 20px;
    }

    .hero-content {
        flex-direction: column;
        gap: 24px;
    }

    .hero h1 {
        font-size: 36px;
        line-height: 1.1;
    }

    .hero p {
        font-size: 18px;
        margin-top: 12px;
    }

    .hero-icon {
        width: min(220px, 80vw);
    }

    .hero-btn {
        padding: 13px 24px;
    }

    .container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 28px;
    }

    .card {
        width: 100%;
        max-width: 360px;
        border-radius: 18px;
    }

    .card:hover,
    .hero-btn:hover {
        transform: none;
    }

    .card img {
        height: 150px;
    }

    .footer {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        margin: 32px -20px -20px -20px;
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 14px;
    }

    .navbar {
        margin: -14px -14px 20px -14px;
        padding: 18px 14px;
    }

    .nav-logo {
        font-size: 18px;
    }

    .hero {
        padding: 32px 14px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-icon {
        width: min(180px, 75vw);
    }

    .card {
        padding: 16px;
    }

    .card h2 {
        font-size: 22px;
    }

    .footer {
        margin: 28px -14px -14px -14px;
    }
}

.contact-section {
    max-width: 600px;
    margin: 30px auto;
    padding: 30px;
}

.contact-section h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.contact-section p {
    color: #4b4747;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;            
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    outline: none; 
}

.contact-form textarea {
    height: 140px;       
    resize: none;         
}

.contact-form button {
    display: inline-block;
    background-color: rgb(211, 19, 19);
    color: #000000;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;    
    cursor: pointer; 
}

.contact-form button:hover {
    transform: translateY(-5px);  
    background-color: #b30707;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 2px solid #ff4a4a;
}

.over-section {
    max-width: 800px;
    margin: 30px auto;
    padding: 50px;
}

.over-text h1 {
    font-size: 36px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.over-text p {
    font-size: 20px;
    color: #4b4747;
    line-height: 2;
    margin-bottom: 20px;
}

.over-stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.stat {
    text-align: center;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    flex: 1;    
}

.stat h2 {
    font-size: 48px; 
    font-weight: 600;
    color: #ff4a4a;
}

.stat p {
    font-size: 20px;
    color: #4b4747;
}

@media (max-width: 768px) {
    .contact-section,
    .over-section {
        width: 100%;
        max-width: 100%;
        margin: 24px auto;
        padding: 24px 18px;
    }

    .contact-section h1,
    .over-text h1 {
        font-size: 32px;
        line-height: 1.15;
        margin-bottom: 16px;
    }

    .contact-section p,
    .over-text p {
        font-size: 17px;
        line-height: 1.7;
    }

    .contact-form {
        gap: 14px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 15px;
        padding: 12px;
    }

    .contact-form button {
        width: 100%;
        margin-top: 8px;
    }

    .contact-form button:hover {
        transform: none;
    }

    .over-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat {
        width: 100%;
        padding: 18px;
    }

    .stat h2 {
        font-size: 38px;
    }

    .stat p {
        font-size: 17px;
    }
}

#menu-knop {
    display: none;
}

@media (max-width: 640px) {
    #menu-knop {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }
    #menu {
        display: none;
        flex-direction: column;
    }
    #menu.open {
        display: flex;
    }
}

#naam-fout {
    color: red;
}

#email-fout {
    color: red;
}

#telefoon-fout {
    color: red;
}