/* public/assets/css/jobs.css */

:root {
    --navy: #001b45;
    --dark: #071a3d;
    --gold: #d99500;
    --light: #f7fbff;
    --text: #081735;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", "Segoe UI", sans-serif;
    color: var(--text);
    background: #fff;
}

a {
    text-decoration: none;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, #061b42, #00142f);
    color: #fff;
    font-size: 14px;
    padding: 9px 0;
}

.top-left {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.top-left i,
.top-social i {
    margin-right: 7px;
}

.top-social {
    display: flex;
    gap: 22px;
}

/* Header */
.main-header {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 99;
}

.logo {
    width: 185px;
}

.navbar {
    padding: 18px 0;
}

.navbar-nav {
    gap: 24px;
}

.nav-link {
    color: #081735;
    font-weight: 700;
    font-size: 15px;
    position: relative;
}

.nav-link.active,
.nav-link:hover {
    color: var(--gold);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -27px;
    width: 100%;
    height: 2px;
    background: var(--gold);
}

.btn-gold {
    background: linear-gradient(135deg, #edae16, #d89500);
    color: #fff;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(217, 149, 0, 0.25);
}

/* Hero */
.jobs-hero {
    padding: 60px 0 30px;
    background: linear-gradient(120deg, #fff, #f7fbff);
}

.section-label {
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    margin-bottom: 18px;
}

.section-label::after {
    content: "";
    width: 38px;
    height: 2px;
    background: var(--gold);
    position: absolute;
    top: 50%;
    left: 100%;
    margin-left: 15px;
}

.jobs-hero h1 {
    font-size: 44px;
    line-height: 1.22;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 18px;
}

.jobs-hero p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 620px;
}

.hero-img-box {
    border-radius: 0 0 0 55px;
    overflow: hidden;
}

.hero-img-box img {
    width: 100%;
    height: 285px;
    object-fit: cover;
}

/* Stats */
.stats-card {
    margin-top: 35px;
    background: #fff;
    padding: 30px 35px;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 28, 69, 0.08);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 24px;
    border-right: 1px solid #d7deea;
    padding: 0 28px;
}

.stat-icon {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 30px;
}

.stat-item h3 {
    font-size: 34px;
    font-weight: 900;
    margin: 0;
}

.stat-item h5 {
    font-weight: 800;
    margin: 0 0 6px;
}

.stat-item h6 {
    font-size: 17px;
    margin: 0 0 8px;
}

.stat-item p {
    margin: 0;
    font-size: 14px;
}

/* Featured Jobs */
.featured-jobs {
    padding: 35px 0 45px;
}

.title-line {
    font-size: 26px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 25px;
    position: relative;
}

.title-line::after {
    content: "";
    display: block;
    width: 38px;
    height: 2px;
    background: var(--gold);
    margin-top: 8px;
}

.job-card {
    background: #fff;
    border: 1px solid #e3e8f0;
    border-radius: 12px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 12px;
    box-shadow: 0 8px 25px rgba(0, 28, 69, 0.04);
}

.job-icon {
    width: 76px;
    height: 76px;
    min-width: 76px;
    border-radius: 50%;
    background: #f0f3f7;
    color: var(--navy);
    display: grid;
    place-items: center;
    font-size: 28px;
}

.job-info {
    flex: 1;
}

.job-info h4 {
    font-size: 21px;
    font-weight: 900;
    margin-bottom: 4px;
}

.job-info h6 {
    font-size: 15px;
    color: #0d1c3f;
    margin-bottom: 13px;
}

.job-info p {
    margin: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #34405a;
    font-size: 13px;
}

.job-info p span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.apply-btn {
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 5px;
}

.apply-btn:hover,
.btn-dark-blue:hover {
    background: #000f2d;
    color: #fff;
}

.view-btn {
    border: 1px solid var(--navy);
    color: var(--navy);
    font-weight: 800;
    padding: 12px 40px;
    border-radius: 5px;
}

/* Resume Box */
.resume-box {
    background: linear-gradient(145deg, #001b45, #00102c);
    color: #fff;
    border-radius: 16px;
    padding: 42px 34px;
    text-align: center;
    min-height: 640px;
}

.resume-main-icon {
    color: var(--gold);
    font-size: 62px;
    margin-bottom: 28px;
}

.resume-box h3 {
    font-size: 27px;
    font-weight: 900;
}

.small-line {
    width: 42px;
    height: 2px;
    background: var(--gold);
    margin: 18px auto;
}

.resume-box p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.upload-box {
    border: 1px dashed #fff;
    border-radius: 12px;
    padding: 28px 22px;
    margin-bottom: 20px;
}

.upload-box i {
    font-size: 42px;
}

.upload-box h6 {
    margin: 12px 0 8px;
}

.upload-box span {
    display: block;
    margin-bottom: 16px;
}

.upload-box button,
.footer button {
    background: linear-gradient(135deg, #edae16, #d89500);
    color: #fff;
    border: 0;
    font-weight: 800;
    padding: 13px 35px;
    border-radius: 6px;
}

/* Help */
.help-section {
    padding: 15px 0 35px;
}

.help-box {
    background: linear-gradient(90deg, #fff, #fff8ec);
    border: 1px solid #e1e5ee;
    border-radius: 14px;
    padding: 28px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.help-icon {
    width: 78px;
    height: 78px;
    min-width: 78px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 34px;
}

.help-box h4 {
    font-weight: 900;
}

.help-box p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.btn-dark-blue {
    background: var(--navy);
    color: #fff;
    font-weight: 800;
    padding: 15px 32px;
    border-radius: 6px;
}

/* Footer Strip */
.footer-strip {
    padding: 25px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.footer-strip .col-6 {
    font-size: 18px;
    font-weight: 700;
    border-right: 1px solid #ccd4e0;
    padding: 10px;
}

.footer-strip i {
    margin-right: 8px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #001b45, #00102d);
    color: #fff;
    padding: 35px 0 0;
}

.footer-logo {
    width: 170px;
    margin-bottom: 15px;
}

.footer p,
.footer li {
    font-size: 14px;
    line-height: 1.8;
    color: #eef4ff;
}

.footer h5 {
    font-weight: 900;
    margin-bottom: 16px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social i {
    width: 32px;
    height: 32px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.footer input {
    width: 100%;
    padding: 13px;
    border-radius: 5px;
    border: 0;
    margin-bottom: 12px;
}

.footer button {
    padding: 12px 28px;
}

.footer-bottom {
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .nav-link.active::after {
        display: none;
    }

    .navbar-nav {
        gap: 5px;
        margin-top: 20px;
    }

    .btn-gold {
        margin-top: 15px;
        display: inline-block;
    }

    .jobs-hero h1 {
        font-size: 34px;
    }

    .stats-card {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .stat-item {
        border-right: 0;
        border-bottom: 1px solid #d7deea;
        padding: 0 0 22px;
    }

    .resume-box {
        min-height: auto;
    }

    .help-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }

    .top-left {
        justify-content: center;
        gap: 12px;
        font-size: 12px;
    }

    .logo {
        width: 150px;
    }

    .jobs-hero {
        padding: 40px 0 25px;
    }

    .jobs-hero h1 {
        font-size: 29px;
    }

    .jobs-hero p {
        font-size: 15px;
    }

    .hero-img-box img {
        height: 230px;
    }

    .stats-card {
        padding: 25px 18px;
    }

    .job-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .apply-btn {
        width: 100%;
        text-align: center;
    }

    .help-box {
        padding: 24px 20px;
    }

    .btn-dark-blue {
        width: 100%;
        text-align: center;
    }

    .footer-strip .col-6 {
        font-size: 14px;
        border-right: 0;
    }
}