.about {
    background-color: var(--about-bg-light);
    transition: background-color 0.4s ease;
    padding: 6rem 5%;
}

html.dark-mode .about {
    background-color: var(--about-bg-dark);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-header {
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-header p {
    font-size: 1.2rem;
    color: var(--text-color-light);
    opacity: 0.9;
}

html.dark-mode .about-header p {
    color: var(--text-color-dark);
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.team-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    width: 350px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

html.dark-mode .team-card {
    background: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

html.dark-mode .team-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.team-img-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    padding: 3px;
    background-color: transparent;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--h2-color-light);
}

html.dark-mode .team-info h3 {
    color: var(--h2-color-dark);
}

.team-role {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color-light);
    opacity: 0.8;
}

html.dark-mode .team-desc {
    color: var(--text-color-dark);
}

@media (max-width: 768px) {
    .team-grid {
        flex-direction: column;
        align-items: center;
    }

    .team-card {
        width: 100%;
        max-width: 400px;
    }

    .team-img-wrapper {
        width: 120px;
        height: 120px;
    }
}