/* --- START OF FILE about-team.css --- */

/* Container for the team page content */
.team-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

.team-container h1 {
    text-align: center;
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 2.4em;
    font-weight: 600;
}

/* Mission statement below title */
.team-mission {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
    padding: 0 20px;
    font-style: italic;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 25px;
}

/* Grid layout for the team member cards */
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

/* Individual team member card styling */
.team-member-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-member-card:hover::before {
    transform: scaleX(1);
}

.team-member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #dee2e6;
}

/* Special styling for founder card */
.founder-card {
    border: 2px solid #667eea;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.founder-card::before {
    transform: scaleX(1);
}

/* Member photo styling */
.member-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    flex-shrink: 0;
    border: 4px solid #ffffff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member-card:hover .member-photo {
    transform: scale(1.05);
}

/* Container for text info */
.member-info {
    flex-grow: 1;
    padding-top: 5px;
}

/* Member name styling */
.member-name {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.4em;
    color: #2c3e50;
    font-weight: 600;
}

.member-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.member-name a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.member-name a:hover::after {
    width: 100%;
}

.member-name a:hover {
    color: #667eea;
}

/* Role/title styling */
.member-role {
    font-size: 0.9em;
    color: #667eea;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Member description styling */
.member-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0;
}

.member-description a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.member-description a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Join team card special styling */
.join-team-card {
    border: 2px dashed #dee2e6;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    text-align: center;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.join-team-card:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.join-team-card .member-photo {
    opacity: 0.6;
    filter: grayscale(100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .team-container h1 {
        font-size: 2.1em;
        margin-bottom: 12px;
    }
    
    .team-mission {
        font-size: 1em;
        margin-bottom: 35px;
        padding: 0 15px;
    }
    
    .team-grid {
        gap: 25px;
    }
    
    .team-member-card {
        padding: 20px;
        max-width: 100%;
    }
    
    .member-photo {
        width: 80px;
        height: 80px;
        margin-right: 18px;
    }
    
    .member-name {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .team-container {
        padding: 0 10px;
    }
    
    .team-container h1 {
        font-size: 1.8em;
        margin-bottom: 10px;
    }
    
    .team-mission {
        font-size: 0.95em;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .team-grid {
        gap: 20px;
    }
    
    .team-member-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 15px;
    }
    
    .member-photo {
        margin-right: 0;
        margin-bottom: 15px;
        width: 100px;
        height: 100px;
    }
    
    .member-name {
        font-size: 1.35em;
    }
    
    .join-team-card {
        min-height: 180px;
    }
}

/* --- END OF FILE about-team.css --- */
