/* Team Page Styles */
:root {
    --primary-orange: #F97316;
    --secondary-orange: #EA580C;
    --light-orange: #FBBF24;
    --orange-50: #FFF7ED;
    --orange-100: #FFEDD5;
    --orange-200: #FED7AA;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --event-gradient: linear-gradient(135deg, #F7941D 0%, #ED1C24 100%);
}

/* Placeholder Avatar Styles */
.placeholder-avatar {
    width: 100%;
    height: 100%;
    background: var(--event-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
    font-weight: 800;
    text-transform: uppercase;
}

.placeholder-avatar-small {
    width: 100%;
    height: 100%;
    background: var(--event-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Team Title Styles */
.team-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F0F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient {
    background: linear-gradient(135deg, #F7941D 0%, #ED1C24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
}

/* Hero Section */
.team-hero-section {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.team-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.team-hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    color: #f8fafc;
}

.text-gradient {
    background: linear-gradient(45deg, #ffffff, #f1f5f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: #e2e8f0;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #e2e8f0;
    margin-top: 5px;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: rgba(255,255,255,0.3);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Team Grids */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.leadership-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-orange);
}

.team-card.featured {
    border: 3px solid var(--light-orange);
    position: relative;
}

.team-card.featured::before {
    content: '★ FOUNDER';
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--light-orange);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.card-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

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

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: white;
    color: var(--primary-orange);
    transform: scale(1.1);
}

.card-content {
    padding: 30px;
}

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

.member-role {
    font-size: 1.1rem;
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 15px;
}

.member-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.member-achievements, .member-skills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.achievement-tag, .skill-tag {
    background: var(--orange-100);
    color: var(--primary-orange);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Section Backgrounds */
.leadership-section {
    padding: 100px 0;
    background: var(--orange-50);
}

.teachers-section {
    padding: 100px 0;
    background: white;
}

.support-section {
    padding: 100px 0;
    background: var(--orange-50);
}

.helpers-section {
    padding: 100px 0;
    background: white;
}

/* Helpers Grid */
.helpers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.helper-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.helper-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.helper-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid var(--orange-200);
}

.helper-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.helper-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.helper-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.helper-tag {
    background: var(--primary-orange);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Join Team Section */
.join-team-section {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: white;
    padding: 100px 0;
    text-align: center;
}

.join-content {
    max-width: 700px;
    margin: 0 auto;
}

.join-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    backdrop-filter: blur(10px);
}

.join-icon i {
    font-size: 2rem;
    color: white;
}

.join-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.join-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.join-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-white {
    background: white;
    color: var(--primary-orange);
    border: 2px solid white;
}

.btn-white:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .helpers-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .join-content h2 {
        font-size: 2rem;
    }
    
    .join-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Dark mode support */
[data-theme="dark"] .leadership-section {
    background: #1F2937;
}

[data-theme="dark"] .teachers-section {
    background: #1F2937;
}

[data-theme="dark"] .support-section {
    background: #1F2937;
}

[data-theme="dark"] .helpers-section {
    background: #1F2937;
}

[data-theme="dark"] .team-card {
    background: #374151;
}

[data-theme="dark"] .helper-card {
    background: #374151;
}

[data-theme="dark"] .member-name {
    color: #F9FAFB;
}

[data-theme="dark"] .helper-content h4 {
    color: #F9FAFB;
}

[data-theme="dark"] .section-title {
    color: #F9FAFB;
}