.about-page {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.about-page h1 {
    text-align: center;
    font-size: 36px;
    color: #001F3F;
    margin-bottom: 20px;
}

.about-page p {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

.mission, .approach {
    margin-bottom: 40px;
}

.mission h2, .approach h2 {
    font-size: 24px;
    color: #001F3F;
    margin-bottom: 10px;
}

.mission p, .approach p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.team {
    margin-top: 40px;
}

.team h2 {
    text-align: center;
    font-size: 24px;
    color: #001F3F;
    margin-bottom: 20px;
}

.team-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);
    }
}

.team-member {
    opacity: 0; /* Start hidden */
    animation: fadeIn 0.8s ease-in-out forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.team-member:nth-child(1) {
    animation-delay: 0.2s;
}

.team-member:nth-child(2) {
    animation-delay: 0.4s;
}

.team-member:hover {
    transform: scale(1.05); /* Slightly enlarge the team member */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); /* Enhance the shadow */
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.team-member h3 {
    font-size: 20px;
    color: #001F3F;
    margin-bottom: 5px;
}

.team-member .role {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.team-member p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Voor tablets en kleinere apparaten */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .about-page {
        padding: 40px 10px;
    }
}

/* Voor mobiele apparaten */
@media (max-width: 480px) {
    .about-page h1 {
        font-size: 28px;
    }

    .team-photo {
        width: 120px;
        height: 120px;
    }

    .team-member h3 {
        font-size: 18px;
    }

    .team-member p {
        font-size: 13px;
    }
}