/* Team Page Styles */
.team-page {
    min-height: 100vh;
    background: #f8f9fa;
    padding: 2rem 0;
    padding-top: 90px; /* Account for fixed navbar */
}

/* Header Section */
.team-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.team-header h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    margin-bottom: 4rem;
}

.team-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #333;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Faculty Grid - 2 columns */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Scholars Grid - 3 columns */
.scholars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    justify-items: center;
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 350px;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Faculty Cards - Larger */
.faculty-card {
    max-width: 400px;
    padding: 3rem;
}

.faculty-card .team-image-placeholder {
    width: 150px;
    height: 150px;
    margin-bottom: 2rem;
}

.faculty-card .team-image-placeholder i {
    font-size: 4rem;
}

/* Scholar Cards */
.scholar-card .team-image-placeholder {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
}

.scholar-card .team-image-placeholder i {
    font-size: 3rem;
}

/* Image Placeholder */
.team-image-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.team-image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

/* Image Container for actual photos */
.team-image-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.faculty-card .team-image-container {
    width: 150px;
    height: 150px;
    margin-bottom: 2rem;
}

.team-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.team-profile-img:hover {
    transform: scale(1.05);
}

/* Team Info */
.team-info {
    color: #333;
}

.team-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.team-position {
    font-size: 1rem;
    font-weight: 500;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.team-department {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.team-institution {
    font-size: 0.9rem;
    color: #888;
    font-weight: 500;
}

.team-research {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Faculty specific styling */
.faculty-card .team-name {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.faculty-card .team-position {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.faculty-card .team-department {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.faculty-card .team-institution {
    font-size: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-card {
    animation: fadeInUp 0.6s ease forwards;
}

.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.3s; }
.team-card:nth-child(4) { animation-delay: 0.4s; }
.team-card:nth-child(5) { animation-delay: 0.5s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .scholars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .team-header h1 {
        font-size: 2.5rem;
    }
    
    .team-header p {
        font-size: 1.1rem;
    }
    
    .faculty-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .scholars-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-card {
        padding: 2rem;
        max-width: 100%;
    }
    
    .faculty-card {
        padding: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .team-header h1 {
        font-size: 2rem;
    }
    
    .team-card {
        padding: 1.5rem;
    }
    
    .faculty-card {
        padding: 2rem;
    }
    
    .team-image-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .faculty-card .team-image-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .team-name {
        font-size: 1.2rem;
    }
    
    .faculty-card .team-name {
        font-size: 1.4rem;
    }
} 