/* تنسيقات قسم فريق العمل في صفحة من نحن */
.team-section-about {
    padding: 60px 0;
    background-color: var(--bg-light);
    position: relative;
}

.team-section-about .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.team-section-about .section-header h3 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.team-section-about .section-header h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--gold-color);
}

.team-section-about .section-header p {
    color: var(--text-color);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

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

.team-member-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .team-member-image img {
    transform: scale(1.05);
}

.team-member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .team-member-overlay {
    opacity: 1;
}

.team-member-info {
    padding: 20px;
    text-align: center;
}

.team-member-info h4 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.team-member-info .position {
    color: var(--gold-color);
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 500;
}

.team-member-info p {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.team-member-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.team-member-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.team-member-social a:hover {
    background-color: var(--gold-color);
    color: #fff;
}

/* تأثيرات إضافية */
.team-member .badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--gold-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

/* تنسيقات متجاوبة */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .team-member-image {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}
