/* Hero */
.careers-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('Our service images/Our Services.webp');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.careers-hero .banner h2 {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    margin: 0;
}

.careers-hero .banner p {
    font-size: 1.2rem;
    color: #eee;
    max-width: 600px;
    margin: 15px auto 0;
}

/* Form Section */
.form-section {
    padding: 4rem 1rem;
    background-color: #f9f9f9;
}

.form-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.form-left,
.form-right {
    flex: 1 1 48%;
    min-width: 300px;
}

/* Left Content */
.form-left h3 {
    font-size: 1.75rem;
    color: #1B7458;
    margin-bottom: 1rem;
}

.form-left p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1rem;
}

.resume-note {
    background: #f0f8ff;
    border: 1px solid #bde0ff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.resume-note h4 {
    color: #0056b3;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}
.resume-note h4 i {
    margin-right: 8px;
}

.resume-note p {
    margin-bottom: 0.5rem;
    color: #333;
}

.email-link {
    font-weight: 600;
    color: #E17D27;
    text-decoration: none;
}
.email-link:hover {
    text-decoration: underline;
}

/* Right Form */
.form-right form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-heading {
    text-align: center;
    color: #E17D27;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.input-group {
    display: flex;
    gap: 1rem;
}

.input-group input,
.input-group select {
    width: 100%;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Segoe UI', sans-serif;
    box-sizing: border-box; /* Ensures padding doesn't break layout */
}

select {
    color: #555;
}
select:invalid {
    color: #999;
}

.submit-btn {
    background-color: #ffffff;
    background-image: linear-gradient(180deg, #1B7458C7, #E17D27BA);
    color: white;
    padding: 0.85rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .careers-hero {
        height: 50vh;
    }
    .careers-hero .banner h2 {
        font-size: 2.2rem;
    }
    .careers-hero .banner p {
        font-size: 1rem;
    }

    .form-container {
        flex-direction: column-reverse;
        padding: 1.5rem;
    }
    
    .input-group {
        flex-direction: column;
    }
}
/* --- Job Vacancies Section --- */
.vacancies-section {
    padding: 4rem 1rem;
    background-color: #fff; /* White to contrast the grey form section */
    text-align: center;
}

.vacancies-section h2 {
    font-size: 2.2rem;
    color: #1B7458; /* Match brand green */
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.vacancies-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.job-vacancy-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-left: 5px solid #E17D27; /* Brand orange accent */
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-vacancy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #eee;
}

.job-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.job-type {
    background: #1B7458;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
}

.job-location {
    font-size: 1rem;
    color: #555;
    margin: 1rem 0;
}
.job-location i {
    margin-right: 5px;
    color: #E17D27;
}

.job-description {
    margin: 0;
    padding-left: 20px;
    color: #444;
}

.job-description li {
    margin-bottom: 0.5rem;
}