/* Careers Page Styles */
:root {
    --c-primary: var(--text-main, #101828);
    --c-bg: var(--bg-color, #fdfdfd);
    --c-gray-text: var(--text-muted, #475467);
    --c-border: var(--outline-variant, #eaecf0);
}

.careers-page {
    background-color: var(--c-bg);
    color: var(--c-primary);
    font-family: var(--font-family, 'Inter', sans-serif);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

/* Background gradient meshes */
.careers-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://i.pinimg.com/1200x/5e/5e/fd/5e5efdbb103494fec63fa23b74a35a5c.jpg') center/cover no-repeat;
    z-index: 0;
}

.careers-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85); /* White overlay to keep text readable */
    z-index: 1;
}

.careers-page::after {
    display: none;
}

.careers-page::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(230,230,250,0.4) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

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

/* Hero Section */
.careers-hero {
    margin-bottom: 60px;
}

.hiring-badge {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--primary-color, #2563eb);
    color: var(--primary-color, #2563eb);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    background: transparent;
}

.careers-title {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0 0 20px;
    color: var(--c-primary);
}

.careers-subtitle {
    font-size: 1.125rem;
    color: var(--c-gray-text);
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 40px;
}

/* Filters */
.department-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--c-border);
    color: var(--c-gray-text);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    background: #f9fafb;
    color: var(--c-primary);
}

.filter-btn.active {
    background: var(--primary-color, #2563eb);
    color: var(--btn-text, #fff) !important;
    border-color: var(--primary-color, #2563eb);
}

/* Jobs List */
.jobs-list {
    border-top: 1px solid var(--c-border);
    margin-bottom: 80px;
}

.no-jobs-msg {
    padding: 40px 0;
    text-align: center;
    color: var(--c-gray-text);
}

.job-item {
    border-bottom: 1px solid var(--c-border);
    padding: 32px 0;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.job-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--c-primary);
    margin: 0;
}

.apply-link {
    font-size: 0.95rem;
    font-weight: 600;
    background: var(--primary-color, #2563eb);
    color: var(--btn-text, #ffffff) !important;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.1);
}

.apply-link i {
    font-size: 0.8rem;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.apply-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.2);
}

.apply-link:hover i {
    transform: rotate(45deg) translate(2px, -2px);
}

.job-desc {
    font-size: 1rem;
    color: var(--c-gray-text);
    margin: 0 0 20px;
    line-height: 1.5;
}

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

.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--c-border);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--c-gray-text);
    font-weight: 500;
}

.meta-badge i {
    font-size: 0.85rem;
}

/* Testimonial */
.careers-testimonial {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-text {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--c-primary);
    letter-spacing: -0.5px;
    margin: 0 0 40px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--c-primary);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.author-role {
    color: var(--c-gray-text);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 600px) {
    .careers-title {
        font-size: 2.5rem;
    }
    .testimonial-text {
        font-size: 1.5rem;
    }
    .job-header {
        flex-direction: column;
        gap: 10px;
    }
}
