/* career.css */

/* ── Page Hero ─────────────────────────────── */
.about-hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 24px 80px;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 16, 47, 0.7) 0%, rgba(11, 14, 20, 0) 100%);
    pointer-events: none;
    z-index: -1;
}

.about-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    max-width: 860px;
    margin-bottom: 24px;
    font-weight: 700;
}

.about-hero p {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: #c0c9d5;
    max-width: 760px;
    margin: 0 auto 16px;
    line-height: 1.75;
}

/* ── Breadcrumb ─────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #9CA3AF;
    margin-bottom: 20px;
    justify-content: center;
}

.breadcrumb a {
    color: #9CA3AF;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    color: #60A5FA;
}

/* Intro Section */
.career-intro-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 5% 80px;
    position: relative;
    z-index: 10;
}

.career-intro-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.intro-left h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.intro-right {
    padding-top: 15px;
}

.intro-right p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 1.15rem;
    margin: 0 0 15px 0;
}

.intro-right p:last-child {
    margin: 0;
}

.career-intro-image {
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.career-intro-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 21/9;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.career-intro-image:hover img {
    transform: scale(1.03);
}

/* Open Positions */
.open-positions-section {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 5%;
    position: relative;
    z-index: 10;
}

.open-positions-section .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.open-positions-section .section-title h2 {
    font-size: 3rem;
    font-weight: 700;
}

/* Department Tabs */
.department-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.tab-btn {
    background: rgba(20, 30, 62, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 50px;
    padding: 10px 24px;
    color: #9CA3AF;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.tab-btn:hover {
    border-color: rgba(96, 165, 250, 0.4);
    color: #fff;
}

.tab-btn.active {
    background: rgba(59, 130, 246, 0.2);
    border-color: #60A5FA;
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Glass card styling for jobs */
.position-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.position-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

.role-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #fff;
}

.badge.position-type {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Arrow button */
.apply-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.apply-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.position-card:hover .apply-btn {
    background: #fff;
    color: #000;
}

.position-card:hover .apply-btn svg {
    transform: translate(2px, -2px);
}

.role-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    gap: 15px;
    margin-top: auto;
}

.role-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
}

.meta-item svg {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 992px) {
    .career-intro-text {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .intro-left h2 {
        font-size: 2.8rem;
    }
    
    .positions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .intro-left h2 {
        font-size: 2.5rem;
    }
    
    .open-positions-section .section-title h2 {
        font-size: 2.5rem;
    }
    
    .career-intro-image img {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 480px) {
    .position-card {
        padding: 25px;
    }

    .card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .card-footer .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
