

/* Open Positions Section */
.open-positions-section {
    padding: 100px 0;
    background: #fff;
}

.jobs-container {
    padding-top: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.job-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #00358d;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 53, 141, 0.1);
    border-color: rgba(0, 53, 141, 0.2);
}

.job-card:hover::before {
    transform: scaleY(1);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.job-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.job-department {
    font-size: 1rem;
    color: #00358d;
    font-weight: 500;
    margin-bottom: 4px;
}

.job-id {
    font-size: 0.875rem;
    color: #6c757d;
}

.job-status {
    background: #e8f5e8;
    color: #2d5a2d;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: #6c757d;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-meta-item i {
    color: #00358d;
}

.job-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-apply {
    /* background: #00358d; */
    /* color: #fff; */
    border: 2px solid #00358d;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* .btn-apply:hover {
    background: transparent;
    color: #00358d;
    transform: translateY(-2px);
}

.btn-apply i {
    font-size: 14px;
}

.btn-apply:active {
    color: #ffff !important;
} */

/* Loading States */
#jobs-loading {
    padding: 60px 0;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

.no-jobs-message {
    padding: 80px 20px;
}

.no-jobs-message i {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 24px;
}

.no-jobs-message h4 {
    color: #1a1a1a;
    margin-bottom: 16px;
}

.no-jobs-message p {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Join Team Section */
.join-team-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #00358d 0%, #0056b3 100%);
    color: #fff;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-primary {
    background: #fff;
    color: #00358d;
    border: 2px solid #fff;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 30px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        margin-bottom: 30px;
    }
    
    .quote-card {
        padding: 40px 30px;
    }
    
    .quote-text {
        font-size: 1.25rem;
    }
    
    .job-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .job-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .job-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-apply {
        justify-content: center;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .careers-hero-section {
        padding: 60px 0 40px;
    }
    
    .why-choose-section,
    .ceo-quote-section,
    .open-positions-section,
    .join-team-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-item {
        flex: 1;
        min-width: 80px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .quote-card {
        padding: 30px 20px;
    }
    
    .job-card {
        padding: 24px 20px;
    }
}


/* Modal Styles */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    background: linear-gradient(135deg, #00358d, #4a90e2);
    color: white;
    border-radius: 12px 12px 0 0;
    padding: 1.5rem;
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
    font-size: 1.5rem;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 2rem;
    max-height: 70vh;
}

.modal-footer {
    padding: 1rem 2rem;
    border-top: 1px solid #e9ecef;
}

/* Job Full Details Styles */
.job-full-details {
    color: #333;
}

.job-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.job-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.job-section h5 {
    color: #00358d;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-section h5 i {
    font-size: 1.1rem;
}

.job-section h6 {
    color: #555;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-section p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.job-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.job-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    line-height: 1.6;
    border-bottom: 1px solid #f5f5f5;
}

.job-list li:last-child {
    border-bottom: none;
}

.job-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Know More Button */
.know-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #00358d;
    color: #00358d;
    background: white;
}

.know-more-btn:hover {
    background: #00358d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.know-more-btn i {
    font-size: 1rem;
}

/* Update job-actions to accommodate two buttons */
.job-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
        max-height: 60vh;
    }
    
    .job-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .know-more-btn,
    .apply-btn {
        width: 100%;
        justify-content: center;
    }
    
    .job-section h5 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .modal-title {
        font-size: 1.25rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .job-list li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
        padding-left: 1.25rem;
    }
}
