/*
 * Team Pages CSS
 * Comprehensive styling for team archive and single member pages
 * Professional, clean, and modern design
 *
 * @package Cosmick_Media_Project_Theme
 * @version 1.0.0
 */

/* ================================
   GLOBAL TEAM STYLES
================================ */

.team-page,
.single-team {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
}

.team-page * {
    box-sizing: border-box;
}

/* ================================
   TEAM PAGE ARCHIVE STYLES
================================ */

/* Hero Section */
.team-hero-section {
    background: linear-gradient(135deg, #3c3c3c 0%, #2a2a2a 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.team-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.team-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.team-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.team-hero-description {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Featured Team Section */
.featured-team-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6c757d;
    max-width: 500px;
    margin: 0 auto;
}

.featured-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-member-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.featured-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff675b 0%, #ff8a7a 100%);
}

.featured-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.member-card-inner {
    text-align: center;
}

.member-photo-container {
    position: relative;
    margin-bottom: 2rem;
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    display: block;
}

.member-photo-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 4rem;
    color: #adb5bd;
}

.member-department-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #ff675b;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-info {
    text-align: center;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.member-name a {
    color: #2c2c2c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.member-name a:hover {
    color: #ff675b;
}

.member-title {
    font-size: 1rem;
    color: #ff675b;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-quote {
    font-style: italic;
    color: #6c757d;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ff675b;
    position: relative;
}

.member-quote i {
    color: #ff675b;
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.member-bio {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.member-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.specialty-badge {
    background: linear-gradient(135deg, #3c3c3c 0%, #2a2a2a 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.member-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #ff675b 0%, #ff8a7a 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 103, 91, 0.3);
    color: white;
}

.member-contact {
    display: flex;
    gap: 0.75rem;
}

.contact-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: #ff675b;
    color: white;
    transform: translateY(-2px);
}

/* Department Teams Section */
.department-team-section {
    padding: 80px 0;
    background: white;
}

.department-team-section:nth-child(even) {
    background: #f8f9fa;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-member-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.member-card-content {
    display: flex;
    gap: 1rem;
}

.member-photo-section {
    flex-shrink: 0;
    position: relative;
}

.member-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.member-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #adb5bd;
}

.member-location {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff675b;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
}

.member-details {
    flex: 1;
    min-width: 0;
}

.member-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.member-name a {
    color: #2c2c2c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.member-name a:hover {
    color: #ff675b;
}

.member-position {
    color: #ff675b;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.member-excerpt {
    color: #6c757d;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

.skill-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 0.25rem 0.6rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

.skill-tag.more {
    background: #ff675b;
    color: white;
    border-color: #ff675b;
}

.member-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-profile-btn {
    color: #ff675b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.view-profile-btn:hover {
    color: #e55b50;
    text-decoration: underline;
}

.member-social {
    display: flex;
    gap: 0.5rem;
}

.social-link {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.social-link:hover {
    background: #ff675b;
    color: white;
    transform: scale(1.1);
}

/* No Team Section */
.no-team-section {
    padding: 120px 0;
    text-align: center;
    background: #f8f9fa;
}

.no-team-content i {
    font-size: 5rem;
    color: #dee2e6;
    margin-bottom: 2rem;
}

.no-team-content h2 {
    font-size: 2rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.no-team-content p {
    color: #adb5bd;
    font-size: 1.125rem;
}

/* Team CTA Section */
.team-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #3c3c3c 0%, #2a2a2a 100%);
    color: white;
    text-align: center;
}

.team-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.team-cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-outline-primary {
    background: transparent;
    color: white;
    border: 2px solid #ff675b;
}

.btn-outline-primary:hover {
    background: #ff675b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 103, 91, 0.3);
}

/* ================================
   SINGLE TEAM MEMBER STYLES
================================ */

/* Hero Section */
.team-member-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.team-member-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(60,60,60,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
}

.member-hero-photo {
    text-align: center;
    position: relative;
}

.hero-headshot {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 6px solid white;
}

.hero-headshot-placeholder {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: #adb5bd;
    margin: 0 auto;
    border: 6px solid white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.member-status-badges {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.status-badge {
    background: #28a745;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-leave {
    background: #ffc107;
    color: #212529;
}

.status-badge.status-alumni {
    background: #6c757d;
}

.status-badge.status-contractor {
    background: #17a2b8;
}

.department-badge {
    background: #ff675b;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-hero-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 3rem;
}

.member-name {
    font-size: 3rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.member-title {
    font-size: 1.25rem;
    color: #ff675b;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-hero-quote {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #ff675b;
    margin: 1.5rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.member-hero-quote i {
    color: #ff675b;
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.member-hero-quote p {
    margin: 0;
    font-style: italic;
    color: #495057;
    font-size: 1.125rem;
}

.member-hero-bio {
    font-size: 1.125rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.member-contact-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: white;
    color: #6c757d;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

.contact-btn:hover {
    background: #ff675b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 103, 91, 0.3);
}

.contact-btn i {
    font-size: 1.125rem;
}

.member-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-weight: 500;
}

.stat-item i {
    color: #ff675b;
    font-size: 1.125rem;
}

/* Content Sections */
.team-member-content {
    padding: 80px 0;
    background: white;
}

.content-section {
    margin-bottom: 4rem;
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    color: #ff675b;
    font-size: 1.5rem;
}

.section-content {
    color: #495057;
    line-height: 1.7;
    font-size: 1rem;
}

.section-content h3,
.section-content h4,
.section-content h5 {
    color: #2c2c2c;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.section-content ul,
.section-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.section-content li {
    margin-bottom: 0.5rem;
}

/* Video Section */
.video-embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.video-embed-container iframe,
.video-embed-container object,
.video-embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.video-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ff675b 0%, #ff8a7a 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.video-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 103, 91, 0.3);
    color: white;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.project-title a {
    color: #2c2c2c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-title a:hover {
    color: #ff675b;
}

.project-excerpt {
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-link {
    color: #ff675b;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #e55b50;
}

/* Gallery */
.member-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Fun Fact */
.fun-fact-content {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #ffc107;
    font-style: italic;
    font-size: 1.125rem;
    color: #856404;
}

/* Sidebar */
.team-member-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-title i {
    color: #ff675b;
    font-size: 1.125rem;
}

/* Specialties */
.specialties-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.specialty-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.specialty-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.specialty-name {
    font-weight: 600;
    color: #2c2c2c;
}

.specialty-level {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.specialty-level.level-expert {
    background: #28a745;
    color: white;
}

.specialty-level.level-advanced {
    background: #17a2b8;
    color: white;
}

.specialty-level.level-intermediate {
    background: #ffc107;
    color: #212529;
}

.specialty-level.level-beginner {
    background: #6c757d;
    color: white;
}

.specialty-bar {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.specialty-progress {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.specialty-progress.level-expert {
    width: 95%;
    background: #28a745;
}

.specialty-progress.level-advanced {
    width: 80%;
    background: #17a2b8;
}

.specialty-progress.level-intermediate {
    width: 60%;
    background: #ffc107;
}

.specialty-progress.level-beginner {
    width: 35%;
    background: #6c757d;
}

/* Certifications */
.certifications-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.certification-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ff675b;
}

.cert-name {
    font-size: 1rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 0.25rem;
}

.cert-issuer {
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.cert-date {
    color: #adb5bd;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

/* Manager Section */
.manager-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.manager-card:hover {
    background: white;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.manager-photo {
    flex-shrink: 0;
}

.manager-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.manager-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #adb5bd;
    border: 2px solid white;
}

.manager-details {
    flex: 1;
    min-width: 0;
}

.manager-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.manager-name a {
    color: #2c2c2c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.manager-name a:hover {
    color: #ff675b;
}

.manager-title {
    color: #6c757d;
    font-size: 0.875rem;
    margin: 0;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #6c757d;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.social-link:hover {
    background: white;
    color: #2c2c2c;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transform: translateX(3px);
}

.social-link.linkedin:hover {
    border-color: #0077b5;
    color: #0077b5;
}

.social-link.twitter:hover {
    border-color: #1da1f2;
    color: #1da1f2;
}

.social-link.website:hover {
    border-color: #ff675b;
    color: #ff675b;
}

.social-link i {
    font-size: 1.125rem;
    width: 20px;
    text-align: center;
}

/* Alternative Photo */
.alt-headshot {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.alt-headshot-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Navigation */
.team-navigation {
    padding: 60px 0;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.navigation-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-to-team {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-to-team:hover {
    color: #ff675b;
}

.member-navigation {
    display: flex;
    gap: 2rem;
}

.nav-member {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-member:hover {
    color: #ff675b;
}

.nav-member i {
    font-size: 1.125rem;
}

/* ================================
   RESPONSIVE DESIGN
================================ */

@media (max-width: 1200px) {
    .member-hero-info {
        padding-left: 2rem;
    }
}

@media (max-width: 992px) {
    .team-hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .featured-team-grid {
        grid-template-columns: 1fr;
    }

    .member-hero-info {
        padding-left: 0;
        text-align: center;
        margin-top: 2rem;
    }

    .member-name {
        font-size: 2.5rem;
    }

    .member-contact-bar {
        justify-content: center;
    }

    .member-stats {
        justify-content: center;
    }

    .team-member-sidebar {
        position: static;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .team-hero-section {
        padding: 80px 0 60px;
    }

    .featured-team-section,
    .department-team-section {
        padding: 60px 0;
    }

    .team-member-hero {
        padding: 80px 0 60px;
    }

    .team-member-content {
        padding: 60px 0;
    }

    .team-hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .member-name {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .member-card-content {
        flex-direction: column;
        text-align: center;
    }

    .member-photo-section {
        align-self: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .member-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .navigation-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .member-navigation {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .team-hero-title {
        font-size: 1.75rem;
    }

    .member-name {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .featured-member-card,
    .team-member-card,
    .sidebar-section {
        padding: 1.5rem;
    }

    .hero-headshot,
    .hero-headshot-placeholder {
        width: 200px;
        height: 200px;
    }

    .member-photo {
        width: 120px;
        height: 120px;
    }

    .member-photo-placeholder {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }

    .member-contact-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-btn {
        justify-content: center;
    }
}

/* ================================
   UTILITY CLASSES
================================ */

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

/* Animation enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Print styles */
@media print {
    .team-navigation,
    .team-cta-section,
    .member-contact-bar,
    .social-links {
        display: none;
    }

    .team-member-hero,
    .team-member-content {
        padding: 2rem 0;
    }

    .sidebar-section {
        break-inside: avoid;
    }
}