/* =========================================================
   NELG JOBS
   North East Learning Group
   Shared Jobs Website Styling
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #101b31;
    --navy-dark: #091222;
    --navy-light: #182640;

    --gold: #c7a95b;
    --gold-light: #dbc47e;
    --gold-dark: #a98b3d;

    --silver: #aeb7c5;
    --silver-light: #e9edf2;

    --white: #ffffff;
    --off-white: #f7f8fa;

    --text: #263247;
    --muted: #697386;
    --border: #e2e6ec;

    --container: 1240px;

    --shadow-small: 0 10px 30px rgba(16, 27, 49, 0.06);
    --shadow-medium: 0 20px 50px rgba(16, 27, 49, 0.10);
    --shadow-large: 0 30px 80px rgba(16, 27, 49, 0.15);

    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    height: 78px;

    background: rgba(16, 27, 49, 0.97);

    border-bottom: 1px solid rgba(199, 169, 91, 0.22);

    position: sticky;
    top: 0;

    z-index: 1000;

    backdrop-filter: blur(14px);
}

.header-inner {
    max-width: var(--container);
    height: 100%;

    margin: auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;

    gap: 12px;

    text-decoration: none;

    color: var(--white);
}


.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.15;
}

.brand-text strong {
    font-size: 15px;
    color: var(--white);
}

.brand-text span {
    color: var(--gold-light);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;

    margin-top: 4px;
}

.desktop-nav {
    display: flex;

    align-items: center;

    gap: 30px;
}

.desktop-nav a {
    text-decoration: none;

    color: #d8dee8;

    font-size: 14px;

    font-weight: 600;

    transition: var(--transition);
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--gold-light);
}

/* =========================================================
   MOBILE MENU
========================================================= */

.menu-button {
    display: none;

    border: 1px solid rgba(199, 169, 91, 0.3);

    background: rgba(255, 255, 255, 0.04);

    color: var(--white);

    width: 43px;
    height: 43px;

    border-radius: 10px;

    font-size: 22px;

    cursor: pointer;
}

.mobile-menu {
    display: none;

    position: fixed;

    top: 78px;
    left: 0;
    right: 0;

    background: var(--navy-dark);

    border-bottom: 1px solid rgba(199, 169, 91, 0.2);

    padding: 12px 24px 18px;

    z-index: 999;

    box-shadow: var(--shadow-medium);
}

.mobile-menu.open {
    display: flex;

    flex-direction: column;
}

.mobile-menu a {
    padding: 14px 0;

    text-decoration: none;

    color: #e3e7ee;

    font-weight: 600;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--gold-light);
}

/* =========================================================
   HERO
========================================================= */

.jobs-hero {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(199, 169, 91, 0.17),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(174, 183, 197, 0.12),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--navy-dark),
            var(--navy)
        );

    padding: 110px 24px 120px;

    color: var(--white);
}

.jobs-hero::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -180px;
    bottom: -250px;

    border-radius: 50%;

    border: 1px solid rgba(199, 169, 91, 0.12);
}

.hero-content {
    max-width: var(--container);

    margin: auto;

    position: relative;

    z-index: 2;
}

.hero-badge,
.eyebrow {
    color: var(--gold-light);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.hero-badge {
    display: inline-flex;

    background: rgba(199, 169, 91, 0.10);

    border: 1px solid rgba(199, 169, 91, 0.35);

    padding: 8px 13px;

    border-radius: 100px;

    margin-bottom: 23px;
}

.hero-content h1 {
    max-width: 800px;

    font-size: clamp(45px, 6vw, 76px);

    line-height: 1.02;

    letter-spacing: -3px;

    color: var(--white);

    margin-bottom: 25px;
}

.hero-content h1 span {
    color: var(--gold-light);
}

.hero-content > p {
    max-width: 650px;

    font-size: 18px;

    color: #c2cbd8;

    margin-bottom: 35px;
}

.hero-actions {
    display: flex;

    gap: 13px;

    flex-wrap: wrap;
}

.primary-button,
.secondary-button {
    padding: 14px 21px;

    border-radius: 11px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 800;

    transition: var(--transition);
}

.primary-button {
    background: var(--gold);

    color: var(--navy);

    border: 1px solid var(--gold);

    box-shadow:
        0 10px 30px rgba(199, 169, 91, 0.18);
}

.primary-button:hover {
    background: var(--gold-light);

    border-color: var(--gold-light);

    transform: translateY(-2px);
}

.primary-button span {
    margin-left: 8px;
}

.secondary-button {
    background: rgba(255, 255, 255, 0.04);

    color: var(--white);

    border: 1px solid rgba(255, 255, 255, 0.18);
}

.secondary-button:hover {
    border-color: var(--gold);

    color: var(--gold-light);

    background: rgba(199, 169, 91, 0.06);
}

/* =========================================================
   VACANCIES
========================================================= */

.vacancies-section {
    max-width: var(--container);

    margin: auto;

    padding: 100px 24px;
}

.section-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 45px;
}

.section-heading h2 {
    font-size: 38px;

    letter-spacing: -1.5px;

    color: var(--navy);

    margin: 8px 0;
}

.section-heading p {
    color: var(--muted);
}

.vacancy-count {
    min-width: 125px;

    padding: 17px 20px;

    background: var(--off-white);

    border: 1px solid var(--border);

    border-radius: 14px;

    text-align: center;

    box-shadow: var(--shadow-small);
}

.vacancy-count strong {
    display: block;

    color: var(--gold-dark);

    font-size: 27px;
}

.vacancy-count span {
    font-size: 11px;

    color: var(--muted);

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}

/* =========================================================
   JOB CARDS
========================================================= */

.jobs-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}

.job-card {
    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 18px;

    padding: 29px;

    transition: var(--transition);

    box-shadow: var(--shadow-small);
}

.job-card:hover {
    transform: translateY(-5px);

    border-color: rgba(199, 169, 91, 0.55);

    box-shadow: var(--shadow-medium);
}

.job-top {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 20px;

    margin-bottom: 20px;
}

.job-icon {
    width: 53px;
    height: 53px;

    border-radius: 14px;

    background: rgba(199, 169, 91, 0.11);

    border: 1px solid rgba(199, 169, 91, 0.2);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 23px;
}

.job-type {
    padding: 6px 10px;

    background: var(--silver-light);

    border-radius: 100px;

    font-size: 10px;

    font-weight: 800;

    color: var(--muted);

    text-transform: uppercase;

    letter-spacing: 0.4px;
}

.job-card h3 {
    color: var(--navy);

    font-size: 21px;

    margin-bottom: 8px;
}

.job-description {
    color: var(--muted);

    font-size: 14px;

    margin-bottom: 22px;
}

.job-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 25px;
}

.job-meta span {
    background: var(--off-white);

    border: 1px solid var(--border);

    border-radius: 8px;

    padding: 7px 10px;

    font-size: 12px;

    color: var(--text);
}

.job-button {
    display: block;

    width: 100%;

    padding: 12px;

    text-align: center;

    background: var(--navy);

    color: var(--white);

    border: 1px solid var(--navy);

    border-radius: 10px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 800;

    transition: var(--transition);
}

.job-button:hover {
    background: var(--gold);

    border-color: var(--gold);

    color: var(--navy);
}

/* =========================================================
   NO JOBS
========================================================= */

.no-jobs {
    display: none;

    text-align: center;

    padding: 70px 20px;

    background: var(--off-white);

    border: 1px solid var(--border);

    border-radius: 20px;
}

.no-jobs-icon {
    width: 60px;
    height: 60px;

    margin: 0 auto 18px;

    background: rgba(199, 169, 91, 0.12);

    color: var(--gold-dark);

    border: 1px solid rgba(199, 169, 91, 0.2);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 25px;
}

.no-jobs h3 {
    color: var(--navy);

    margin-bottom: 7px;
}

.no-jobs p {
    color: var(--muted);
}

/* =========================================================
   WORKING AT NELG
========================================================= */

.working-section {
    background:
        linear-gradient(
            135deg,
            var(--navy-dark),
            var(--navy)
        );

    padding: 100px 24px;

    color: var(--white);
}

.working-content {
    max-width: 1000px;

    margin: auto;
}

.working-content h2 {
    font-size: 42px;

    letter-spacing: -1.5px;

    color: var(--white);

    margin: 8px 0 12px;
}

.working-content > p {
    max-width: 650px;

    color: #c2cbd8;
}

.benefits {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-top: 45px;
}

.benefit {
    background: rgba(255, 255, 255, 0.045);

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 16px;

    padding: 22px;

    transition: var(--transition);
}

.benefit:hover {
    transform: translateY(-4px);

    border-color: rgba(199, 169, 91, 0.4);

    background: rgba(199, 169, 91, 0.06);
}

.benefit-icon {
    font-size: 25px;

    margin-bottom: 15px;
}

.benefit h3 {
    color: var(--white);

    font-size: 16px;

    margin-bottom: 5px;
}

.benefit p {
    color: #b6c0ce;

    font-size: 13px;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #070e1c;

    color: var(--white);

    padding: 48px 24px 25px;

    border-top: 1px solid rgba(199, 169, 91, 0.15);
}

.footer-inner {
    max-width: var(--container);

    margin: auto;

    display: flex;

    justify-content: space-between;

    gap: 30px;
}

.footer-inner strong {
    font-size: 15px;
}

.footer-inner p {
    color: #8f9bad;

    font-size: 13px;

    margin-top: 5px;
}

.footer-links {
    display: flex;

    flex-wrap: wrap;

    gap: 20px;
}

.footer-links a {
    color: #b8c0cc;

    text-decoration: none;

    font-size: 13px;

    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    max-width: var(--container);

    margin: 35px auto 0;

    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.10);

    color: #7f8999;

    font-size: 12px;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .site-header {
        height: 74px;
    }

    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: flex;

        align-items: center;
        justify-content: center;
    }

    .mobile-menu {
        top: 74px;
    }

    .jobs-hero {
        padding: 75px 20px 85px;
    }

    .hero-content h1 {
        letter-spacing: -2px;
    }

    .hero-content > p {
        font-size: 16px;
    }

    .section-heading {
        align-items: flex-start;

        flex-direction: column;
    }

    .section-heading h2 {
        font-size: 31px;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .benefits {
        grid-template-columns: 1fr;
    }

    .working-content h2 {
        font-size: 34px;
    }

    .footer-inner {
        flex-direction: column;
    }
}

@media (max-width: 500px) {

    .brand-text strong {
        font-size: 13px;
    }

    .brand-text span {
        font-size: 9px;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .hero-content h1 {
        font-size: 43px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;

        text-align: center;
    }

    .vacancies-section {
        padding: 75px 20px;
    }

    .job-card {
        padding: 23px;
    }
}