:root {
    --ink: #111827;
    --muted: #53637c;
    --line: rgba(255, 255, 255, .42);
    --soft: #fff4d8;
    --panel: rgba(255, 255, 255, .72);
    --brand: #00b894;
    --brand-dark: #02695d;
    --accent: #ff5a5f;
    --sky: #2563eb;
    --rose: #e11d48;
    --sun: #ffd166;
    --violet: #8b5cf6;
    --lime: #a3e635;
    --aqua: #22d3ee;
    --shadow: 0 24px 70px rgba(88, 28, 135, .18);
    --shadow-3d: 0 14px 0 rgba(17, 24, 39, .08), 0 30px 80px rgba(88, 28, 135, .20);
    --ring: 0 0 0 4px rgba(255, 90, 95, .18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--ink);
    background:
        linear-gradient(135deg, rgba(255, 209, 102, .42) 0 14%, transparent 14% 100%),
        linear-gradient(45deg, rgba(34, 211, 238, .24) 0 12%, transparent 12% 100%),
        linear-gradient(160deg, #fff0b8 0%, #ffe4ef 31%, #ddf7ff 66%, #f2ffe1 100%);
    line-height: 1.55;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(90deg, rgba(17, 24, 39, .055) 1px, transparent 1px),
        linear-gradient(rgba(17, 24, 39, .055) 1px, transparent 1px),
        radial-gradient(circle at 18% 22%, rgba(255, 90, 95, .26) 0 9rem, transparent 9.2rem),
        radial-gradient(circle at 82% 12%, rgba(139, 92, 246, .22) 0 10rem, transparent 10.2rem),
        radial-gradient(circle at 72% 82%, rgba(0, 184, 148, .24) 0 11rem, transparent 11.2rem);
    background-size: 46px 46px, 46px 46px, auto, auto, auto;
    pointer-events: none;
}

a {
    color: inherit;
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 248, 225, .78);
    border-bottom: 1px solid rgba(255, 255, 255, .55);
    box-shadow: 0 12px 36px rgba(20, 33, 61, .07);
    backdrop-filter: blur(18px) saturate(150%);
}

.topbar {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: conic-gradient(from 180deg, var(--accent), var(--sun), var(--brand), var(--sky), var(--violet), var(--accent));
    color: #e5e7eb;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(0, 165, 141, .26), inset 0 1px 0 rgba(255, 255, 255, .45);
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 650;
}

.mobile-nav-toggle {
    display: none;
}

.nav a {
    color: #24324a;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 8px;
}

.nav a:hover {
    background: rgba(255, 255, 255, .58);
    color: var(--brand-dark);
    box-shadow: inset 0 -2px 0 rgba(0, 165, 141, .28);
}

.nav .nav-admin {
    background: linear-gradient(135deg, var(--rose), var(--violet), var(--sky));
    color: #e5e7eb;
    box-shadow: 0 10px 22px rgba(20, 33, 61, .18);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 0 rgba(20, 33, 61, .05);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--violet), var(--sky));
    color: #e5e7eb;
    box-shadow: 0 8px 0 rgba(5, 84, 78, .22), 0 18px 34px rgba(0, 165, 141, .28);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff7a45, #9f67ff, #22d3ee);
    box-shadow: 0 5px 0 rgba(5, 84, 78, .24), 0 22px 42px rgba(79, 70, 229, .24);
}

.btn-light,
.btn-outline {
    background: rgba(255, 255, 255, .58);
    border-color: rgba(255, 255, 255, .82);
    color: var(--ink);
}

.btn-light:hover,
.btn-outline:hover {
    border-color: #a8b5c5;
    box-shadow: 0 10px 24px rgba(23, 32, 51, .08);
}

.hero {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding: 62px 0 54px;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(255, 209, 102, .86), rgba(255, 90, 95, .40) 38%, rgba(34, 211, 238, .44) 72%, rgba(163, 230, 53, .40)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .36) 0 12px, rgba(255, 255, 255, .08) 12px 24px);
    position: relative;
}

.directory-hero {
    background:
        linear-gradient(120deg, rgba(255, 209, 102, .86), rgba(255, 90, 95, .40) 38%, rgba(34, 211, 238, .44) 72%, rgba(163, 230, 53, .40)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .36) 0 12px, rgba(255, 255, 255, .08) 12px 24px);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 32px;
    pointer-events: none;
}

.hero::before {
    width: 280px;
    height: 280px;
    right: 7%;
    top: 10%;
    background: linear-gradient(135deg, rgba(139, 92, 246, .48), rgba(34, 211, 238, .40));
    box-shadow: 0 30px 80px rgba(37, 99, 235, .22);
    transform: rotate(18deg);
}

.hero::after {
    width: 170px;
    height: 170px;
    left: 5%;
    bottom: 8%;
    background: linear-gradient(135deg, rgba(255, 90, 95, .46), rgba(255, 209, 102, .60));
    transform: rotate(-12deg);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .64fr);
    gap: 44px;
    align-items: center;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: 18px;
    border: 1px solid rgba(0, 165, 141, .26);
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    color: var(--brand-dark);
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 850;
    box-shadow: 0 12px 28px rgba(20, 33, 61, .08);
    backdrop-filter: blur(12px);
}

.hero-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    max-width: 710px;
    margin-top: 28px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .70);
    box-shadow: var(--shadow-3d);
    backdrop-filter: blur(18px);
}

.hero-search input {
    border: 0;
    min-height: 48px;
}

.hero-search input:focus {
    outline: 0;
}

.quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.quick-chips a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    color: #405168;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(20, 33, 61, .06);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.quick-chips a:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 138, 61, .45);
    background: rgba(168, 85, 247, .10);
}

.hero-photo-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 90, 95, .30), rgba(255, 209, 102, .22), rgba(34, 211, 238, .28)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, .34) 0 10px, rgba(255, 255, 255, .10) 10px 20px);
    box-shadow: var(--shadow-3d);
    transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
    transition: transform .28s ease, box-shadow .28s ease;
}

.hero-photo-card:hover {
    box-shadow: 0 30px 90px rgba(20, 33, 61, .20);
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-5px);
}

.hero-photo-card img {
    width: 100%;
    min-height: 460px;
    object-fit: cover;
    opacity: .14;
    filter: saturate(1.5) contrast(1.05);
    mix-blend-mode: luminosity;
}

.photo-stat {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 16px 34px rgba(20, 33, 61, .18);
    backdrop-filter: blur(12px);
}

.photo-stat strong {
    display: block;
    color: var(--brand-dark);
    font-size: 30px;
    line-height: 1;
}

.hero-photo-card::before {
    content: "Learn Faster";
    position: absolute;
    left: 24px;
    top: 24px;
    max-width: 260px;
    color: #e5e7eb;
    font-size: clamp(34px, 5vw, 62px);
    font-weight: 900;
    line-height: .92;
    text-shadow: 0 16px 38px rgba(17, 24, 39, .24);
    z-index: 1;
}

.hero-photo-card::after {
    content: "CBSE  ICSE  Online  Home Tutor";
    position: absolute;
    right: 24px;
    top: 28px;
    width: min(170px, calc(100% - 48px));
    padding: 12px;
    border-radius: 14px;
    background: rgba(17, 24, 39, .72);
    color: #e5e7eb;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .04em;
    z-index: 1;
}

.photo-stat span {
    color: var(--muted);
    font-weight: 700;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.eyebrow span {
    width: 9px;
    height: 9px;
    border-radius: 99px;
    background: linear-gradient(135deg, var(--accent), var(--sun));
    box-shadow: 0 0 0 5px rgba(255, 138, 61, .16);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 18px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: .98;
    letter-spacing: 0;
    text-wrap: balance;
}

.hero-copy p {
    max-width: 650px;
    color: #3d4b5f;
    font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 680px;
    margin-top: 34px;
}

.hero-stats div {
    padding: 16px;
    border: 1px solid rgba(220, 228, 238, .9);
    border-radius: 14px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 14px 30px rgba(20, 33, 61, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.hero-stats div:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.hero-stats strong {
    display: block;
    color: var(--brand-dark);
    font-size: 24px;
    line-height: 1;
}

.hero-stats span {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.role-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 250, 226, .58));
    box-shadow: 0 10px 0 rgba(20, 33, 61, .035), 0 18px 36px rgba(20, 33, 61, .08);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.role-card:hover {
    border-color: rgba(0, 165, 141, .26);
    box-shadow: var(--shadow-3d);
    transform: translateY(-7px);
}

.role-card img {
    width: 100%;
    aspect-ratio: 4 / 2.35;
    object-fit: cover;
    opacity: .68;
    filter: saturate(1.25);
    transition: transform .4s ease;
}

.role-card:hover img {
    transform: scale(1.04);
}

.role-card h3,
.role-card p,
.role-card .btn {
    margin-left: 20px;
    margin-right: 20px;
}

.role-card h3 {
    margin-top: 20px;
    margin-bottom: 8px;
}

.role-card p {
    color: var(--muted);
}

.role-card .btn {
    margin-bottom: 20px;
}

.finder-panel {
    width: 100%;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 16px;
    background: rgba(255, 255, 255, .66);
    box-shadow: var(--shadow-3d);
    backdrop-filter: blur(16px);
}

.finder-panel h2 {
    margin-bottom: 4px;
    font-size: 24px;
}

.finder-panel p {
    color: var(--muted);
    margin-bottom: 18px;
}

label {
    display: grid;
    gap: 7px;
    margin-bottom: 12px;
    color: #344054;
    font-size: 13px;
    font-weight: 750;
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, .80);
    border-radius: 10px;
    background: rgba(255, 255, 255, .76);
    color: var(--ink);
    font: inherit;
    padding: 10px 12px;
}

textarea {
    min-height: 128px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 0;
    border-color: var(--brand);
    box-shadow: var(--ring);
}

.page-hero {
    padding: 82px 0 64px;
    background:
        linear-gradient(120deg, rgba(255, 209, 102, .78), rgba(255, 90, 95, .34) 38%, rgba(139, 92, 246, .24) 66%, rgba(34, 211, 238, .34)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, .28) 0 10px, rgba(255, 255, 255, .06) 10px 20px);
    position: relative;
    overflow: hidden;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero::after {
    content: "";
    position: absolute;
    right: max(24px, calc((100vw - 1160px) / 2));
    bottom: -58px;
    width: 210px;
    height: 210px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 90, 95, .78), rgba(139, 92, 246, .54), rgba(34, 211, 238, .62));
    box-shadow: 0 28px 70px rgba(255, 138, 61, .24);
    transform: rotate(14deg);
    pointer-events: none;
}

.page-hero h1 {
    max-width: 860px;
    position: relative;
    z-index: 1;
}

.page-hero p {
    max-width: 720px;
    color: #3d4b5f;
    font-size: 19px;
    position: relative;
    z-index: 1;
}

.section {
    padding: 76px 0;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 28px;
    align-items: start;
}

.split-section > div > p {
    max-width: 650px;
    color: var(--muted);
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.area-grid a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 14px;
    background: rgba(255, 255, 255, .64);
    color: var(--ink);
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(20, 33, 61, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.area-grid a:hover {
    border-color: rgba(0, 165, 141, .35);
    box-shadow: var(--shadow-3d);
    transform: translateY(-4px);
}

.area-grid span {
    color: var(--brand-dark);
    font-size: 13px;
}

.fee-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(255, 247, 213, .62)) padding-box,
        linear-gradient(135deg, rgba(0, 165, 141, .50), rgba(79, 70, 229, .32), rgba(255, 138, 61, .40)) border-box;
    border: 1px solid transparent;
    box-shadow: var(--shadow-3d);
}

.fee-card h2 {
    margin-bottom: 6px;
    font-size: 25px;
}

.fee-card p {
    color: var(--muted);
}

.fee-result {
    margin-top: 16px;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 165, 141, .12), rgba(255, 209, 102, .22));
    color: var(--brand-dark);
    font-weight: 900;
}

.tutor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.market-tutor-card {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 16px;
    background: rgba(255, 255, 255, .68);
    box-shadow: 0 10px 0 rgba(20, 33, 61, .035), 0 18px 36px rgba(20, 33, 61, .08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.market-tutor-card:hover {
    border-color: rgba(79, 70, 229, .24);
    box-shadow: var(--shadow-3d);
    transform: translateY(-6px);
}

.avatar {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--sky));
    color: #e5e7eb;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(79, 70, 229, .22);
}

.market-tutor-card h3 {
    margin-bottom: 6px;
}

.market-tutor-card p {
    color: var(--muted);
    margin-bottom: 18px;
}

.tutor-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.tutor-metrics span {
    padding: 10px;
    border-radius: 8px;
    background: var(--soft);
    color: var(--muted);
    font-size: 13px;
}

.tutor-metrics strong {
    display: block;
    color: var(--ink);
    font-size: 18px;
}

.tutor-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.tutor-bottom strong {
    color: var(--accent);
}

.section-white {
    background:
        linear-gradient(120deg, rgba(255, 255, 255, .38), rgba(255, 232, 176, .34), rgba(221, 247, 255, .40));
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.section-head h2,
.feature-band h2,
.cta-panel h2 {
    margin-bottom: 8px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
}

.section-head p,
.feature-band p {
    max-width: 620px;
    color: var(--muted);
    margin-bottom: 0;
}

.card-grid {
    display: grid;
    gap: 18px;
}

.card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-grid {
    margin-top: 22px;
}

.info-card,
.quote-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(255, 246, 208, .50), rgba(221, 247, 255, .42));
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 0 rgba(20, 33, 61, .035), 0 18px 36px rgba(20, 33, 61, .08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    backdrop-filter: blur(14px);
}

.info-card:hover,
.quote-card:hover,
.profile-card:hover,
.faq-item-static:hover,
.job-card:hover {
    border-color: rgba(0, 165, 141, .25);
    box-shadow: var(--shadow-3d);
    transform: translateY(-5px);
}

.icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 12px;
    color: #e5e7eb;
    font-weight: 900;
}

.icon-teal { background: linear-gradient(135deg, var(--brand), #20c997); }
.icon-blue { background: linear-gradient(135deg, var(--sky), var(--violet)); }
.icon-amber { background: linear-gradient(135deg, var(--accent), var(--sun)); }
.icon-rose { background: linear-gradient(135deg, var(--rose), #fb7185); }

.info-card h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

.info-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.link-card {
    display: block;
    color: var(--ink);
    text-decoration: none;
}

.link-card:hover {
    border-color: rgba(0, 165, 141, .35);
    box-shadow: var(--shadow-3d);
    transform: translateY(-5px);
}

.page-layout {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 24px;
    align-items: start;
}

.filter-panel {
    position: sticky;
    top: 96px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 16px;
    background: rgba(255, 255, 255, .68);
    box-shadow: var(--shadow-3d);
    backdrop-filter: blur(16px);
}

.filter-panel h2 {
    margin-bottom: 16px;
    font-size: 22px;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.profile-card,
.faq-item-static {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .70), rgba(255, 246, 208, .48));
    box-shadow: 0 10px 0 rgba(20, 33, 61, .035), 0 18px 36px rgba(20, 33, 61, .08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.profile-card h3,
.faq-item-static h3 {
    margin: 12px 0 8px;
}

.profile-card p,
.faq-item-static p {
    color: var(--muted);
    margin-bottom: 0;
}

.dynamic-gallery-card {
    overflow: hidden;
}

.dynamic-gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    margin-bottom: 16px;
    border-radius: 6px;
    object-fit: cover;
}

.tutor-listing-card {
    position: relative;
}

.tutor-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.tutor-listing-card .tutor-view-link {
    position: relative;
    z-index: 2;
    display: inline-flex;
    margin-top: 16px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.tutor-profile-page {
    padding-bottom: 70px;
    background: #f5f7fb;
    color: #1e293b;
}

.tutor-profile-breadcrumb {
    padding: 20px 0;
}

.tutor-profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 20px;
    align-items: start;
}

.tutor-profile-main,
.tutor-profile-sidebar {
    display: grid;
    gap: 16px;
}

.tutor-profile-hero,
.tutor-profile-facts,
.tutor-content-panel {
    border: 1px solid #e2e7ef;
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    box-shadow: 0 6px 20px rgba(18, 38, 63, .05);
}

.tutor-profile-hero {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    padding: 24px;
}

.tutor-profile-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 7px;
    background: #e9f0fc;
    color: #245da8;
    font-size: 48px;
    font-weight: 900;
}

.tutor-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tutor-profile-intro {
    align-self: center;
    min-width: 0;
}

.tutor-profile-intro h1 {
    margin: 15px 0 5px;
    color: #111e35;
    font-size: 34px;
    line-height: 1.15;
}

.tutor-profile-role {
    margin-bottom: 14px;
    color: #536075;
    font-size: 16px;
}

.tutor-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    color: #667085;
    font-size: 12px;
}

.tutor-profile-meta span::before {
    content: "✓";
    margin-right: 5px;
    color: #079369;
    font-weight: 900;
}

.tutor-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.tutor-profile-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
}

.tutor-profile-facts div {
    min-width: 0;
    padding: 17px 14px;
    border-right: 1px solid #edf0f5;
    text-align: center;
}

.tutor-profile-facts div:last-child {
    border-right: 0;
}

.tutor-profile-facts span,
.tutor-profile-facts strong {
    display: block;
    overflow-wrap: anywhere;
}

.tutor-profile-facts span {
    color: #8a94a6;
    font-size: 10px;
    text-transform: uppercase;
}

.tutor-profile-facts strong {
    margin-top: 6px;
    color: #24324a;
    font-size: 12px;
}

.tutor-content-panel {
    padding: 22px;
}

.tutor-content-panel h2 {
    margin-bottom: 16px;
    color: #17233a;
    font-size: 19px;
}

.tutor-content-panel > p {
    margin-bottom: 0;
    color: #596579;
    font-size: 14px;
    line-height: 1.75;
}

.tutor-detail-groups {
    display: grid;
    gap: 18px;
}

.tutor-detail-groups h3 {
    margin-bottom: 9px;
    color: #46546a;
    font-size: 12px;
    text-transform: uppercase;
}

.tutor-skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tutor-skill-chips a,
.tutor-skill-chips span {
    border: 1px solid #dce4ef;
    border-radius: 5px;
    background: #f8fafc;
    color: #40546f;
    padding: 7px 10px;
    font-size: 11px;
    text-decoration: none;
}

.tutor-review-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.tutor-review-list blockquote {
    margin: 0;
    border: 1px solid #e6eaf0;
    border-radius: 6px;
    padding: 14px;
}

.tutor-review-list span {
    color: #e4a100;
}

.tutor-review-list p {
    margin: 10px 0;
    color: #5d687a;
    font-size: 11px;
}

.tutor-review-list cite {
    color: #35445b;
    font-size: 10px;
    font-style: normal;
    font-weight: 750;
}

.related-tutor-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.related-tutor-grid a {
    min-width: 0;
    border: 1px solid #e5eaf1;
    border-radius: 6px;
    color: #25364f;
    padding: 12px;
    text-align: center;
    text-decoration: none;
}

.related-tutor-grid a > span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin: 0 auto 8px;
    overflow: hidden;
    border-radius: 50%;
    background: #e9f0fc;
    color: #245da8;
    font-weight: 850;
}

.related-tutor-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-tutor-grid strong,
.related-tutor-grid small,
.related-tutor-grid b {
    display: block;
    overflow-wrap: anywhere;
}

.related-tutor-grid strong {
    font-size: 11px;
}

.related-tutor-grid small {
    min-height: 28px;
    margin-top: 4px;
    color: #7b8597;
    font-size: 9px;
}

.related-tutor-grid b {
    margin-top: 5px;
    color: #079369;
    font-size: 10px;
}

.tutor-hire-panel {
    scroll-margin-top: 90px;
}

.tutor-hire-panel > p {
    color: #687386;
    font-size: 12px;
}

.tutor-hire-panel input,
.tutor-hire-panel textarea {
    border-color: #d8deea;
    border-radius: 6px;
    background: rgba(255, 255, 255, .045);
}

.tutor-hire-panel textarea {
    min-height: 100px;
}

.tutor-hire-panel .job-btn {
    width: 100%;
}

.tutor-sidebar-details {
    margin: 0;
}

.tutor-sidebar-details div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #edf0f5;
    padding: 10px 0;
    font-size: 11px;
}

.tutor-sidebar-details div:last-child {
    border-bottom: 0;
}

.tutor-sidebar-details dt {
    color: #7a8597;
}

.tutor-sidebar-details dd {
    margin: 0;
    color: #2d3d54;
    font-weight: 700;
    text-align: right;
}

@media (min-width: 901px) {
    .tutor-hire-panel {
        position: sticky;
        top: 92px;
    }
}

@media (max-width: 900px) {
    .tutor-profile-layout {
        grid-template-columns: 1fr;
    }

    .tutor-review-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .tutor-profile-hero {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .tutor-profile-photo {
        width: min(220px, 100%);
        margin: 0 auto;
    }

    .tutor-profile-intro h1 {
        font-size: 27px;
    }

    .tutor-profile-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .tutor-profile-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tutor-profile-facts div {
        border-bottom: 1px solid #edf0f5;
    }

    .tutor-profile-facts div:nth-child(even) {
        border-right: 0;
    }

    .tutor-profile-facts div:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .related-tutor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Axra Tutors dark neon redesign, matched to the provided reference site. */
:root {
    --ink: #f8fafc;
    --muted: #a8b3c7;
    --line: rgba(168, 85, 247, .18);
    --soft: rgba(168, 85, 247, .08);
    --panel: rgba(255, 255, 255, .045);
    --brand: #a855f7;
    --brand-dark: #c084fc;
    --accent: #3b82f6;
    --sky: #60a5fa;
    --rose: #ec4899;
    --sun: #facc15;
    --violet: #7c3aed;
    --lime: #4ade80;
    --aqua: #22d3ee;
    --deep: #050816;
    --deep-2: #060a1a;
    --deep-3: #0b1024;
    --shadow: 0 16px 48px rgba(168, 85, 247, .24), 0 8px 16px rgba(0, 0, 0, .55);
    --shadow-3d: 0 0 40px rgba(168, 85, 247, .16), 0 22px 60px rgba(0, 0, 0, .55);
    --ring: 0 0 0 4px rgba(168, 85, 247, .25);
}

body {
    color: var(--ink);
    background:
        linear-gradient(rgba(168, 85, 247, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, .045) 1px, transparent 1px),
        radial-gradient(circle at 18% 0%, rgba(168, 85, 247, .16), transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(59, 130, 246, .12), transparent 32%),
        linear-gradient(180deg, #050816 0%, #060a1a 48%, #050816 100%);
    background-size: 60px 60px, 60px 60px, auto, auto, auto;
    overflow-x: hidden;
}

body::before {
    background:
        linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 1;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 8, 22, .72) 72%, #050816 100%);
}

.axra-scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    height: 3px;
    z-index: 9999;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, #a855f7, #3b82f6, #ec4899);
    box-shadow: 0 0 18px rgba(168, 85, 247, .75);
}

.axra-cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(circle, rgba(168, 85, 247, .075) 0%, transparent 66%);
    will-change: transform;
}

.axra-splash {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: grid;
    place-items: center;
    background: #050816;
    transition: opacity .55s ease, visibility .55s ease;
}

.axra-splash.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.axra-splash-ring {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: axra-splash-ring 1.7s ease forwards;
}

.axra-splash-ring-one {
    width: 256px;
    height: 256px;
    border: 1px solid rgba(168, 85, 247, .35);
}

.axra-splash-ring-two {
    width: 160px;
    height: 160px;
    border: 2px solid rgba(59, 130, 246, .55);
    animation-delay: .18s;
}

.axra-splash-core {
    display: grid;
    justify-items: center;
    gap: 12px;
    animation: axra-pop .9s cubic-bezier(.34, 1.56, .64, 1) both;
}

.axra-splash-core span {
    width: 80px;
    height: 80px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    color: #e5e7eb;
    font-size: 42px;
    font-weight: 900;
    box-shadow: 0 0 60px rgba(168, 85, 247, .8);
}

.axra-splash-core strong {
    color: #e5e7eb;
    font-size: 24px;
    letter-spacing: .16em;
}

.axra-splash-core small {
    color: #c084fc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.axra-splash-loader {
    position: absolute;
    bottom: 64px;
    width: 192px;
    height: 2px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
}

.axra-splash-loader span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #a855f7, #3b82f6);
    animation: axra-loader 1.35s ease forwards;
}

@keyframes axra-splash-ring {
    0% { opacity: 0; transform: scale(.2); }
    45% { opacity: 1; }
    100% { opacity: 0; transform: scale(1.25); }
}

@keyframes axra-pop {
    from { opacity: 0; transform: scale(.35); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes axra-loader {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes axra-shimmer {
    from { background-position: -200% center; }
    to { background-position: 200% center; }
}

@keyframes axra-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes axra-border-travel {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.site-header {
    background: rgba(5, 8, 22, .72);
    border-bottom: 1px solid rgba(168, 85, 247, .18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .42);
    backdrop-filter: blur(20px) saturate(150%);
}

.brand,
.nav a {
    color: #e5e7eb;
}

.brand-mark {
    border-radius: 14px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    box-shadow: 0 0 25px rgba(168, 85, 247, .55), 0 0 60px rgba(168, 85, 247, .2);
}

.nav a {
    color: #cbd5e1;
    border: 1px solid transparent;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.nav a:hover {
    color: #e5e7eb;
    background: rgba(255, 255, 255, .055);
    border-color: rgba(168, 85, 247, .28);
    box-shadow: none;
    transform: translateY(-1px);
}

.nav .nav-admin,
.btn-primary,
.home-primary-btn,
.home-fee-calculator button,
.urgent-tutor a,
.job-btn-primary {
    border: 0;
    color: #e5e7eb;
    background: linear-gradient(90deg, #a855f7 0%, #7c3aed 20%, #a855f7 40%, #3b82f6 60%, #a855f7 80%, #7c3aed 100%);
    background-size: 200% auto;
    box-shadow: 0 0 25px rgba(168, 85, 247, .55), 0 0 60px rgba(168, 85, 247, .2);
    animation: axra-shimmer 3s linear infinite;
}

.home-outline-btn,
.btn-outline,
.btn-light,
.job-btn-outline,
.job-btn-whatsapp,
.job-btn-light {
    color: #e2e8f0;
    border-color: rgba(168, 85, 247, .28);
    background: rgba(255, 255, 255, .045);
    box-shadow: none;
}

.mobile-nav-toggle {
    color: #e5e7eb;
    border: 1px solid rgba(168, 85, 247, .3);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 800;
}

.home-hero,
.hero,
.directory-hero,
.page-hero,
.jobs-heading {
    background:
        linear-gradient(rgba(168, 85, 247, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, .04) 1px, transparent 1px),
        linear-gradient(135deg, rgba(168, 85, 247, .16), rgba(59, 130, 246, .11) 48%, rgba(236, 72, 153, .08)),
        #050816;
    background-size: 60px 60px, 60px 60px, auto, auto;
    position: relative;
    overflow: hidden;
}

.home-hero::before,
.hero::before,
.page-hero::after {
    background: linear-gradient(135deg, rgba(168, 85, 247, .24), rgba(59, 130, 246, .16));
    border: 1px solid rgba(168, 85, 247, .18);
    filter: blur(.2px);
    opacity: .8;
    animation: axra-float 7s ease-in-out infinite;
}

.home-hero::after,
.hero::after {
    content: "";
    position: absolute;
    inset: auto 8% 10% auto;
    width: 180px;
    height: 180px;
    border-radius: 24px;
    border: 1px solid rgba(59, 130, 246, .22);
    background: linear-gradient(135deg, rgba(59, 130, 246, .18), rgba(236, 72, 153, .12));
    transform: rotate(12deg);
    animation: axra-float 8s ease-in-out infinite reverse;
    pointer-events: none;
}

.home-location,
.eyebrow,
.section-kicker,
.live-pill,
.home-section-title span {
    color: #c084fc;
    text-transform: uppercase;
    letter-spacing: .12em;
}

h1,
.page-hero h1,
.jobs-heading h1,
.home-hero h1 {
    color: #e5e7eb;
    letter-spacing: 0;
}

.home-hero h1,
.hero h1,
.page-hero h1 {
    max-width: 820px;
    font-weight: 900;
}

.home-hero h1::first-line,
.hero h1::first-line {
    color: #e5e7eb;
}

.home-hero-copy p,
.hero-copy p,
.page-hero p,
.jobs-heading p,
.section-head p,
.feature-band p,
.finder-panel p,
.split-section > div > p,
.home-section-title,
.home-section-title h2 + p,
.home-job-list span,
.home-tutor-grid p,
.home-tutor-grid span,
.home-tutor-grid small,
.why-list span,
.activity-list p,
.activity-list span,
.home-faqs p,
.site-footer p,
.site-footer span {
    color: #a8b3c7;
}

.home-hero h1,
.hero h1 {
    background: linear-gradient(135deg, #fff 0%, #dbeafe 42%, #c084fc 72%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tutor-finder,
.finder-panel,
.fee-card,
.home-fee-calculator,
.urgent-tutor,
.trust-strip div,
.home-stat-grid div,
.steps-list div,
.school-logo-grid a,
.exam-grid a,
.home-tutor-grid article,
.home-job-list a,
.activity-list div,
.why-list div,
.home-review-grid blockquote,
.home-faqs details,
.subject-grid a,
.class-grid a,
.area-grid a,
.market-tutor-card,
.info-card,
.quote-card,
.jobs-filter,
.listing-job,
.empty-jobs,
.job-summary-panel,
.job-fact-strip,
.detail-section,
.sidebar-panel,
.people-search,
.school-grid div {
    position: relative;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .045);
    box-shadow: 0 4px 24px rgba(168, 85, 247, .12), 0 2px 4px rgba(0, 0, 0, .45);
    backdrop-filter: blur(12px);
    color: #f8fafc;
}

.tutor-finder,
.home-fee-calculator {
    border-radius: 18px;
}

.home-tutor-grid article,
.school-logo-grid a,
.exam-grid a,
.subject-grid a,
.class-grid a,
.steps-list div,
.home-job-list a,
.listing-job,
.market-tutor-card,
.info-card,
.quote-card {
    transition: transform .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease;
}

.home-tutor-grid article::before,
.school-logo-grid a::before,
.exam-grid a::before,
.subject-grid a::before,
.class-grid a::before,
.steps-list div::before,
.home-job-list a::before,
.listing-job::before,
.market-tutor-card::before,
.info-card::before,
.quote-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(270deg, #a855f7, #3b82f6, #ec4899, #a855f7);
    background-size: 400% 400%;
    opacity: 0;
    transition: opacity .3s ease;
    animation: axra-border-travel 3s ease infinite;
}

.home-tutor-grid article:hover,
.school-logo-grid a:hover,
.exam-grid a:hover,
.subject-grid a:hover,
.class-grid a:hover,
.steps-list div:hover,
.home-job-list a:hover,
.listing-job:hover,
.market-tutor-card:hover,
.info-card:hover,
.quote-card:hover {
    background: rgba(168, 85, 247, .07);
    border-color: rgba(168, 85, 247, .35);
    box-shadow: 0 0 40px rgba(168, 85, 247, .18), 0 12px 40px rgba(0, 0, 0, .5);
    transform: translateY(-5px);
}

.home-tutor-grid article:hover::before,
.school-logo-grid a:hover::before,
.exam-grid a:hover::before,
.subject-grid a:hover::before,
.class-grid a:hover::before,
.steps-list div:hover::before,
.home-job-list a:hover::before,
.listing-job:hover::before,
.market-tutor-card:hover::before,
.info-card:hover::before,
.quote-card:hover::before {
    opacity: 1;
}

.home-hero-photo {
    border: 1px solid rgba(168, 85, 247, .24);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(168, 85, 247, .2), rgba(59, 130, 246, .16)),
        rgba(255, 255, 255, .045);
    box-shadow: 0 0 50px rgba(168, 85, 247, .22), 0 30px 80px rgba(0, 0, 0, .55);
    transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
    transition: transform .35s ease, box-shadow .35s ease;
}

.home-hero-photo:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-6px);
    box-shadow: 0 0 70px rgba(59, 130, 246, .28), 0 34px 90px rgba(0, 0, 0, .62);
}

.home-hero-photo img,
.hero-photo-card img,
.role-card img {
    filter: saturate(1.15) contrast(1.05);
}

input,
select,
textarea,
.jobs-filter input,
.jobs-filter select,
.apply-panel input,
.apply-panel textarea {
    color: #f8fafc;
    border-color: rgba(168, 85, 247, .24);
    background: rgba(255, 255, 255, .06);
}

input::placeholder,
textarea::placeholder {
    color: #64748b;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #a855f7;
    box-shadow: var(--ring);
}

select option {
    color: #0f172a;
}

.home-soft,
.section-white,
.jobs-directory,
.job-detail-page,
.jobs-heading,
.site-footer {
    background:
        linear-gradient(rgba(168, 85, 247, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, .03) 1px, transparent 1px),
        #060a1a;
    background-size: 60px 60px;
}

.trust-strip {
    border-color: rgba(168, 85, 247, .14);
    background: rgba(168, 85, 247, .035);
}

.home-stat-grid strong,
.photo-stat strong,
.area-grid span,
.job-budget,
.job-price,
.jobs-count strong {
    color: #c084fc;
}

.home-section-title h2,
.section-head h2,
.feature-band h2,
.cta-panel h2,
.finder-panel h2,
.fee-card h2,
.listing-job h2 a,
.job-summary-panel h1,
.detail-section h2,
.sidebar-panel h2,
.tutor-cta h2 {
    color: #e5e7eb;
}

.home-section-title a,
.home-chips a,
.search-chips a,
.quick-chips a,
.compact-job-list a,
.sidebar-links a,
.panel-link,
.search-link-list a,
.breadcrumb a {
    color: #93c5fd;
}

.home-chips a,
.quick-chips a,
.people-search a {
    border-color: rgba(168, 85, 247, .22);
    background: rgba(255, 255, 255, .055);
    box-shadow: none;
}

.home-chips a:hover,
.quick-chips a:hover,
.people-search a:hover {
    color: #e5e7eb;
    border-color: rgba(168, 85, 247, .45);
    background: rgba(168, 85, 247, .12);
}

.audience-tabs {
    border: 1px solid rgba(168, 85, 247, .2);
    background: rgba(255, 255, 255, .045);
}

.audience-tabs button {
    color: #cbd5e1;
}

.audience-tabs button.active {
    color: #e5e7eb;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    box-shadow: 0 0 25px rgba(168, 85, 247, .45);
}

.steps-list b,
.school-logo-grid b,
.exam-grid b,
.subject-grid b,
.avatar,
.home-tutor-photo,
.activity-list b,
.why-list b,
.home-review-grid b,
.parent-identity > span,
.tutor-avatar {
    color: #e5e7eb;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    box-shadow: 0 0 25px rgba(168, 85, 247, .35);
}

.home-job-list em,
.status-badge {
    color: #4ade80;
    background: rgba(74, 222, 128, .1);
}

.verified-badge,
.featured-badge,
.job-price span {
    color: #c084fc;
    background: rgba(168, 85, 247, .12);
}

.listing-facts,
.job-tags,
.job-details-table,
.job-details-table div,
.job-details-table dt,
.home-tutor-grid article a,
.tutor-bottom {
    border-color: rgba(168, 85, 247, .16);
}

.job-details-table dt,
.tutor-metrics span {
    color: #a8b3c7;
    background: rgba(255, 255, 255, .035);
}

.home-tutor-grid article a {
    color: #e5e7eb;
    background: rgba(168, 85, 247, .13);
}

.home-tutor-grid article a:hover {
    background: linear-gradient(135deg, #a855f7, #3b82f6);
}

.site-footer {
    border-top: 1px solid rgba(168, 85, 247, .16);
}

.site-footer h3,
.site-footer a {
    color: #e5e7eb;
}

.footer-bottom {
    border-color: rgba(168, 85, 247, .16);
}

.tutor-cta {
    background: linear-gradient(135deg, rgba(168, 85, 247, .26), rgba(59, 130, 246, .2)), #080d20;
    border: 1px solid rgba(168, 85, 247, .24);
    box-shadow: 0 0 40px rgba(168, 85, 247, .18);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #050816;
}

::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, #a855f7, #3b82f6);
}

@media (max-width: 900px) {
    .nav {
        background: rgba(5, 8, 22, .96);
        border: 1px solid rgba(168, 85, 247, .22);
        box-shadow: 0 18px 48px rgba(0, 0, 0, .5);
    }
}

/* FINAL NO-GRID OVERRIDE: removes notebook/copy/table lines everywhere. */
html,
body,
main,
.ref-home,
.ref-section,
.ref-hero,
.home-band,
.home-hero,
.hero,
.directory-hero,
.page-hero,
.jobs-heading,
.home-soft,
.section-white,
.jobs-directory,
.job-detail-page,
.site-footer {
    background:
        radial-gradient(circle at 14% 4%, rgba(168, 85, 247, .16), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(59, 130, 246, .13), transparent 28%),
        radial-gradient(circle at 50% 80%, rgba(236, 72, 153, .07), transparent 32%),
        linear-gradient(180deg, #050816 0%, #060a1a 48%, #050816 100%) !important;
    background-size: auto !important;
}

body::before,
body::after,
.ref-home::before,
.ref-home::after,
.ref-section::before,
.ref-section::after,
.ref-hero::before,
.ref-hero::after {
    background-image: none !important;
}

/* ABSOLUTE LAST FOOTER FIX: no notebook/grid texture in footer. */
.site-footer,
.site-footer .container,
.site-footer .footer-grid,
.site-footer .footer-bottom,
.site-footer > *,
.footer-grid,
.footer-bottom {
    background: #050816 !important;
    background-image: none !important;
    background-size: auto !important;
}

.site-footer::before,
.site-footer::after,
.footer-grid::before,
.footer-grid::after,
.footer-bottom::before,
.footer-bottom::after {
    content: none !important;
    display: none !important;
    background: none !important;
    background-image: none !important;
}

/* Footer must stay plain dark, with no notebook/grid texture. */
.site-footer,
.site-footer .container,
.site-footer .footer-grid,
.site-footer .footer-bottom,
.site-footer > *,
.footer-grid,
.footer-bottom {
    background: #050816 !important;
    background-image: none !important;
    background-size: auto !important;
}

.site-footer::before,
.site-footer::after,
.footer-grid::before,
.footer-grid::after,
.footer-bottom::before,
.footer-bottom::after {
    content: none !important;
    display: none !important;
    background: none !important;
    background-image: none !important;
}

/* Remove the math/table-like grid pattern from every public page background. */
body,
.home-hero,
.hero,
.directory-hero,
.page-hero,
.jobs-heading,
.home-soft,
.section-white,
.jobs-directory,
.job-detail-page,
.site-footer {
    background-image:
        radial-gradient(circle at 14% 4%, rgba(168, 85, 247, .16), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(59, 130, 246, .13), transparent 28%),
        radial-gradient(circle at 50% 80%, rgba(236, 72, 153, .07), transparent 32%),
        linear-gradient(180deg, #050816 0%, #060a1a 48%, #050816 100%) !important;
    background-size: auto, auto, auto, auto !important;
}

body::before {
    background: none !important;
}

/* Reference skin: makes every public page feel like the provided neon React design. */
:root {
    --ref-bg: #050816;
    --ref-bg-2: #060a1a;
    --ref-card: rgba(255, 255, 255, .04);
    --ref-card-hover: rgba(168, 85, 247, .07);
    --ref-border: rgba(255, 255, 255, .08);
    --ref-border-hot: rgba(168, 85, 247, .35);
    --ref-text: #e5e7eb;
    --ref-muted: #9ca3af;
    --ref-purple: #a855f7;
    --ref-blue: #3b82f6;
    --ref-pink: #ec4899;
    --ref-shadow: 0 0 40px rgba(168, 85, 247, .18), 0 12px 40px rgba(0, 0, 0, .5);
}

html,
body {
    background: var(--ref-bg);
}

body {
    color: var(--ref-text);
    background:
        linear-gradient(rgba(168, 85, 247, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, .04) 1px, transparent 1px),
        radial-gradient(circle at 14% 4%, rgba(168, 85, 247, .16), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(59, 130, 246, .13), transparent 28%),
        radial-gradient(circle at 50% 80%, rgba(236, 72, 153, .07), transparent 32%),
        linear-gradient(180deg, #050816 0%, #060a1a 48%, #050816 100%) !important;
    background-size: 60px 60px, 60px 60px, auto, auto, auto, auto !important;
}

body::before {
    background:
        linear-gradient(rgba(168, 85, 247, .032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, .032) 1px, transparent 1px) !important;
    background-size: 60px 60px !important;
}

.axra-reference-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.axra-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(.2px);
    opacity: .07;
    background: radial-gradient(circle, var(--ref-purple), var(--ref-blue));
    animation: axra-orb-morph-a 12s ease-in-out infinite;
}

.axra-orb-one {
    width: 520px;
    height: 520px;
    top: 8%;
    right: -10%;
}

.axra-orb-two {
    width: 430px;
    height: 430px;
    bottom: 4%;
    left: -9%;
    background: radial-gradient(circle, var(--ref-blue), var(--ref-pink));
    animation-name: axra-orb-morph-b;
    animation-duration: 14s;
}

.axra-orb-three {
    width: 300px;
    height: 300px;
    top: 48%;
    left: 42%;
    opacity: .04;
    background: radial-gradient(circle, var(--ref-pink), var(--ref-purple));
}

.axra-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--ref-purple);
    box-shadow: 0 0 12px currentColor;
    animation: axra-particle-rise 7s ease-in-out infinite;
}

.axra-particle-one { left: 12%; top: 78%; color: var(--ref-purple); }
.axra-particle-two { left: 35%; top: 88%; color: var(--ref-blue); animation-delay: 1.2s; }
.axra-particle-three { left: 68%; top: 82%; color: var(--ref-pink); animation-delay: 2.1s; }
.axra-particle-four { left: 86%; top: 72%; color: var(--ref-purple); animation-delay: 3.2s; }

@keyframes axra-orb-morph-a {
    0%, 100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; transform: translate(0, 0) scale(1); }
    33% { border-radius: 40% 60% 45% 55% / 60% 40% 50% 60%; transform: translate(20px, -15px) scale(1.05); }
    66% { border-radius: 55% 45% 60% 40% / 45% 55% 60% 40%; transform: translate(-10px, 20px) scale(.97); }
}

@keyframes axra-orb-morph-b {
    0%, 100% { border-radius: 40% 60% 50% 50% / 60% 40% 50% 50%; transform: translate(0, 0) scale(1); }
    33% { border-radius: 60% 40% 40% 60% / 40% 60% 60% 40%; transform: translate(-20px, 10px) scale(1.08); }
    66% { border-radius: 50% 50% 60% 40% / 50% 50% 40% 60%; transform: translate(15px, -20px) scale(.95); }
}

@keyframes axra-particle-rise {
    0%, 100% { opacity: 0; transform: translate3d(0, 0, 0); }
    45% { opacity: .8; }
    70% { opacity: .35; transform: translate3d(22px, -110px, 0); }
}

.site-header,
.site-footer,
.home-hero,
.hero,
.directory-hero,
.page-hero,
.jobs-heading,
.home-soft,
.section-white,
.jobs-directory,
.job-detail-page,
.home-band {
    background: transparent !important;
}

.site-header {
    background: rgba(5, 8, 22, .76) !important;
    border-bottom: 1px solid rgba(168, 85, 247, .18) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .42) !important;
}

.topbar,
.footer-grid,
.footer-bottom {
    color: var(--ref-text);
}

.tutor-finder,
.finder-panel,
.fee-card,
.home-fee-calculator,
.urgent-tutor,
.trust-strip div,
.home-stat-grid div,
.steps-list div,
.school-logo-grid a,
.exam-grid a,
.home-tutor-grid article,
.home-job-list a,
.activity-list div,
.why-list div,
.home-review-grid blockquote,
.home-faqs details,
.subject-grid a,
.class-grid a,
.area-grid a,
.market-tutor-card,
.info-card,
.quote-card,
.jobs-filter,
.listing-job,
.empty-jobs,
.job-summary-panel,
.job-fact-strip,
.detail-section,
.sidebar-panel,
.people-search,
.school-grid div,
.photo-stat,
.hero-search,
.role-card,
.profile-card,
.faq-item-static,
.job-card,
.tutor-cta {
    isolation: isolate;
    color: var(--ref-text) !important;
    border: 1px solid var(--ref-border) !important;
    border-radius: 16px !important;
    background: var(--ref-card) !important;
    box-shadow: 0 4px 24px rgba(168, 85, 247, .15), 0 2px 4px rgba(0, 0, 0, .5) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.home-tutor-grid article,
.school-logo-grid a,
.exam-grid a,
.subject-grid a,
.class-grid a,
.steps-list div,
.home-job-list a,
.listing-job,
.market-tutor-card,
.info-card,
.quote-card,
.area-grid a,
.role-card,
.job-card,
.profile-card {
    transform-style: preserve-3d;
    transition: transform .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease !important;
}

.home-tutor-grid article:hover,
.school-logo-grid a:hover,
.exam-grid a:hover,
.subject-grid a:hover,
.class-grid a:hover,
.steps-list div:hover,
.home-job-list a:hover,
.listing-job:hover,
.market-tutor-card:hover,
.info-card:hover,
.quote-card:hover,
.area-grid a:hover,
.role-card:hover,
.job-card:hover,
.profile-card:hover {
    background: var(--ref-card-hover) !important;
    border-color: var(--ref-border-hot) !important;
    box-shadow: var(--ref-shadow) !important;
    transform: translateY(-5px) scale(1.01) !important;
}

.home-tutor-grid article::before,
.school-logo-grid a::before,
.exam-grid a::before,
.subject-grid a::before,
.class-grid a::before,
.steps-list div::before,
.home-job-list a::before,
.listing-job::before,
.market-tutor-card::before,
.info-card::before,
.quote-card::before,
.area-grid a::before,
.role-card::before,
.job-card::before,
.profile-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: 18px;
    background: linear-gradient(270deg, var(--ref-purple), var(--ref-blue), var(--ref-pink), var(--ref-purple));
    background-size: 400% 400%;
    opacity: 0;
    transition: opacity .3s ease;
    animation: axra-border-travel 3s ease infinite;
}

.home-tutor-grid article:hover::before,
.school-logo-grid a:hover::before,
.exam-grid a:hover::before,
.subject-grid a:hover::before,
.class-grid a:hover::before,
.steps-list div:hover::before,
.home-job-list a:hover::before,
.listing-job:hover::before,
.market-tutor-card:hover::before,
.info-card:hover::before,
.quote-card:hover::before,
.area-grid a:hover::before,
.role-card:hover::before,
.job-card:hover::before,
.profile-card:hover::before {
    opacity: 1;
}

.brand,
.nav a,
h1,
h2,
h3,
.home-section-title h2,
.listing-job h2 a,
.job-summary-panel h1,
.detail-section h2,
.sidebar-panel h2 {
    color: var(--ref-text) !important;
}

p,
small,
.home-hero-copy p,
.hero-copy p,
.page-hero p,
.jobs-heading p,
.home-tutor-grid p,
.home-tutor-grid span,
.home-tutor-grid small,
.home-job-list span,
.why-list span,
.activity-list p,
.activity-list span,
.home-faqs p,
.site-footer p,
.site-footer span,
.job-location,
.posted-time,
.job-summary-meta > span,
.detail-section > p,
.listing-facts span {
    color: var(--ref-muted) !important;
}

.home-location,
.eyebrow,
.section-kicker,
.live-pill,
.home-section-title span,
.home-stat-grid strong,
.jobs-count strong,
.job-budget,
.job-price,
.area-grid span {
    color: #c084fc !important;
}

.brand-mark,
.steps-list b,
.school-logo-grid b,
.exam-grid b,
.subject-grid b,
.avatar,
.home-tutor-photo,
.activity-list b,
.why-list b,
.home-review-grid b,
.parent-identity > span,
.tutor-avatar {
    border-radius: 12px !important;
    color: var(--ref-text) !important;
    background: linear-gradient(135deg, var(--ref-purple), var(--ref-blue)) !important;
    box-shadow: 0 0 25px rgba(168, 85, 247, .55), 0 0 60px rgba(168, 85, 247, .2) !important;
}

.nav .nav-admin,
.btn-primary,
.home-primary-btn,
.home-fee-calculator button,
.urgent-tutor a,
.job-btn-primary {
    color: var(--ref-text) !important;
    background: linear-gradient(90deg, var(--ref-purple) 0%, #7c3aed 20%, var(--ref-purple) 40%, var(--ref-blue) 60%, var(--ref-purple) 80%, #7c3aed 100%) !important;
    background-size: 200% auto !important;
    border: 0 !important;
    box-shadow: 0 0 25px rgba(168, 85, 247, .55), 0 0 60px rgba(168, 85, 247, .2) !important;
    animation: axra-shimmer 3s linear infinite !important;
}

.home-outline-btn,
.btn-outline,
.btn-light,
.job-btn-outline,
.job-btn-whatsapp,
.job-btn-light,
.home-chips a,
.quick-chips a,
.people-search a {
    color: #d1d5db !important;
    border: 1px solid rgba(168, 85, 247, .28) !important;
    background: rgba(255, 255, 255, .04) !important;
}

input,
select,
textarea,
.jobs-filter input,
.jobs-filter select,
.apply-panel input,
.apply-panel textarea {
    color: var(--ref-text) !important;
    border: 1px solid rgba(168, 85, 247, .24) !important;
    background: rgba(255, 255, 255, .055) !important;
    border-radius: 12px !important;
}

.home-hero-photo,
.hero-photo-card {
    border: 1px solid rgba(168, 85, 247, .24) !important;
    border-radius: 24px !important;
    background: linear-gradient(135deg, rgba(168, 85, 247, .2), rgba(59, 130, 246, .16)), rgba(255, 255, 255, .04) !important;
    box-shadow: 0 0 50px rgba(168, 85, 247, .22), 0 30px 80px rgba(0, 0, 0, .55) !important;
}

.trust-strip,
.site-footer {
    border-color: rgba(168, 85, 247, .12) !important;
    background: rgba(168, 85, 247, .03) !important;
}

@media (max-width: 640px) {
    .axra-reference-bg {
        display: none;
    }
}

/* Exact-home rebuild classes inspired by the provided reference. */
.ref-home {
    position: relative;
    overflow: hidden;
    background: transparent;
}

.ref-hero {
    min-height: calc(100svh - 72px);
    display: flex;
    align-items: center;
    padding: 92px 0 70px;
}

.ref-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr);
    gap: 54px;
    align-items: center;
}

.ref-kicker,
.ref-title span,
.ref-final-cta > span {
    display: inline-flex;
    margin-bottom: 16px;
    color: #c084fc;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.ref-hero h1 {
    max-width: 820px;
    margin-bottom: 22px;
    color: #e5e7eb;
    font-size: clamp(48px, 7vw, 92px);
    line-height: .88;
    font-weight: 900;
    background: linear-gradient(135deg, #e5e7eb 0%, #c4b5fd 44%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ref-hero p {
    max-width: 680px;
    color: #9ca3af;
    font-size: clamp(17px, 2vw, 20px);
}

.ref-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 22px;
}

.ref-btn,
.ref-search button,
.ref-calculator button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 12px 20px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ref-btn:hover,
.ref-search button:hover,
.ref-calculator button:hover {
    transform: translateY(-3px) scale(1.02);
}

.ref-btn-primary,
.ref-search button,
.ref-calculator button {
    color: #e5e7eb;
    border: 0;
    background: linear-gradient(90deg, #a855f7 0%, #7c3aed 20%, #a855f7 40%, #3b82f6 60%, #a855f7 80%, #7c3aed 100%);
    background-size: 200% auto;
    box-shadow: 0 0 25px rgba(168, 85, 247, .55), 0 0 60px rgba(168, 85, 247, .2);
    animation: axra-shimmer 3s linear infinite;
}

.ref-btn-ghost {
    color: #d1d5db;
    border: 1px solid rgba(168, 85, 247, .28);
    background: rgba(255, 255, 255, .04);
}

.ref-search,
.ref-calculator {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 10px;
    max-width: 820px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .04);
    box-shadow: 0 4px 24px rgba(168, 85, 247, .15), 0 2px 4px rgba(0, 0, 0, .5);
    backdrop-filter: blur(12px);
}

.ref-search select,
.ref-calculator select {
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, .24);
    background: rgba(255, 255, 255, .055);
    color: #e5e7eb;
}

.ref-mini-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px;
}

.ref-mini-chips a {
    border: 1px solid rgba(168, 85, 247, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    color: #d1d5db;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.ref-visual-card {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, .24);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(168, 85, 247, .2), rgba(59, 130, 246, .16)), rgba(255, 255, 255, .04);
    box-shadow: 0 0 50px rgba(168, 85, 247, .22), 0 30px 80px rgba(0, 0, 0, .55);
    transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
}

.ref-visual-card img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    opacity: .16;
    filter: saturate(1.5) contrast(1.08);
    mix-blend-mode: luminosity;
}

.ref-visual-title {
    position: absolute;
    left: 28px;
    top: 28px;
    max-width: 280px;
    color: #e5e7eb;
    font-size: clamp(42px, 5vw, 74px);
    font-weight: 900;
    line-height: .9;
}

.ref-visual-tag {
    position: absolute;
    right: 24px;
    top: 28px;
    width: 180px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    background: rgba(5, 8, 22, .74);
    color: #d1d5db;
    padding: 13px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.ref-visual-stat {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .05);
    padding: 18px;
    backdrop-filter: blur(12px);
}

.ref-visual-stat strong {
    display: block;
    color: #c084fc;
    font-size: 34px;
    line-height: 1;
}

.ref-visual-stat span {
    color: #9ca3af;
    font-weight: 800;
}

.ref-scan-line {
    position: absolute;
    inset-inline: 0;
    top: -10%;
    z-index: 2;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, .65), transparent);
    animation: scan 4s ease-in-out infinite;
}

.ref-marquee {
    overflow: hidden;
    border-block: 1px solid rgba(168, 85, 247, .12);
    background: rgba(168, 85, 247, .03);
    padding: 20px 0;
}

.ref-marquee div {
    display: flex;
    width: max-content;
    gap: 28px;
    animation: marquee-left 25s linear infinite;
}

.ref-marquee span {
    color: #d1d5db;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.ref-section {
    padding: 82px 0;
}

.ref-title {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.ref-title.align-left {
    margin-inline: 0;
    text-align: left;
}

.ref-title h2,
.ref-final-cta h2 {
    margin-bottom: 10px;
    color: #e5e7eb;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1;
    font-weight: 900;
}

.ref-title p,
.ref-final-cta p {
    color: #9ca3af;
    font-size: 16px;
}

.ref-stats,
.ref-portal-grid,
.ref-city-grid,
.ref-tutor-grid,
.ref-review-grid {
    display: grid;
    gap: 18px;
}

.ref-stats {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.ref-stats div,
.ref-portal-grid a,
.ref-city-grid a,
.ref-tutor-grid article,
.ref-job-list a,
.ref-demand a,
.ref-list div,
.ref-school-list a,
.ref-review-grid blockquote,
.ref-faqs details,
.ref-final-cta {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .04);
    color: #e5e7eb;
    box-shadow: 0 4px 24px rgba(168, 85, 247, .15), 0 2px 4px rgba(0, 0, 0, .5);
    backdrop-filter: blur(12px);
    text-decoration: none;
    transition: transform .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.ref-stats div:hover,
.ref-portal-grid a:hover,
.ref-city-grid a:hover,
.ref-tutor-grid article:hover,
.ref-job-list a:hover,
.ref-demand a:hover,
.ref-list div:hover,
.ref-school-list a:hover,
.ref-review-grid blockquote:hover,
.ref-faqs details:hover,
.ref-final-cta:hover {
    background: rgba(168, 85, 247, .07);
    border-color: rgba(168, 85, 247, .35);
    box-shadow: 0 0 40px rgba(168, 85, 247, .18), 0 12px 40px rgba(0, 0, 0, .5);
    transform: translateY(-5px);
}

.ref-stats div {
    padding: 22px;
    text-align: center;
}

.ref-stats strong {
    display: block;
    color: #c084fc;
    font-size: 34px;
    line-height: 1;
}

.ref-stats span {
    color: #9ca3af;
    font-size: 13px;
    font-weight: 800;
}

.ref-portal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ref-portal-grid a,
.ref-city-grid a,
.ref-tutor-grid article {
    padding: 24px;
}

.ref-portal-grid b,
.ref-city-grid span,
.ref-job-list b,
.ref-list b,
.ref-school-list b,
.ref-review-grid b,
.ref-avatar {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    color: #e5e7eb;
    font-weight: 900;
    box-shadow: 0 0 25px rgba(168, 85, 247, .35);
}

.ref-portal-grid h3,
.ref-city-grid strong,
.ref-tutor-grid h3 {
    margin: 20px 0 10px;
    color: #e5e7eb;
    font-size: 20px;
}

.ref-portal-grid p,
.ref-city-grid small,
.ref-tutor-grid p,
.ref-card-meta,
.ref-job-list span,
.ref-demand span,
.ref-list span,
.ref-school-list span,
.ref-review-grid span,
.ref-faqs p {
    color: #9ca3af;
}

.ref-portal-grid em {
    display: inline-flex;
    margin-top: 16px;
    color: #c084fc;
    font-style: normal;
    font-weight: 900;
}

.ref-city-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ref-city-grid a {
    display: grid;
}

.ref-city-grid span {
    margin-bottom: 14px;
}

.ref-steps {
    margin-top: 22px;
}

.ref-tutor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ref-avatar {
    width: 68px;
    height: 68px;
    overflow: hidden;
    margin-bottom: 18px;
    border-radius: 18px;
}

.ref-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ref-card-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 16px 0;
    font-size: 12px;
    font-weight: 800;
}

.ref-card-meta span {
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    padding: 9px;
}

.ref-tutor-grid article > strong {
    display: block;
    margin-bottom: 14px;
    color: #c084fc;
}

.ref-tutor-grid article > a {
    color: #d1d5db;
    font-weight: 900;
    text-decoration: none;
}

.ref-two {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.ref-job-list,
.ref-demand,
.ref-list,
.ref-school-list,
.ref-faqs {
    display: grid;
    gap: 12px;
}

.ref-job-list a,
.ref-list div,
.ref-school-list a,
.ref-review-grid blockquote > div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
}

.ref-job-list p,
.ref-list p,
.ref-school-list p,
.ref-review-grid p {
    margin: 0;
}

.ref-job-list strong,
.ref-list strong,
.ref-school-list strong,
.ref-review-grid strong,
.ref-demand strong {
    color: #e5e7eb;
}

.ref-job-list em {
    margin-left: auto;
    border-radius: 999px;
    background: rgba(74, 222, 128, .1);
    color: #4ade80;
    padding: 5px 9px;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.ref-demand a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 14px;
    align-items: center;
    padding: 16px;
}

.ref-demand b {
    color: #c084fc;
}

.ref-demand p {
    margin: 0;
}

.ref-demand span {
    display: block;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
}

.ref-demand i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #a855f7, #3b82f6);
}

.ref-demand em {
    color: #c084fc;
    font-style: normal;
    font-weight: 900;
}

.ref-calculator {
    max-width: none;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
}

.ref-calculator p {
    grid-column: 1 / -1;
    margin: 4px 6px 0;
    color: #9ca3af;
    font-weight: 800;
}

.ref-review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ref-review-grid blockquote {
    margin: 0;
    padding: 8px 18px 22px;
}

.ref-review-grid q {
    color: #d1d5db;
}

.ref-faqs details {
    padding: 18px;
}

.ref-faqs summary {
    color: #e5e7eb;
    font-weight: 900;
    cursor: pointer;
}

.ref-final-cta {
    padding: 34px;
}

@media (max-width: 980px) {
    .ref-hero-grid,
    .ref-two {
        grid-template-columns: 1fr;
    }

    .ref-visual-card {
        min-height: 420px;
    }

    .ref-visual-card img {
        height: 420px;
    }

    .ref-stats,
    .ref-city-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ref-portal-grid,
    .ref-tutor-grid,
    .ref-review-grid {
        grid-template-columns: 1fr;
    }

    .ref-search,
    .ref-calculator {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .ref-hero {
        min-height: auto;
        padding: 44px 0;
    }

    .ref-hero h1 {
        font-size: 42px;
    }

    .ref-search,
    .ref-calculator,
    .ref-stats,
    .ref-city-grid {
        grid-template-columns: 1fr;
    }

    .ref-visual-card {
        transform: none;
    }
}

/* Strict reference match: no white surfaces, no pure-white UI text. */
body,
main,
section,
.mobile-home,
.container,
.home-band,
.home-stats,
.jobs-heading,
.jobs-directory,
.job-detail-page {
    color: #e5e7eb;
}

.site-header,
.site-footer,
.home-hero,
.hero,
.directory-hero,
.page-hero,
.home-soft,
.section-white,
.jobs-heading,
.jobs-directory,
.job-detail-page {
    background-color: #050816;
}

.brand,
.nav a,
.home-section-title h2,
.home-hero h1,
.hero h1,
.page-hero h1,
.jobs-heading h1,
.job-summary-panel h1,
.listing-job h2 a,
.detail-section h2,
.sidebar-panel h2,
.site-footer h3,
.site-footer a,
.home-tutor-grid h3,
.school-logo-grid strong,
.steps-list strong,
.why-list strong,
.activity-list strong,
.home-review-grid strong,
.home-job-list strong,
.home-faqs summary,
.subject-grid span,
.class-grid a,
.job-details-table strong {
    color: #e5e7eb;
}

.brand-mark,
.steps-list b,
.school-logo-grid b,
.exam-grid b,
.subject-grid b,
.avatar,
.home-tutor-photo,
.activity-list b,
.why-list b,
.home-review-grid b,
.parent-identity > span,
.tutor-avatar {
    color: #e5e7eb;
}

.tutor-finder,
.finder-panel,
.fee-card,
.home-fee-calculator,
.urgent-tutor,
.trust-strip div,
.home-stat-grid div,
.steps-list div,
.school-logo-grid a,
.exam-grid a,
.home-tutor-grid article,
.home-job-list a,
.activity-list div,
.why-list div,
.home-review-grid blockquote,
.home-faqs details,
.subject-grid a,
.class-grid a,
.area-grid a,
.market-tutor-card,
.info-card,
.quote-card,
.jobs-filter,
.listing-job,
.empty-jobs,
.job-summary-panel,
.job-fact-strip,
.detail-section,
.sidebar-panel,
.people-search,
.school-grid div,
.photo-stat,
.hero-search,
.quick-chips a,
.home-chips a,
.people-search a,
.job-details-table,
.job-details-table dt,
.tutor-metrics span,
.status-badge,
.verified-badge,
.featured-badge,
.job-price span {
    background-color: rgba(255, 255, 255, .045);
    background-image: none;
    border-color: rgba(168, 85, 247, .18);
}

input,
select,
textarea,
.jobs-filter input,
.jobs-filter select,
.apply-panel input,
.apply-panel textarea {
    color: #e5e7eb;
    background-color: rgba(255, 255, 255, .055);
}

.home-outline-btn,
.btn-outline,
.btn-light,
.job-btn-outline,
.job-btn-whatsapp,
.job-btn-light,
.home-chips a,
.quick-chips a,
.people-search a {
    color: #d1d5db;
    background: rgba(255, 255, 255, .045);
}

.home-primary-btn,
.btn-primary,
.urgent-tutor a,
.home-fee-calculator button,
.job-btn-primary,
.nav .nav-admin {
    color: #e5e7eb;
}

.home-hero h1,
.hero h1,
.page-hero h1 {
    background: linear-gradient(135deg, #e5e7eb 0%, #c4b5fd 44%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 640px) {
    .axra-cursor-glow,
    .axra-splash {
        display: none;
    }

    .home-hero h1 {
        font-size: 34px;
    }

    .home-hero-photo {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .axra-splash {
        display: none;
    }
}

.blog-content {
    color: #344054;
    line-height: 1.8;
}

.blog-content img {
    max-width: 100%;
    height: auto;
}

.discovery-hero {
    padding: 54px 0 44px;
    border-bottom: 1px solid #e2e7ef;
    background: #f5f8fc;
}

.discovery-hero .section-kicker {
    display: block;
    margin-top: 24px;
}

.discovery-hero h1 {
    max-width: 850px;
    margin: 8px 0 12px;
    color: #10213d;
    font-size: 46px;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.discovery-hero p {
    max-width: 720px;
    margin-bottom: 0;
    color: #647086;
    font-size: 16px;
}

.discovery-directory,
.discovery-results,
.discovery-related {
    padding: 42px 0 64px;
    background: rgba(255, 255, 255, .045);
}

.discovery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.discovery-grid > a {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
    border: 1px solid #e2e7ef;
    border-radius: 7px;
    background: rgba(255, 255, 255, .045);
    color: #1d2c44;
    padding: 17px;
    box-shadow: 0 5px 16px rgba(18, 38, 63, .04);
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.discovery-grid > a:hover {
    border-color: #9fb6d4;
    box-shadow: 0 12px 28px rgba(18, 38, 63, .09);
    transform: translateY(-3px);
}

.discovery-icon {
    width: 42px;
    height: 42px;
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 6px;
    background: #eaf1fc;
    color: #2664b0;
    font-weight: 900;
}

.discovery-grid div {
    min-width: 0;
    flex: 1;
}

.discovery-grid h2 {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 15px;
}

.discovery-grid p {
    margin: 4px 0 0;
    color: #778195;
    font-size: 10px;
}

.discovery-grid b {
    color: #7a8ba2;
    font-size: 22px;
}

.discovery-counts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 25px;
}

.discovery-counts div {
    min-width: 0;
    border: 1px solid #dfe6f0;
    border-radius: 6px;
    background: rgba(255, 255, 255, .045);
    padding: 12px 16px;
}

.discovery-counts strong,
.discovery-counts span {
    display: block;
}

.discovery-counts strong {
    color: #1267b7;
    font-size: 23px;
}

.discovery-counts span {
    color: #778195;
    font-size: 10px;
}

.discovery-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.discovery-section-head span {
    color: #079369;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.discovery-section-head h2 {
    margin: 4px 0 0;
    color: #14233d;
    font-size: 25px;
}

.discovery-section-head > a {
    color: #2563b8;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.discovery-tutor-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.discovery-tutor-grid > a {
    min-width: 0;
    border: 1px solid #e2e7ef;
    border-radius: 7px;
    background: rgba(255, 255, 255, .045);
    color: #25364f;
    padding: 14px;
    text-decoration: none;
}

.discovery-tutor-photo {
    height: 150px;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-bottom: 12px;
    border-radius: 5px;
    background: #eaf1fc;
    color: #2664b0;
    font-size: 30px;
    font-weight: 900;
}

.discovery-tutor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discovery-tutor-grid h3 {
    margin: 10px 0 4px;
    font-size: 14px;
}

.discovery-tutor-grid p,
.discovery-tutor-grid span,
.discovery-tutor-grid strong {
    display: block;
    overflow-wrap: anywhere;
}

.discovery-tutor-grid p {
    min-height: 32px;
    margin-bottom: 7px;
    color: #657186;
    font-size: 10px;
}

.discovery-tutor-grid span {
    color: #7b8597;
    font-size: 9px;
}

.discovery-tutor-grid strong {
    margin-top: 8px;
    color: #079369;
    font-size: 11px;
}

.discovery-jobs-band {
    background: #f6f8fb;
}

.discovery-job-list {
    border-color: #dde4ed;
}

.discovery-related {
    border-top: 1px solid #e6ebf2;
    background: #f8fafc;
}

.discovery-related h2 {
    margin-bottom: 15px;
    font-size: 19px;
}

@media (max-width: 900px) {
    .discovery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .discovery-tutor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .discovery-hero {
        padding: 34px 0 30px;
    }

    .discovery-hero h1 {
        font-size: 32px;
    }

    .discovery-grid {
        grid-template-columns: 1fr;
    }

    .discovery-section-head {
        display: block;
        align-items: flex-start;
    }

    .discovery-section-head h2 {
        font-size: 20px;
    }

    .discovery-section-head > a {
        display: inline-flex;
        margin-top: 8px;
    }

    .discovery-counts {
        gap: 7px;
    }

    .discovery-counts div {
        padding: 10px 8px;
    }

    .discovery-counts strong {
        font-size: 19px;
    }

    .discovery-tutor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .discovery-tutor-photo {
        height: 110px;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 90, 95, .18), rgba(139, 92, 246, .16), rgba(34, 211, 238, .20));
    color: #6d28d9;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 800;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    color: #405168;
    font-size: 13px;
    font-weight: 750;
}

.blog-card .badge {
    margin-bottom: 14px;
}

.faq-list {
    max-width: 820px;
    display: grid;
    gap: 14px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    align-items: start;
}

.contact-card {
    position: sticky;
    top: 96px;
}

.contact-card .btn {
    margin-top: 20px;
}

.feature-band {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 28px;
    align-items: center;
}

.visual-board {
    min-height: 430px;
    display: grid;
    align-content: end;
    padding: 22px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 90, 95, .82), rgba(139, 92, 246, .72), rgba(34, 211, 238, .72)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, .30) 0 12px, rgba(255, 255, 255, .08) 12px 24px);
    box-shadow: var(--shadow-3d);
}

.mini-list {
    display: grid;
    gap: 12px;
}

.mini-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .70);
    box-shadow: 0 12px 24px rgba(17, 24, 39, .08);
}

.mini-row strong {
    display: block;
}

.mini-row span {
    color: var(--muted);
    font-size: 13px;
}

.mini-row b,
.job-card span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(0, 165, 141, .12), rgba(255, 209, 102, .22));
    color: var(--brand-dark);
    padding: 5px 10px;
    font-size: 12px;
    white-space: nowrap;
}

.job-list {
    display: grid;
    gap: 12px;
}

.job-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .70), rgba(221, 247, 255, .46));
    box-shadow: 0 10px 0 rgba(20, 33, 61, .035), 0 18px 36px rgba(20, 33, 61, .07);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.job-card h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.job-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.quote-card {
    min-height: 230px;
    display: grid;
    align-content: space-between;
}

.stars {
    color: var(--accent);
    font-size: 18px;
}

.quote-card blockquote {
    margin: 14px 0 20px;
    color: #263449;
    font-size: 17px;
}

.quote-card cite {
    color: var(--muted);
    font-style: normal;
    font-weight: 750;
}

.cta-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 52px;
    border-radius: 20px;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .14) 0 12px, rgba(255, 255, 255, 0) 12px 24px),
        linear-gradient(135deg, #ef4444 0%, #8b5cf6 42%, #06b6d4 72%, #16a34a 100%);
    color: #e5e7eb;
    box-shadow: 0 16px 0 rgba(20, 33, 61, .08), 0 34px 80px rgba(20, 33, 61, .22);
    position: relative;
    overflow: hidden;
}

.cta-panel::after {
    content: "";
    position: absolute;
    inset: 1px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 19px;
    pointer-events: none;
}

.cta-panel p {
    max-width: 680px;
    color: #c9d6e6;
    margin-bottom: 0;
}

.site-footer {
    padding: 38px 0 20px;
    background:
        linear-gradient(135deg, rgba(255, 90, 95, .24), transparent 32%),
        linear-gradient(145deg, #111827 0%, #312e81 52%, #064e3b 100%);
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #b9c7d8;
}

.site-footer .brand {
    color: #e5e7eb;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 28px;
}

.footer-brand {
    margin-bottom: 12px;
}

.footer-grid h3 {
    color: #e5e7eb;
    font-size: 15px;
    margin-bottom: 12px;
}

.footer-grid a {
    display: table;
    margin-bottom: 8px;
    color: #b9c7d8;
    text-decoration: none;
}

.footer-grid a:hover {
    color: #e5e7eb;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (max-width: 900px) {
    .topbar {
        min-height: auto;
        padding: 14px 0;
        align-items: flex-start;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .hero {
        min-height: auto;
        padding: 48px 0;
    }

    .hero-grid,
    .feature-band,
    .cta-panel,
    .footer-grid,
    .page-layout,
    .contact-layout,
    .split-section {
        grid-template-columns: 1fr;
    }

    .card-grid.three,
    .card-grid.two,
    .role-grid,
    .tutor-grid {
        grid-template-columns: 1fr;
    }

    .section-head {
        display: block;
    }

    .section-head .btn {
        margin-top: 18px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .filter-panel,
    .contact-card {
        position: static;
    }

    .listing-grid {
        grid-template-columns: 1fr;
    }

    .hero-photo-card img {
        min-height: 320px;
    }
}

@media (max-width: 640px) {
    .container {
        width: calc(100% - 24px);
        max-width: 1160px;
    }

    .topbar {
        min-height: 64px;
        display: flex;
        align-items: center;
        position: relative;
        padding: 10px 0;
    }

    .mobile-nav-toggle {
        position: absolute;
        top: 12px;
        right: 0;
        z-index: 80;
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(17, 24, 39, .12);
        border-radius: 6px;
        background: rgba(255, 255, 255, .72);
        color: #17233a;
        font-size: 22px;
        cursor: pointer;
    }

    .nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 1px);
        z-index: 70;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
        border: 1px solid rgba(17, 24, 39, .10);
        border-radius: 0 0 8px 8px;
        background: rgba(255, 255, 255, .045);
        padding: 10px;
        box-shadow: 0 18px 34px rgba(20, 33, 61, .14);
    }

    .nav.is-open {
        display: grid;
    }

    .nav a {
        min-width: 0;
        padding: 9px;
        font-size: 12px;
        text-align: center;
    }

    .hero {
        background-position: center;
    }

    .hero-actions .btn,
    .hero-search .btn,
    .finder-panel .btn,
    .cta-panel .btn {
        width: 100%;
    }

    .hero-search,
    .area-grid {
        grid-template-columns: 1fr;
    }

    .finder-panel,
    .info-card,
    .quote-card,
    .cta-panel {
        padding: 18px;
    }

    .visual-board {
        min-height: 350px;
        padding: 14px;
    }

    .job-card {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 54px 0;
    }
}

/* Screenshot-inspired dynamic homepage */
.mobile-home {
    --home-blue: #1267e8;
    --home-navy: #0d1d3b;
    --home-green: #07956c;
    --home-orange: #ff6b18;
    --home-soft: #f7f9fc;
    --home-line: #e6eaf0;
    background: rgba(255, 255, 255, .045);
    color: var(--home-navy);
    overflow-x: hidden;
}

.mobile-home .container {
    width: min(1120px, calc(100% - 32px));
}

.home-hero {
    padding: 48px 0 28px;
    background: rgba(255, 255, 255, .045);
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
    gap: 36px;
    align-items: center;
}

.home-location {
    display: inline-flex;
    margin-bottom: 20px;
    color: #4d5d73;
    font-size: 13px;
    font-weight: 750;
}

.home-location::before {
    content: "⌖";
    margin-right: 6px;
    color: var(--home-blue);
}

.home-hero h1 {
    max-width: 620px;
    margin-bottom: 14px;
    color: var(--home-navy);
    font-size: 52px;
    line-height: 1.05;
}

.home-hero-copy > p {
    max-width: 580px;
    color: #596579;
    font-size: 17px;
}

.home-hero-photo {
    align-self: stretch;
    min-height: 510px;
    overflow: hidden;
    border-radius: 8px;
    background: #eef5ff;
}

.home-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tutor-finder {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    padding: 14px;
    box-shadow: 0 12px 34px rgba(20, 45, 85, .09);
}

.tutor-finder select {
    min-width: 0;
    border-color: #dfe5ee;
    border-radius: 5px;
    background: rgba(255, 255, 255, .045);
    font-size: 12px;
}

.home-primary-btn,
.home-outline-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.home-primary-btn {
    border: 1px solid var(--home-blue);
    background: var(--home-blue);
    color: #e5e7eb;
}

.home-outline-btn {
    border: 1px solid #b9c7da;
    background: rgba(255, 255, 255, .045);
    color: #2c5f9f;
}

.trust-strip {
    border-top: 1px solid var(--home-line);
    border-bottom: 1px solid var(--home-line);
    background: #fbfcfe;
}

.trust-strip .container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-strip div {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-right: 1px solid var(--home-line);
    color: #4c596d;
    font-size: 12px;
    font-weight: 700;
}

.trust-strip div:last-child {
    border-right: 0;
}

.trust-strip b {
    color: var(--home-blue);
    font-size: 20px;
}

.home-band {
    padding: 38px 0;
    border-bottom: 1px solid #edf0f4;
    background: rgba(255, 255, 255, .045);
}

.home-soft {
    background: var(--home-soft);
}

.home-stat-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.home-stat-grid div {
    text-align: center;
}

.home-stat-grid strong,
.home-stat-grid span {
    display: block;
}

.home-stat-grid strong {
    color: #2361a8;
    font-size: 22px;
}

.home-stat-grid span {
    margin-top: 4px;
    color: #69758a;
    font-size: 11px;
}

.urgent-tutor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid #ffd798;
    border-radius: 8px;
    background: rgba(168, 85, 247, .08);
    padding: 22px 26px;
}

.urgent-tutor strong,
.urgent-tutor span {
    display: block;
}

.urgent-tutor strong {
    font-size: 20px;
}

.urgent-tutor span {
    margin-top: 4px;
    color: #6e7889;
    font-size: 12px;
}

.urgent-tutor a {
    border-radius: 5px;
    background: var(--home-orange);
    color: #e5e7eb;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.home-section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.home-section-title h2 {
    margin: 0;
    color: var(--home-navy);
    font-size: 24px;
}

.home-section-title > div > span {
    display: block;
    margin-bottom: 5px;
    color: var(--home-green);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.home-section-title a {
    color: var(--home-blue);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.audience-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 520px;
    margin-bottom: 24px;
    border: 1px solid var(--home-line);
    border-radius: 6px;
    overflow: hidden;
}

.audience-tabs button {
    min-height: 42px;
    border: 0;
    border-right: 1px solid var(--home-line);
    background: rgba(255, 255, 255, .045);
    color: #536075;
    font-weight: 750;
    cursor: pointer;
}

.audience-tabs button:last-child {
    border-right: 0;
}

.audience-tabs button.active {
    background: #eaf8f1;
    color: var(--home-green);
}

.steps-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.steps-list > div {
    display: flex;
    gap: 12px;
}

.steps-list b {
    width: 30px;
    height: 30px;
    display: grid;
    flex: 0 0 30px;
    place-items: center;
    border-radius: 50%;
    background: #e3f6ec;
    color: var(--home-green);
    font-size: 12px;
}

.steps-list p,
.why-list p {
    margin: 0;
}

.steps-list strong,
.steps-list span,
.why-list strong,
.why-list span {
    display: block;
}

.steps-list strong {
    font-size: 13px;
}

.steps-list span {
    margin-top: 4px;
    color: #6c7789;
    font-size: 11px;
}

.home-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.home-chips a {
    border: 1px solid #e0e6ef;
    border-radius: 5px;
    background: rgba(255, 255, 255, .045);
    color: #43546c;
    padding: 9px 12px;
    font-size: 11px;
    text-decoration: none;
}

.school-logo-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.school-logo-grid a {
    min-width: 0;
    border: 1px solid var(--home-line);
    border-radius: 7px;
    background: rgba(255, 255, 255, .045);
    padding: 15px 8px;
    color: var(--home-navy);
    text-align: center;
    text-decoration: none;
}

.school-logo-grid b {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin: 0 auto 9px;
    border: 2px solid #5a75a2;
    border-radius: 50%;
    color: #34548b;
}

.school-logo-grid strong,
.school-logo-grid span {
    display: block;
    overflow-wrap: anywhere;
}

.school-logo-grid strong {
    font-size: 10px;
}

.school-logo-grid span {
    margin-top: 4px;
    color: #7b8494;
    font-size: 9px;
}

.exam-grid,
.subject-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.exam-grid a,
.subject-grid a {
    display: grid;
    place-items: center;
    gap: 8px;
    min-width: 0;
    color: #34455e;
    font-size: 11px;
    text-align: center;
    text-decoration: none;
}

.exam-grid b,
.subject-grid b {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #edf3ff;
    color: var(--home-blue);
    font-size: 18px;
}

.home-tutor-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.home-tutor-grid article {
    min-width: 0;
    border: 1px solid var(--home-line);
    border-radius: 7px;
    background: rgba(255, 255, 255, .045);
    padding: 14px;
}

.home-tutor-photo {
    height: 138px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 5px;
    background: linear-gradient(145deg, #dbeafe, #eaf8f1);
    color: #2d61a8;
    font-size: 34px;
    font-weight: 900;
}

.home-tutor-photo img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.home-tutor-grid h3 {
    margin-bottom: 3px;
    font-size: 14px;
}

.home-tutor-grid p,
.home-tutor-grid span,
.home-tutor-grid small,
.home-tutor-grid strong {
    display: block;
    overflow-wrap: anywhere;
}

.home-tutor-grid p {
    min-height: 34px;
    margin-bottom: 6px;
    color: #657186;
    font-size: 10px;
}

.home-tutor-grid span {
    color: #e6a300;
    font-size: 10px;
}

.home-tutor-grid small {
    margin-top: 5px;
    color: #758095;
    font-size: 9px;
}

.home-tutor-grid strong {
    margin-top: 7px;
    color: #3b4b62;
    font-size: 11px;
}

.home-tutor-grid article > a {
    display: block;
    margin-top: 11px;
    border: 1px solid #b9cbe3;
    border-radius: 4px;
    color: #2465b6;
    padding: 8px;
    font-size: 10px;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
}

.home-job-list,
.activity-list,
.why-list {
    display: grid;
    gap: 1px;
    border: 1px solid var(--home-line);
    border-radius: 7px;
    overflow: hidden;
    background: var(--home-line);
}

.home-job-list > a,
.activity-list > div,
.why-list > div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    background: rgba(255, 255, 255, .045);
    padding: 14px;
    color: inherit;
    text-decoration: none;
}

.home-job-list b,
.activity-list b,
.why-list b {
    width: 34px;
    height: 34px;
    display: grid;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 50%;
    background: #edf3ff;
    color: var(--home-blue);
}

.home-job-list p,
.activity-list p {
    min-width: 0;
    flex: 1;
    margin: 0;
}

.home-job-list strong,
.home-job-list span {
    display: block;
}

.home-job-list strong {
    font-size: 12px;
}

.home-job-list span {
    margin-top: 4px;
    color: #6d788a;
    font-size: 10px;
}

.home-job-list em {
    border-radius: 4px;
    background: #e7f8ef;
    color: var(--home-green);
    padding: 4px 7px;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
}

.home-fee-calculator {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    border: 1px solid var(--home-line);
    border-radius: 7px;
    background: rgba(255, 255, 255, .045);
    padding: 18px;
}

.home-fee-calculator select {
    min-width: 0;
    border-color: #dfe5ee;
    border-radius: 5px;
    font-size: 11px;
}

.home-fee-calculator button {
    grid-column: 1 / -1;
    min-height: 44px;
    border: 0;
    border-radius: 5px;
    background: var(--home-blue);
    color: #e5e7eb;
    font-weight: 800;
    cursor: pointer;
}

.home-fee-calculator p {
    grid-column: 1 / -1;
    margin: 0;
    color: #667085;
    font-size: 11px;
    text-align: center;
}

.home-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.activity-list p {
    color: #4b586d;
    font-size: 11px;
}

.activity-list span {
    color: #8a94a6;
    font-size: 9px;
    white-space: nowrap;
}

.why-list p {
    flex: 1;
}

.why-list b {
    background: #e9f8f1;
    color: var(--home-green);
}

.why-list strong {
    font-size: 12px;
}

.why-list span {
    margin-top: 3px;
    color: #778195;
    font-size: 10px;
}

.home-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-review-grid blockquote {
    margin: 0;
    border: 1px solid var(--home-line);
    border-radius: 7px;
    padding: 18px;
}

.home-review-grid blockquote > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-review-grid blockquote > div > b {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf0fb;
    color: #265fa9;
}

.home-review-grid blockquote p {
    margin: 0;
}

.home-review-grid strong,
.home-review-grid span {
    display: block;
}

.home-review-grid strong {
    font-size: 12px;
}

.home-review-grid span {
    color: #e6a300;
    font-size: 10px;
}

.home-review-grid q {
    display: block;
    margin-top: 14px;
    color: #596579;
    font-size: 12px;
    line-height: 1.7;
}

.home-faqs {
    border: 1px solid var(--home-line);
    border-radius: 7px;
    background: rgba(255, 255, 255, .045);
}

.home-faqs details {
    border-bottom: 1px solid var(--home-line);
    padding: 15px 18px;
}

.home-faqs details:last-child {
    border-bottom: 0;
}

.home-faqs summary {
    color: #2e3e55;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
}

.home-faqs p {
    margin: 10px 0 0;
    color: #687386;
    font-size: 11px;
}

.search-chips a {
    background: #f8faff;
    color: #35639b;
}

.class-title {
    margin-top: 34px;
}

.class-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 8px;
}

.class-grid a {
    display: grid;
    min-height: 38px;
    place-items: center;
    border: 1px solid var(--home-line);
    border-radius: 5px;
    background: rgba(255, 255, 255, .045);
    color: #37465b;
    font-size: 11px;
    font-weight: 750;
    text-decoration: none;
}

@media (max-width: 900px) {
    .home-hero-grid,
    .home-two-column {
        grid-template-columns: 1fr;
    }

    .home-hero-photo {
        min-height: 360px;
    }

    .home-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 26px;
    }

    .steps-list,
    .home-tutor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .school-logo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .class-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body:has(.mobile-home) .site-header .topbar {
        min-height: 64px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 0;
    }

    body:has(.mobile-home) .site-header .brand-mark {
        width: 34px;
        height: 34px;
    }

    .mobile-home .container {
        width: calc(100% - 20px);
    }

    .home-hero {
        padding: 24px 0 18px;
    }

    .home-hero-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .home-hero-copy {
        display: contents;
    }

    .home-location {
        order: 1;
        margin-bottom: 14px;
    }

    .home-hero h1 {
        order: 2;
        width: 100%;
        max-width: none;
        margin-bottom: 0;
        font-size: 35px;
        line-height: 1.08;
    }

    .home-hero-copy > p {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-bottom: 0;
        font-size: 13px;
        overflow-wrap: anywhere;
    }

    .home-hero-photo {
        order: 4;
        width: 100%;
        min-height: 260px;
        max-height: 330px;
    }

    .tutor-finder {
        order: 5;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px;
    }

    .tutor-finder select {
        width: 100%;
        min-height: 40px;
        min-width: 0;
        max-width: 100%;
        padding: 8px;
        font-size: 10px;
    }

    .tutor-finder .home-primary-btn,
    .tutor-finder .home-outline-btn { width: 100%; }

    .trust-strip .container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
    }

    .trust-strip div {
        min-height: 76px;
        display: grid;
        place-items: center;
        align-content: center;
        gap: 4px;
        padding: 5px;
        font-size: 9px;
        text-align: center;
    }

    .home-band {
        padding: 28px 0;
    }

    .home-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px 8px;
    }

    .home-stat-grid strong {
        font-size: 17px;
    }

    .home-stat-grid span {
        font-size: 9px;
    }

    .urgent-tutor {
        display: grid;
        padding: 16px;
    }

    .urgent-tutor strong {
        font-size: 16px;
    }

    .urgent-tutor a {
        text-align: center;
    }

    .home-section-title {
        margin-bottom: 15px;
    }

    .home-section-title h2 {
        font-size: 17px;
    }

    .home-section-title a {
        font-size: 10px;
    }

    .audience-tabs {
        max-width: none;
    }

    .audience-tabs button {
        font-size: 10px;
    }

    .steps-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .school-logo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .school-logo-grid a {
        padding: 10px 5px;
    }

    .exam-grid,
    .subject-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 7px;
    }

    .exam-grid b,
    .subject-grid b {
        width: 38px;
        height: 38px;
    }

    .exam-grid span,
    .subject-grid span {
        font-size: 8px;
        overflow-wrap: anywhere;
    }

    .home-tutor-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 6px;
    }

    .home-tutor-grid article {
        flex: 0 0 45%;
        scroll-snap-align: start;
    }

    .home-tutor-photo {
        height: 112px;
    }

    .home-fee-calculator {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 12px;
    }

    .home-fee-calculator select {
        font-size: 9px;
    }

    .home-review-grid {
        grid-template-columns: 1fr;
    }

    .class-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* Tuition jobs directory and detail pages */
.jobs-heading,
.job-detail-page {
    background: #f5f7fb;
}

.jobs-heading {
    padding: 42px 0 34px;
    border-bottom: 1px solid #e4e9f1;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #6b778c;
    font-size: 13px;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.jobs-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
}

.section-kicker {
    color: #08775f;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.jobs-heading h1 {
    margin: 8px 0 10px;
    color: #10213d;
    font-size: 42px;
    line-height: 1.08;
}

.jobs-heading p {
    margin: 0;
    color: #667085;
    font-size: 17px;
}

.jobs-count {
    min-width: 118px;
    padding-left: 24px;
    border-left: 1px solid #d8deea;
}

.jobs-count strong,
.jobs-count span {
    display: block;
}

.jobs-count strong {
    color: #0d6b5b;
    font-size: 32px;
}

.jobs-count span {
    color: #6b778c;
    font-size: 13px;
}

.jobs-directory {
    min-height: 560px;
    padding: 34px 0 70px;
    background: #f5f7fb;
}

.jobs-directory-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.jobs-filter,
.listing-job,
.empty-jobs,
.job-summary-panel,
.job-fact-strip,
.detail-section,
.sidebar-panel {
    border: 1px solid #e2e7ef;
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    box-shadow: 0 6px 20px rgba(18, 38, 63, .05);
}

.jobs-filter {
    position: sticky;
    top: 92px;
    padding: 20px;
}

.jobs-filter h2 {
    margin-bottom: 18px;
    color: #14233d;
    font-size: 20px;
}

.jobs-filter input,
.jobs-filter select,
.apply-panel input,
.apply-panel textarea {
    border-color: #d8deea;
    border-radius: 6px;
    background: rgba(255, 255, 255, .045);
}

.jobs-filter .job-btn,
.apply-panel .job-btn {
    width: 100%;
}

.clear-filter {
    display: block;
    margin-top: 12px;
    color: #53637c;
    font-size: 13px;
    text-align: center;
}

.jobs-results {
    display: grid;
    gap: 16px;
}

.listing-job {
    padding: 22px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.listing-job:hover {
    border-color: #aabbd1;
    box-shadow: 0 12px 30px rgba(18, 38, 63, .09);
}

.listing-job-top,
.listing-job-bottom,
.job-summary-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.job-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.status-badge,
.verified-badge,
.featured-badge {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 800;
}

.status-badge {
    background: #e8f8f0;
    color: #08775f;
}

.verified-badge {
    background: #eef0ff;
    color: #5850b8;
}

.featured-badge {
    background: rgba(168, 85, 247, .10);
    color: #8b6508;
}

.posted-time,
.job-summary-meta > span {
    color: #7a8699;
    font-size: 12px;
}

.listing-job h2 {
    margin: 14px 0 5px;
    font-size: 21px;
}

.listing-job h2 a {
    color: #14233d;
    text-decoration: none;
}

.job-location {
    margin: 0;
    color: #667085;
    font-size: 14px;
}

.listing-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #edf0f5;
    border-bottom: 1px solid #edf0f5;
}

.listing-facts span {
    color: #344054;
    font-size: 13px;
}

.listing-facts b {
    display: block;
    margin-bottom: 3px;
    color: #8a94a6;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.job-budget {
    color: #079369;
    font-size: 18px;
}

.job-budget small {
    color: #778195;
    font-size: 12px;
    font-weight: 600;
}

.job-btn {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 10px 16px;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.job-btn-primary {
    background: #079369;
    color: #e5e7eb;
}

.job-btn-outline {
    border-color: #cbd5e1;
    background: rgba(255, 255, 255, .045);
    color: #24324a;
}

.job-btn-whatsapp {
    border-color: #20a971;
    background: rgba(255, 255, 255, .045);
    color: #08775f;
}

.job-btn-call {
    background: #1769d2;
    color: #e5e7eb;
}

.job-btn-light {
    background: rgba(255, 255, 255, .045);
    color: #123069;
}

.empty-jobs {
    padding: 56px 24px;
    text-align: center;
}

.jobs-pagination nav {
    color: #53637c;
}

.job-detail-page {
    padding: 1px 0 70px;
    color: #1e293b;
}

.job-breadcrumb {
    padding: 20px 0;
}

.job-breadcrumb strong {
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.application-success {
    margin-bottom: 16px;
    border: 1px solid #a7e2c8;
    border-radius: 6px;
    background: #ecfdf5;
    color: #07634f;
    padding: 13px 16px;
    font-weight: 700;
}

.job-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 20px;
    align-items: start;
}

.job-main {
    display: grid;
    gap: 16px;
}

.job-summary-panel {
    padding: 24px;
}

.job-summary-panel h1 {
    max-width: 760px;
    margin: 18px 0 8px;
    color: #101d34;
    font-size: 30px;
    line-height: 1.17;
}

.job-price {
    margin-top: 15px;
    color: #079369;
    font-size: 22px;
    font-weight: 850;
}

.job-price span {
    margin-left: 8px;
    border-radius: 4px;
    background: #eef0ff;
    color: #5850b8;
    padding: 4px 7px;
    font-size: 10px;
    vertical-align: middle;
}

.job-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    margin-top: 20px;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #edf0f5;
    color: #586579;
    font-size: 12px;
}

.job-tags span::before {
    content: "✓";
    margin-right: 6px;
    color: #079369;
    font-weight: 900;
}

.job-fact-strip {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    overflow: hidden;
}

.job-fact-strip div {
    min-width: 0;
    padding: 16px 9px;
    border-right: 1px solid #edf0f5;
    text-align: center;
}

.job-fact-strip div:last-child {
    border-right: 0;
}

.job-fact-strip span,
.job-fact-strip strong {
    display: block;
    overflow-wrap: anywhere;
}

.job-fact-strip span {
    color: #8a94a6;
    font-size: 10px;
}

.job-fact-strip strong {
    margin-top: 6px;
    color: #24324a;
    font-size: 12px;
}

.detail-section {
    padding: 20px;
}

.detail-section h2,
.sidebar-panel h2,
.tutor-cta h2 {
    margin-bottom: 16px;
    color: #17233a;
    font-size: 18px;
}

.detail-section > p {
    margin-bottom: 0;
    color: #596579;
    font-size: 14px;
}

.job-details-table {
    margin: 0;
    border: 1px solid #e8ecf2;
}

.job-details-table div {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    border-bottom: 1px solid #e8ecf2;
}

.job-details-table div:last-child {
    border-bottom: 0;
}

.job-details-table dt,
.job-details-table dd {
    margin: 0;
    padding: 9px 12px;
    font-size: 12px;
}

.job-details-table dt {
    border-right: 1px solid #e8ecf2;
    background: #fafbfd;
    color: #536075;
}

.job-details-table dd {
    color: #28364c;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
}

.benefit-grid div {
    padding-left: 28px;
    position: relative;
}

.benefit-grid div::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e8f8f0;
    color: #08775f;
    font-size: 11px;
    font-weight: 900;
}

.benefit-grid strong,
.benefit-grid span {
    display: block;
}

.benefit-grid strong {
    font-size: 13px;
}

.benefit-grid span {
    margin-top: 3px;
    color: #788397;
    font-size: 11px;
}

.school-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.school-grid div {
    border: 1px solid #e5eaf1;
    border-radius: 6px;
    padding: 12px;
}

.school-grid strong,
.school-grid span {
    display: block;
}

.school-grid strong {
    font-size: 12px;
}

.school-grid span {
    margin-top: 5px;
    color: #7d8797;
    font-size: 10px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.compact-job-list,
.compact-tutor-list,
.sidebar-links {
    display: grid;
    gap: 10px;
}

.compact-job-list a,
.sidebar-links a {
    display: block;
    color: #1f5fbf;
    font-size: 12px;
    text-decoration: none;
}

.compact-job-list span,
.sidebar-links span {
    display: block;
    margin-top: 3px;
    color: #778195;
    font-size: 10px;
}

.compact-tutor-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-tutor-list > div {
    text-align: center;
}

.tutor-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin: 0 auto 7px;
    border-radius: 50%;
    background: #e9effc;
    color: #2458a6;
    font-size: 12px;
    font-weight: 900;
}

.compact-tutor-list strong,
.compact-tutor-list small {
    display: block;
    overflow-wrap: anywhere;
}

.compact-tutor-list strong {
    font-size: 11px;
}

.compact-tutor-list small {
    margin-top: 3px;
    color: #7b8597;
    font-size: 9px;
}

.job-faqs details {
    border-bottom: 1px solid #e8ecf2;
    padding: 13px 2px;
}

.job-faqs summary {
    color: #26364e;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.job-faqs p {
    margin: 10px 0 0;
    color: #667085;
    font-size: 12px;
}

.job-sidebar {
    display: grid;
    gap: 16px;
}

.sidebar-panel {
    padding: 18px;
}

.apply-panel {
    scroll-margin-top: 90px;
}

.apply-panel label {
    margin-bottom: 10px;
}

.apply-panel textarea {
    min-height: 86px;
}

.apply-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.field-error {
    color: #b42318;
    font-size: 11px;
}

.parent-identity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.parent-identity > span {
    width: 42px;
    height: 42px;
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 50%;
    background: #ede9fe;
    color: #6d28d9;
    font-weight: 850;
}

.parent-identity strong,
.parent-identity small {
    display: block;
}

.parent-identity strong {
    font-size: 12px;
}

.parent-identity small {
    margin-top: 2px;
    color: #7b8597;
    font-size: 10px;
}

.verified-parent {
    margin: 12px 0;
    color: #08775f;
    font-size: 11px;
    font-weight: 750;
}

.parent-panel ul {
    margin: 14px 0 0;
    border-top: 1px solid #edf0f5;
    padding: 13px 0 0 18px;
    color: #657186;
    font-size: 11px;
}

.parent-panel li {
    margin-bottom: 7px;
}

.panel-link {
    display: block;
    margin-top: 15px;
    color: #1f5fbf;
    font-size: 11px;
    font-weight: 750;
    text-align: center;
}

.search-link-list {
    display: grid;
    gap: 10px;
}

.search-link-list a {
    color: #3d5f91;
    font-size: 11px;
    text-decoration: none;
}

.search-link-list a::before {
    content: "⌕";
    margin-right: 7px;
    color: #7f8ca1;
}

.tutor-cta {
    overflow: hidden;
    border-radius: 8px;
    background: #123069;
    color: #e5e7eb;
    padding: 24px 20px;
    box-shadow: 0 8px 24px rgba(18, 48, 105, .18);
}

.tutor-cta > span {
    color: #84e1bc;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.tutor-cta h2 {
    margin: 8px 0;
    color: #e5e7eb;
    font-size: 24px;
}

.tutor-cta p {
    color: #d5def0;
    font-size: 12px;
}

.people-search {
    margin-top: 20px;
    border: 1px solid #e2e7ef;
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    padding: 18px 20px;
}

.people-search h2 {
    margin-bottom: 12px;
    color: #17233a;
    font-size: 15px;
}

.people-search > div {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.people-search a {
    border: 1px solid #e4e9f1;
    border-radius: 5px;
    background: #fafbfd;
    color: #53637c;
    padding: 8px 10px;
    font-size: 11px;
    text-decoration: none;
}

@media (min-width: 901px) {
    .apply-panel {
        position: sticky;
        top: 92px;
    }
}

@media (max-width: 900px) {
    .jobs-directory-grid,
    .job-detail-grid {
        grid-template-columns: 1fr;
    }

    .jobs-filter {
        position: static;
    }

    .job-sidebar {
        grid-row: auto;
    }

    .job-fact-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .job-fact-strip div:nth-child(4) {
        border-right: 0;
    }

    .job-fact-strip div:nth-child(-n+4) {
        border-bottom: 1px solid #edf0f5;
    }

    .school-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .jobs-heading {
        padding: 28px 0;
    }

    .jobs-heading-row {
        display: block;
    }

    .jobs-heading h1 {
        font-size: 32px;
    }

    .jobs-count {
        margin-top: 20px;
        border-left: 0;
        border-top: 1px solid #d8deea;
        padding: 14px 0 0;
    }

    .listing-facts,
    .job-actions,
    .related-grid,
    .benefit-grid {
        grid-template-columns: 1fr 1fr;
    }

    .listing-job-bottom,
    .job-summary-meta {
        align-items: flex-start;
    }

    .job-summary-panel {
        padding: 18px;
    }

    .job-summary-panel h1 {
        font-size: 25px;
    }

    .job-fact-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .job-fact-strip div,
    .job-fact-strip div:nth-child(4) {
        border-right: 1px solid #edf0f5;
        border-bottom: 1px solid #edf0f5;
    }

    .job-fact-strip div:nth-child(even) {
        border-right: 0;
    }

    .job-fact-strip div:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .job-details-table div {
        grid-template-columns: 1fr;
    }

    .job-details-table dt {
        border-right: 0;
        border-bottom: 1px solid #e8ecf2;
    }

    .school-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .compact-tutor-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .apply-form-row {
        grid-template-columns: 1fr;
    }
}

/* Final neon guard layer. Keep this at the end so old page-specific CSS cannot override the redesign. */
body {
    color: #f8fafc;
    background:
        linear-gradient(rgba(168, 85, 247, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, .045) 1px, transparent 1px),
        radial-gradient(circle at 18% 0%, rgba(168, 85, 247, .16), transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(59, 130, 246, .12), transparent 32%),
        linear-gradient(180deg, #050816 0%, #060a1a 48%, #050816 100%);
    background-size: 60px 60px, 60px 60px, auto, auto, auto;
}

.site-header {
    background: rgba(5, 8, 22, .72);
    border-bottom: 1px solid rgba(168, 85, 247, .18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .42);
    backdrop-filter: blur(20px) saturate(150%);
}

.brand,
.nav a,
.home-section-title h2,
.home-hero h1,
.jobs-heading h1,
.job-summary-panel h1,
.listing-job h2 a,
.detail-section h2,
.sidebar-panel h2,
.site-footer h3,
.site-footer a {
    color: #e5e7eb;
}

.brand-mark,
.steps-list b,
.school-logo-grid b,
.exam-grid b,
.subject-grid b,
.avatar,
.home-tutor-photo,
.activity-list b,
.why-list b,
.home-review-grid b,
.parent-identity > span,
.tutor-avatar {
    color: #e5e7eb;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    box-shadow: 0 0 25px rgba(168, 85, 247, .45), 0 0 60px rgba(168, 85, 247, .18);
}

.home-hero,
.hero,
.directory-hero,
.page-hero,
.jobs-heading,
.home-soft,
.section-white,
.jobs-directory,
.job-detail-page,
.site-footer {
    background:
        linear-gradient(rgba(168, 85, 247, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, .035) 1px, transparent 1px),
        linear-gradient(135deg, rgba(168, 85, 247, .14), rgba(59, 130, 246, .09) 52%, rgba(236, 72, 153, .07)),
        #050816;
    background-size: 60px 60px, 60px 60px, auto, auto;
}

.home-hero h1,
.hero h1,
.page-hero h1 {
    background: linear-gradient(135deg, #fff 0%, #dbeafe 42%, #c084fc 72%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.home-hero-copy p,
.hero-copy p,
.page-hero p,
.jobs-heading p,
.home-tutor-grid p,
.home-tutor-grid span,
.home-tutor-grid small,
.home-job-list span,
.why-list span,
.activity-list p,
.activity-list span,
.home-faqs p,
.site-footer p,
.site-footer span,
.job-location,
.posted-time,
.job-summary-meta > span,
.detail-section > p,
.job-details-table dd,
.listing-facts span {
    color: #a8b3c7;
}

.home-location,
.eyebrow,
.section-kicker,
.live-pill,
.home-section-title span,
.home-stat-grid strong,
.jobs-count strong,
.job-budget,
.job-price,
.area-grid span {
    color: #c084fc;
}

.tutor-finder,
.finder-panel,
.fee-card,
.home-fee-calculator,
.urgent-tutor,
.trust-strip div,
.home-stat-grid div,
.steps-list div,
.school-logo-grid a,
.exam-grid a,
.home-tutor-grid article,
.home-job-list a,
.activity-list div,
.why-list div,
.home-review-grid blockquote,
.home-faqs details,
.subject-grid a,
.class-grid a,
.area-grid a,
.market-tutor-card,
.info-card,
.quote-card,
.jobs-filter,
.listing-job,
.empty-jobs,
.job-summary-panel,
.job-fact-strip,
.detail-section,
.sidebar-panel,
.people-search,
.school-grid div {
    position: relative;
    color: #f8fafc;
    border-color: rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .045);
    box-shadow: 0 4px 24px rgba(168, 85, 247, .12), 0 2px 4px rgba(0, 0, 0, .45);
    backdrop-filter: blur(12px);
}

.home-tutor-grid article:hover,
.school-logo-grid a:hover,
.exam-grid a:hover,
.subject-grid a:hover,
.class-grid a:hover,
.steps-list div:hover,
.home-job-list a:hover,
.listing-job:hover,
.market-tutor-card:hover,
.info-card:hover,
.quote-card:hover {
    background: rgba(168, 85, 247, .07);
    border-color: rgba(168, 85, 247, .35);
    box-shadow: 0 0 40px rgba(168, 85, 247, .18), 0 12px 40px rgba(0, 0, 0, .5);
    transform: translateY(-5px);
}

.nav .nav-admin,
.btn-primary,
.home-primary-btn,
.home-fee-calculator button,
.urgent-tutor a,
.job-btn-primary {
    color: #e5e7eb;
    border: 0;
    background: linear-gradient(90deg, #a855f7 0%, #7c3aed 20%, #a855f7 40%, #3b82f6 60%, #a855f7 80%, #7c3aed 100%);
    background-size: 200% auto;
    box-shadow: 0 0 25px rgba(168, 85, 247, .55), 0 0 60px rgba(168, 85, 247, .2);
    animation: axra-shimmer 3s linear infinite;
}

.home-outline-btn,
.btn-outline,
.btn-light,
.job-btn-outline,
.job-btn-whatsapp,
.job-btn-light,
.home-chips a,
.quick-chips a,
.people-search a {
    color: #e2e8f0;
    border-color: rgba(168, 85, 247, .28);
    background: rgba(255, 255, 255, .055);
    box-shadow: none;
}

input,
select,
textarea,
.jobs-filter input,
.jobs-filter select,
.apply-panel input,
.apply-panel textarea {
    color: #f8fafc;
    border-color: rgba(168, 85, 247, .24);
    background: rgba(255, 255, 255, .06);
}

select option {
    color: #0f172a;
}

.home-hero-photo {
    border: 1px solid rgba(168, 85, 247, .24);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(168, 85, 247, .2), rgba(59, 130, 246, .16)), rgba(255, 255, 255, .045);
    box-shadow: 0 0 50px rgba(168, 85, 247, .22), 0 30px 80px rgba(0, 0, 0, .55);
}

.audience-tabs {
    border: 1px solid rgba(168, 85, 247, .2);
    background: rgba(255, 255, 255, .045);
}

.audience-tabs button {
    color: #cbd5e1;
}

.audience-tabs button.active {
    color: #e5e7eb;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    box-shadow: 0 0 25px rgba(168, 85, 247, .45);
}

.job-details-table,
.job-details-table div,
.job-details-table dt,
.listing-facts,
.job-tags,
.footer-bottom {
    border-color: rgba(168, 85, 247, .16);
}

.job-details-table dt,
.tutor-metrics span {
    color: #a8b3c7;
    background: rgba(255, 255, 255, .035);
}

.site-footer {
    border-top: 1px solid rgba(168, 85, 247, .16);
}

@media (max-width: 900px) {
    .nav {
        background: rgba(5, 8, 22, .96);
        border: 1px solid rgba(168, 85, 247, .22);
        box-shadow: 0 18px 48px rgba(0, 0, 0, .5);
    }
}

/* FINAL NO-GRID OVERRIDE: removes notebook/copy/table lines everywhere. */
html,
body,
main,
.ref-home,
.ref-section,
.ref-hero,
.home-band,
.home-hero,
.hero,
.directory-hero,
.page-hero,
.jobs-heading,
.home-soft,
.section-white,
.jobs-directory,
.job-detail-page,
.site-footer {
    background:
        radial-gradient(circle at 14% 4%, rgba(168, 85, 247, .16), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(59, 130, 246, .13), transparent 28%),
        radial-gradient(circle at 50% 80%, rgba(236, 72, 153, .07), transparent 32%),
        linear-gradient(180deg, #050816 0%, #060a1a 48%, #050816 100%) !important;
    background-size: auto !important;
}

body::before,
body::after,
.ref-home::before,
.ref-home::after,
.ref-section::before,
.ref-section::after,
.ref-hero::before,
.ref-hero::after {
    background-image: none !important;
}


/* ABSOLUTE LAST FOOTER FIX: no notebook/grid texture in footer. */
.site-footer,
.site-footer .container,
.site-footer .footer-grid,
.site-footer .footer-bottom,
.site-footer > *,
.footer-grid,
.footer-bottom {
    background: #050816 !important;
    background-image: none !important;
    background-size: auto !important;
}

.site-footer::before,
.site-footer::after,
.footer-grid::before,
.footer-grid::after,
.footer-bottom::before,
.footer-bottom::after {
    content: none !important;
    display: none !important;
    background: none !important;
    background-image: none !important;
}

/* Discovery pages dark banner fix: subjects/locations should never show white header. */
.discovery-hero,
.discovery-detail-hero,
.discovery-directory,
.discovery-results,
.discovery-related,
.discovery-jobs-band {
    background: #050816 !important;
    background-image: none !important;
    color: #e5e7eb !important;
    border-color: rgba(168, 85, 247, .16) !important;
}

.discovery-hero h1,
.discovery-section-head h2,
.discovery-related h2,
.discovery-grid h2,
.discovery-tutor-grid h3 {
    color: #e5e7eb !important;
}

.discovery-hero p,
.discovery-grid p,
.discovery-tutor-grid p,
.discovery-tutor-grid span,
.discovery-counts span {
    color: #9ca3af !important;
}

.discovery-grid > a,
.discovery-tutor-grid > a,
.discovery-counts div {
    background: rgba(255, 255, 255, .04) !important;
    border-color: rgba(255, 255, 255, .08) !important;
    box-shadow: 0 4px 24px rgba(168, 85, 247, .12), 0 2px 4px rgba(0, 0, 0, .45) !important;
    color: #e5e7eb !important;
}

.discovery-icon,
.discovery-tutor-photo {
    background: linear-gradient(135deg, #a855f7, #3b82f6) !important;
    color: #e5e7eb !important;
}

/* Tutor profile page fix: align detail page with public dark frontend. */
.tutor-profile-page {
    padding: 1px 0 72px;
    color: #e5e7eb !important;
    background:
        radial-gradient(circle at 14% 4%, rgba(168, 85, 247, .16), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(59, 130, 246, .13), transparent 28%),
        radial-gradient(circle at 50% 80%, rgba(236, 72, 153, .07), transparent 32%),
        linear-gradient(180deg, #050816 0%, #060a1a 48%, #050816 100%) !important;
}

.tutor-profile-breadcrumb,
.tutor-profile-breadcrumb a,
.tutor-profile-breadcrumb strong {
    color: #9ca3af !important;
}

.tutor-profile-hero,
.tutor-profile-facts,
.tutor-content-panel,
.tutor-profile-sidebar .sidebar-panel,
.related-tutor-grid a,
.tutor-review-list blockquote {
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .04) !important;
    color: #e5e7eb !important;
    box-shadow: 0 4px 24px rgba(168, 85, 247, .15), 0 2px 4px rgba(0, 0, 0, .5) !important;
    backdrop-filter: blur(12px);
}

.tutor-profile-hero {
    padding: 24px !important;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: center;
}

.tutor-profile-photo {
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, .28) !important;
    border-radius: 22px !important;
    background: linear-gradient(135deg, rgba(168, 85, 247, .28), rgba(59, 130, 246, .22)) !important;
    box-shadow: 0 0 36px rgba(168, 85, 247, .22) !important;
}

.tutor-profile-photo span {
    color: #e5e7eb;
    font-size: 46px;
    font-weight: 900;
}

.tutor-profile-intro h1,
.tutor-content-panel h2,
.tutor-content-panel h3,
.tutor-profile-sidebar h2,
.tutor-profile-facts strong,
.related-tutor-grid strong,
.benefit-grid strong,
.tutor-sidebar-details dd {
    color: #e5e7eb !important;
}

.tutor-profile-role,
.tutor-profile-meta span,
.tutor-content-panel > p,
.tutor-content-panel p,
.tutor-profile-facts span,
.related-tutor-grid small,
.tutor-hire-panel > p,
.tutor-sidebar-details dt,
.benefit-grid span,
.tutor-review-list p,
.tutor-review-list cite {
    color: #9ca3af !important;
}

.tutor-profile-meta span,
.tutor-skill-chips a,
.tutor-skill-chips span {
    border: 1px solid rgba(168, 85, 247, .22) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .045) !important;
    color: #d1d5db !important;
    padding: 7px 11px;
    text-decoration: none;
}

.tutor-profile-meta span::before {
    color: #c084fc !important;
}

.tutor-profile-facts div,
.benefit-grid div {
    border-color: rgba(168, 85, 247, .16) !important;
}

.tutor-profile-facts strong,
.related-tutor-grid b,
.tutor-review-list span {
    color: #c084fc !important;
}

.tutor-hire-panel input,
.tutor-hire-panel textarea,
.tutor-profile-sidebar input,
.tutor-profile-sidebar textarea {
    width: 100%;
    color: #e5e7eb !important;
    border: 1px solid rgba(168, 85, 247, .24) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, .055) !important;
}

.tutor-hire-panel input:focus,
.tutor-hire-panel textarea:focus {
    border-color: #a855f7 !important;
    box-shadow: 0 0 0 4px rgba(168, 85, 247, .22) !important;
    outline: none;
}

.tutor-profile-actions .job-btn,
.tutor-hire-panel .job-btn {
    min-height: 44px;
    border-radius: 12px !important;
}

.related-tutor-grid a {
    padding: 14px !important;
    text-decoration: none;
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}

.related-tutor-grid a:hover,
.tutor-content-panel:hover,
.tutor-profile-sidebar .sidebar-panel:hover {
    background: rgba(168, 85, 247, .07) !important;
    border-color: rgba(168, 85, 247, .35) !important;
    box-shadow: 0 0 40px rgba(168, 85, 247, .18), 0 12px 40px rgba(0, 0, 0, .5) !important;
}

.related-tutor-grid a > span {
    background: linear-gradient(135deg, #a855f7, #3b82f6) !important;
    color: #e5e7eb !important;
    box-shadow: 0 0 18px rgba(168, 85, 247, .28);
}

@media (max-width: 900px) {
    .tutor-profile-layout,
    .tutor-profile-hero {
        grid-template-columns: 1fr !important;
    }

    .tutor-profile-photo {
        width: min(240px, 100%);
        margin: 0 auto;
    }
}

/* Tutors listing filters: match public dark color system. */
.page-layout {
    align-items: start;
}

.filter-panel {
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .04) !important;
    color: #e5e7eb !important;
    box-shadow: 0 4px 24px rgba(168, 85, 247, .15), 0 2px 4px rgba(0, 0, 0, .5) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.filter-panel h2 {
    color: #e5e7eb !important;
    font-weight: 900;
}

.filter-panel label {
    color: #cbd5e1 !important;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    color: #e5e7eb !important;
    border: 1px solid rgba(168, 85, 247, .28) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, .055) !important;
    box-shadow: none !important;
}

.filter-panel input::placeholder {
    color: #93a4bd !important;
    opacity: 1 !important;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: #a855f7 !important;
    box-shadow: 0 0 0 4px rgba(168, 85, 247, .22) !important;
    outline: none !important;
}

.filter-panel select option {
    color: #0f172a !important;
    background: #fff !important;
}

.filter-panel .btn-primary {
    width: 100%;
    color: #e5e7eb !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(90deg, #a855f7 0%, #7c3aed 35%, #3b82f6 100%) !important;
    box-shadow: 0 0 25px rgba(168, 85, 247, .38) !important;
}

/* Final responsive layer for the full public frontend. */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video,
canvas,
svg {
    max-width: 100%;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
span,
li,
label,
button,
input,
select,
textarea {
    overflow-wrap: anywhere;
}

input,
select,
textarea,
button {
    min-width: 0;
}

.container {
    width: min(1160px, calc(100% - 32px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar {
    position: relative;
    min-width: 0;
}

.brand {
    min-width: 0;
}

.brand-text {
    min-width: 0;
}

.responsive-table,
.table-wrap,
.data-table-wrap {
    width: 100%;
    overflow-x: auto;
}

@media (max-width: 1100px) {
    .ref-hero-grid,
    .ref-two,
    .tutor-profile-hero,
    .tutor-profile-layout,
    .job-detail-grid,
    .jobs-directory-grid,
    .contact-layout {
        grid-template-columns: 1fr !important;
    }

    .ref-visual-card,
    .tutor-profile-photo,
    .apply-panel,
    .jobs-filter,
    .tutor-profile-sidebar {
        max-width: 680px;
        margin-left: auto;
        margin-right: auto;
    }

    .filter-panel,
    .jobs-filter,
    .apply-panel,
    .tutor-profile-sidebar {
        position: static !important;
        top: auto !important;
    }
}

@media (max-width: 980px) {
    .page-layout,
    .profile-layout,
    .school-profile-layout,
    .directory-layout,
    .discovery-detail-grid {
        grid-template-columns: 1fr !important;
    }

    .listing-grid,
    .ref-tutor-grid,
    .ref-review-grid,
    .related-tutor-grid,
    .discovery-tutor-grid,
    .jobs-list,
    .related-grid,
    .benefit-grid {
        grid-template-columns: 1fr !important;
    }

    .ref-portal-grid,
    .ref-city-grid,
    .discovery-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    .topbar {
        min-height: 64px;
        gap: 10px;
    }

    .mobile-nav-toggle {
        display: inline-flex !important;
        flex: 0 0 auto;
    }

    .nav {
        display: none !important;
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 8px);
        z-index: 1000;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px;
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 16px;
        background: rgba(5, 8, 22, .98);
        box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .nav.is-open {
        display: flex !important;
    }

    .nav a {
        width: 100%;
        justify-content: flex-start;
    }

    .header-actions {
        margin-left: auto;
    }

    .ref-search,
    .ref-calculator,
    .ref-stats,
    .tutor-profile-facts,
    .listing-facts,
    .job-fact-strip,
    .stats-grid,
    .discovery-counts {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .hero-grid,
    .home-hero-grid,
    .about-grid,
    .contact-grid,
    .school-grid,
    .subject-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 720px) {
    .container {
        width: calc(100% - 24px);
    }

    .site-header {
        padding: 8px 0;
    }

    .topbar {
        padding: 10px 0;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .brand-name,
    .brand-text strong {
        font-size: 1rem;
    }

    .header-actions {
        gap: 8px;
    }

    .header-actions .btn,
    .header-actions a {
        padding: 10px 12px;
        font-size: .86rem;
    }

    .ref-hero,
    .home-hero,
    .hero,
    .directory-hero,
    .page-hero,
    .discovery-hero,
    .tutor-profile-hero,
    .jobs-heading {
        padding: 40px 0 !important;
    }

    .ref-hero h1,
    .home-hero h1,
    .hero h1,
    .directory-hero h1,
    .page-hero h1,
    .discovery-hero h1,
    .tutor-profile-hero h1,
    .jobs-heading h1 {
        font-size: clamp(2rem, 12vw, 3rem) !important;
        line-height: 1.02 !important;
    }

    .ref-section,
    .section,
    .home-band,
    .discovery-directory,
    .discovery-results,
    .discovery-related,
    .discovery-jobs-band,
    .jobs-directory,
    .job-detail-page {
        padding: 42px 0 !important;
    }

    .ref-search,
    .ref-calculator,
    .ref-stats,
    .ref-portal-grid,
    .ref-city-grid,
    .discovery-grid,
    .footer-grid,
    .tutor-profile-facts,
    .listing-facts,
    .job-fact-strip,
    .stats-grid,
    .discovery-counts,
    .benefit-grid,
    .related-grid {
        grid-template-columns: 1fr !important;
    }

    .ref-visual-card {
        min-height: 320px;
    }

    .ref-visual-card img {
        height: 320px;
        object-fit: cover;
    }

    .ref-visual-title {
        font-size: clamp(2rem, 13vw, 3.4rem) !important;
    }

    .ref-visual-tag,
    .ref-floating-card {
        position: static !important;
        width: 100%;
        margin-top: 12px;
    }

    .filter-panel,
    .tutor-content-panel,
    .tutor-profile-sidebar .sidebar-panel,
    .listing-card,
    .job-card,
    .school-card,
    .subject-card,
    .discovery-card {
        border-radius: 16px !important;
        padding: 18px !important;
    }

    .filter-panel .btn-primary,
    .job-actions .btn,
    .profile-actions .btn,
    .apply-panel .btn,
    .search-form .btn,
    .ref-search .btn-primary,
    .ref-calculator .btn-primary {
        width: 100%;
    }

    .job-actions,
    .profile-actions,
    .cta-actions,
    .form-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

/* Reference-only floating widgets and final CTA. */
.ref-final-section {
    padding-bottom: 96px !important;
}

.ref-wide-cta {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.ref-wide-cta .ref-actions {
    justify-content: center;
}

.ref-who-popup {
    position: fixed;
    inset: 0;
    z-index: 9990;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(0, 0, 0, .58);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.ref-who-popup.is-open {
    opacity: 1;
    pointer-events: auto;
}

.ref-who-panel {
    width: min(560px, 100%);
    position: relative;
    padding: 26px;
    border: 1px solid rgba(168, 85, 247, .28);
    border-radius: 22px;
    background: rgba(5, 8, 22, .96);
    box-shadow: 0 24px 64px rgba(168, 85, 247, .3), 0 18px 40px rgba(0, 0, 0, .72);
}

.ref-who-panel > button {
    position: absolute;
    right: 14px;
    top: 12px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .05);
    cursor: pointer;
}

.ref-who-panel > span {
    color: #c084fc;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ref-who-panel h2 {
    margin: 10px 0 18px;
    color: #fff;
    font-size: clamp(2rem, 8vw, 3.4rem);
    line-height: 1;
}

.ref-who-panel > div {
    display: grid;
    gap: 12px;
}

.ref-who-panel a {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    color: #fff;
    background: rgba(255, 255, 255, .04);
    text-decoration: none;
}

.ref-who-panel a:hover {
    border-color: rgba(168, 85, 247, .4);
    background: rgba(168, 85, 247, .08);
}

.ref-who-panel b {
    grid-row: span 2;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #A855F7, #3B82F6);
}

.ref-who-panel strong {
    font-size: .95rem;
}

.ref-who-panel small {
    color: #9ca3af;
}

.ref-live-feed {
    position: fixed;
    left: 18px;
    bottom: 24px;
    z-index: 9980;
    width: min(280px, calc(100vw - 36px));
    padding: 14px 16px;
    border: 1px solid rgba(168, 85, 247, .24);
    border-radius: 18px;
    background: rgba(255, 255, 255, .04);
    box-shadow: 0 12px 42px rgba(0, 0, 0, .5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.ref-live-feed strong {
    display: block;
    color: #fff;
    font-size: .82rem;
    margin-bottom: 4px;
}

.ref-live-feed span {
    display: block;
    color: #d1d5db;
    font-size: .76rem;
    line-height: 1.35;
}

@media (max-width: 720px) {
    .ref-live-feed {
        display: none;
    }
}

/* Exact reference structure layer: nav + first fold + section rhythm. */
.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(5, 8, 22, .78) !important;
    border-bottom: 0 !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, .35), transparent);
}

.topbar {
    min-height: 80px !important;
}

.brand {
    gap: 12px !important;
}

.brand-mark {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    animation: axra-ai-pulse 3s ease-in-out infinite;
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-copy strong {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 950;
    letter-spacing: .02em;
    line-height: 1;
    text-transform: uppercase;
}

.brand-copy small {
    color: #c084fc;
    font-size: .58rem;
    font-weight: 750;
    letter-spacing: .16em;
    line-height: 1;
    text-transform: uppercase;
}

.nav {
    gap: 26px !important;
}

.nav a {
    position: relative;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #d1d5db !important;
    font-size: .88rem !important;
    font-weight: 650 !important;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #A855F7, #3B82F6);
    transition: width .25s ease;
}

.nav a:hover::after {
    width: 100%;
}

.site-header .nav a.is-active {
    color: #fff;
}

.site-header .nav a.is-active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-cta a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 9px 16px;
    color: #fff;
    font-size: .85rem;
    font-weight: 850;
    text-decoration: none;
}

.nav-post {
    border: 1px solid rgba(168, 85, 247, .5);
    background: rgba(168, 85, 247, .08);
}

.nav-find {
    background: linear-gradient(90deg, #A855F7 0%, #7C3AED 20%, #A855F7 40%, #3B82F6 60%, #A855F7 80%, #7C3AED 100%);
    background-size: 200% auto;
    box-shadow: 0 0 25px rgba(168, 85, 247, .45);
    animation: axra-ref-shimmer 3s linear infinite;
}

.nav-call {
    background: rgba(34, 197, 94, .16);
    border: 1px solid rgba(34, 197, 94, .58);
    box-shadow: 0 0 20px rgba(34, 197, 94, .18);
}

.nav-mobile-action {
    display: none;
}

.ref-home {
    background: #050816 !important;
}

.ref-hero {
    min-height: 100svh !important;
    padding: 104px 0 64px !important;
    background:
        radial-gradient(ellipse at 70% 50%, rgba(168, 85, 247, .06) 0%, transparent 60%),
        linear-gradient(rgba(168, 85, 247, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, .04) 1px, transparent 1px),
        #050816 !important;
    background-size: auto, 60px 60px, 60px 60px, auto !important;
}

.ref-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(400px, .82fr) !important;
    gap: 48px !important;
}

.ref-hero-copy {
    position: relative;
    z-index: 3;
}

.ref-kicker {
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    border: 1px solid rgba(168, 85, 247, .3);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(12px);
}

.ref-kicker i {
    width: 14px;
    height: 14px;
    display: inline-block;
    border-radius: 999px;
    background: conic-gradient(from 0deg, #A855F7, #3B82F6, #ec4899, #A855F7);
    animation: axra-spin 4s linear infinite;
}

.ref-hero h1 {
    display: grid;
    gap: 4px;
    max-width: 760px !important;
    margin: 28px 0 22px !important;
    font-size: clamp(2.65rem, 6vw, 4.85rem) !important;
    line-height: 1.03 !important;
    letter-spacing: 0 !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

.ref-hero h1 span:first-child {
    color: #fff;
}

.ref-hero h1 span:last-child {
    width: fit-content;
    background: linear-gradient(135deg, #A855F7 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.ref-hero h1 span:last-child::before,
.ref-hero h1 span:last-child::after {
    content: attr(data-text);
}

.ref-hero p {
    max-width: 600px !important;
    color: #9ca3af !important;
    font-size: 1.08rem !important;
    line-height: 1.75 !important;
}

.ref-actions {
    margin: 28px 0 20px !important;
}

.ref-search {
    max-width: 720px !important;
    padding: 16px !important;
    border-radius: 18px !important;
}

.ref-mini-chips {
    max-width: 680px;
}

.ref-hero-orbit {
    position: relative;
    height: 560px;
    display: grid;
    place-items: center;
}

.ref-orbit-ring {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.ring-one {
    width: 320px;
    height: 320px;
    border: 2px solid rgba(168, 85, 247, .2);
    animation: axra-spin 20s linear infinite;
}

.ring-two {
    width: 400px;
    height: 400px;
    border: 1px solid rgba(59, 130, 246, .16);
    animation: axra-spin-reverse 28s linear infinite;
}

.ring-three {
    width: 480px;
    height: 480px;
    border: 1px solid rgba(168, 85, 247, .12);
    animation: axra-spin 36s linear infinite;
}

.ref-orbit-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(168, 85, 247, .18) 0%, transparent 70%);
}

.ref-visual-card {
    z-index: 2;
    width: min(72vw, 290px);
    min-height: 290px !important;
    border-radius: 32px !important;
    transform: none !important;
    animation: axra-float 5.5s ease-in-out infinite;
}

.ref-visual-card img,
.ref-hero-emblem {
    width: 100%;
    height: 290px !important;
    object-fit: cover;
    opacity: .24 !important;
}

.ref-hero-emblem {
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 8rem;
    font-weight: 950;
    background: linear-gradient(135deg, rgba(168, 85, 247, .34), rgba(59, 130, 246, .22));
}

.ref-visual-title {
    left: 20px !important;
    top: 20px !important;
    font-size: clamp(2rem, 5vw, 3.8rem) !important;
}

.ref-visual-tag {
    right: 16px !important;
    top: 16px !important;
    width: 150px !important;
}

.ref-visual-stat {
    left: 14px !important;
    right: 14px !important;
    bottom: 14px !important;
}

.ref-float-card {
    position: absolute;
    z-index: 4;
    min-width: 180px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .36);
    backdrop-filter: blur(12px);
    animation: axra-float 4.5s ease-in-out infinite;
}

.ref-float-card b {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(168, 85, 247, .2);
    color: #c084fc;
    font-size: .7rem;
}

.ref-float-card span {
    font-size: .78rem;
    font-weight: 850;
    white-space: nowrap;
}

.card-one { top: 7%; left: 0; }
.card-two { top: 6%; right: 0; animation-delay: .7s; }
.card-three { bottom: 32%; left: 0; animation-delay: 1.4s; }
.card-four { bottom: 27%; right: 0; animation-delay: 2.1s; }

.ref-hero-lines span {
    position: absolute;
    height: 1px;
    pointer-events: none;
}

.ref-hero-lines span:first-child {
    width: 700px;
    left: -5%;
    top: 28%;
    transform: rotate(-15deg);
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, .18), transparent);
}

.ref-hero-lines span:last-child {
    width: 500px;
    right: -8%;
    top: 58%;
    transform: rotate(20deg);
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, .12), transparent);
}

.ref-particles span {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 3px;
    height: 3px;
    border-radius: 999px;
    background: #A855F7;
    opacity: 0;
    animation: axra-particle 6s ease-in-out infinite;
    animation-delay: calc(var(--i) * .23s);
}

.ref-particles span:nth-child(3n) { background: #3B82F6; }
.ref-particles span:nth-child(4n) { background: #ec4899; }

.ref-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 28px;
    display: grid;
    justify-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    transform: translateX(-50%);
    animation: axra-float-mini 2s ease-in-out infinite;
}

.ref-scroll-cue i {
    width: 20px;
    height: 32px;
    border: 1px solid #4b5563;
    border-radius: 999px;
    position: relative;
}

.ref-scroll-cue i::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 6px;
    width: 4px;
    height: 6px;
    border-radius: 999px;
    background: #c084fc;
    transform: translateX(-50%);
    animation: axra-scroll-dot 1.5s ease-in-out infinite;
}

.ref-title {
    margin-bottom: 56px !important;
}

.ref-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #A855F7, #3B82F6);
}

.ref-title.align-left::after {
    margin-left: 0;
}

.ref-title h2 {
    color: #fff !important;
    font-size: clamp(2.25rem, 4.5vw, 4rem) !important;
}

.ref-section {
    padding: 80px 0 !important;
}

.ref-section > .container {
    position: relative;
    z-index: 2;
}

@keyframes axra-spin {
    to { transform: rotate(360deg); }
}

@keyframes axra-spin-reverse {
    to { transform: rotate(-360deg); }
}

@keyframes axra-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

@keyframes axra-float-mini {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

@keyframes axra-scroll-dot {
    0%, 100% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 14px); opacity: .35; }
}

@keyframes axra-particle {
    0%, 100% { transform: translateY(0); opacity: 0; }
    35% { opacity: .8; }
    50% { transform: translateY(-80px) translateX(18px); opacity: .8; }
}

@media (max-width: 1180px) {
    .nav {
        gap: 16px !important;
    }

    .nav-cta {
        display: none;
    }
}

@media (max-width: 980px) {
    .site-header {
        background: rgba(5, 8, 22, .95) !important;
    }

    .brand-copy small {
        display: none;
    }

    .ref-hero-grid {
        grid-template-columns: 1fr !important;
    }

    .ref-hero-orbit {
        height: 500px;
    }

    .nav {
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        padding: 18px !important;
        border-radius: 18px !important;
        background: rgba(5, 8, 22, .98) !important;
    }

    .nav a {
        padding: 12px 4px !important;
        border-bottom: 1px solid rgba(255, 255, 255, .05);
    }
}

@media (max-width: 720px) {
    .ref-hero {
        padding-top: 96px !important;
    }

    .ref-hero h1 {
        font-size: clamp(2.45rem, 13vw, 3.35rem) !important;
    }

    .ref-actions {
        display: grid !important;
        grid-template-columns: 1fr;
    }

    .ref-hero-orbit {
        height: 430px;
    }

    .ring-one { width: 260px; height: 260px; }
    .ring-two { width: 330px; height: 330px; }
    .ring-three { width: 390px; height: 390px; }

    .ref-float-card {
        min-width: 145px;
        padding: 8px 10px;
    }

    .ref-float-card span {
        font-size: .68rem;
    }

    .card-one { left: -2px; }
    .card-two { right: -2px; }
    .card-three { left: -2px; bottom: 25%; }
    .card-four { right: -2px; bottom: 20%; }

    .ref-scroll-cue {
        display: none;
    }
}

@media (max-width: 520px) {
    .brand-copy strong {
        font-size: .95rem;
    }

    .ref-hero-orbit {
        height: 390px;
    }

    .ref-float-card {
        display: none;
    }
}

/* Exact reference section/card geometry polish. */
.ref-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.ref-stats div {
    min-height: 180px;
    display: grid;
    align-content: center;
    padding: 24px !important;
}

.ref-stats div:nth-child(n+5) {
    grid-column: span 2;
}

.ref-portal-grid,
.ref-tutor-grid,
.ref-review-grid,
.ref-blog-grid,
.ref-service-grid {
    gap: 24px !important;
}

.ref-portal-grid a,
.ref-tutor-grid article,
.ref-blog-grid a,
.ref-service-grid div,
.ref-browse-card {
    min-height: 230px;
}

.ref-city-grid a {
    min-height: 190px;
}

.ref-job-list a,
.ref-demand a,
.ref-list div,
.ref-school-list a {
    min-height: 82px;
}

.ref-steps {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px !important;
}

.ref-steps > div {
    min-height: 176px;
    padding: 24px !important;
}

.audience-tabs.ref-tabs {
    width: fit-content;
    margin: 0 auto 26px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    box-shadow: 0 4px 24px rgba(168, 85, 247, .12);
}

.audience-tabs.ref-tabs button {
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    color: #d1d5db;
    background: transparent;
    font-weight: 850;
    cursor: pointer;
}

.audience-tabs.ref-tabs button.active {
    color: #fff;
    background: linear-gradient(90deg, #A855F7, #3B82F6);
    box-shadow: 0 0 22px rgba(168, 85, 247, .35);
}

.ref-steps > div,
.ref-browse-card,
.ref-service-grid div,
.ref-success-grid div,
.ref-blog-grid a,
.ref-seo-panel {
    overflow: hidden;
}

.ref-steps > div {
    position: relative;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .04);
    box-shadow: 0 4px 24px rgba(168, 85, 247, .15), 0 2px 4px rgba(0, 0, 0, .5);
    backdrop-filter: blur(12px);
    transition: transform .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease;
}

.ref-steps > div::after,
.ref-browse-card::after,
.ref-service-grid div::after,
.ref-success-grid div::after,
.ref-blog-grid a::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, .14), transparent 60%);
    transition: opacity .3s ease;
}

.ref-steps > div:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, .35);
    background: rgba(168, 85, 247, .07);
    box-shadow: 0 0 40px rgba(168, 85, 247, .18), 0 12px 40px rgba(0, 0, 0, .5);
}

.ref-steps > div:hover::after,
.ref-browse-card:hover::after,
.ref-service-grid div:hover::after,
.ref-success-grid div:hover::after,
.ref-blog-grid a:hover::after {
    opacity: 1;
}

.ref-steps b {
    position: absolute;
    right: 20px;
    top: 12px;
    color: rgba(255, 255, 255, .08) !important;
    background: none !important;
    box-shadow: none !important;
    font-size: 3rem;
    font-weight: 950;
}

.ref-steps p {
    margin: 0;
}

.ref-steps strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 1.05rem;
}

.ref-steps span {
    color: #9ca3af;
}

.ref-calculator {
    padding: 16px !important;
}

.ref-calculator p {
    min-height: 54px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    padding: 0 16px;
}

.ref-feature-panel {
    display: grid;
    align-content: center;
    min-height: 100%;
    background:
        radial-gradient(circle at 30% 20%, rgba(168, 85, 247, .16), transparent 38%),
        radial-gradient(circle at 82% 75%, rgba(59, 130, 246, .12), transparent 42%),
        rgba(255, 255, 255, .04) !important;
}

.ref-final-cta {
    background:
        radial-gradient(circle at 20% 20%, rgba(168, 85, 247, .18), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, .14), transparent 44%),
        rgba(255, 255, 255, .04) !important;
}

@media (max-width: 980px) {
    .ref-stats,
    .ref-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .ref-stats div:nth-child(n+5) {
        grid-column: span 1;
    }
}

@media (max-width: 720px) {
    .ref-stats,
    .ref-steps {
        grid-template-columns: 1fr !important;
    }

    .audience-tabs.ref-tabs {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        border-radius: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        width: calc(100% - 18px);
    }

    .topbar {
        gap: 8px;
    }

    .brand-logo {
        width: 36px;
        height: 36px;
    }

    .brand-tagline,
    .brand-text span,
    .header-actions .btn-secondary {
        display: none !important;
    }

    .header-actions .btn-primary,
    .header-actions a {
        padding: 9px 10px;
        font-size: .8rem;
    }

    .mobile-nav-toggle {
        width: 40px;
        height: 40px;
    }

    .ref-hero h1,
    .home-hero h1,
    .hero h1,
    .directory-hero h1,
    .page-hero h1,
    .discovery-hero h1,
    .tutor-profile-hero h1,
    .jobs-heading h1 {
        font-size: clamp(1.85rem, 13vw, 2.55rem) !important;
    }

    .ref-card,
    .ref-city-card,
    .ref-step,
    .ref-review-card,
    .ref-tutor-card,
    .filter-panel,
    .tutor-content-panel,
    .tutor-profile-sidebar .sidebar-panel,
    .listing-card,
    .job-card,
    .site-footer {
        padding: 16px !important;
    }

    .tutor-profile-photo {
        width: min(220px, 100%);
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Mobile menu icon fix: keep text out of the right-side toggle. */
.mobile-nav-toggle {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 0 !important;
    border: 1px solid rgba(168, 85, 247, .42) !important;
    border-radius: 12px !important;
    background:
        linear-gradient(135deg, rgba(168, 85, 247, .28), rgba(59, 130, 246, .20)),
        rgba(8, 10, 28, .92) !important;
    box-shadow: 0 0 22px rgba(168, 85, 247, .32), inset 0 1px 0 rgba(255, 255, 255, .12) !important;
    overflow: hidden !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

.mobile-nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f8fafc, #c4b5fd, #93c5fd);
    box-shadow: 0 0 10px rgba(168, 85, 247, .55);
    transition: transform .2s ease, opacity .2s ease;
}

.mobile-nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Reference localhost:5173 home theme pass. */
:root {
    --axra-bg: #050816;
    --axra-bg-alt: #060a1a;
    --axra-footer: #030712;
    --axra-purple: #A855F7;
    --axra-blue: #3B82F6;
    --axra-pink: #ec4899;
    --axra-text: #f2f4f8;
    --axra-muted: #9ca3af;
    --axra-line: rgba(255, 255, 255, .08);
    --axra-card: rgba(255, 255, 255, .04);
    --axra-card-hover: rgba(168, 85, 247, .07);
}

body {
    color: var(--axra-text) !important;
    background: var(--axra-bg) !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site-header {
    background: rgba(5, 8, 22, .88) !important;
    border-bottom: 1px solid rgba(168, 85, 247, .14) !important;
    box-shadow: none !important;
    backdrop-filter: blur(20px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
}

.brand,
.brand span {
    color: #fff !important;
}

.brand-mark {
    border-radius: 14px !important;
    background: linear-gradient(135deg, var(--axra-purple), var(--axra-blue)) !important;
    box-shadow: 0 0 30px rgba(168, 85, 247, .42) !important;
}

.nav a {
    color: #d1d5db !important;
    border-radius: 12px !important;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.nav a:hover,
.nav .nav-admin {
    color: #fff !important;
    background: rgba(255, 255, 255, .06) !important;
    box-shadow: none !important;
}

.ref-home,
.ref-section,
.ref-hero {
    background: var(--axra-bg) !important;
    color: var(--axra-text) !important;
}

.ref-home {
    position: relative;
    isolation: isolate;
    padding-bottom: 0;
}

.ref-home::before,
.ref-section::before,
.ref-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(500px 500px at 92% 12%, rgba(168, 85, 247, .06), transparent 66%),
        radial-gradient(400px 400px at -8% 82%, rgba(59, 130, 246, .045), transparent 66%),
        radial-gradient(300px 300px at 42% 50%, rgba(236, 72, 153, .03), transparent 68%) !important;
    opacity: 1 !important;
    z-index: -1;
}

.ref-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0 !important;
}

.ref-section:nth-of-type(even) {
    background: var(--axra-bg-alt) !important;
}

.ref-hero {
    min-height: calc(100vh - 73px);
    display: flex;
    align-items: center;
    padding: 72px 0 80px !important;
}

.ref-kicker,
.ref-title span,
.ref-final-cta > span,
.ref-feature-panel > span,
.ref-seo-panel > span,
.ref-blog-grid a > span {
    color: var(--axra-purple) !important;
    font-size: .82rem !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
}

.ref-hero h1,
.ref-title h2,
.ref-final-cta h2,
.ref-feature-panel h2,
.ref-seo-panel h2 {
    color: #fff !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

.ref-hero h1 {
    max-width: 760px;
    font-size: clamp(3.4rem, 8vw, 6.8rem) !important;
    line-height: .92 !important;
}

.ref-hero h1::first-line,
.ref-title h2 span,
.gradient-text {
    background: linear-gradient(135deg, var(--axra-purple) 0%, var(--axra-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.ref-hero p,
.ref-title p,
.ref-final-cta p,
.ref-feature-panel p,
.ref-seo-panel p,
.ref-blog-grid p,
.ref-service-grid p {
    color: var(--axra-muted) !important;
}

.ref-btn,
.ref-search button,
.ref-calculator button {
    min-height: 48px !important;
    border-radius: 14px !important;
    font-weight: 900 !important;
}

.ref-btn-primary,
.ref-search button,
.ref-calculator button {
    background: linear-gradient(90deg, var(--axra-purple) 0%, #7C3AED 20%, var(--axra-purple) 40%, var(--axra-blue) 60%, var(--axra-purple) 80%, #7C3AED 100%) !important;
    background-size: 200% auto !important;
    color: #fff !important;
    box-shadow: 0 0 25px rgba(168, 85, 247, .55), 0 0 60px rgba(168, 85, 247, .2) !important;
    animation: axra-ref-shimmer 3s linear infinite;
}

.ref-btn-ghost,
.ref-mini-chips a,
.ref-chip-grid a,
.ref-browse-card a {
    color: #d1d5db !important;
    border: 1px solid rgba(168, 85, 247, .25) !important;
    background: rgba(255, 255, 255, .04) !important;
}

.ref-btn:hover,
.ref-search button:hover,
.ref-calculator button:hover,
.ref-chip-grid a:hover,
.ref-browse-card a:hover {
    transform: translateY(-3px);
    border-color: rgba(168, 85, 247, .42) !important;
}

.ref-search,
.ref-calculator,
.ref-visual-card,
.ref-stats div,
.ref-portal-grid a,
.ref-city-grid a,
.ref-tutor-grid article,
.ref-job-list a,
.ref-demand a,
.ref-list div,
.ref-school-list a,
.ref-review-grid blockquote,
.ref-faqs details,
.ref-final-cta,
.ref-browse-card,
.ref-feature-panel,
.ref-service-grid div,
.ref-success-grid div,
.ref-blog-grid a,
.ref-seo-panel {
    position: relative;
    border: 1px solid var(--axra-line) !important;
    border-radius: 16px !important;
    background: var(--axra-card) !important;
    box-shadow: 0 4px 24px rgba(168, 85, 247, .15), 0 2px 4px rgba(0, 0, 0, .5) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: transform .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease;
}

.ref-stats div::before,
.ref-portal-grid a::before,
.ref-city-grid a::before,
.ref-tutor-grid article::before,
.ref-job-list a::before,
.ref-demand a::before,
.ref-list div::before,
.ref-school-list a::before,
.ref-review-grid blockquote::before,
.ref-faqs details::before,
.ref-final-cta::before,
.ref-browse-card::before,
.ref-feature-panel::before,
.ref-service-grid div::before,
.ref-success-grid div::before,
.ref-blog-grid a::before,
.ref-seo-panel::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: 18px;
    background: linear-gradient(270deg, var(--axra-purple), var(--axra-blue), var(--axra-pink), var(--axra-purple));
    background-size: 400% 400%;
    opacity: 0;
    transition: opacity .3s ease;
    animation: axra-border-travel 3s ease infinite;
}

.ref-stats div:hover,
.ref-portal-grid a:hover,
.ref-city-grid a:hover,
.ref-tutor-grid article:hover,
.ref-job-list a:hover,
.ref-demand a:hover,
.ref-list div:hover,
.ref-school-list a:hover,
.ref-review-grid blockquote:hover,
.ref-faqs details:hover,
.ref-final-cta:hover,
.ref-browse-card:hover,
.ref-feature-panel:hover,
.ref-service-grid div:hover,
.ref-success-grid div:hover,
.ref-blog-grid a:hover,
.ref-seo-panel:hover {
    background: var(--axra-card-hover) !important;
    border-color: rgba(168, 85, 247, .35) !important;
    box-shadow: 0 0 40px rgba(168, 85, 247, .18), 0 12px 40px rgba(0, 0, 0, .5) !important;
    transform: translateY(-5px);
}

.ref-stats div:hover::before,
.ref-portal-grid a:hover::before,
.ref-city-grid a:hover::before,
.ref-tutor-grid article:hover::before,
.ref-job-list a:hover::before,
.ref-demand a:hover::before,
.ref-list div:hover::before,
.ref-school-list a:hover::before,
.ref-review-grid blockquote:hover::before,
.ref-faqs details:hover::before,
.ref-final-cta:hover::before,
.ref-browse-card:hover::before,
.ref-feature-panel:hover::before,
.ref-service-grid div:hover::before,
.ref-success-grid div:hover::before,
.ref-blog-grid a:hover::before,
.ref-seo-panel:hover::before {
    opacity: 1;
}

.ref-search select,
.ref-calculator select,
.ref-calculator p {
    border: 1px solid rgba(168, 85, 247, .25) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, .04) !important;
    color: #f3f4f6 !important;
}

.ref-search select option,
.ref-calculator select option {
    color: #0f172a;
    background: #fff;
}

.ref-stats strong,
.ref-portal-grid b,
.ref-city-grid span,
.ref-job-list b,
.ref-list b,
.ref-school-list b,
.ref-review-grid b,
.ref-avatar,
.ref-service-grid b {
    color: var(--axra-purple) !important;
    background: rgba(168, 85, 247, .12) !important;
}

.ref-city-grid span,
.ref-job-list b,
.ref-list b,
.ref-school-list b,
.ref-review-grid b,
.ref-avatar,
.ref-service-grid b {
    box-shadow: 0 0 18px rgba(168, 85, 247, .24);
}

.ref-portal-grid h3,
.ref-city-grid strong,
.ref-tutor-grid h3,
.ref-job-list strong,
.ref-demand strong,
.ref-list strong,
.ref-school-list strong,
.ref-review-grid strong,
.ref-browse-card h3,
.ref-service-grid h3,
.ref-blog-grid h3 {
    color: #fff !important;
}

.ref-marquee {
    border-top: 1px solid rgba(168, 85, 247, .12) !important;
    border-bottom: 1px solid rgba(168, 85, 247, .12) !important;
    background: rgba(168, 85, 247, .03) !important;
}

.ref-marquee::before,
.ref-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 96px;
    pointer-events: none;
}

.ref-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--axra-bg), transparent);
}

.ref-marquee::after {
    right: 0;
    background: linear-gradient(-90deg, var(--axra-bg), transparent);
}

.ref-visual-card {
    overflow: hidden;
}

.ref-visual-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(5, 8, 22, .72));
}

.ref-scan-line {
    height: 2px !important;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, .6), transparent) !important;
    animation: axra-scan 4s ease-in-out infinite !important;
}

.ref-chip-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.ref-chip-grid.compact {
    justify-content: flex-start;
}

.ref-chip-grid a,
.ref-browse-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 750;
    text-decoration: none;
    transition: transform .25s ease, color .25s ease, border-color .25s ease;
}

.ref-chip-grid a:hover,
.ref-browse-card a:hover {
    color: #fff !important;
}

.ref-browse-grid,
.ref-service-grid,
.ref-success-grid,
.ref-blog-grid {
    display: grid;
    gap: 18px;
}

.ref-browse-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ref-service-grid,
.ref-success-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ref-blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ref-browse-card,
.ref-feature-panel,
.ref-service-grid div,
.ref-success-grid div,
.ref-blog-grid a,
.ref-seo-panel {
    padding: 24px;
}

.ref-browse-card div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.ref-feature-panel {
    min-height: 100%;
}

.ref-feature-panel h2,
.ref-seo-panel h2 {
    margin: 12px 0 14px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}

.ref-service-grid b {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    margin-bottom: 18px;
}

.ref-success-grid strong {
    display: block;
    color: #fff !important;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1;
}

.ref-success-grid span {
    display: block;
    margin-top: 10px;
    color: var(--axra-muted);
}

.ref-blog-grid a {
    display: block;
    min-height: 210px;
    color: inherit;
    text-decoration: none;
}

.ref-blog-grid h3 {
    margin: 18px 0 12px;
    font-size: 1.2rem;
}

.ref-blog-grid em {
    display: inline-flex;
    margin-top: 18px;
    color: var(--axra-purple);
    font-style: normal;
    font-weight: 850;
}

.ref-seo-panel {
    max-width: 980px;
    margin: 0 auto;
}

.ref-ai-widget {
    position: fixed;
    right: 16px;
    bottom: 24px;
    z-index: 9985;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.ref-ai-widget > button {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 18px;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, var(--axra-purple), var(--axra-blue));
    box-shadow: 0 0 25px rgba(168, 85, 247, .55), 0 0 60px rgba(168, 85, 247, .2);
    animation: axra-ai-pulse 2.4s ease-in-out infinite;
}

.ref-ai-widget > button span {
    font-size: .85rem;
    font-weight: 950;
}

.ref-ai-panel {
    width: 224px;
    padding: 16px;
    border: 1px solid rgba(168, 85, 247, .3);
    border-radius: 18px;
    background: rgba(255, 255, 255, .04);
    box-shadow: 0 16px 48px rgba(168, 85, 247, .28), 0 8px 16px rgba(0, 0, 0, .7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.ref-ai-panel > div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.ref-ai-panel b {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--axra-purple), var(--axra-blue));
}

.ref-ai-panel p {
    margin: 0;
}

.ref-ai-panel strong {
    display: block;
    color: #fff;
    font-size: .9rem;
}

.ref-ai-panel span {
    color: #4ade80;
    font-size: .68rem;
}

.ref-ai-panel a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 10px;
    border-radius: 12px;
    color: #d1d5db;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 750;
}

.ref-ai-panel a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

.ref-mobile-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9970;
    display: none;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid rgba(168, 85, 247, .2);
    background: rgba(5, 8, 22, .97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.ref-mobile-sticky a {
    flex: 1;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 900;
}

.ref-mobile-sticky a:first-child {
    background: linear-gradient(90deg, var(--axra-purple), var(--axra-blue));
    box-shadow: 0 0 20px rgba(168, 85, 247, .35);
}

.ref-mobile-sticky a:last-child {
    border: 1px solid rgba(168, 85, 247, .32);
    background: rgba(255, 255, 255, .04);
}

.site-footer {
    background: var(--axra-footer) !important;
    border-top: 1px solid rgba(168, 85, 247, .12) !important;
}

@keyframes axra-ref-shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes axra-border-travel {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes axra-scan {
    0% { top: -10%; opacity: 0; }
    10% { opacity: .4; }
    90% { opacity: .4; }
    100% { top: 110%; opacity: 0; }
}

@keyframes axra-ai-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(168, 85, 247, .4), 0 0 40px rgba(168, 85, 247, .12); }
    50% { box-shadow: 0 0 40px rgba(168, 85, 247, .78), 0 0 80px rgba(59, 130, 246, .26); }
}

@media (max-width: 980px) {
    .ref-browse-grid,
    .ref-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .ref-section {
        padding: 56px 0 !important;
    }

    .ref-hero {
        min-height: auto;
    }

    .ref-browse-grid,
    .ref-service-grid,
    .ref-success-grid,
    .ref-blog-grid {
        grid-template-columns: 1fr;
    }

    .ref-browse-card,
    .ref-feature-panel,
    .ref-service-grid div,
    .ref-success-grid div,
    .ref-blog-grid a,
    .ref-seo-panel {
        padding: 18px;
    }

    .ref-ai-widget {
        right: 14px;
        bottom: 78px;
    }

    .ref-ai-widget > button {
        width: 52px;
        height: 52px;
    }

    .ref-mobile-sticky {
        display: flex;
    }

    body {
        padding-bottom: 72px;
    }
}

/* Header fit fix for inner frontend pages. Keep desktop menu single-line. */
.site-header .topbar {
    width: min(1220px, calc(100% - 40px)) !important;
    min-height: 80px !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
}

.site-header .brand {
    flex: 0 0 auto !important;
    min-width: 0 !important;
}

.site-header .brand-copy {
    min-width: 0 !important;
}

.site-header .brand-copy strong,
.site-header .brand-copy small {
    white-space: nowrap !important;
}

.site-header .nav {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    justify-content: center !important;
    gap: 18px !important;
}

.site-header .nav a {
    display: inline-flex !important;
    align-items: center !important;
    min-width: max-content !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    line-height: 1 !important;
}

.site-header .nav-cta {
    flex: 0 0 auto !important;
    gap: 10px !important;
}

.site-header .nav-cta a {
    white-space: nowrap !important;
    min-width: max-content !important;
}

@media (max-width: 1180px) {
    .site-header .topbar {
        width: min(100% - 28px, 1120px) !important;
        gap: 12px !important;
    }

    .site-header .nav {
        gap: 12px !important;
    }

    .site-header .nav a {
        font-size: .8rem !important;
    }

    .site-header .nav-cta a {
        padding-inline: 13px !important;
        font-size: .8rem !important;
    }
}

@media (max-width: 1040px) {
    .site-header .mobile-nav-toggle {
        display: inline-flex !important;
        margin-left: auto !important;
    }

    .site-header .nav,
    .site-header .nav-cta {
        display: none !important;
    }

    .site-header .nav.is-open {
        position: absolute !important;
        left: 14px !important;
        right: 14px !important;
        top: calc(100% + 10px) !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 14px !important;
        border: 1px solid rgba(168, 85, 247, .28) !important;
        border-radius: 18px !important;
        background: rgba(5, 8, 22, .96) !important;
        box-shadow: 0 24px 70px rgba(0, 0, 0, .34) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
    }

    .site-header .nav.is-open a {
        width: 100% !important;
        min-height: 42px !important;
        justify-content: center !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, .04) !important;
    }

    .site-header .nav.is-open .nav-mobile-action {
        display: inline-flex !important;
        align-items: center;
        background: rgba(34, 197, 94, .14) !important;
        border: 1px solid rgba(34, 197, 94, .4);
    }

    .site-header .nav.is-open .nav-find {
        background: linear-gradient(90deg, #A855F7, #3B82F6) !important;
        border-color: transparent;
    }
}

/* Responsive stability layer: shared by the homepage and all directory pages. */
main,
.page-shell,
.ax-section,
.section,
.home-band,
.directory-hero,
.page-hero,
.discovery-hero {
    min-width: 0;
}

.site-header .mobile-nav-toggle span {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    border-radius: 99px;
    background: #e9d5ff !important;
    transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 1040px) {
    .site-header .topbar {
        width: min(100% - 24px, 1120px) !important;
        min-height: 64px !important;
    }

    .site-header .brand-copy small { display: none !important; }

    .site-header .nav.is-open {
        z-index: 1001 !important;
        max-height: calc(100vh - 88px);
        overflow-y: auto;
    }

    .site-header .mobile-nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .site-header .mobile-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
    .site-header .mobile-nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

@media (max-width: 720px) {
    .site-header .topbar { width: calc(100% - 20px) !important; }

    .site-header .brand-mark { width: 38px; height: 38px; }
    .site-header .brand-copy strong { font-size: .95rem; }

    .site-header .nav.is-open {
        left: 10px !important;
        right: 10px !important;
        grid-template-columns: 1fr !important;
        padding: 10px !important;
    }

    .site-header .nav.is-open a { min-height: 46px !important; }

    .hero-visual,
    .ref-hero-orbit { height: min(410px, 105vw) !important; }

    .hero-visual .floating-card { min-width: 0 !important; max-width: calc(50% - 8px); }

    .hero-visual .floating-card span:last-child {
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    .tutor-popup-footer { flex-wrap: wrap; gap: 7px 12px; }
    .tutor-popup-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tutor-popup-trust span { overflow-wrap: anywhere; }

    .audience-tabs,
    .ref-tabs { max-width: 100%; overflow-x: auto; }
}

@media (max-width: 480px) {
    .site-header .brand-copy strong { font-size: .88rem; }
    .hero-visual { height: 340px !important; }
    .hero-visual .floating-card { display: none !important; }
    .tutor-popup-banner h2 { max-width: 220px; font-size: 22px; }
    .tutor-popup-trust span { font-size: 7px; }
    .tutor-popup-footer { justify-content: center; }
}

.tutor-popup {
    display: none !important;
}

.tutor-popup.is-open {
    display: flex !important;
}

/* FIX: Tutor Popup Class/Course Select */
/* #tutorRequestPopup .tutor-popup-fields select#tutorCourse {
    background: rgba(255, 255, 255, .055) !important;
    color: #252942 !important;
    border: 1px solid rgba(168, 85, 247, .24) !important;
}


#tutorRequestPopup .tutor-popup-fields select#tutorCourse:focus {
    background: rgba(255, 255, 255, .055) !important;
    color: #252942 !important;
    border-color: #6a42e8 !important;
    box-shadow: 0 0 0 3px rgba(106,66,232,.1) !important;
    outline: none !important;
}


#tutorRequestPopup .tutor-popup-fields select#tutorCourse option {
    background: #ffffff !important;
    color: #252942 !important;
} */

#tutorRequestPopup .tutor-popup-fields select#tutorCourse {
    background: rgba(255, 255, 255, .055) !important;
    color: #252942 !important;
    border: 1px solid rgba(168, 85, 247, .24) !important;
}

/* Focus */
#tutorRequestPopup .tutor-popup-fields select#tutorCourse:focus {
    background: rgba(255, 255, 255, .055) !important;
    color: #252942 !important;
    border-color: #6a42e8 !important;
    box-shadow: 0 0 0 3px rgba(106, 66, 232, .1) !important;
    outline: none !important;
}

/* Value select hone ke baad */
#tutorRequestPopup .tutor-popup-fields select#tutorCourse:valid {
    background: #e8f0fe !important;
    color: #000000 !important;
    border: 1px solid rgba(168, 85, 247, .24) !important;
}

/* Dropdown options */
#tutorRequestPopup .tutor-popup-fields select#tutorCourse option {
    background: #e8f0fe;
    color: #000000;
}

/* Selected option */
#tutorRequestPopup .tutor-popup-fields select#tutorCourse option:checked {
    color: #000000 !important;
}
@media (max-width: 768px) {
    .page-hero {
        margin-top: 80px;
    }
}
.axra-city-root {
    margin-top: 50px;
}
@media (max-width: 768px) {
    .axra-city-root {
        margin-top: 50px;
    }
}
.subject-page {
        margin-top: 50px;
    }
@media (max-width: 768px) {
    .subject-page {
        margin-top: 50px;
    }
}
.jobs-heading {
        margin-top: 50px;
    }
@media (max-width: 768px) {
    .jobs-heading {
        margin-top: 50px;
    }
}

