* {
    /* margin: 2rem; */
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8A2BE2;
    --primary-hover: #7020BD;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0F0F0F;
    color: #fff;
    line-height: 1.6;
}

.about-team {
    padding: 2rem 2rem;
    background-color: #0F0F0F;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    border-radius: 12px;
}

.team-list {
    background: linear-gradient(135deg, #1e1e1e 0%, #151515 100%);
    padding: 25px 40px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(300px, 1fr));
    gap: 25px;
    /* max-width: 1600px; */
    margin: 0 auto;
    /* padding: 0 2rem; */
    justify-content: center;
}

.team-card {
    background-color: #1e1e1e;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 250px;
}

.team-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, #222222 0%, #1a1a1a 100%);
}

.team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
    transition: transform 0.5s ease;
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-info {
    padding: 25px;
    background: #1e1e1e;
    height: 13rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.team-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    /* text-transform: uppercase; */
    letter-spacing: 0.5px;
    color: var(--accent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.team-role {
    font-size: 14px;
    color: #9a31fc;
    letter-spacing: 2px;
    font-weight: 600;
    /* opacity: 0.9; */
    line-height: 1.4;
}

@media (max-width: 1600px) {
    .team-grid {
        grid-template-columns: repeat(4, minmax(250px, 1fr));
        max-width: 1400px;
    }
}

@media (max-width: 1400px) {
    .team-grid {
        grid-template-columns: repeat(3, minmax(250px, 1fr));
        padding: 0 1.5rem;
        max-width: 1200px;
    }
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
        gap: 25px;
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .about-team {
        padding: 0rem 0rem;
        background-color: #0F0F0F;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 2rem;
        border-radius: 12px;
    }


    .section-header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        padding: 0 0rem;
        max-width: 500px;
    }
    
    .team-card {
        min-width: unset;
    }
    
    .team-card img {
        height: 320px;
    }
}

.section-title {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}