.team {
    padding: 5rem 0;
    background-color: #f0f2f5;
}

.team .title-container {
    text-align: center;
    margin-bottom: 3rem;
}

.team .title-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.team .title-underline {
    width: 80px;
    height: 3px;
    background-color: #ac2668;
    margin: 0 auto;
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.intro-cta {
    font-size: 1.3rem;
    font-weight: 500;
    color: #333;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    margin-bottom: 4rem;
}

.team-member {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 1050;
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    width: 100%;
    height: 500px;
    min-height: 500px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%);
}

.member-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.member-name {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 1.1rem;
    color: #ac2668;
    margin-bottom: 1rem;
    font-weight: 500;
}

.member-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more-btn {
    background-color: #ac2668;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.read-more-btn:hover {
    background-color: #8e1f55;
}

.hiring-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
}

.hiring-content h2 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.hiring-features {
    margin-bottom: 2rem;
}

.hiring-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #555;
}

.hiring-feature i {
    color: #ac2668;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.hiring-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hiring-btn {
    background-color: #ac2668;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hiring-btn:hover {
    background-color: #8e1f55;
}

.hiring-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hiring-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Job Application Modal Styles */
.job-modal {
    max-width: 600px;
    width: 100%;
}

.job-modal .modal-header {
    background-color: #ac2668;
    padding: 2rem;
    color: white;
}

.job-modal .modal-body {
    padding: 2rem;
}

.job-modal-intro {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.job-application-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-application-form .form-group {
    margin: 0;
}

.job-application-form label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.job-application-form input,
.job-application-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.job-application-form input:focus,
.job-application-form textarea:focus {
    outline: none;
    border-color: #ac2668;
}

.file-input-wrapper {
    position: relative;
    margin-top: 0.5rem;
}

.file-input-wrapper input[type="file"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.file-input-info {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.submit-btn {
    background-color: #ac2668;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #8e1f55;
}

.member-languages {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1.5rem;
}

.language-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: #555;
}

.language-tag i {
    color: #ac2668;
    font-size: 0.9rem;
}

.language-name {
    font-weight: 500;
}

@media (max-width: 991px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .team-member {
        height: auto;
        min-height: 700px;
    }

    .member-image {
        height: 400px;
    }

    .hiring-section {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .hiring-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .team .title-container h2 {
        font-size: 2rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .intro-cta {
        font-size: 1.2rem;
    }

    .member-image {
        height: 350px;
    }

    .member-name {
        font-size: 1.6rem;
    }

    .member-role,
    .member-description {
        font-size: 1rem;
    }

    .hiring-content h2 {
        font-size: 2rem;
    }

    .hiring-feature {
        font-size: 1rem;
    }

    .job-modal {
        margin: 1rem;
    }
}

@media (max-width: 576px) {
    .member-info {
        padding: 1.5rem;
    }

    .member-image {
        height: 300px;
    }

    .read-more-btn,
    .hiring-btn {
        width: 100%;
        padding: 0.7rem 1rem;
    }

    .hiring-section {
        padding: 1.5rem;
    }

    .job-modal .modal-header,
    .job-modal .modal-body {
        padding: 1.5rem;
    }
}