/* ================================================================
   TEAM PAGE STYLES - Global TalentLink
   ================================================================ */

/* Page Header */
.team-page-header {
    background: #f9fafb;
    padding: 40px 60px;
    text-align: center;
}

.page-main-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

/* CEO Featured Section */
.ceo-featured-section {
    background: #ffffff;
    padding: 60px 60px;
}

.ceo-featured-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: flex-start;
}

.ceo-bio-content {
    padding-right: 40px;
}

.ceo-name {
    font-family: 'Bodoni Moda', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.ceo-position {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-600);
    margin: 0 0 30px 0;
    font-style: italic;
}

.ceo-bio-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-800);
    margin-bottom: 40px;
}

.ceo-bio-text p {
    margin-bottom: 20px;
}

.ceo-signature {
    margin-top: 30px;
}

.ceo-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
}

.ceo-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.ceo-avatar-fallback {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: white;
}

/* Team Intro Section */
.team-intro-section {
    background: var(--gray-100);
    padding: 50px 60px;
}

.team-intro-text {
    max-width: 900px;
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray-900);
    text-align: left;
    font-weight: 500;
}

/* Team Members Grid */
.team-members-section {
    background: var(--gray-200);
    padding: 60px 60px 80px;
}

.team-members-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-member-card {
    background: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.team-member-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member-avatar-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
}

.team-member-info {
    padding: 30px;
}

.team-member-name {
    font-family: 'Bodoni Moda', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 15px 0;
    letter-spacing: -0.3px;
}

.team-member-bio {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-700);
    margin: 0 0 20px 0;
}

.team-member-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.team-member-contact:hover {
    color: var(--primary);
}

.team-member-contact i {
    font-size: 14px;
}

/* Quote Section */
.team-quote-section {
    background: var(--gray-100);
    padding: 80px 60px;
}

.team-quote {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.quote-text {
    font-family: 'Bodoni Moda', serif;
    font-size: 32px;
    font-style: italic;
    color: var(--primary);
    margin: 0 0 20px 0;
    line-height: 1.5;
    font-weight: 500;
}

.quote-author {
    font-size: 18px;
    color: var(--gray-700);
    font-style: normal;
    font-weight: 600;
}

/* CTA Section */
.team-cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #0f172a 100%);
    padding: 80px 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.team-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(44, 117, 181, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.team-cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

.cta-contact {
    font-size: 20px;
    margin: 0 0 40px 0;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cta-buttons .btn {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .ceo-featured-grid {
        gap: 60px;
    }

    .team-members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 968px) {
    .team-page-header {
        padding: 30px 40px;
    }

    .page-main-title {
        font-size: 28px;
    }

    .ceo-featured-section {
        padding: 40px 40px;
    }

    .ceo-featured-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ceo-bio-content {
        padding-right: 0;
    }

    .ceo-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .team-intro-section {
        padding: 40px 40px;
    }

    .team-intro-text {
        font-size: 16px;
    }

    .team-members-section {
        padding: 40px 40px 60px;
    }

    .team-members-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-member-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .quote-text {
        font-size: 26px;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-contact {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .team-page-header,
    .ceo-featured-section,
    .team-intro-section,
    .team-members-section,
    .team-quote-section,
    .team-cta-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .page-main-title {
        font-size: 24px;
    }

    .ceo-name {
        font-size: 24px;
    }

    .ceo-bio-text {
        font-size: 15px;
    }

    .team-intro-text {
        font-size: 15px;
    }

    .team-member-image {
        height: 300px;
    }

    .team-member-info {
        padding: 25px;
    }

    .team-member-name {
        font-size: 20px;
    }

    .team-member-bio {
        font-size: 13px;
    }

    .quote-text {
        font-size: 22px;
    }

    .quote-author {
        font-size: 16px;
    }

    .team-quote-section,
    .team-cta-section {
        padding: 60px 20px;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-contact {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-main-title {
        font-size: 20px;
    }

    .ceo-name {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .ceo-bio-text {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .team-member-image {
        height: 280px;
    }

    .team-member-info {
        padding: 20px;
    }

    .team-member-name {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .team-member-bio {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .quote-text {
        font-size: 18px;
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-contact {
        font-size: 14px;
        margin-bottom: 30px;
    }
}
