/* Career Page Main Container */
#career-page {
    overflow-x: hidden;
}

/* Career Content Section */
.career-content-section {
    background: var(--brand-gradient-subtle);
    padding: 80px 0;
    position: relative;
}

.career-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, var(--shadow-light) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, var(--border-light) 0%, transparent 40%);
    pointer-events: none;
}

.career-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Section Badges */
.section-badge {
    display: inline-block;
    background: var(--brand-gradient-primary);
    color: var(--text-white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin: auto;
}

/* Career Description Section */
.career-description {
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.description-content {
    text-align: center;
    margin-bottom: 60px;
}

/* Career Benefits */
.career-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
}

.benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-medium);
    background: rgba(255, 255, 255, 0.95);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--brand-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    flex-shrink: 0;
    box-shadow: 0 8px 20px var(--shadow-medium);
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 30px var(--shadow-strong);
}

.benefit-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.benefit-content p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 15px;
}

/* Current Openings Section */
.current-openings-section {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.openings-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Job Openings List */
.job-openings-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.job-opening-card {
    backdrop-filter: blur(15px);
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 15px 40px var(--shadow-light);
    border: 2px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    background: var(--surface-white);
}

.job-opening-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px var(--shadow-strong);
    border-color: var(--border-medium);
}

/* Featured Job Styles */
.featured-job {
    border: 2px solid var(--primary-green-light);
    background: linear-gradient(135deg, var(--surface-green-light) 0%, transparent 100%);
}

.featured-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--brand-gradient-primary);
    color: var(--text-white);
    padding: 8px 16px;
    border-radius: 0 22px 0 15px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px var(--shadow-medium);
    z-index: 2;
}

/* Job Header */
.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 20px;
}

.job-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.job-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.job-meta span {
    font-size: 14px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: var(--surface-green-light);
    border-radius: 15px;
    font-weight: 500;
}

.job-location svg {
    color: var(--primary-green);
}

.job-salary {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-green);
    text-align: right;
    white-space: nowrap;
}

/* Job Description */
.job-description {
    margin-bottom: 30px;
}

.job-description p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 20px;
}

.job-requirements {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-requirements li {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.job-requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 16px;
}

/* Job Actions */
.job-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.apply-btn {
    background: var(--brand-gradient-primary);
    color: var(--text-white);
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.apply-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.apply-btn:hover::before {
    left: 100%;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-strong);
    background: var(--brand-gradient-dark);
}

.learn-more-btn {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background: var(--primary-green);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

/* No Openings Section */
.no-openings {
    text-align: center;
    padding: 80px 40px;
    background: var(--surface-light);
    border-radius: 20px;
    border: 2px dashed var(--border-medium);
}

.no-openings-icon {
    width: 100px;
    height: 100px;
    background: var(--surface-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-green);
}

.no-openings h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.no-openings p {
    color: var(--text-gray);
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.general-inquiry-btn {
    background: var(--brand-gradient-primary);
    color: var(--text-white);
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.general-inquiry-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-strong);
    background: var(--brand-gradient-dark);
}

/* Career CTA Section */
.career-cta-section {
    background: var(--brand-gradient-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.career-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary-btn {
    background: var(--surface-white);
    color: var(--primary-green);
    border: none;
    padding: 18px 35px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.cta-primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow-strong);
    background: rgba(255, 255, 255, 0.95);
}

.cta-secondary-btn {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
    padding: 16px 35px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-secondary-btn:hover {
    background: var(--surface-white);
    color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Job Details Modal */
.job-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.job-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--surface-white);
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 25px 80px var(--shadow-strong);
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.job-modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid var(--surface-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    padding: 20px 30px 30px;
    text-align: center;
}

.modal-apply-btn {
    background: var(--brand-gradient-primary);
    color: var(--text-white);
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.modal-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-strong);
    background: var(--brand-gradient-dark);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Responsive Design */
@media (max-width: 968px) {
    .section-title {
        font-size: 2rem;
    }
    
    .career-benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .job-salary {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .career-content-section {
        padding: 60px 0;
    }
    
    .career-container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .job-opening-card {
        padding: 25px 20px;
    }
    
    .job-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .job-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .apply-btn,
    .learn-more-btn {
        text-align: center;
        justify-content: center;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .job-title {
        font-size: 1.3rem;
    }
    
    .featured-badge {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-description {
        font-size: 16px;
    }
}
