/* ===============================
   Team Page Styles
   =============================== */

/* --- Page Banner (re-using from about_us.css for consistency) --- */
.page-banner {
    position: relative;
    padding: 120px 0;
    background-color: var(--primary-dark);
    text-align: center;
    color: #fff;
}

.page-banner .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 1;
}

.page-banner-entry {
    position: relative;
    z-index: 2;
}

.page-banner-entry h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-banner-entry p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* --- Team Intro Section --- */
.team-intro-section {
    padding: 80px 0;
}

.team-intro-section .section-head {
    margin-bottom: 20px;
}

.team-intro-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.team-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.team-card-link:hover .team-card-v2 .team-name {
    color: var(--primary);
}
.team-intro-section img {
    max-width: 450px;
}

/* --- Team Grid Section --- */
.team-grid-section {
    padding: 80px 0;
}

.team-card-v2 {
    background-color: #fff;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    padding-top: 60px;
    margin-top: 60px;
}

.team-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(var(--bs-primary-rgb), 0.15);
}

.team-card-v2 .team-photo {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-card-v2:hover .team-photo {
    transform: translateX(-50%) scale(1.1);
}

.team-card-v2 .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-v2 .team-info {
    padding: 80px 25px 25px 25px;
}

.team-card-v2 .team-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--title);
}

.team-card-v2 .team-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}

.team-card-v2 .team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-card-v2 .team-social .btn-social-icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1rem;
    border-radius: 50%;
    background-color: #f0f2f5;
    color: #6c757d;
    transition: all 0.3s ease;
}

.team-card-v2 .team-social .btn-social-icon:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

/* --- Join Us Section --- */
.join-us-section {
    padding: 80px 0;
    background-color: #fff;
}

.join-us-section .lead {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
    margin-bottom: 30px;
}

.join-us-section .btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* ===============================
   Team Member Detail Page Styles
   =============================== */

.team-member-detail {
    padding: 80px 0;
}

.member-photo-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.member-photo-card img {
    width: 100%;
    height: auto;
}

.member-social-links {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.member-social-links .btn-social-icon {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    background-color: #f0f2f5;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.member-social-links .btn-social-icon:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateX(5px);
}

.member-social-links .btn-social-icon i {
    font-size: 1.2rem;
    margin-right: 15px;
    width: 25px;
    text-align: center;
}

.member-bio {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    height: 100%;
}

.member-bio .member-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.member-bio .member-role {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 25px;
}

.member-bio hr {
    margin-bottom: 25px;
}

.member-bio p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}