.team-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.team-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary);
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.team-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 380px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.team-image img {
    width: 100%;
    height: 280px;
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    margin: 10px 0 5px;
    font-size: 20px;
    color: #222;
}

.team-info p {
    margin: 0;
    font-size: 16px;
    color: #777;
}

@media (max-width: 600px) {
    .team-section h2 {
        font-size: 28px;
    }
}

.our-team-section {
    padding: 60px 20px;
    background-color: #f4f7fb;
    text-align: center;
    margin: 120px 0;
}

.our-team-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #222;
    margin-bottom: 40px;
}

.our-team-card {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.our-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.our-team-image {
    margin: 10px 0;
    width: 280px;
    height: 280px;
    border-radius: 50%;
}

.our-team-content {
    padding: 25px;
}

.our-team-name {
    font-size: 1.8em;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.our-team-role {
    font-size: 1.1em;
    color: #777;
    margin-bottom: 20px;
}

.our-team-description {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .our-team-image {
        height: 240px;
    }

    .our-team-name {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .our-team-content {
        padding: 18px;
    }

    .our-team-description {
        font-size: 0.95em;
    }
}