/* ============================================
   CAREERS PAGE — PREMIUM DARK-HERO + CARD LAYOUT
   ============================================ */

/* ── HERO ── */
.careers-hero {
    padding: 140px 0 50px !important;
    margin-top: 0 !important;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(36, 114, 191, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(111, 179, 255, 0.08) 0%, transparent 50%),
        linear-gradient(160deg, #081220 0%, #0B1F36 30%, #10345D 60%, #2472BF 100%) !important;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: auto !important;
}

.careers-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.4;
    z-index: 0;
}

/* ── Hero two-column grid ── */
.careers-hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.careers-hero-content {
    flex: 1;
    max-width: 640px;
}

.careers-hero-graphic {
    flex: 0 0 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}

/* ── Breadcrumb (inside hero) ── */
.careers-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.careers-hero .breadcrumb-item a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.careers-hero .breadcrumb-item a:hover {
    color: #ffffff;
}

.careers-hero .breadcrumb-item.active {
    color: rgba(255,255,255,0.9);
}

.careers-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

/* ── Pill badge ── */
.careers-hero .hero-pill {
    display: inline-block;
    background: rgba(111, 179, 255, 0.12);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #6FB3FF;
    border: 1px solid rgba(111, 179, 255, 0.2);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

/* ── Gradient title ── */
.careers-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.careers-hero h1 .text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #6FB3FF 60%, #a8d8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Subtitle ── */
.careers-hero .hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* ── CTA buttons ── */
.careers-hero .hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.careers-hero .btn-hero-primary {
    background: linear-gradient(135deg, #2472BF 0%, #1a5a9e 100%);
    color: #fff;
    padding: 0.85rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(36, 114, 191, 0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.careers-hero .btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 35px rgba(36, 114, 191, 0.5);
    color: #fff;
}

.careers-hero .btn-hero-outline {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.85rem 2.2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.careers-hero .btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ── Metrics row ── */
.careers-hero .hero-metrics {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.careers-hero .hero-metric {
    display: flex;
    flex-direction: column;
}

.careers-hero .hero-metric-number {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #6FB3FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.careers-hero .hero-metric-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
    font-weight: 500;
}

/* ── Floating graphic ── */
.careers-hero .graphic-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.careers-hero .graphic-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(111, 179, 255, 0.12);
    border: 2px solid rgba(111, 179, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #6FB3FF;
    position: relative;
    z-index: 2;
    animation: careersFloat 6s ease-in-out infinite;
}

@keyframes careersFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.careers-hero .pulse-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(111, 179, 255, 0.15);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: careersPulse 4s ease-in-out infinite;
}

.careers-hero .pulse-ring-1 { width: 130px; height: 130px; animation-delay: 0s; }
.careers-hero .pulse-ring-2 { width: 170px; height: 170px; animation-delay: 1s; }
.careers-hero .pulse-ring-3 { width: 210px; height: 210px; animation-delay: 2s; }

@keyframes careersPulse {
    0% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.1; transform: translate(-50%, -50%) scale(1.15); }
    100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
}

/* ── CONTENT SECTIONS ── */
.careers-section {
    padding: 80px 0;
}

.careers-section-alt {
    padding: 80px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

/* ── Section headers ── */
.careers-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.careers-section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.careers-section-header h2 .text-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.careers-section-header p {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Perk cards (Why Join Us) ── */
.perk-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
    height: 100%;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.perk-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08);
}

.perk-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: #eff6ff;
    color: #1e40af;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.2s ease;
}

.perk-card:hover .icon {
    background: #2563eb;
    color: #fff;
    transform: scale(1.05);
}

.perk-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.perk-card p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* ── Job cards ── */
.job-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.job-card:hover {
    transform: translateY(-2px);
    border-color: #3b82f6;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.08);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    flex: 1;
}

.job-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
    color: #0f172a;
}

.job-badge {
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.job-badge.open {
    background: #d1fae5;
    color: #065f46;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.job-meta span {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.job-meta span i {
    font-size: 0.7rem;
}

.job-description {
    font-size: 0.9rem;
    color: #64748b;
    flex-grow: 1;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.job-footer .btn {
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.job-footer .btn i {
    transition: transform 0.3s ease;
}

.job-footer .btn:hover i {
    transform: translateX(4px);
}

/* ── Empty state ── */
.careers-empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.careers-empty-state .icon-empty {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #f1f5f9;
    color: #94a3b8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.careers-empty-state h4 {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.careers-empty-state p {
    color: #64748b;
    margin: 0;
}

/* ── Benefits section ── */
.careers-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08);
}

.benefit-card .icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    background: #eff6ff;
    color: #1e40af;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.benefit-card:hover .icon {
    background: #2563eb;
    color: #fff;
}

.benefit-card h6 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: #0f172a;
}

.benefit-card p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .careers-hero {
        padding: 100px 0 40px !important;
    }

    .careers-hero-grid {
        flex-direction: column;
        text-align: center;
    }

    .careers-hero-content {
        max-width: 100%;
    }

    .careers-hero .hero-subtitle {
        max-width: 100%;
    }

    .careers-hero .hero-cta-group {
        justify-content: center;
    }

    .careers-hero .hero-metrics {
        justify-content: center;
    }

    .careers-hero-graphic {
        flex: 0 0 auto;
        min-height: 160px;
    }

    .careers-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .careers-hero h1 {
        font-size: 2rem;
    }

    .careers-section,
    .careers-section-alt {
        padding: 48px 0;
    }

    .careers-hero-graphic {
        display: none;
    }

    .careers-hero .hero-metrics {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .careers-hero .hero-metric-number {
        font-size: 1.4rem;
    }

    .job-card {
        padding: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .job-title {
        font-size: 1rem;
    }

    .job-meta {
        gap: 0.5rem;
    }

    .job-meta span {
        font-size: 0.7rem;
    }

    .perk-card {
        padding: 1.5rem;
    }

    .benefit-card {
        padding: 1rem;
    }

    .careers-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .careers-hero .hero-metrics {
        gap: 1rem;
    }

    .careers-hero .hero-metric-number {
        font-size: 1.2rem;
    }

    .careers-hero .hero-metric-label {
        font-size: 0.6rem;
    }

    .careers-hero .btn-hero-primary,
    .careers-hero .btn-hero-outline {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .job-card-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .job-badge {
        align-self: flex-start;
    }

    .perk-card .icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .benefit-card .icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .careers-benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}
