/* Our Team Page - Premium Redesign */

/* 1. Page Header Immersive */
.team-header {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/team-group.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

/* 2. Leader Cards - Social Glassmorphism */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.leader-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 40px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.leader-card:hover {
    transform: translateY(-15px);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.leader-image {
    height: 350px;
    position: relative;
    overflow: hidden;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.leader-card:hover .leader-image img {
    transform: scale(1.1);
}

.leader-badge {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 8px 20px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.leader-info {
    padding: 40px;
    flex-grow: 1;
}

.expertise-tag {
    background: var(--bg-alt);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
}

/* 3. Department Tabs Refinement */
.tab-buttons {
    background: var(--bg-alt);
    padding: 8px;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 12px 30px;
    border-radius: 100px;
    border: none;
    background: transparent;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

/* 4. Advisor Cards - Clean & Professional */
.advisor-card {
    background: var(--white);
    padding: 30px;
    border-radius: 30px;
    display: flex;
    gap: 30px;
    align-items: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.advisor-card:hover {
    transform: scale(1.02);
}

.advisor-image {
    flex: 0 0 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
}

/* 5. Volunteer Spotlight Card */
.volunteer-card {
    background: linear-gradient(135deg, var(--text-dark), #1a1a1a);
    color: var(--white);
    border-radius: 40px;
    padding: 60px;
    display: flex;
    gap: 60px;
    align-items: center;
    margin: 60px 0;
}

.volunteer-info h3 {
    color: var(--white);
}

.volunteer-badge {
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.leader-card,
.advisor-card,
.volunteer-card {
    animation: fadeInUp 0.8s ease both;
}