/* ================= CAREER HERO SECTION ================= */
.career-hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 80px;
}

.career-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.career-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 24, 40, 0.5);
    z-index: 2;
}

.career-hero-content {
    position: relative;
    z-index: 3;
    color: white;
    max-width: 700px;
    padding: 20px;
}

.career-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.career-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

@media (max-width: 1200px) {
    .career-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .career-hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 900px) {
    .career-hero {
        height: 400px;
        margin-top: 70px;
    }
    
    .career-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .career-hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .career-hero {
        height: 350px;
        margin-top: 70px;
    }
    
    .career-hero-content h1 {
        font-size: 2rem;
    }
    
    .career-hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .career-hero {
        height: 300px;
        margin-top: 60px;
    }
    
    .career-hero-content h1 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .career-hero-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .career-hero {
        height: 250px;
        margin-top: 50px;
    }
    
    .career-hero-content h1 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .career-hero-content p {
        font-size: 0.85rem;
        margin-bottom: 15px;
        padding: 0 12px;
    }
}

/* ================= WHY JOIN US SECTION ================= */
.why-join-us {
    padding: 80px 20px;
    background: #f9f9f9;
}

.why-join-us h2 {
    text-align: center;
    margin-bottom: 10px;
}

.why-join-us .section-subtitle {
    text-align: center;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #101828;
}

.benefit-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .why-join-us {
        padding: 60px 15px;
    }
    
    .benefits-grid {
        gap: 20px;
    }
    
    .benefit-card {
        padding: 30px 20px;
    }
}

/* ================= JOB OPENINGS SECTION ================= */
.job-openings {
    padding: 80px 20px;
    background: white;
}

.job-openings h2 {
    text-align: center;
}

.job-openings .section-subtitle {
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Job Filter */
.job-filter {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.job-search-input,
.job-filter-select {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.job-search-input:focus,
.job-filter-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.1);
}

/* Jobs List */
.jobs-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.job-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.job-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
    transform: translateY(-5px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.job-title {
    font-size: 1.3rem;
    margin: 0 0 5px 0;
    color: #101828;
}

.job-company {
    color: #667eea;
    font-size: 0.9rem;
    margin: 0;
}

.job-type {
    background: #e8f0ff;
    color: #667eea;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.job-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-details i {
    color: #667eea;
}

.job-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.apply-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.apply-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.no-jobs-message {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-jobs-message i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

@media (max-width: 768px) {
    .job-openings {
        padding: 60px 15px;
    }
    
    .job-filter {
        grid-template-columns: 1fr;
    }
    
    .jobs-list {
        grid-template-columns: 1fr;
    }
}

/* ================= HIRING PROCESS SECTION ================= */
.hiring-process {
    padding: 80px 20px;
    background: #f9f9f9;
}

.hiring-process h2 {
    text-align: center;
}

.hiring-process .section-subtitle {
    text-align: center;
}

.process-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 40px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    transform: translateX(-1px);
}

.process-step {
    margin-bottom: 50px;
    position: relative;
    display: flex;
    gap: 30px;
}

.process-step:nth-child(odd) {
    flex-direction: row;
    padding-right: 50%;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
    padding-left: 50%;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    box-shadow: 0 6px 18px rgba(16,24,40,0.12);
    z-index: 3;
}

/* Keep numeric value available to assistive tech (visually-hidden fallback) */
.step-number span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Decorative translucent chevron behind the step content */
.process-step::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(32px);
    width: 160px;
    height: 120px;
    background: linear-gradient(135deg, rgba(102,119,234,0.12) 0%, rgba(118,75,162,0.12) 100%);
    clip-path: polygon(0 35%, 62% 35%, 62% 0, 100% 50%, 62% 100%, 62% 65%, 0 65%);
    z-index: 1;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

/* Mirror the decorative arrow on even steps (point left) */
.process-step:nth-child(even)::before {
    transform: translateX(-192px) scaleX(-1);
}

/* Reduce or hide decorative chevrons on smaller screens */
@media (max-width: 1024px) {
    .process-step::before { display: none; }
}

.step-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.step-content h3 {
    margin-top: 0;
    color: #101828;
    font-size: 1.2rem;
}

.step-content p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .process-timeline::before {
        left: 0;
    }
    
    .process-step {
        flex-direction: column !important;
        padding: 0 0 0 80px !important;
    }
    
    .step-number {
        left: -15px;
        position: relative;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hiring-process {
        padding: 60px 15px;
    }
    
    .process-timeline {
        padding: 30px 0;
    }
    
    .process-timeline::before {
        left: -15px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        left: -20px;
    }
    
    .step-content {
        padding: 20px;
    }
    
    .step-content h3 {
        font-size: 1rem;
    }
}

/* ================= JOB MODAL ================= */
.job-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #333;
}

#jobModalBody {
    margin-bottom: 30px;
}

#jobModalBody h2 {
    color: #101828;
    margin-bottom: 10px;
}

#jobModalBody p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Modal Form */
.modal-form h3 {
    color: #101828;
    margin-bottom: 20px;
    margin-top: 0;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.1);
}

.file-upload {
    margin-bottom: 15px;
}

.file-upload label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.file-upload input[type="file"] {
    padding: 10px;
}

.modal-form .primary-btn {
    width: 100%;
    margin-top: 10px;
}

.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20% auto;
        padding: 20px;
    }
    
    .modal-close {
        right: 10px;
        top: 10px;
        font-size: 1.5rem;
    }
}

/* ================= PRIMARY BUTTON STYLE ================= */
.primary-btn {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* ================= UTILITY CLASSES ================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
}
