﻿:root {
    --bg: #F7F5F1;
    --surface: #FFFFFF;
    --surface-2: #EFEDEA;
    --surface-3: #E4E1DD;
    --border: rgba(32,37,41,.12);
    --border-soft: rgba(32,37,41,.07);
    --text: #202529;
    --text-soft: #5B6167;
    --text-faint: #9BA0A5;
    --red: #E81213;
    --red-glow: rgba(232,18,19,.35);
    --red-dim: #FBE4E4;
    --teal: #0F968A;
    --teal-dim: #E7F5F3;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
    font-family: "Open Sans", sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: "Open Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* aurora mesh background */
.aurora {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: var(--bg);
}

    .aurora span {
        position: absolute;
        border-radius: 50%;
        filter: blur(90px);
        opacity: .55;
        mix-blend-mode: multiply;
    }

    .aurora .a1 {
        width: 560px;
        height: 560px;
        top: -220px;
        left: -160px;
        background: radial-gradient(circle, rgba(232,18,19,.28), transparent 70%);
        animation: drift1 22s ease-in-out infinite;
    }

    .aurora .a2 {
        width: 480px;
        height: 480px;
        top: -120px;
        right: -180px;
        background: radial-gradient(circle, rgba(15,150,138,.24), transparent 70%);
        animation: drift2 26s ease-in-out infinite;
    }

    .aurora .a3 {
        width: 520px;
        height: 520px;
        bottom: -240px;
        left: 20%;
        background: radial-gradient(circle, rgba(233,183,94,.22), transparent 70%);
        animation: drift1 30s ease-in-out infinite reverse;
    }

    .aurora .a4 {
        width: 400px;
        height: 400px;
        bottom: -160px;
        right: -120px;
        background: radial-gradient(circle, rgba(232,18,19,.15), transparent 70%);
        animation: drift2 20s ease-in-out infinite reverse;
    }

@keyframes drift1 {
    0%,100% {
        transform: translate(0,0) scale(1);
    }

    50% {
        transform: translate(60px,50px) scale(1.08);
    }
}

@keyframes drift2 {
    0%,100% {
        transform: translate(0,0) scale(1);
    }

    50% {
        transform: translate(-50px,40px) scale(1.05);
    }
}

/* fine grain texture for a tactile, premium finish */
.grain {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: .05;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

@media (prefers-reduced-motion: reduce) {
    .aurora span {
        animation: none;
    }
}

.mono {
    font-family: 'JetBrains Mono',monospace;
}

a {
    color: inherit;
    text-decoration: none;
}

:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
    border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}







/* ===== Navbar Base ===== */
.navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
}

.navbar-brand img {
    max-height: 40px;
    width: auto;
    transition: max-height 0.2s ease;
}

/* ===== Nav Links ===== */
.head-menu {
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
}

.head-menu:hover,
.head-menu.active {
    color: #0d6efd; /* swap for your brand color */
}

/* ===== Toggler Button ===== */
.navbar-toggler {
    border: none;
    padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* ===== Modal tweaks ===== */
.modal-title {
    font-weight: 600;
}

.notification {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #dc3545;
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 50%;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */

/* Large screens / desktop */
@media (min-width: 992px) {
    .navbar-nav {
        gap: 0.5rem;
    }
}

/* Tablet */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #ffffff;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        margin-top: 0.75rem;
    }

    .navbar-nav {
        text-align: left;
    }

    .head-menu {
        padding: 0.6rem 0.5rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .head-menu:last-child {
        border-bottom: none;
    }
}

/* Mobile phones */
@media (max-width: 575.98px) {
    .navbar-brand img {
        max-height: 32px;
    }

    .navbar .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .head-menu {
        font-size: 0.9rem;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .navbar-brand img {
        max-height: 28px;
    }
}

















/* ---------- NAV ---------- */
.nav-outer {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    justify-content: center;
    padding: 18px 20px 0;
}

.navbar {
    width: 100%;
    /* max-width: 1180px; */
    display: flex;
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    justify-content: center;
    padding: 18px 20px 0;
    align-items: center;
    justify-content: space-between;
    padding: 5px 12px 5px 20px;
    /* border-radius: 16px; */
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px -30px rgba(22,24,29,.18);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15.5px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-full {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.brand-sub {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
}

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,var(--red),#A80D0E);
    flex: none;
    box-shadow: 0 6px 18px -6px var(--red-glow);
}

    .brand-mark svg {
        width: 16px;
        height: 16px;
    }

.brand span {
    color: var(--red);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-pill {
    padding: 9px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-soft);
    transition: all .25s ease;
}

    .nav-pill:hover {
        color: var(--text);
        background: var(--surface-2);
    }

    .nav-pill.active {
        background: var(--red);
        color: #fff;
    }

.bell-wrap {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .bell-wrap svg {
        width: 15px;
        height: 15px;
        stroke: var(--text-soft);
        transition: transform .3s ease, stroke .2s ease;
    }

    .bell-wrap:hover svg {
        transform: rotate(-14deg);
        stroke: var(--text);
    }

.bell-dot {
    position: absolute;
    top: 5px;
    right: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 6px var(--red-glow);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(255,59,48,.55);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(255,59,48,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255,59,48,0);
    }
}

/* ---------- HERO ---------- */
.hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 32px 0;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 22px;
}

    .eyebrow .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--red);
        box-shadow: 0 0 6px var(--red-glow);
    }

.hero h1 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 auto 14px;
    letter-spacing: -.02em;
    max-width: 640px;
}

.grad-text {
    background: linear-gradient(100deg,var(--red),var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p.sub {
    font-size: 15px;
    color: var(--text-soft);
    max-width: 560px;
    margin: 0 auto 32px;
}

.searchbar {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px -35px rgba(22,24,29,.22);
    transition: border-color .3s ease;
}

    .searchbar:hover {
        border-color: rgba(255,59,48,.35);
    }

    .searchbar input, .searchbar select {
        border: none;
        /* background: transparent; */
        font-family: 'Inter',sans-serif;
        font-size: 14px;
        color: var(--text);
        padding: 17px 20px;
    }

    .searchbar input {
        flex: 1.6;
    }

    .searchbar select {
        flex: 1;
        border-left: 1px solid var(--border);
        color: var(--text-soft);
        appearance: none;
        cursor: pointer;
    }

        .searchbar input:focus, .searchbar select:focus {
            outline: none;
            background: var(--surface-2);
        }

    .searchbar input::placeholder {
        color: var(--text-faint);
    }

.find-btn {
    border: none;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    padding: 0 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background .25s ease, box-shadow .25s ease;
}

    .find-btn:hover {
        box-shadow: inset 0 0 0 100px rgba(0,0,0,.10);
    }

    .find-btn svg {
        width: 14px;
        height: 14px;
        transition: transform .3s ease;
    }

    .find-btn:hover svg {
        transform: translateX(3px);
    }

/* ---------- DASHBOARD PANEL ---------- */
.frame {
    max-width: 1180px;
    margin: 52px auto 0;
    padding: 0 32px;
    position: relative;
}

.panel {
    position: relative;
    gap: 14px;
    z-index: 1;
    /* background: var(--surface); */
    /* border-radius: 24px; */
    display: grid;
    grid-template-columns: 1.05fr 1.1fr 0.85fr;
    overflow: hidden;
    /* box-shadow: 0 40px 90px -40px rgba(22,24,29,.25); */
    /* border: 1px solid var(--border); */
}

.col {
    padding: 32px 30px;
    position: relative;
    border-radius: 20px;
    background: var(--surface);
}

    .col + .col {
        /* border-left: 1px solid var(--border); */
    }

.col-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin: 0 0 22px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .col-label .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--red);
        box-shadow: 0 0 8px var(--red-glow);
    }

.avatar-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 5px;
}

.ring {
    position: relative;
    width: 113px;
    height: 113px;
    flex: none;
}

    .ring svg {
        width: 116px;
        height: 116px;
        transform: rotate(-90deg);
    }

.ring-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 5;
}

.ring-fg {
    fill: none;
    stroke: var(--red);
    stroke-width: 5;
    stroke-linecap: round;
    filter: drop-shadow(0 0 6px var(--red-glow));
    stroke-dasharray: 190;
    stroke-dashoffset: 190;
    animation: fillRing 1.3s cubic-bezier(.4,0,.2,1) .3s forwards;
}

@keyframes fillRing {
    to {
        stroke-dashoffset: 137;
    }
}

.ring-avatar {
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ring-avatar svg {
        width: 25px;
        height: 25px;
        transform: none;
    }

.profile-name {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
}

.profile-pct {
    font-size: 11px;
    color: var(--red);
    font-weight: 600;
    letter-spacing: .02em;
}

.contact-list {
    margin-bottom: 22px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    font-size: 13.5px;
    border-bottom: 1px solid var(--border-soft);
}

    .contact-item:last-child {
        border-bottom: none;
    }

    .contact-item svg {
        width: 14px;
        height: 14px;
        stroke: var(--text-faint);
        flex: none;
    }

    .contact-item i {
        color: var(--text-faint);
        flex: none;
    }

.btn-group {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-primary {
    border: none;
    border-radius: 10px;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    font-size: 12.5px;
    padding: 11px 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px -8px var(--red-glow);
    transition: transform .2s ease, box-shadow .25s ease;
}

    .btn-primary:hover {
        color: #fff;
        background-color: var(--red);
        border-color: var(--red);
        transform: translateY(-2px);
        box-shadow: 0 14px 32px -10px var(--red-glow);
    }

    .btn-primary svg {
        width: 11px;
        height: 11px;
        transition: transform .25s ease;
    }

    .btn-primary:hover svg {
        transform: translateX(3px);
    }

.link-ghost {
    font-weight: 600;
    font-size: 12.5px;
    color: var(--text-soft);
    border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
    transition: color .2s ease, border-color .2s ease;
}

    .link-ghost:hover {
        color: var(--text);
        border-color: var(--text-soft);
    }

.action-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 10px;
    margin: 0 -10px 4px;
    border-radius: 12px;
    transition: background .2s ease, transform .2s ease;
}

    .action-item:hover {
        background: var(--surface-2);
        transform: translateX(3px);
    }

.badge {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red-dim);
    position: relative;
    margin-top: 1px;
}

    .badge svg {
        width: 14px;
        height: 14px;
        stroke: var(--red);
    }

    .badge.teal {
        background: var(--teal-dim);
    }

        .badge.teal svg {
            stroke: var(--teal);
        }

    .badge .ping {
        position: absolute;
        top: -3px;
        right: -3px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--red);
        box-shadow: 0 0 6px var(--red-glow);
        animation: ping 1.8s infinite;
    }

@keyframes ping {
    0% {
        box-shadow: 0 0 0 0 rgba(255,59,48,.55);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(255,59,48,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255,59,48,0);
    }
}

.action-body {
    flex: 1;
    min-width: 0;
}

.action-title {
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 3px;
}

.action-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

    .action-link.teal-link {
        color: var(--teal);
    }

    .action-link svg {
        width: 10px;
        height: 10px;
        transition: transform .2s ease;
    }

.action-item:hover .action-link svg {
    transform: translateX(3px);
}

.upload-row {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1px dashed var(--border);
    font-weight: 600;
    font-size: 12.5px;
    color: var(--text-soft);
    transition: border-color .25s ease, color .25s ease, background .25s ease;
}

    .upload-row:hover {
        border-color: var(--red);
        color: var(--text);
        background: var(--red-dim);
    }

    .upload-row svg {
        width: 15px;
        height: 15px;
        stroke: var(--red);
    }

.tracker-track {
    height: 5px;
    border-radius: 6px;
    background: var(--border);
    overflow: hidden;
    margin-bottom: 20px;
}

.tracker-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,var(--red),var(--teal));
    border-radius: 6px;
    animation: fillbar 1s ease .4s forwards;
}

@keyframes fillbar {
    to {
        width: 0%;
    }
}

.empty-box {
    border: 1px dashed var(--border);
    border-radius: 14px;
    padding: 24px 16px;
    text-align: center;
}

    .empty-box svg {
        width: 32px;
        height: 32px;
        stroke: var(--text-faint);
        margin-bottom: 10px;
    }

    .empty-box p {
        margin: 0;
        font-weight: 600;
        font-size: 12.5px;
        color: var(--text-soft);
    }

    .empty-box span {
        display: block;
        margin-top: 4px;
        font-size: 11.5px;
        color: var(--text-faint);
    }

/* ---------- JOBS ---------- */
.jobs {
    max-width: 1180px;
    margin: 64px auto 90px;
    padding: 0 32px;
}

.jobs-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 26px;
}

    .jobs-head h2 {
        margin: 0;
        font-size: 23px;
        font-weight: 800;
        letter-spacing: -.01em;
    }

    .jobs-head .count {
        color: var(--red);
    }

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 12.5px;
    color: var(--text);
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all .25s ease;
}

    .view-all:hover {
        background: var(--red);
        border-color: var(--red);
        color: #fff;
    }

    .view-all svg {
        width: 12px;
        height: 12px;
        transition: transform .2s ease;
    }

    .view-all:hover svg {
        transform: translateX(3px);
    }

.jobs-body {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 26px;
}

.filters h3 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin: 0 0 14px;
}

.filter-group {
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    margin-bottom: 8px;
    overflow: hidden;
    transition: border-color .25s ease;
}

    .filter-group:hover {
        border-color: var(--red);
    }

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    cursor: pointer;
    user-select: none;
}

    .filter-header span {
        font-size: 13px;
        font-weight: 600;
    }

    .filter-header .plus {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: var(--surface-2);
        position: relative;
        flex: none;
        transition: background .25s ease;
    }

        .filter-header .plus::before, .filter-header .plus::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            background: var(--text-soft);
            transition: transform .25s ease, background .25s ease;
        }

        .filter-header .plus::before {
            width: 7px;
            height: 1.4px;
            transform: translate(-50%,-50%);
        }

        .filter-header .plus::after {
            width: 1.4px;
            height: 7px;
            transform: translate(-50%,-50%);
        }

.filter-group:hover .plus {
    background: var(--red);
}

    .filter-group:hover .plus::before, .filter-group:hover .plus::after {
        background: #fff;
    }

.filter-group.open .plus::after {
    transform: translate(-50%,-50%) scaleY(0);
}

.filter-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.filter-group.open .filter-panel {
    max-height: 220px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    font-size: 12.5px;
    color: var(--text-soft);
    cursor: pointer;
    border-top: 1px solid var(--border-soft);
    transition: color .2s ease, background .2s ease;
}

    .filter-option:first-child {
        border-top: 1px solid var(--border-soft);
    }

    .filter-option:hover {
        color: var(--text);
        background: var(--surface-2);
    }

    .filter-option input {
        appearance: none;
        width: 14px;
        height: 14px;
        border-radius: 4px;
        border: 1.5px solid var(--border);
        flex: none;
        position: relative;
        cursor: pointer;
        transition: background .2s ease, border-color .2s ease;
    }

        .filter-option input:checked {
            background: var(--red);
            border-color: var(--red);
        }

            .filter-option input:checked::after {
                content: '';
                position: absolute;
                left: 3px;
                top: 0px;
                width: 4px;
                height: 8px;
                border: solid #fff;
                border-width: 0 1.6px 1.6px 0;
                transform: rotate(45deg);
            }

.filter-panel .filter-panel-pad {
    height: 6px;
}

.reset-all {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--red);
}

.jobs-empty {
    border-radius: 20px;
    background: var(--surface);
    border: 1px dashed var(--border);
    text-align: center;
    padding: 64px 30px;
}

    .jobs-empty svg {
        width: 48px;
        height: 48px;
        stroke: var(--text-faint);
        margin-bottom: 14px;
    }

    .jobs-empty h4 {
        margin: 0 0 6px;
        font-size: 17px;
        font-weight: 700;
    }

    .jobs-empty p {
        margin: 0;
        color: var(--text-soft);
        font-size: 13px;
    }

.job-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job-card {
    display: flex;
    align-items: center;
    position: relative;
    gap: 18px;
    margin-top: 25px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 20px;
    transition: border-color .25s ease, transform .2s ease, box-shadow .25s ease;
}

.job-card-red:hover {
    border-color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -28px rgba(32,37,41,.25);
}

.job-teal:hover {
    border-color: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -28px rgba(32,37,41,.25);
}


.job-tag {
    flex: none;
    font-size: 10.5px;
    position: absolute;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 6px 11px;
    border-radius: 10px;
    margin-bottom: 6px;
    background: var(--red-dim);
    color: var(--red);
    bottom: 64px;
    border: 1px solid red;
}

    .job-tag.teal {
        background: var(--teal-dim);
        color: var(--teal);
        border: 1px solid;
    }

.job-main {
    flex: 1;
    min-width: 0;
}

.job-title {
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 4px;
    margin-top: 9px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--text-soft);
}

    .job-meta span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .job-meta svg {
        width: 12px;
        height: 12px;
        stroke: var(--text-faint);
    }

.job-apply {
    flex: none;
    border: none;
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--text);
    font-weight: 700;
    font-size: 12.5px;
    padding: 10px 18px;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, transform .2s ease;
}

    .job-apply:hover {
        background: var(--red);
        color: #fff;
        transform: translateY(-1px);
    }

@media (max-width: 640px) {

    .job-tag {
        flex: none;
        font-size: 7px;
        position: initial !important;
    }

    .job-card {
        flex-wrap: wrap;
    }

    .job-apply {
        width: 100%;
    }

    .find-btn {
        padding: 10px 30px;
    }
}

/* ---------- FOOTER ---------- */
.footer-wrap {
    max-width: 1180px;
    margin: 0 auto 50px;
    padding: 0 32px;
}

.footer-card {
    border-radius: 28px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 2fr;
    box-shadow: 0 40px 90px -45px rgba(32,37,41,.35);
    border: 1px solid var(--border);
}

.footer-brand {
    position: relative;
    overflow: hidden;
    padding: 42px 36px;
    background: linear-gradient(160deg,var(--red),#A80D0E);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .footer-brand::after {
        content: '';
        position: absolute;
        right: -60px;
        bottom: -70px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: rgba(255,255,255,.12);
    }

    .footer-brand h3 {
        position: relative;
        z-index: 1;
        margin: 0 0 20px;
        font-size: 21px;
        font-weight: 800;
        line-height: 1.35;
    }

    .footer-brand .address {
        position: relative;
        z-index: 1;
        font-size: 12.5px;
        opacity: .9;
        margin: 0 0 20px;
        line-height: 1.5;
    }

.hr-light {
    position: relative;
    z-index: 1;
    border: none;
    border-top: 1.5px solid rgba(255,255,255,.4);
    width: 44px;
    margin: 0 0 18px;
}

.hours-label {
    position: relative;
    z-index: 1;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .85;
    margin-bottom: 8px;
}

.hours-row {
    position: relative;
    z-index: 1;
    font-size: 13px;
    margin: 3px 0;
    opacity: .95;
}

.footer-main {
    background: var(--surface);
    padding: 42px 40px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.quicklinks-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 16px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px 24px;
}

.flink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-soft);
    font-size: 13.5px;
    font-weight: 600;
    transition: color .2s ease, transform .2s ease;
}

    .flink svg {
        width: 10px;
        height: 10px;
        stroke: var(--red);
        flex: none;
        transition: transform .2s ease;
    }

    .flink:hover {
        color: var(--text);
        transform: translateX(4px);
    }

        .flink:hover svg {
            transform: translateX(2px);
        }

.footer-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.patient-btn {
    border: none;
    border-radius: 100px;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    font-size: 12.5px;
    padding: 12px 24px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .25s ease;
}

    .patient-btn:hover {
        transform: scale(1.04);
        box-shadow: 0 14px 30px -12px var(--red-glow);
    }

.socials {
    display: flex;
    gap: 10px;
}

.social {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft);
    transition: all .25s ease;
}

    .social svg {
        width: 14px;
        height: 14px;
    }

    .social:hover {
        background: var(--red);
        border-color: var(--red);
        color: #fff;
        transform: translateY(-3px) rotate(-8deg);
    }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 40px;
    background: var(--surface-2);
    font-size: 11.5px;
    color: var(--text-faint);
    grid-column: 1 / 3;
}

    .footer-bottom a {
        color: var(--text-soft);
        margin-right: 16px;
        transition: color .2s ease;
    }

        .footer-bottom a:hover {
            color: var(--text);
        }

@media (max-width: 780px) {
    .footer-card {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        grid-column: 1;
        flex-direction: column;
        align-items: flex-start;
    }

    .links-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 940px) {
    .panel {
        grid-template-columns: 1fr;
    }

    .col + .col {
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .jobs-body {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 29px;
    }

    .searchbar {
        flex-direction: column;
    }

        .searchbar select {
            border-left: none;
            border-top: 1px solid var(--border);
        }
}


Select {
    appearance: none;
    padding-right: 38px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6167' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
}



.btn-viewrasume {
    border: 1px solid black;
    background-color: #ffffff;
    color: black;
    font-weight: 700;
    font-size: 12.5px;
    padding: 11px 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px -8px rgb(112 112 112 / 35%);
    transition: transform .2s ease, box-shadow .25s ease;
    border-radius: 10px;
}
