/* TEAM SECTION STYLES */

.team {
    position: relative;
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);
    overflow: hidden;
}

.stars-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.star {
    position: absolute;
    background: var(--white);
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

.star:nth-child(1) {
    width: 3px;
    height: 3px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.star:nth-child(2) {
    width: 2px;
    height: 2px;
    top: 40%;
    left: 30%;
    animation-delay: 0.5s;
}

.star:nth-child(3) {
    width: 4px;
    height: 4px;
    top: 60%;
    left: 50%;
    animation-delay: 1s;
}

.star:nth-child(4) {
    width: 3px;
    height: 3px;
    top: 30%;
    left: 70%;
    animation-delay: 1.5s;
}

.star:nth-child(5) {
    width: 2px;
    height: 2px;
    top: 80%;
    left: 90%;
    animation-delay: 2s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.team .section-title,
.team .section-subtitle {
    color: var(--white);
}

.team-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.team-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.team-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto var(--spacing-md);
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-base);
}

.team-card:hover .team-photo {
    border-color: var(--primary-light);
    transform: scale(1.05);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: var(--font-xl);
    font-weight: var(--font-bold);
    color: var(--white);
    margin-bottom: var(--spacing-xs);
}

.team-role {
    font-size: var(--font-base);
    color: var(--primary-light);
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-semibold);
}

.team-message {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: var(--font-sm);
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}
