.portfolio-page {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.portfolio-page h1 {
    text-align: center;
    font-size: 36px;
    color: #001F3F;
    margin-bottom: 20px;
}

.portfolio-page p {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

.projects {
    margin-bottom: 40px;
}

.projects h2 {
    text-align: center;
    font-size: 24px;
    color: #001F3F;
    margin-bottom: 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.project {
    text-align: center;
    background-color: #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0; /* Start hidden */
    animation: fadeIn 0.8s ease-in-out forwards;
 transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.project a {
    text-decoration: none; /* Remove underline */
    color: inherit;
}

.project a:hover {
    text-decoration: underline;
    color: #001F3F;
}

.project:hover {
    transform: scale(1.05); /* Slightly enlarge the project */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); /* Enhance the shadow */
    background-color: #d6d6d6; /* Slightly darker gray background */
}

.project:nth-child(1) {
    animation-delay: 0.2s;
}

.project:nth-child(2) {
    animation-delay: 0.4s;
}

.project:nth-child(3) {
    animation-delay: 0.6s;
}

.project-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 8px;
    object-fit: cover;
}

.project h3 {
    font-size: 20px;
    color: #001F3F;
    margin-bottom: 10px;
}

.project p {
    font-size: 14px;
    color: #555;
}

.approach {
    margin-bottom: 40px;
}

.approach h2 {
    text-align: center;
    font-size: 24px;
    color: #001F3F;
    margin-bottom: 10px;
}

.approach p {
    text-align: center;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.contact-cta {
    text-align: center;
    margin-top: 40px;
}

.contact-cta h2 {
    font-size: 24px;
    color: #001F3F;
    margin-bottom: 10px;
}

.contact-cta p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background-color: #001F3F;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}

/* Voor tablets en kleinere apparaten */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-page {
        padding: 40px 10px;
    }
}

/* Voor mobiele apparaten */
@media (max-width: 480px) {
    .portfolio-page h1 {
        font-size: 28px;
    }

    .project-image {
        max-width: 100%;
    }

    .cta-button {
        padding: 8px 15px;
        font-size: 14px;
    }
}