/* --- Team Page Styles --- */

.team-hero-section {
    padding: 100px 0 60px;
    background: linear-gradient(to bottom, #f9fafb, #ffffff);
    text-align: center;
}

.team-main-title {
    font-size: 3rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 20px;
}

.team-main-subtitle {
    font-size: 1.2rem;
    color: #4b5563;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Team Grid Layout */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* Team Card */
.team-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    padding: 40px 25px;
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #6d28d9; /* The purple brand color */
}

/* Profile Photo Styling */
.team-image-container {
    width: 160px;
    height: 160px;
    margin: 0 auto 25px;
    border-radius: 50%;
    padding: 6px;
    border: 2px solid #6d28d9;
    overflow: hidden;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #f3f4f6;
}

/* Info Styling */
.team-info h3 {
    font-size: 1.4rem;
    color: #111827;
    margin-bottom: 8px;
    font-weight: 700;
}

.role-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #f5f3ff;
    color: #6d28d9;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-info p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.team-cta {
    margin-top: 80px;
    padding: 60px 40px;
    background: #6d28d9;
    border-radius: 24px;
    color: white;
    text-align: center;
}

.team-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.team-cta .btn {
    background: white;
    color: #6d28d9;
}

.team-cta .btn:hover {
    background: #f3f4f6;
}

/* Responsive */
@media (max-width: 768px) {
    .team-main-title {
        font-size: 2.2rem;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
}