/* Team Section Styles - Dark Theme */
.team-section {
    padding: 6rem 2rem;
    background-color: #1e1e1e;
    color: white;
    border-radius: 9px;
    padding-bottom: 3%;
    padding-top: 2%;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #51AF95;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding: 0 30px;
}

.section-title .glow {
    position: relative;
    z-index: 2;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 60%;
    background: rgba(81, 175, 149, 0.2);
    transform: translateY(-50%) perspective(500px) rotateX(10deg);
    border-radius: 10px;
    filter: blur(20px);
    z-index: 0;
    animation: glow-pulse 3s ease-in-out infinite alternate;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #51AF95, transparent);
    border-radius: 50%;
    opacity: 0.7;
}

@keyframes glow-pulse {
    0% {
        opacity: 0.5;
        height: 50%;
    }
    100% {
        opacity: 0.8;
        height: 70%;
    }
}

.section-subtitle {
    font-size: 1.2rem;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.team-member {
    background: #252525;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid #26A17B;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-left-color: #51AF95;
}

.member-info {
    padding: 25px;
    text-align: center;
    width: 100%;
}

.member-info h3 {
    color: #51AF95;
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.member-role {
    color: #26A17B;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-info p {
    color: #aaa;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
        padding: 0 20px;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .member-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 4rem 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .member-info {
        padding: 20px;
    }
    
    .member-info h3 {
        font-size: 1.2rem;
    }
    
    .member-role {
        font-size: 0.85rem;
    }
}

/* Animation for team member cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-member {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }
.team-member:nth-child(4) { animation-delay: 0.4s; }
.team-member:nth-child(5) { animation-delay: 0.5s; }
.team-member:nth-child(6) { animation-delay: 0.6s; }