/* Careers Page CSS - Fixed Version */

/* ===== HERO SECTION ===== */
.careers-hero {
    padding-top: 160px;
    padding-bottom: 80px;
    background: #ffffff;
    text-align: center;
}

.careers-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    color: #000000;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
}

.careers-hero p {
    font-size: 1.25rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* ===== SECTION STYLES ===== */
.careers-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #000000;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 50px;
    font-family: 'Inter', sans-serif;
}

.text-center {
    text-align: center;
}

/* ===== JOB LISTINGS ===== */
.job-listings {
    max-width: 1000px;
    margin: 0 auto;
}

.job-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-color: #000000;
}

.job-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #000000;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

.job-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: #6c757d;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-description {
    margin-bottom: 25px;
    line-height: 1.8;
    color: #333333;
    font-family: 'Inter', sans-serif;
}

.job-description p {
    margin-bottom: 10px;
}

.job-description strong {
    color: #000000;
}

/* ===== APPLICATION FORM ===== */
.application-form-section {
    padding: 100px 0;
    background: #ffffff;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 50px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #000000;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #000000;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Space Grotesk', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.file-upload {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
}

.file-upload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
    height: 100%;
    width: 100%;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-family: 'Space Grotesk', sans-serif;
    width: auto;
    text-align: center;
    justify-content: center;
    max-width: 250px;
}

.file-upload-label:hover {
    background-color: transparent !important;
    color: #000000 !important;
}

.file-name {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #6c757d;
    font-family: 'Inter', sans-serif;
}

/* ===== BUTTONS - FIXED ===== */
.apply-btn {
    background: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #000000 !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: 'Space Grotesk', sans-serif !important;
    display: inline-block !important;
    text-decoration: none !important;
    line-height: normal !important;
    min-height: auto !important;
}

.apply-btn:hover {
    background: transparent !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
}

.btn-primary.submit-btn {
    background: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #000000 !important;
    padding: 16px 28px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: 'Space Grotesk', sans-serif !important;
    width: 100% !important;
    margin-top: 20px !important;
    display: block !important;
    line-height: normal !important;
    min-height: auto !important;
}

.btn-primary.submit-btn:hover {
    background: transparent !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
}

/* ===== MESSAGES ===== */
.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-family: 'Inter', sans-serif;
}

.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-family: 'Inter', sans-serif;
}

.success-message i,
.error-message i {
    font-size: 1.2rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .careers-hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .careers-hero h1 {
        font-size: 2.5rem;
    }
    
    .careers-hero p {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .careers-section,
    .application-form-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .job-card {
        padding: 25px 20px;
        margin: 0 15px 20px 15px;
    }
    
    .form-container {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .job-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .file-upload-label {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    .careers-hero h1 {
        font-size: 2rem;
    }
    
    .careers-hero p {
        font-size: 1rem;
    }
    
    .job-card h3 {
        font-size: 1.3rem;
    }
    
    .form-container h2 {
        font-size: 1.5rem;
    }
    
    .apply-btn,
    .btn-primary.submit-btn {
        padding: 12px 20px !important;
        font-size: 13px !important;
    }
}