body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}
.section-background {
    background-image: url('../images/sliderimage/partion.png');
    background-color: #333; /* Set the background color you want */
    height: 50px;
    text-align: center;
    padding-top: 12px;
    font-size: 26px;
    font-weight: bold;
}

.team {
    display: flex;
    justify-content: left;
    align-items: left;
    flex-wrap: wrap;
    padding: 50px;
}

.team-member {
    width: calc(25% - 20px); /* Display 4 cards in a single line */
    margin: 10px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image img {
    width: 100%;
    height: auto;
    display: block;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.member-details {
    padding: 20px;
    text-align: center;
}

.member-details h3 {
    margin: 0;
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
}

.member-details p {
    margin: 0;
    font-size: 16px;
    color: #777;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
}

.social-links a {
    color: #777;
    margin: 0 10px;
    transition: color 0.3s ease;
    font-size: 20px;
}

.social-links a:hover {
    color: #55acee;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .team-member {
        width: calc(33.33% - 20px);
    }
}

@media screen and (max-width: 768px) {
    .team-member {
        width: calc(50% - 20px);
    }
}

@media screen and (max-width: 480px) {
    .team-member {
        width: calc(100% - 20px);
    }
}
