/* ====================================
   Career Page Specific Styles - DARK THEME
   ==================================== */

/* Career Hero Section - Keep as is */
.career-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2B2B2B 0%, #000000 100%);
    overflow: hidden;
    width: 100%;
    margin-top: 0;
    padding-top: 80px;
}

.career-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23F7931E" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.career-badge {
    display: inline-block;
    background: rgba(247, 147, 30, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(247, 147, 30, 0.3);
    color: white;
}

.career-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.career-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.7;
    color: white;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ====================================
   Why Join Section - DARK THEME
   ==================================== */
.why-join-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    overflow: hidden;
    width: 100%;
}

.why-join-section .section-title {
    color: var(--white);
}

.why-join-section .text-muted {
    color: #94a3b8 !important;
}

.benefit-card {
    background: linear-gradient(135deg, #2B2B2B 0%, #1a1a1a 100%);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid rgba(247, 147, 30, 0.1);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(247, 147, 30, 0.3);
    border-color: #F7931E;
    background: linear-gradient(135deg, #333333 0%, #2B2B2B 100%);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #F7931E 0%, #C49A6C 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: rotateY(360deg) scale(1.1);
}

.benefit-icon i {
    font-size: 2.5rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.benefit-card p {
    color: #94a3b8;
    line-height: 1.7;
    margin: 0;
}

/* ====================================
   Open Positions Section - DARK THEME
   ==================================== */
.open-positions-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    overflow: hidden;
    width: 100%;
}

.open-positions-section .section-title {
    color: var(--white);
}

.open-positions-section .text-muted {
    color: #94a3b8 !important;
}

.job-card {
    background: linear-gradient(135deg, #2B2B2B 0%, #1a1a1a 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    border: 2px solid rgba(247, 147, 30, 0.1);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(247, 147, 30, 0.3);
    border-color: #F7931E;
    background: linear-gradient(135deg, #333333 0%, #2B2B2B 100%);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.job-title-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.job-type-badge {
    display: inline-block;
    background: linear-gradient(135deg, #F7931E 0%, #C49A6C 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.apply-btn {
    background: linear-gradient(135deg, #F7931E 0%, #C49A6C 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 147, 30, 0.4);
    color: white;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.job-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
}

.job-detail-item i {
    color: #F7931E;
    font-size: 1.1rem;
}

.job-detail-item strong {
    color: #e2e8f0;
}

.job-description {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.job-requirements {
    background: rgba(247, 147, 30, 0.05);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    border: 1px solid rgba(247, 147, 30, 0.2);
}

.job-requirements h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.job-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-requirements li {
    padding: 0.5rem 0;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-requirements li i {
    color: #F7931E;
    font-size: 0.9rem;
}

/* ====================================
   Contact HR Section - DARK THEME
   ==================================== */
.contact-hr-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    overflow: hidden;
    width: 100%;
}

.contact-hr-card {
    background: linear-gradient(135deg, #F7931E 0%, #C49A6C 100%);
    padding: 3rem;
    border-radius: 20px;
    color: white;
    box-shadow: 0 10px 40px rgba(247, 147, 30, 0.3);
}

.contact-hr-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-hr-card h3 i {
    color: #FFFFFF;
}

.contact-hr-card p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.hr-contact-info {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1rem;
}

.info-item i {
    color: #FFFFFF;
    font-size: 1.2rem;
}

/* ====================================
   Application Process Section - DARK THEME
   ==================================== */
.application-process-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    overflow: hidden;
    width: 100%;
}

.application-process-section .section-title {
    color: var(--white);
}

.application-process-section .text-muted {
    color: #94a3b8 !important;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #2B2B2B 0%, #1a1a1a 100%);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid rgba(247, 147, 30, 0.1);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(247, 147, 30, 0.3);
    border-color: #F7931E;
    background: linear-gradient(135deg, #333333 0%, #2B2B2B 100%);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #F7931E 0%, #C49A6C 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(247, 147, 30, 0.4);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: rgba(247, 147, 30, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto 1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(247, 147, 30, 0.2);
}

.process-step:hover .step-icon {
    background: linear-gradient(135deg, #F7931E 0%, #C49A6C 100%);
    border-color: transparent;
}

.step-icon i {
    font-size: 2rem;
    color: #F7931E;
    transition: all 0.3s ease;
}

.process-step:hover .step-icon i {
    color: white;
}

.process-step h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.process-step p {
    color: #94a3b8;
    margin: 0;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .career-hero {
        padding-top: 100px;
    }

    .career-hero-title {
        font-size: 2.5rem;
    }

    .job-header {
        flex-direction: column;
    }

    .apply-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .career-hero {
        padding-top: 90px;
    }
    
    .career-hero-title {
        font-size: 2rem;
    }

    .career-hero-subtitle {
        font-size: 1.1rem;
    }

    .job-details {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-hr-card {
        padding: 2rem 1.5rem;
    }

    .contact-hr-card h3 {
        font-size: 1.4rem;
    }

    .info-item {
        font-size: 0.9rem;
    }
}

/* Skills Section */
.skills-section {
    margin-top: 1rem;
}

.skills-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-badge {
    background: linear-gradient(135deg, #F7931E 0%, #C49A6C 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

/* Apply Link */
.apply-link {
    color: #F7931E;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.apply-link:hover {
    color: #C49A6C;
    gap: 1rem;
}

.apply-link i {
    transition: transform 0.3s ease;
}

.apply-link:hover i {
    transform: translateX(5px);
}

/* Job Footer */
.job-footer {
    margin-top: 1.5rem;
}

.job-id {
    font-family: 'Courier New', monospace;
    color: #64748b;
}

/* Contact Buttons in HR Section */
.contact-hr-card .btn-primary {
    background: white;
    color: #F7931E;
    border: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.contact-hr-card .btn-primary:hover {
    background: #F2F2F2;
    color: #C49A6C;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ====================================
   Application Modal Styles - DARK THEME - FIXED DROPDOWNS
   ==================================== */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #2B2B2B 0%, #1a1a1a 100%);
}

.modal-header {
    background: linear-gradient(135deg, #F7931E 0%, #C49A6C 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
}

.modal-title {
    font-weight: 700;
    font-size: 1.3rem;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 2rem;
    max-height: 70vh;
    background: linear-gradient(135deg, #2B2B2B 0%, #1a1a1a 100%);
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(247, 147, 30, 0.2);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.section-heading {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-heading i {
    color: #F7931E;
    font-size: 1.2rem;
}

.form-label {
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid rgba(247, 147, 30, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.form-control::placeholder {
    color: #64748b;
}

.form-control:focus, .form-select:focus {
    border-color: #F7931E;
    box-shadow: 0 0 0 0.2rem rgba(247, 147, 30, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

/* FIX FOR DROPDOWN OPTIONS - MAKE TEXT VISIBLE */
.form-select {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white) !important;
}

.form-select option {
    background: #2B2B2B;
    color: var(--white);
    padding: 10px;
}

.form-select option:hover,
.form-select option:focus,
.form-select option:checked {
    background: #F7931E;
    color: white;
}

.text-danger {
    color: #F7931E;
}

.text-muted {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* File Preview */
.file-preview {
    background: rgba(247, 147, 30, 0.05);
    border: 2px solid rgba(247, 147, 30, 0.2);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.file-preview i {
    font-size: 2rem;
    color: #F7931E;
}

.file-preview span {
    flex: 1;
    font-weight: 600;
    color: var(--white);
}

.btn-remove {
    background: #ef4444;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Modal Footer */
.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(247, 147, 30, 0.2);
    background: linear-gradient(135deg, #2B2B2B 0%, #1a1a1a 100%);
}

.modal-footer .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
}

.modal-footer .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-footer .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Alert Messages in Modal */
#formAlert {
    margin-top: 1rem;
    border-radius: 8px;
    padding: 1rem;
}

#formAlert.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

#formAlert.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

#formAlert.alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Loading State */
.spinner-border {
    color: #F7931E !important;
}

.no-jobs-message {
    background: linear-gradient(135deg, #2B2B2B 0%, #1a1a1a 100%);
    border-radius: 15px;
    padding: 3rem;
    border: 2px solid rgba(247, 147, 30, 0.1);
}

.no-jobs-message h4 {
    color: var(--white);
}

.no-jobs-message .text-muted {
    color: #94a3b8 !important;
}
