/* Career Page Styles */
:root {
    --primary-color: #440099;
    --secondary-color: #841FFF;
    --light-color: #F4EBFF;
    --dark-color: #333;
    --transition: all 0.3s ease;
}

main {
    max-width: 1300px;
    margin: 0 auto;
}

/* Hero Section */
.team-hero {
    background: url('../media/images/BGs/VideoToPhoto\ 638155885662393248_homePageAbout.webp');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
}

.team-hero::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(69, 0, 153, 0.2);
    backdrop-filter: blur(2px);
}

.team-hero-content h1 {
    font-size: 3.981em;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 2px #440099;
    position: relative;
    z-index: 3;
}

.team-hero-content p {
    font-size: 1.6em;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 2px 2px 2px #440099;
    position: relative;
    z-index: 3;
}

/* Team Members Section */
.team-members {
    padding: 4rem 0;
    background-color: #fff;
}

.team-members h2 {
    font-size: 2.765em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    position: relative;
}

.team-members h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 0.5rem auto 0;
}

.team-grid,
.other-team {
    display: flex;
    /* grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); */
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    justify-content: center;
}

.other-team {
    margin-top: 2rem;
}

.team-card {
    width: min(300px, 100%);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: rgba(0, 0, 0, 0.1) 1px solid;
    transition: var(--transition);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-card:hover {
    transform: translateY(3px);
    box-shadow: none;
}

.member-image {
    height: 200px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.member-info h3 {
    font-size: 1.92em;
    color: var(--primary-color);
}

.designation {
    font-size: 1.333em;
    color: var(--secondary-color);
    font-weight: 500;
}

.contact-info {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-color);
    text-decoration: none;
    font-size: 1.333em;
    transition: var(--transition);
}

.contact-link i {
    color: var(--primary-color);
    font-size: 1.2em;
}

.contact-link:hover {
    color: var(--secondary-color);
}

.contact-link.whatsapp i {
    color: #440099;
}




/* Join Team Section */
.join-team {
    background-color: transparent;
    padding: 4rem 2rem;
    display: flex;
    flex-wrap: wrap;
    border-top: 2px solid #440099;
}

.join-team .container {
    flex: 1 1 300px;
    padding: 1rem;
}

.join-team-brochure {
    border-right: #440099 1px solid;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.join-team-brochure img {
    width: 250px;
    flex: 1 1 250px;
}

.join-team-brochure-btns {
    flex: 1 1 250px;
    text-align: center;
}

.join-team-brochure-btns h2 {
    font-size: 2.765em;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.join-team-brochure-btns p {
    font-size: 1.6em;
    max-width: 700px;
    margin: 0 auto;
    color: var(--dark-color);
}

.join-team-brochure-btns a {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    font-size: 1.6em;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
    text-decoration: none;
}

.join-team-brochure-btns a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.join-team-contact {
    border-left: #440099 1px solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.join-team-contact h2 {
    font-size: 2.765em;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.join-team-contact p {
    font-size: 1.6em;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--dark-color);
}

.career-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    font-size: 1.6em;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
}

.career-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-hero {
        padding: 4rem 1rem;
    }

    .team-hero-content h1 {
        font-size: 3.318em;
    }

    .team-members {
        padding: 3rem 1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .team-hero-content h1 {
        font-size: 2.765em;
    }

    .team-hero-content p {
        font-size: 1.333em;
    }

    .member-image {
        height: 250px;
    }

    .member-info h3 {
        font-size: 1.6em;
    }

    .designation {
        font-size: 1.111em;
    }

    .contact-link {
        font-size: 1.111em;
    }
}