/* ============================
   TEAM PAGE - PREMIUM UI
============================ */

/* Hero Section */
.team-hero {
    position: relative;
    padding: 150px 20px 80px;
    text-align: center;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    overflow: hidden;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(44, 122, 123, 0.05) 0%, transparent 70%);
    animation: rotate 60s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.team-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.team-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    line-height: 1.2;
}

.team-hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0;
}

/* Team Section */
.team-section {
    padding: 80px 20px;
    background-color: var(--bg-gray);
    position: relative;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Glassmorphism Card */
.team-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), #4FD1C5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.team-card:hover::before {
    opacity: 1;
}

/* Image Styling */
.member-image-wrapper {
    width: 160px;
    height: 160px;
    margin: 0 auto 30px;
    position: relative;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, rgba(44, 122, 123, 0.2), rgba(44, 122, 123, 0.05));
}

.member-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

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

/* Typography */
.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.member-role {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
    padding: 6px 16px;
    background: rgba(44, 122, 123, 0.1);
    border-radius: 50px;
}

.member-bio {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 0;
    opacity: 0.9;
}

/* CTA Section */
.team-cta-section {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, #1A202C 0%, #2D3748 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.team-cta-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    margin: 0 auto;
}

.team-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.team-cta-section p {
    font-size: 1.2rem;
    color: #CBD5E0;
    margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .team-hero h1 {
        font-size: 2.5rem;
    }

    .team-card {
        padding: 30px 20px;
    }
}