/* font-family: "PT Sans Caption", sans-serif; */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --blue: #1a8fd1;
    --blue-dark: #0e6fa3;
    --blue-light: #e8f5fd;
    --navy: #1a2332;
    --white: #ffffff;
    --bg: #f8faff;
    --card: #ffffff;
    --border: #e4eaf2;
    --text: #1a2332;
    --muted: #637082;
    --light: #9aaab8;
    --green: #10b981;
    --amber: #f59e0b;
    --red: #ef4444;
}

body {
    font-family: "Outfit", sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    font-size: 15px;
}

/* NAV */
nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 12px rgba(26, 143, 209, 0.07);
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-diamond {
    width: 40px;
    height: 40px;
    background: var(--blue);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}

.logo-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.logo-name span {
    color: var(--blue);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
    transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #1E6FFF;
}

.nav-cta {
    background: var(--blue);
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--blue-dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 5%;
    z-index: 199;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    gap: 0;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}

.mobile-menu a.active {
    color: var(--blue);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* HERO */
.hero {
    background: var(--navy);
    padding: 4rem 5% 3.5rem;
    position: relative;
    overflow: hidden;
}

.hero-orb1 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(26, 143, 209, 0.1);
    top: -150px;
    right: -100px;
}

.hero-orb2 {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(26, 143, 209, 0.06);
    bottom: -80px;
    left: -40px;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 36px 36px;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-left {
    flex: 1;
    min-width: 280px;
}

.hiring-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 143, 209, 0.18);
    border: 1px solid rgba(26, 143, 209, 0.3);
    color: #FFF184;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 1.2rem;
    letter-spacing: 0.04em;
}

.hiring-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FFF184;
    animation: blink 1.8s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.4
    }
}

.hero h1 {
    font-size: 45px;
    font-weight: bold;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    font-family: "PT Sans Caption", sans-serif;
}

.hero h1 em {
    font-style: normal;
    color: #5BC0FF;
}

.hero p {
    font-size: 15px;
    color: #CADEF0;
    line-height: 1.8;
    margin-bottom: 1.8rem;
    max-width: 500px;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat .num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.stat .lbl {
    font-size: 12px;
    color: #6899b8;
    margin-top: 1px;
}

.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 230px;
    max-width: 280px;
}

.mini-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid #1E6FFF;
    border-radius: 14px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    backdrop-filter: blur(4px);
}

.mc-icon {
    width: 38px;
    height: 38px;
    background: rgba(26, 143, 209, 0.22);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.mc-t {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    font-family: "PT Sans Caption", sans-serif;
}

.mc-s {
    font-size: 16px;
    color: #7DB5FF;
}

/* FILTERS */
.filters-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 5%;
    position: sticky;
    top: 64px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filters-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.search-field {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-field svg {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    stroke: var(--light);
    fill: none;
    stroke-width: 2;
}

.search-field input {
    width: 100%;
    padding: 9px 12px 9px 36px;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--bg);
    outline: none;
    transition: border-color 0.15s;
}

.search-field input:focus {
    border-color: var(--blue);
    background: var(--white);
}

.fselect {
    padding: 9px 28px 9px 12px;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--bg);
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%2364748b' d='M5 7L0 2h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 9px center;
    cursor: pointer;
    transition: border-color 0.15s;
    min-width: 130px;
}

.fselect:focus {
    border-color: var(--blue);
}

.result-count {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
    white-space: nowrap;
    margin-left: auto;
}

/* MAIN */
.main-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 5%;
}

/* WHY JOIN */
.why-box {
    background: var(--navy);
    border-radius: 18px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.why-box h2 {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 4px;
    font-family: "PT Sans Caption", sans-serif;
}

.why-box .sub {
    font-size: 13px;
    color: #CADEF0;
    margin-bottom: 1.2rem;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.perk {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid #1E6FFF;
    border-radius: 12px;
    padding: 1rem;
}

.perk-ico {
    margin-bottom: 8px;
}

.perk-t {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
    font-family: "PT Sans Caption", sans-serif;
}

.perk-d {
    font-size: 14px;
    color: #7DB5FF;
    line-height: 1.6;
}

/* JOB CARDS */
.sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.sec-head h2 {
    font-size: 1rem;
    font-weight: 700;
}

.sec-head span {
    font-size: 16px;
    color: #077D02;
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #1E6FFF;
    border-radius: 4px 0 0 4px;
    transform: scaleY(0);
    transition: transform 0.2s;
    transform-origin: center;
}

.job-card:hover {
    border-color: var(--blue);
    box-shadow: 0 6px 28px rgba(26, 143, 209, 0.11);
    transform: translateY(-2px);
}

.job-card:hover::before {
    transform: scaleY(1);
}

.job-card.featured {
    border-color: rgba(26, 143, 209, 0.4);
    background: #F1F6FF;
}

.job-card.featured::before {
    transform: scaleY(1);
}

.feat-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--blue);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.stat .lbl_one {
    color: #8EF889;
}

.stat .lbl_two {
    color: #FFB6A9;
}

.stat .lbl_three {
    color: #FFA9EC;
}

.stat .lbl {
    font-size: 16px;
}

.job-ico {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.ico-blue {
    background: #D6EFFF;
}

.ico-green {
    background: #C6FEE3;
}

.ico-amber {
    background: #FFF2BF;
}

.ico-purple {
    background: #F3E8FF;
}

.ico-red {
    background: #FFDEDE;
}

.job-body {
    flex: 1;
    min-width: 0;
}

.job-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.job-dept {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 9px;
}

.tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tag {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

.t-type {
    background: #D9F1FF;
    color: var(--blue-dark);
}

.t-loc {
    background: #E2E7FF;
    color: #4446AF;
}

.t-exp {
    background: #fffbeb;
    color: #92400e;
}

.t-remote {
    background: #E0FFF1;
    color: #065F46;
}

.job-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.salary {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    text-align: right;
}

.salary small {
    font-size: 11px;
    font-weight: 400;
    color: var(--muted);
    display: block;
}

.apply-btn {
    background: #1E6FFF;
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

/* .apply-btn:hover { background: var(--blue-dark); } */

/* PAGINATION */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 2rem;
}

.pg {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--white);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    transition: all 0.15s;
}

.pg:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.pg.active {
    background: #1E6FFF;
    border-color: var(--blue);
    color: #fff;
}

footer {
    background: var(--navy);
    color: #7aa8c5;
    text-align: center;
    padding: 1.25rem 5%;
    font-size: 13px;
    margin-top: 2.5rem;
}

footer a {
    color: var(--blue);
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    nav {
        padding: 0 4%;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 2.5rem 4% 2.5rem;
    }

    .hero-cards {
        display: none;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat .num {
        font-size: 1.5rem;
    }

    .filters-bar {
        padding: 0.75rem 4%;
    }

    .filters-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .fselect {
        width: 100%;
        min-width: unset;
    }

    .result-count {
        margin-left: 0;
        text-align: center;
    }

    .main-wrap {
        padding: 1.5rem 4%;
    }

    .perks-grid {
        grid-template-columns: 1fr 1fr;
    }

    .job-card {
        flex-wrap: wrap;
        padding: 1rem 1.1rem;
        gap: 1rem;
    }

    .job-right {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }

    .salary {
        text-align: left;
    }

    .feat-badge {
        display: none;
    }

    .why-box {
        padding: 1.5rem;
    }

    .filters-bar {
        position: unset;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .perks-grid {
        grid-template-columns: 1fr;
    }

    .job-title {
        font-size: 14px;
    }

    .job-card {
        padding: 1rem;
    }

    .apply-btn {
        padding: 7px 14px;
        font-size: 12px;
    }

    .salary {
        font-size: 14px;
    }
}