.career-hero {
    background: var(--secondary);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 280px;
}

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

.career-hero h1 {
    color: #ffffff;
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.1;
}

.career-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.career-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    animation: rotate 60s linear infinite;
}

@media (max-width: 768px) {
    .career-hero {
        padding: 30px 0;
        min-height: 150px;
    }

    .career-hero h1 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .career-hero p {
        font-size: 14px;
        max-width: 100%;
    }
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.job-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.job-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.job-card:hover::after {
    width: 100%;
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    background: #f3f4f6;
    color: #4b5563;
}

.positions-section {
    padding: 50px 0;
    background: #f9fafb;
}

.positions-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.positions-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.positions-title p {
    color: #6b7280;
    font-size: 16px;
}

.positions-count {
    font-weight: 600;
    color: var(--primary);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.job-description {
    margin-bottom: 24px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.apply-btn {
    width: 100%;
    padding: 12px;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.apply-btn:hover {
    background: #1e293b;
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.apply-modal {
    background: #fff;
    width: 95%;
    max-width: 500px;
    border-radius: 20px;
    padding: 30px;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    overflow-y: auto;
    margin: 20px;
}

.modal-overlay.active .apply-modal {
    transform: scale(1);
}

.input-group {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.input-field {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    transition: border-color 0.2s;
}

.input-field:focus {
    border-color: var(--primary);
    outline: none;
}

.file-upload-wrapper {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.file-upload-wrapper:hover {
    border-color: var(--primary);
    background: #fefce8;
}

.file-input {
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .positions-section {
        padding: 40px 0;
    }

    .positions-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 25px;
    }

    .positions-title h2 {
        font-size: 26px;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .job-card {
        padding: 20px;
    }

    .apply-modal {
        padding: 20px;
    }
}