/* Base Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Section Wrapper */
.team-section {
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Text */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #111;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Responsive Grid Layout */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    justify-content: center;
}

/* Individual Cards */
.team-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Card Images */
.image-wrapper {
    height: 320px;
    overflow: hidden;
    position: relative;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .image-wrapper img {
    transform: scale(1.05);
}

/* Card Information */
.member-info {
    padding: 30px 20px;
}

.member-info h3 {
    font-size: 1.4rem;
    color: #222;
    margin-bottom: 5px;
}

.member-info .role {
    display: block;
    color: #3b82f6; /* Modern Blue Accent */
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.member-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Social Icon Badges */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: #f1f5f9;
    color: #475569;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
    background-color: #3b82f6;
    color: #ffffff;
}
