/* Begin of diensten section */
.diensten-section {
    background-color: #f3f8f7;
    padding: 60px 20px;
}

.container h2 {
    text-align: center !important;
    font-size: 2.5rem !important;
    color: #0d0d0d !important;
    margin-bottom: 10px !important;
    position: relative !important;
}

.diensten-section h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background-color: #8bc3a9;
    margin: 10px auto 0;
    border-radius: 2px;
}

.diensten-section .intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.diensten-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns */
    gap: 20px;
    /* Adjust spacing between cards */
    width: 100%;
    /* Make the grid take up the full width of its container */
    max-width: 1200px;
    /* Optional: Limit the maximum width for better layout */
    margin: 0 auto;
    /* Center the grid within its container */
}

.dienst-card {
    display: block; /* <-- al toegevoegd voor klikbare links */
    cursor: pointer; /* <-- deze regel maakt het handje zichtbaar */
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.5s ease;
    border: 1px solid #e5e5e5;
    max-width: 400px;
    min-height: 350px;
    margin: 0 auto;
}

.dienst-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #8bc3a9;

}

.dienst-card .icon {
    font-size: 2rem;
    background-color: #eef3f7;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color:#8bc3a9;

}

.dienst-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #111;
}

.dienst-card p {
    color: #555;
    font-size: 1.1rem;
    /* Increased font size */
    line-height: 1.8;
    /* Adjusted line height for better spacing */
}


/* Extra mobile tweaks */
@media (max-width: 480px) {
    .diensten-section {
        padding: 40px 15px;
    }

    .diensten-section h2 {
        font-size: 2rem;
    }

    .dienst-card {
        padding: 20px;
    }

    .dienst-card .icon {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
}

@media (max-width: 992px) {
    .diensten-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns for tablets */
        gap: 15px;
        /* Smaller gap */
    }
}

@media (max-width: 600px) {
    .diensten-grid {
        grid-template-columns: 1fr;
        /* 1 column for mobile */
        gap: 10px;
        /* Even smaller gap */
    }
}

/* End of diensten section */