
:root {
    --primary: #1457d9;
    --primary-dark: #0b3eaa;
    --navy: #10213e;
    --text: #26364d;
    --muted: #718096;
    --light: #f5f8ff;
    --border: #e7edf5;
    --white: #ffffff;
    --green: #0caa72;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button, input, select {
    font: inherit;
}

.container {
    width: min(1160px, 92%);
    margin: auto;
}

.section-padding {
    padding: 85px 0;
}

/* HEADER */

.header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
}

.logo b {
    color: var(--primary);
}

.logo-icon {
    height: 42px;
    width: 42px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--primary);
    border-radius: 11px;
    font-size: 15px;
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 23px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 600;
    color: #536178;
    transition: .2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-button {
    background: var(--primary);
    color: white;
    padding: 11px 18px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 27px;
    cursor: pointer;
    color: var(--navy);
}

/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #092c70, #1457d9 70%, #2879ef);
    color: white;
    padding: 100px 0 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 13px;
    margin-bottom: 23px;
}

.live-dot {
    height: 8px;
    width: 8px;
    background: #42e6a2;
    border-radius: 50%;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(38px, 5.5vw, 65px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1.8px;
}

.hero h1 span {
    color: #a9d0ff;
}

.hero-content > p {
    max-width: 660px;
    margin: 22px auto 32px;
    color: #dce9ff;
    font-size: 16px;
}

.hero-decoration {
    position: absolute;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
}

.decoration-one {
    width: 450px;
    height: 450px;
    top: -240px;
    left: -120px;
}

.decoration-two {
    width: 550px;
    height: 550px;
    bottom: -390px;
    right: -100px;
}

.search-box {
    max-width: 870px;
    margin: auto;
    padding: 9px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 15px 45px rgba(0,0,0,.17);
}

.search-icon {
    color: var(--primary);
    font-size: 28px;
    padding-left: 12px;
}

.search-box input {
    flex: 1;
    min-width: 100px;
    border: none;
    outline: none;
    padding: 12px 5px;
    color: var(--navy);
    font-size: 14px;
}

.search-box select {
    border: none;
    border-left: 1px solid var(--border);
    padding: 12px;
    outline: none;
    color: #536178;
    background: white;
    font-size: 13px;
    max-width: 170px;
}

.search-box button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.search-box button:hover {
    background: var(--primary-dark);
}

.popular-searches {
    margin-top: 19px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #dce9ff;
}

.popular-searches a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 75px;
    margin-top: 55px;
}

.hero-stats h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 23px;
}

.hero-stats span {
    font-size: 12px;
    color: #c9ddff;
}

/* SECTION HEADINGS */

.section-heading {
    margin-bottom: 35px;
}

.eyebrow {
    color: var(--primary);
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 800;
}

.section-heading h2,
.update-heading h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 31px;
    color: var(--navy);
    margin-top: 5px;
    letter-spacing: -.5px;
}

.section-heading p {
    color: var(--muted);
    font-size: 14px;
    margin-top: 5px;
}

.heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.view-all {
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

/* CATEGORIES */

.categories {
    background: #fff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.category-card {
    border: 1px solid var(--border);
    padding: 23px;
    border-radius: 12px;
    transition: .25s;
    background: white;
}

.category-card:hover {
    border-color: #a8c5ff;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(30,70,130,.08);
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 23px;
    margin-bottom: 15px;
}

.orange { background: #fff0e3; }
.blue { background: #e7efff; }
.green { background: #e4f8ed; }
.purple { background: #f1eaff; }
.yellow { background: #fff7d9; }
.pink { background: #ffebf0; }

.category-card h3 {
    font-size: 16px;
    color: var(--navy);
    margin-bottom: 3px;
}

.category-card span {
    color: var(--muted);
    font-size: 12px;
}

/* JOBS */

.jobs-section {
    background: var(--light);
}

.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.filter-btn {
    background: white;
    border: 1px solid var(--border);
    color: #5e6c80;
    padding: 9px 17px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.filter-btn.active,
.filter-btn:hover {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.job-card {
    background: white;
    padding: 23px;
    border: 1px solid var(--border);
    border-radius: 11px;
    transition: .25s;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(20,60,120,.08);
}

.job-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.company-logo {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13px;
}

.logo-blue { background: #e8f0ff; color: #1457d9; }
.logo-green { background: #e4f8ed; color: #078452; }
.logo-red { background: #ffeaea; color: #d43a3a; }
.logo-orange { background: #fff0df; color: #ce7500; }
.logo-purple { background: #f0eaff; color: #8042ca; }
.logo-dark { background: #e9edf4; color: #283b5a; }

.job-type {
    background: #e9f1ff;
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 800;
}

.government-tag {
    color: #078452;
    background: #e4f8ed;
}

.remote-tag {
    color: #8042ca;
    background: #f0eaff;
}

.job-card h3 {
    font-size: 16px;
    line-height: 1.4;
    color: var(--navy);
    margin-bottom: 5px;
    min-height: 45px;
}

.company-name {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 17px;
}

.job-details {
    display: flex;
    flex-direction: column;
    gap: 9px;
    color: #65748a;
    font-size: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
}

.job-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 15px;
}

.salary {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.apply-btn {
    background: var(--primary);
    color: white;
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.apply-btn:hover {
    background: var(--primary-dark);
}

.no-results {
    display: none;
    text-align: center;
    color: var(--muted);
    padding: 40px;
    background: white;
    border-radius: 10px;
}

/* GOVERNMENT JOBS */

.government-section {
    background: white;
}

.simple-list {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.simple-job {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 19px 22px;
    border-bottom: 1px solid var(--border);
}

.simple-job:last-child {
    border-bottom: none;
}

.simple-job-icon {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #f0f4ff;
    font-size: 21px;
}

.simple-job-info {
    flex: 1;
}

.simple-job-info h3 {
    color: var(--navy);
    font-size: 15px;
}

.simple-job-info p {
    font-size: 12px;
    color: var(--muted);
}

.status-badge {
    background: #e8f8ef;
    color: #078452;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 5px;
}

.arrow-btn {
    color: var(--primary);
    font-size: 22px;
    font-weight: 700;
}

/* PRIVATE JOBS */

.private-section {
    background: var(--light);
}

.private-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.private-card {
    background: white;
    padding: 27px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.private-icon {
    font-size: 29px;
    margin-bottom: 16px;
}

.private-card h3 {
    color: var(--navy);
    font-size: 18px;
    margin-bottom: 8px;
}

.private-card p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 19px;
}

.private-card a {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
}

/* RESULTS AND ADMIT CARDS */

.updates-section {
    background: white;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.update-panel {
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: 12px;
}

.update-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.update-heading h2 {
    font-size: 25px;
}

.update-emoji {
    font-size: 32px;
}

.update-item {
    padding: 14px 0;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    font-weight: 600;
}

.update-item a {
    color: var(--primary);
    font-size: 12px;
}

/* CTA */

.cta-section {
    background: linear-gradient(110deg, #0b347f, #1457d9);
    color: white;
    padding: 55px 0;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.cta-section .eyebrow {
    color: #a9d0ff;
}

.cta-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 29px;
    margin: 7px 0;
}

.cta-section p {
    color: #d7e6ff;
    font-size: 13px;
}

.cta-button {
    background: white;
    color: var(--primary);
    padding: 14px 21px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

/* FOOTER */

.footer {
    background: #101e36;
    color: white;
    padding-top: 65px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 35px;
    padding-bottom: 55px;
}

.footer-logo {
    color: white;
    margin-bottom: 20px;
}

.footer-about p,
.footer-column p {
    color: #aab7cb;
    font-size: 12px;
    line-height: 1.9;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-column h3 {
    font-size: 15px;
    margin-bottom: 5px;
}

.footer-column a {
    color: #aab7cb;
    font-size: 12px;
    transition: .2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 19px 0;
    color: #aab7cb;
    font-size: 12px;
    text-align: center;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
    .nav-links {
        gap: 13px;
    }

    .nav-links a {
        font-size: 11px;
    }

    .nav-button {
        display: none;
    }
}

@media (max-width: 850px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px 5%;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 20px rgba(0,0,0,.06);
    }

    .nav-links.show {
        display: flex;
    }

    .category-grid,
    .job-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .private-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero {
        padding: 75px 0 55px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero-content > p {
        font-size: 13px;
    }

    .search-box {
        flex-wrap: wrap;
        padding: 12px;
    }

    .search-icon {
        display: none;
    }

    .search-box input {
        flex-basis: 100%;
        border-bottom: 1px solid var(--border);
    }

    .search-box select {
        flex: 1;
        max-width: none;
        border: none;
    }

    .search-box button {
        flex: 1;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-stats h3 {
        font-size: 18px;
    }

    .hero-stats span {
        font-size: 10px;
    }

    .category-grid,
    .job-grid,
    .private-grid,
    .updates-grid {
        grid-template-columns: 1fr;
    }

    .heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-heading h2 {
        font-size: 26px;
    }

    .simple-job {
        gap: 10px;
        padding: 15px 10px;
    }

    .simple-job-info h3 {
        font-size: 12px;
    }

    .simple-job-info p {
        font-size: 10px;
    }

    .status-badge {
        display: none;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-section h2 {
        font-size: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .logo {
        font-size: 18px;
    }
}

@media (max-width: 380px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 33px;
    }
}
