.career-main-container {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

.career-main-header {
    background: #4b79a1;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.career-main-header h1 {
    margin: 0;
    font-size: 2.5em;
}

.career-main-header p {
    font-size: 1.2em;
}

#career-opportunities, #why-join-us {
    padding: 0px 20px 20px;
}

#career-opportunities h2, #why-join-us h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.career-job-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.career-job-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    flex: 1 1 calc(50% - 40px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.career-job-card h3 {
    margin-top: 0;
    font-size: 1.5em;
}

.apply-button {
    background: #4b79a1;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s;
    text-decoration: none;
}

.apply-button:hover {
    background: white;
    color: black;
    border: 1px solid black;
    text-decoration:none;
}

#career-why-join-us {
    padding: 40px 20px;
    background: #f0f0f0;
}

#career-why-join-us h2 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.career-progress-bar-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.career-progress-bar {
    display: flex;
    height: 50px;
    background: #e0e0e0;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.career-progress-segment {
    background: #b2dfdb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    position: relative;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.3s;
}

.career-progress-segment span {
    position: absolute;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.career-progress-segment.active {
    background: #4b79a1;
}

.career-card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.career-card {
    display: none;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    width: 600px; /* Increase width */
    margin: 10px;
    text-align: left; /* Change alignment to left */
    position: relative;
}

.career-card h3 {
    margin-top: 0;
}

.career-card.show {
    display: block;
}


#contact-section {
    background: #ffffff;
    width: 40%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    overflow: hidden; /* Ensure contents are clipped to the form's height */
    margin-left: 30%;
}
.container {
    width: 100%;
}

.form-header {
    text-align: center;
    margin-bottom: 15px; /* Reduced margin for header */
}

.contact-form-title {
    font-size: 1.8em; /* Slightly smaller title */
    color: #333;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Reduced gap between elements */
}

.form-group {
    flex: 1 1 100%;
    margin-bottom: 10px; /* Reduced margin for form groups */
}

.form-group label {
    display: block;
    margin-bottom: 3px; /* Reduced margin for labels */
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 8px; /* Reduced padding */
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9em; /* Slightly smaller font size */
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #4b79a1;
    box-shadow: 0 0 5px rgba(0, 121, 107, 0.2);
    outline: none;
}

textarea {
    resize: vertical;
}

.btn-submit {
    display: inline-block;
    background-color: #4b79a1;
    color: #fff;
    border: none;
    padding: 10px; /* Reduced padding */
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    width: 100%;
}

.btn-submit:hover {
    background-color: #004d40;
    transform: scale(1.02);
}

.form_response {
    margin-top: 15px; /* Reduced margin for response section */
    text-align: center;
    font-size: 1em; /* Slightly smaller font size */
    color: #00796b;
}

.contact-section-form-container{
    display:inline-flex ;
}
