.contact-section {
    background-color: #171616;
    color: #fff;
    padding: 60px 0;
    font-family: 'Outfit', sans-serif;
    position: relative;
}

.contact-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-in-out;
}

.contact-section p {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-in-out;
}

.team-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.team-member {
    background-color: #302f2f;
    color: #fff;
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    max-width: 270px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #f57c00;
}

.team-member h3 {
    font-size: 20px;
    margin: 10px 0;
    color: #f57c00;
}

.team-member p {
    font-size: 16px;
    margin-bottom: 10px;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    gap: 15px;
}

.contact-info i {
    font-size: 20px;
    margin-right: 5px;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
}

.team-member {
   
    border-radius: 10px; 
    padding: 12px; /* Add spacing inside */
    text-align: center; /* Center content */
    
 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */

}

/* Animations for elements */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .team-container {
        flex-direction: column;
        align-items: center;
    }
}