/* CAREER HERO — matches contact/about hero pattern */

.career-hero {
    position: relative;
    padding: 90px 0 80px;
    background: url('../images/hospital-contact.jpg') center/cover no-repeat;
    overflow: hidden;
}

.career-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(1, 18, 54, 0.92), rgba(4, 33, 89, 0.78));
}

.career-hero .container {
    position: relative;
    z-index: 2;
}

.career-hero-content {
    max-width: 720px;
    color: #fff;
}

.career-tag {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.career-hero-content h1 {
    font-size: 46px;
    line-height: 1.12;
    margin-bottom: 24px;
    font-weight: 700;
}

.career-hero-content p {
    font-size: 17px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 38px;
}

.career-hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.career-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

/* WHY SECTION */

.career-why-section {
    padding: 90px 0 70px;
    background: #f8fafc;
}

.career-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.career-section-head span {
    display: inline-block;
    margin-bottom: 14px;
    color: #0d6efd;
    font-weight: 600;
}

.career-section-head h2 {
    font-size: 38px;
    color: #0b1b46;
    margin-bottom: 16px;
}

.career-section-head p {
    color: #667085;
    line-height: 1.8;
}

.career-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.career-why-card {
    background: #fff;
    border-radius: 24px;
    padding: 34px 28px;
    border: 1px solid rgba(13, 110, 253, 0.08);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
    transition: 0.35s ease;
}

.career-why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(13, 110, 253, 0.12);
}

.career-why-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd, #0056d2);
    color: #fff;
    font-size: 24px;
    margin-bottom: 22px;
}

.career-why-card h3 {
    font-size: 18px;
    color: #0b1b46;
    margin-bottom: 12px;
}

.career-why-card p {
    color: #5b6478;
    line-height: 1.75;
    font-size: 15px;
}

/* OPENINGS */

.career-openings-section {
    padding: 80px 0 40px;
}

.career-openings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.career-opening-card {
    background: #fff;
    border-radius: 24px;
    padding: 32px 28px;
    border: 1px solid rgba(13, 110, 253, 0.08);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.career-opening-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.career-opening-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd, #0056d2);
    color: #fff;
    font-size: 22px;
}

.career-opening-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eef4ff;
    color: #0d6efd;
    font-size: 12px;
    font-weight: 700;
}

.career-opening-card h3 {
    font-size: 20px;
    color: #0b1b46;
    margin-bottom: 12px;
}

.career-opening-card p {
    color: #5b6478;
    line-height: 1.75;
    font-size: 15px;
    flex: 1;
}

.career-opening-note {
    margin-top: 10px !important;
    color: #0d6efd !important;
    font-weight: 600;
    font-size: 14px !important;
}

.career-card-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    padding: 14px 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0d6efd, #0056d2);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.career-card-apply-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

/* APPLY SECTION */

.career-apply-section {
    padding-top: 20px;
}

.career-application-form select,
.career-application-form input[type="file"] {
    width: 100%;
    border: 1px solid #dbe2f0;
    border-radius: 16px;
    padding: 18px 20px;
    font-size: 15px;
    outline: none;
    transition: 0.3s ease;
    background: #fff;
}

.career-application-form select:focus,
.career-application-form input[type="file"]:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12);
}

.career-application-form .contact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.career-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 14px;
    margin-bottom: 28px;
    font-weight: 500;
}

.career-alert-success {
    background: #ecfdf3;
    color: #067647;
    border: 1px solid #abefc6;
}

.career-alert-error {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
}

.career-support-box .support-call-btn {
    margin-top: 8px;
}

/* GENERAL CTA */

.career-general-section {
    padding: 20px 0 90px;
}

.career-general-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 40px 44px;
    border-radius: 28px;
    background: linear-gradient(135deg, #071c4d, #0b2b70);
    color: #fff;
}

.career-general-tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 8px 16px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 13px;
    font-weight: 600;
}

.career-general-box h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.career-general-box p {
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.75;
    max-width: 620px;
}

.career-general-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 28px;
    border-radius: 14px;
    background: #fff;
    color: #0b2b70;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s ease;
    white-space: nowrap;
}

.career-general-btn:hover {
    transform: translateY(-2px);
    color: #0d6efd;
}

@media (max-width: 991px) {
    .career-hero-content h1 {
        font-size: 36px;
    }

    .career-section-head h2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .career-hero {
        padding: 70px 0 60px;
    }

    .career-hero-content h1 {
        font-size: 30px;
    }

    .career-general-box {
        padding: 28px 24px;
    }

    .career-general-box h2 {
        font-size: 24px;
    }
}
