/* =================================== */
/* TEAM SECTION WRAPPER */
/* =================================== */
.team-section {
    padding: 4rem 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

/* =================================== */
/* TEAM HEADER */
/* =================================== */
.team-header {
    text-align: center;
    margin-bottom: 3rem;
}

.team-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--primary-blue, #3b82f6);
}

.team-description {
    font-size: 1.25rem;
    line-height: 1.75rem;
    max-width: 800px;
    margin: 1rem auto 0;
    color: var(--text-color, #333);
}

/* =================================== */
/* TEAM GRID & MEMBER CARD */
/* =================================== */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.team-member-card {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -2px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.team-member-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
                0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.card-content-wrapper {
    display: block;
}

@media (min-width: 768px) {
    .card-content-wrapper {
        display: flex;
    }
}

.card-image-container {
    height: 16rem;
    width: 100%;
    overflow: hidden;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .card-image-container {
        width: 12rem;
        height: auto;
        flex-shrink: 0;
    }
}

/* =================================== */
/* MEMBER DETAILS */
/* =================================== */
.member-details {
    padding: 1.5rem;
    flex: 1;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--primary-blue, #3b82f6);
}

.member-role {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--accent-pink, #ec4899);
}

.member-specialty {
    font-size: 0.875rem;
    color: #666;
    opacity: 0.75;
    margin-bottom: 1rem;
}

.member-bio {
    margin-bottom: 1rem;
    line-height: 1.5;
    color: var(--text-color, #333);
}

/* =================================== */
/* CONTACT INFO */
/* =================================== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-color, #333);
}

.contact-item i {
    font-size: 1rem;
    color: var(--primary-blue, #3b82f6);
}

.contact-link {
    color: var(--primary-blue, #3b82f6);
    text-decoration: none;
    transition: text-decoration 0.2s;
}

.contact-link:hover {
    text-decoration: underline;
}

/* =================================== */
/* JOIN OUR TEAM CTA */
/* =================================== */
.cta-join-team {
    margin-top: 4rem;
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -2px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.cta-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-blue, #3b82f6);
}

.cta-text {
    margin-bottom: 1.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: #666;
}

.cta-button {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-weight: 700;
    color: #fff;
    background-color: var(--accent-pink, #ec4899);
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    opacity: 0.9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
