/* Careers page styles */

body {
    background: linear-gradient(180deg, #f8fafc 0%, #f3f4f6 100%);
    color: #0f172a;
}

.careers-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1b3a7a 0%, #2563eb 100%);
    color: #fff;
    text-align: center;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 5vw, 4.6rem);
    line-height: 1.02;
    margin-bottom: 18px;
}

.hero-subtitle {
    margin: 0 auto;
    max-width: 680px;
    font-size: 1.05rem;
    opacity: .88;
}

.why-join-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.wj-card {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(15,23,42,.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.wj-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(15,23,42,.12);
}

.wj-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(59,130,246,.1);
    color: #1d4ed8;
    margin-bottom: 18px;
    font-size: 1.2rem;
}

.wj-card h4 {
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.wj-card p {
    margin: 0;
    color: #475569;
    line-height: 1.8;
}

.jobs-section {
    display: grid;
    gap: 24px;
}

.job-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: 24px;
    padding: 26px 28px;
    box-shadow: 0 20px 50px rgba(15,23,42,.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(15,23,42,.12);
}

.job-left {
    max-width: 68%;
}

.job-title {
    margin: 0 0 6px;
    font-size: 1.18rem;
    color: #0f172a;
}

.job-department {
    margin: 0 0 14px;
    color: #475569;
    font-size: 0.95rem;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.job-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(59,130,246,.1);
    color: #1d4ed8;
    font-size: 0.85rem;
    font-weight: 700;
}

.job-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.job-salary {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    background: #1b3a7a;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: transform .25s ease, box-shadow .25s ease;
}

.btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(27,58,122,.18);
}

.apply-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1b3a7a 0%, #2563eb 100%);
}

.apply-section h2,
.apply-section p {
    color: #fff;
}

.cv-form {
    display: grid;
    gap: 18px;
}

.cv-form input,
.cv-form label,
.cv-form button {
    width: 100%;
    border-radius: 12px;
}

.cv-form input {
    border: none;
    padding: 16px 18px;
    font-size: 0.98rem;
    outline: none;
}

.file-upload {
    min-height: 72px;
    border: 2px dashed rgba(255,255,255,.5);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #f8fafc;
    background: rgba(255,255,255,.08);
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
}

.file-upload span {
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f8fafc;
    font-weight: 600;
}

.btn-accent {
    background: #f59e0b;
}

@media (max-width: 980px) {
    .why-join-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .job-card {
        flex-direction: column;
        align-items: stretch;
    }
    .job-right {
        align-items: flex-start;
    }
}

@media (max-width: 680px) {
    .why-join-grid,
    .jobs-section {
        grid-template-columns: 1fr;
    }
    .job-card {
        padding: 22px;
    }
    .job-left {
        max-width: 100%;
    }
}
