/* MEET OUR TEAM PAGE STYLES
   ========================================================= */
.team-page-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 20px 60px 20px;
}

.team-header-section {
    text-align: center;
    margin-bottom: 45px;
}

.team-header-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #eef5ff;
    border-radius: 50%;
    color: #0064e5;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(0, 100, 229, 0.12);
}

.team-header-section h1 {
    font-size: 36px !important;
    font-weight: 800 !important;
    color: #0c1e40 !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.25 !important;
}

.team-header-section p {
    font-size: 17px !important;
    color: #475569 !important;
    max-width: 680px;
    margin: 0 auto !important;
    line-height: 1.5 !important;
}

.team-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 760px;
    margin: 0 auto;
}

.team-profile-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.team-profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 100, 229, 0.14);
    border-color: #93c5fd;
}

.team-photo-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    position: relative;
    overflow: hidden;
    background: #eef2f6;
}

.team-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.team-profile-card:hover .team-photo-wrap img {
    transform: scale(1.03);
}

.team-info-body {
    padding: 22px 24px 24px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.team-member-name {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0c1e40 !important;
    letter-spacing: 0.5px !important;
    margin: 0 0 6px 0 !important;
    text-transform: uppercase;
}

.team-member-role {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0064e5 !important;
    margin: 0 0 6px 0 !important;
}

.team-member-field {
    font-size: 14px !important;
    color: #475569 !important;
    font-weight: 500 !important;
    margin: 0 0 10px 0 !important;
}

.team-member-lang {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    margin-bottom: 18px !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-view-profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: #0064e5;
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 100, 229, 0.2);
    margin-top: auto;
}

.team-view-profile-btn:hover {
    background: #004bd6;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 100, 229, 0.3);
}

@media (max-width: 767px) {
    .team-cards-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        gap: 24px;
    }
}

/* =========================================================
   TEAM MEMBER PROFILE PAGE STYLES
   ========================================================= */
.profile-page-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 20px 60px 20px;
}

.profile-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.profile-breadcrumbs a {
    color: #0064e5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.profile-breadcrumbs a:hover {
    text-decoration: underline;
}

.profile-breadcrumbs span {
    color: #94a3b8;
}

.profile-main-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.profile-left-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-photo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.profile-photo-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #eef2f6;
    position: relative;
}

.profile-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.profile-photo-card:hover .profile-photo-wrap img {
    transform: scale(1.03);
}

.profile-contact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 26px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.profile-contact-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0c1e40 !important;
    margin: 0 0 16px 0 !important;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.profile-contact-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.profile-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #334155;
}

.profile-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #eef5ff;
    color: #0064e5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-contact-item a {
    color: #0c1e40;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.profile-contact-item a:hover {
    color: #0064e5;
}

.profile-right-col {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 38px 42px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.profile-role-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #eef5ff;
    color: #0064e5;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 12px;
}

.profile-person-name {
    font-size: 36px !important;
    font-weight: 800 !important;
    color: #0c1e40 !important;
    letter-spacing: -0.5px !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.2 !important;
}

.profile-subtitle {
    font-size: 17px !important;
    color: #64748b !important;
    font-weight: 500 !important;
    margin: 0 0 24px 0 !important;
}

.profile-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}

.profile-highlight-box {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    padding: 14px 16px;
}

.profile-highlight-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 4px;
}

.profile-highlight-val {
    font-size: 14.5px;
    font-weight: 700;
    color: #0c1e40;
}

.profile-bio-heading {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0c1e40 !important;
    margin: 0 0 14px 0 !important;
    position: relative;
}

.profile-bio-content p {
    font-size: 15.5px !important;
    line-height: 1.7 !important;
    color: #475569 !important;
    margin-bottom: 16px !important;
}

.profile-actions-bar {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

.profile-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    background: #0064e5;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 100, 229, 0.25);
}

.profile-primary-btn:hover {
    background: #004bd6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 100, 229, 0.35);
}

.profile-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    background: #ffffff;
    color: #0c1e40 !important;
    border: 1.5px solid #cbd5e1;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.profile-secondary-btn:hover {
    border-color: #0064e5;
    color: #0064e5 !important;
    background: #f8fafc;
}

.profile-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14.5px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    margin-top: 20px;
    transition: color 0.2s ease;
}

.profile-back-link:hover {
    color: #0064e5;
}

@media (max-width: 900px) {
    .profile-main-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .profile-photo-card {
        max-width: 360px;
        margin: 0 auto;
    }
    .profile-highlights-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .profile-right-col {
        padding: 28px 22px;
    }
}
