/* ============================================================
   Ajwa Tutors Global - Main Stylesheet
   Brand: #FF7005 (orange)  |  #0034BC (blue)
   ============================================================ */

:root {
    --brand-orange: #FF7005;
    --brand-orange-dark: #e85f00;
    --brand-blue: #0034BC;
    --brand-blue-dark: #002a99;
    --brand-blue-light: #eef2ff;

    --ink: #0f172a;
    --body: #475569;
    --muted: #94a3b8;
    --line: #e6e9f0;
    --bg-soft: #f6f8fc;
    --white: #ffffff;

    --grad-brand: linear-gradient(135deg, #0034BC 0%, #1e4fd6 100%);
    --grad-orange: linear-gradient(135deg, #FF7005 0%, #ff9138 100%);

    --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
    --shadow: 0 12px 30px rgba(15, 23, 42, .08);
    --shadow-lg: 0 26px 60px rgba(15, 23, 42, .14);
    --shadow-blue: 0 18px 40px rgba(0, 52, 188, .22);
    --shadow-orange: 0 14px 30px rgba(255, 112, 5, .30);

    --radius: 16px;
    --radius-lg: 26px;
    --ease: cubic-bezier(.4, .14, .3, 1);
}

* { scroll-behavior: smooth; }

html { scroll-padding-top: 110px; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--body);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-name {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.2;
}

a { text-decoration: none; transition: color .2s var(--ease); }

.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }
.bg-soft { background: var(--bg-soft); }

/* ---------- Section headings ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand-orange);
    background: rgba(255, 112, 5, .10);
    padding: 7px 16px;
    border-radius: 100px;
    margin-bottom: 18px;
}
.section-title {
    font-size: clamp(1.8rem, 3.4vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 14px;
}
.section-title .accent { color: var(--brand-orange); }
.section-subtitle {
    font-size: 1.06rem;
    color: var(--body);
    max-width: 640px;
}
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    border-radius: 100px;
    padding: 12px 26px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-brand {
    background: var(--grad-orange);
    color: #fff;
    box-shadow: var(--shadow-orange);
}
.btn-brand:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 38px rgba(255, 112, 5, .40); }

.btn-blue { background: var(--brand-blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-blue:hover { color: #fff; background: var(--brand-blue-dark); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--brand-blue); border: 1.5px solid var(--line); }
.btn-ghost:hover { color: var(--brand-blue); border-color: var(--brand-blue); background: var(--brand-blue-light); }

.btn-light-outline { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-light-outline:hover { color: var(--brand-blue); background: #fff; }

.btn-lg { padding: 15px 32px; font-size: 1.02rem; }

/* ============================================================
   Top bar
   ============================================================ */
.topbar {
    background: var(--brand-blue);
    color: rgba(255, 255, 255, .85);
    font-size: .86rem;
    padding: 9px 0;
}
.topbar-link { color: rgba(255, 255, 255, .85); display: inline-flex; align-items: center; gap: 7px; }
.topbar-link:hover { color: #fff; }
.topbar-link i { color: var(--brand-orange); }
.topbar-note { color: rgba(255,255,255,.65); font-size: .82rem; }
.topbar-note i { color: var(--brand-orange); }
.topbar-social a { color: rgba(255, 255, 255, .8); font-size: 1rem; }
.topbar-social a:hover { color: var(--brand-orange); }

/* ============================================================
   Navbar
   ============================================================ */
.main-nav {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 1px 0 var(--line);
    transition: box-shadow .3s var(--ease), padding .3s var(--ease);
    z-index: 1030;
}
.main-nav.scrolled { padding: 9px 0; box-shadow: var(--shadow-sm); }

.brand-logo { display: inline-flex; align-items: center; line-height: 0; }
.brand-logo-img {
    height: 52px;
    width: auto;
    max-width: min(210px, 58vw);
    object-fit: contain;
    display: block;
}
.brand-logo-img--footer {
    height: 46px;
    max-width: 190px;
}

.main-nav .nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    color: var(--ink);
    padding: 8px 16px !important;
    font-size: .96rem;
    position: relative;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active { color: var(--brand-blue); }
.main-nav .nav-link.active::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
    height: 3px; border-radius: 3px; background: var(--brand-orange);
}
.dropdown-menu {
    border: none; border-radius: 14px; box-shadow: var(--shadow);
    padding: 10px; margin-top: 12px !important;
}
.dropdown-item { border-radius: 9px; padding: 9px 14px; font-weight: 500; font-size: .93rem; }
.dropdown-item i { color: var(--brand-blue); margin-right: 8px; }
.dropdown-item:hover { background: var(--brand-blue-light); color: var(--brand-blue); }
.navbar-toggler { border: none; padding: 6px; }
.navbar-toggler:focus { box-shadow: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
    position: relative;
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(255,112,5,.10), transparent 60%),
        radial-gradient(900px 500px at 0% 10%, rgba(0,52,188,.08), transparent 55%),
        var(--bg-soft);
    padding: 78px 0 90px;
    overflow: visible;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: 100px;
    padding: 8px 16px 8px 8px; box-shadow: var(--shadow-sm);
    font-weight: 600; font-size: .85rem; color: var(--ink); margin-bottom: 24px;
}
.hero-badge .pill {
    background: var(--grad-orange); color: #fff; font-size: .72rem; font-weight: 700;
    padding: 4px 12px; border-radius: 100px;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.7rem);
    font-weight: 800; letter-spacing: -.03em; margin-bottom: 20px;
}
.hero-title .rotator { color: var(--brand-orange); position: relative; }
.hero-lead { font-size: 1.14rem; color: var(--body); max-width: 560px; margin-bottom: 30px; }
.hero-actions { gap: 14px; }
.hero-trust { margin-top: 34px; }
.hero-trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: .92rem; }
.hero-trust-item i { color: #16a34a; font-size: 1.15rem; }

/* Hero form card */
.hero-form-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    overflow: visible;
    border: 1px solid var(--line);
    position: relative;
    z-index: 5;
    scroll-margin-top: 110px;
    transition: box-shadow .4s ease, border-color .4s ease;
}
.hero-form-card.book-demo-highlight {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 4px rgba(255, 112, 5, .28), 0 16px 48px rgba(0, 52, 188, .18);
    animation: bookDemoPulse 3.5s ease-out forwards;
}
.hero-form-card.book-demo-highlight::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 28px;
    border: 2px solid rgba(255, 112, 5, .45);
    pointer-events: none;
    animation: bookDemoRing 3.5s ease-out forwards;
}
@keyframes bookDemoPulse {
    0%, 12% {
        border-color: var(--brand-orange);
        box-shadow: 0 0 0 6px rgba(255, 112, 5, .32), 0 20px 52px rgba(0, 52, 188, .2);
    }
    65% {
        border-color: var(--brand-orange);
        box-shadow: 0 0 0 4px rgba(255, 112, 5, .2), 0 16px 40px rgba(0, 52, 188, .12);
    }
    100% {
        border-color: var(--line);
        box-shadow: var(--shadow-lg);
    }
}
@keyframes bookDemoRing {
    0%, 15% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.02); }
}
.hero-form-header {
    background: linear-gradient(135deg, rgba(0,52,188,.06), rgba(255,112,5,.06));
    padding: 24px 28px 18px;
    border-bottom: 1px solid var(--line);
    border-radius: 24px 24px 0 0;
}
.hero-form-header h4 {
    font-size: 1.22rem; margin-bottom: 4px;
    display: flex; align-items: center; gap: 10px;
}
.hero-form-header h4 i { color: var(--brand-blue); }
.hero-form-header p { margin: 0; font-size: .9rem; color: var(--body); }
.hero-form-card form { padding: 24px 28px 28px; }

/* Input with icon */
.input-icon-wrap {
    position: relative;
}
.input-icon-wrap > i {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--muted); font-size: 1rem; pointer-events: none; z-index: 2;
}
.input-icon-wrap > .form-control {
    padding-left: 42px;
}

/* Phone input group */
.phone-input-group {
    display: flex; gap: 0; border: 1.5px solid var(--line); border-radius: 12px;
    overflow: visible; transition: border-color .2s;
    position: relative;
}
.phone-input-group:focus-within {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(0,52,188,.10);
}
.phone-input-group .phone-number-input {
    border: none !important; border-radius: 0 12px 12px 0 !important; flex: 1;
    box-shadow: none !important;
}
.phone-input-group .phone-number-input:focus { box-shadow: none !important; }

/* Phone code selector */
.phone-code-select { position: relative; flex: none; z-index: 30; }
.phone-code-select.open { z-index: 1060; }
.phone-code-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 14px; border: none; background: var(--bg-soft);
    cursor: pointer; font-size: .92rem; font-weight: 600; color: var(--ink);
    min-height: 48px; border-right: 1.5px solid var(--line);
    border-radius: 12px 0 0 12px;
    white-space: nowrap; transition: background .2s;
    width: 100%;
}
.phone-code-btn:hover,
.phone-code-select.open .phone-code-btn { background: var(--brand-blue-light); }
.phone-code-btn .iso-text {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--muted);
    text-transform: uppercase;
}
.phone-code-btn .code-text { font-weight: 700; color: var(--brand-blue); font-size: .9rem; }
.phone-code-btn .bi-chevron-down { font-size: .65rem; color: var(--muted); transition: transform .2s; margin-left: 2px; }
.phone-code-select.open .bi-chevron-down { transform: rotate(180deg); }

/* Flag icons in phone code selector (matches cities section) */
.phone-code-flag {
    width: 28px;
    height: 20px;
    flex: none;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .14);
    border: 1px solid rgba(0, 0, 0, .08);
    background-size: cover;
    background-position: center;
}
.phone-code-btn .phone-code-flag {
    width: 26px;
    height: 18px;
}

.phone-code-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: auto;
    min-width: 118px;
    max-height: 280px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    z-index: 1060;
    overflow: hidden;
}
.phone-code-select.open .phone-code-dropdown {
    display: block !important;
}

.phone-code-list {
    list-style: none; margin: 0; padding: 8px;
    max-height: 280px; overflow-y: auto;
}
.phone-code-list li {
    display: flex; align-items: center; gap: 6px;
    padding: 9px 10px; border-radius: 10px; cursor: pointer;
    font-size: .9rem; color: var(--ink); transition: background .15s;
    white-space: nowrap;
}
.phone-code-list li:hover,
.phone-code-list li.active { background: var(--brand-blue-light); }
.phone-code-list li .iso-code {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--muted);
    text-transform: uppercase;
}
.phone-code-list li .dial-code { font-weight: 700; color: var(--brand-blue); font-size: .88rem; }

/* Form success state */
.hero-form-success {
    padding: 50px 28px; text-align: center;
}
.hero-form-success .success-icon { font-size: 3.5rem; color: #16a34a; margin-bottom: 14px; }
.hero-form-success h5 { color: var(--ink); font-size: 1.4rem; margin-bottom: 8px; }
.hero-form-success p { color: var(--body); font-size: 1rem; max-width: 380px; margin: 0 auto; }

/* Form error alert */
.hero-form-alert {
    background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca;
    border-radius: 10px; padding: 10px 14px; font-size: .88rem;
    display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
}
.hero-form-alert i { font-size: 1.1rem; }

/* ============================================================
   Marquee / trusted strip
   ============================================================ */
.trust-strip { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; }
.trust-item i { font-size: 1.7rem; color: var(--brand-blue); }
.trust-item .small { font-weight: 500; color: var(--muted); font-size: .82rem; }

/* ============================================================
   Safeguarding assurance (homepage)
   ============================================================ */
.safeguarding-assurance {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 24px;
    background: linear-gradient(135deg, rgba(0, 52, 188, .06) 0%, rgba(255, 112, 5, .05) 100%);
    border: 1px solid rgba(0, 52, 188, .12);
    border-radius: var(--radius-lg);
    padding: 22px 26px;
    margin-bottom: 36px;
}
.safeguarding-assurance-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-blue);
    color: #fff;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-blue);
}
.safeguarding-assurance-body {
    flex: 1;
    min-width: 220px;
}
.safeguarding-assurance-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: .95rem;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 6px;
    letter-spacing: -.01em;
}
.safeguarding-assurance-text {
    font-size: .9rem;
    color: var(--body);
    line-height: 1.65;
    margin: 0;
    max-width: 720px;
}
.safeguarding-assurance-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}
.safeguarding-assurance-tags li {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--brand-blue);
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(0, 52, 188, .14);
    border-radius: 100px;
    padding: 6px 12px;
}
@media (max-width: 767.98px) {
    .safeguarding-assurance {
        padding: 20px 18px;
        margin-bottom: 28px;
    }
    .safeguarding-assurance-tags {
        width: 100%;
    }
}

/* ============================================================
   Stats
   ============================================================ */
.stat-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; text-align: center; height: 100%;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat-num { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 2.5rem; color: var(--brand-blue); line-height: 1; }
.stat-num .accent { color: var(--brand-orange); }
.stat-label { color: var(--body); font-weight: 500; margin-top: 6px; }

/* ============================================================
   How it works
   ============================================================ */
.step-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 34px 28px; height: 100%; position: relative; overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.step-num {
    position: absolute; top: 14px; right: 20px; font-family: 'Plus Jakarta Sans';
    font-weight: 800; font-size: 3.4rem; color: var(--brand-blue-light); z-index: 0;
}
.step-icon {
    width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
    font-size: 1.7rem; color: #fff; background: var(--grad-brand); margin-bottom: 20px;
    position: relative; z-index: 1; box-shadow: var(--shadow-blue);
}
.step-card:nth-child(even) .step-icon { background: var(--grad-orange); box-shadow: var(--shadow-orange); }
.step-card h5 { font-size: 1.2rem; margin-bottom: 8px; position: relative; z-index: 1; }
.step-card p { margin: 0; font-size: .95rem; position: relative; z-index: 1; }

/* ============================================================
   Subjects
   ============================================================ */
.subject-card {
    display: block;
    color: inherit;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 22px; text-align: center; height: 100%;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    position: relative; overflow: hidden;
}
.subject-card:hover { color: inherit; }
.subject-card::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
    background: var(--grad-orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.subject-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.subject-card:hover::before { transform: scaleX(1); }
.subject-icon {
    width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
    font-size: 1.7rem; margin: 0 auto 16px; color: var(--brand-blue); background: var(--brand-blue-light);
    transition: background .3s var(--ease), color .3s var(--ease);
}
.subject-card:hover .subject-icon { background: var(--grad-brand); color: #fff; }
.subject-card h6 { font-size: 1.06rem; margin-bottom: 4px; }
.subject-card .lvl { font-size: .82rem; color: var(--muted); }

/* ============================================================
   FEATURED TUTORS  (signature section)
   ============================================================ */
.tutors-section { position: relative; }
.tutor-card {
    background: #fff; border: 1px solid var(--line); border-radius: 22px;
    overflow: hidden; height: 100%; width: 100%; position: relative;
    display: flex; flex-direction: column;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.tutor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.tutor-head {
    position: relative; padding: 26px 24px 0;
    background: linear-gradient(135deg, rgba(0,52,188,.05), rgba(255,112,5,.05));
}
.tutor-avatar-row { display: flex; align-items: center; gap: 16px; }
.tutor-avatar {
    width: 78px; height: 78px; border-radius: 50%; flex: none;
    display: grid; place-items: center; font-family: 'Plus Jakarta Sans';
    font-weight: 800; font-size: 1.7rem; color: #fff; background: var(--grad-brand);
    border: 4px solid #fff; box-shadow: var(--shadow-sm); position: relative;
}
.tutor-card:nth-child(3n+2) .tutor-avatar { background: var(--grad-orange); }
.tutor-card:nth-child(3n) .tutor-avatar { background: linear-gradient(135deg,#0034BC,#FF7005); }
.tutor-avatar .dot-online {
    position: absolute; bottom: 4px; right: 4px; width: 15px; height: 15px;
    background: #22c55e; border: 3px solid #fff; border-radius: 50%;
}
.tutor-name {
    font-size: 1.18rem; margin-bottom: 2px;
    display: flex; align-items: center; gap: 6px;
}
.verified-tick {
    width: 18px; height: 18px; flex: none;
    filter: drop-shadow(0 1px 2px rgba(29,161,242,.35));
}
.tutor-loc { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.tutor-loc i { color: var(--brand-orange); }

.tutor-tags { display: flex; flex-wrap: wrap; gap: 7px; padding: 18px 24px 0; min-height: 52px; align-content: flex-start; }
.tag {
    font-size: .76rem; font-weight: 600; padding: 5px 12px; border-radius: 100px;
    background: var(--brand-blue-light); color: var(--brand-blue);
}
.tag.tag-orange { background: rgba(255,112,5,.12); color: var(--brand-orange-dark); }

.dbs-badge {
    display: inline-flex; align-items: center; gap: 4px; margin-top: 6px;
    padding: 2px 8px; background: #e8f5e9; color: #2e7d32; border-radius: 100px;
    font-size: .68rem; font-weight: 600; border: 1px solid #c8e6c9; line-height: 1.4;
}
.dbs-badge i { font-size: .7rem; }

.tutor-rating {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 12px 24px 0; flex-wrap: nowrap;
}
.tutor-rating-left {
    display: flex; align-items: center; gap: 4px; min-width: 0; flex: 1;
}
.tutor-rating .stars { color: #f59e0b; font-size: .68rem; letter-spacing: 0; flex-shrink: 0; }
.tutor-rating .rate-num { font-weight: 700; color: var(--ink); font-size: .72rem; flex-shrink: 0; }
.tutor-rating .rate-count {
    color: var(--muted); font-size: .65rem; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.tutor-hourly-rate {
    flex-shrink: 0; margin-left: 8px; font-size: .72rem; font-weight: 700; color: var(--brand-blue);
    white-space: nowrap; padding: 2px 8px; background: var(--brand-blue-light); border-radius: 100px;
}

.tutor-bio { padding: 12px 24px 0; font-size: .9rem; color: var(--body); flex: 1; }
.tutor-bio .clamp {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 4.05em;
}

.tutor-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 8px; padding: 18px 24px; margin-top: 16px; border-top: 1px solid var(--line);
}
.tutor-stat { text-align: center; }
.tutor-stat .v { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 1.15rem; color: var(--brand-blue); line-height: 1; }
.tutor-stat .v.orange { color: var(--brand-orange); }
.tutor-stat .k { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; }

.tutor-foot { display: flex; gap: 10px; padding: 0 24px 24px; margin-top: auto; }
.tutor-foot .btn { flex: 1; justify-content: center; padding: 11px 12px; font-size: .9rem; }
.btn-outline-brand { border: 1.5px solid var(--line); color: var(--brand-blue); background: #fff; }
.btn-outline-brand:hover { border-color: var(--brand-blue); background: var(--brand-blue-light); color: var(--brand-blue); }

/* Swiper carousel controls */
.swiper-nav-btns { display: inline-flex; gap: 8px; }
.swiper-btn-prev, .swiper-btn-next {
    width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line);
    background: #fff; color: var(--ink); display: grid; place-items: center;
    font-size: 1.1rem; cursor: pointer; transition: all .25s var(--ease);
}
.swiper-btn-prev:hover, .swiper-btn-next:hover {
    background: var(--brand-blue); color: #fff; border-color: var(--brand-blue);
    box-shadow: var(--shadow-blue);
}
.tutors-carousel-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}
.tutors-carousel-wrap {
    overflow: hidden;
    width: 100%;
}
.tutors-swiper {
    overflow: hidden;
    padding-bottom: 4px;
}
.tutors-swiper .swiper-wrapper {
    align-items: stretch;
}
.tutors-swiper .swiper-slide {
    height: auto;
    display: flex;
    box-sizing: border-box;
}
.tutors-swiper .tutor-card { height: 100%; }

/* ============================================================
   Platform features (split panels)
   ============================================================ */
.feature-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature-visual {
    background: var(--grad-brand); min-height: 340px; position: relative; overflow: hidden;
    display: grid; place-items: center; color: #fff;
}
.feature-visual.orange { background: var(--grad-orange); }
.feature-visual .big-ico { font-size: 5.5rem; opacity: .9; }
.feature-check { list-style: none; padding: 0; margin: 18px 0 0; }
.feature-check li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; color: var(--ink); font-weight: 500; }
.feature-check li i { color: #16a34a; font-size: 1.2rem; margin-top: 2px; }

/* ============================================================
   Pricing
   ============================================================ */
.price-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 36px 30px; height: 100%; position: relative;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price-card.popular { border: 2px solid var(--brand-orange); box-shadow: var(--shadow); }
.price-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--grad-orange); color: #fff; font-size: .74rem; font-weight: 700;
    padding: 6px 18px; border-radius: 100px; box-shadow: var(--shadow-orange);
}
.price-plan { font-size: 1.15rem; font-weight: 700; }
.price-amt { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 2.9rem; color: var(--brand-blue); margin: 10px 0; }
.price-amt small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.price-list { list-style: none; padding: 0; margin: 22px 0; }
.price-list li { padding: 9px 0; display: flex; gap: 10px; align-items: center; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.price-list li i { color: var(--brand-orange); }
.price-card--tier {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 40px 32px 36px;
}
.price-card--tier .price-tier-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(0, 52, 188, .08); color: var(--brand-blue);
    font-size: 1.45rem; margin-bottom: 18px;
}
.price-card--tier.popular .price-tier-icon { background: rgba(255, 112, 5, .12); color: var(--brand-orange); }
.price-card--tier .price-plan { font-size: 1.2rem; margin-bottom: 4px; }
.price-card--tier .price-amt { margin: 12px 0 16px; }
.price-card--tier .price-desc {
    font-size: .92rem; color: var(--body); line-height: 1.65;
    margin: 0 0 28px; flex: 1; max-width: 280px;
}
.price-card--tier .price-card-cta { margin-top: auto; }

/* ── Pricing page ── */
.pricing-hero {
    padding: 56px 0 32px;
    background: linear-gradient(145deg, #f7f9ff 0%, #eef3ff 55%, #fef6f0 100%);
    border-bottom: 1px solid var(--line);
}
.pricing-hero-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; flex-wrap: wrap;
}
.pricing-hero-copy { flex: 1; min-width: 280px; max-width: 640px; }
.pricing-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800;
    color: var(--ink); line-height: 1.15; margin-bottom: 16px;
}
.pricing-hero-title .accent { color: var(--brand-orange); }
.pricing-hero-lead { font-size: 1.05rem; color: var(--body); line-height: 1.7; margin-bottom: 22px; }
.pricing-hero-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pricing-pill {
    display: inline-flex; align-items: center; gap: 7px;
    background: #fff; border: 1px solid var(--line); border-radius: 100px;
    padding: 8px 16px; font-size: .84rem; font-weight: 600; color: var(--ink);
}
.pricing-pill i { color: #16a34a; }
.pricing-hero-stat-card {
    background: #fff; border: 1px solid rgba(0, 52, 188, .12);
    border-radius: var(--radius-lg); padding: 32px 36px; text-align: center;
    box-shadow: var(--shadow); min-width: 220px;
}
.pricing-hero-stat-icon {
    width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 14px;
    display: grid; place-items: center; background: var(--grad-brand);
    color: #fff; font-size: 1.5rem;
}
.pricing-hero-stat-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.2rem; font-weight: 800; color: var(--brand-blue); line-height: 1;
}
.pricing-hero-stat-label { font-size: .88rem; color: var(--muted); font-weight: 600; margin-top: 8px; }

.pricing-value-card {
    display: flex; gap: 22px; align-items: flex-start;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 32px 28px; height: 100%;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pricing-value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pricing-value-icon {
    width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
    display: grid; place-items: center; background: var(--grad-brand);
    color: #fff; font-size: 1.35rem;
}
.pricing-value-icon--orange { background: var(--grad-orange); }
.pricing-value-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.pricing-value-card p { font-size: .94rem; color: var(--body); line-height: 1.65; margin-bottom: 14px; }
.pricing-value-link {
    font-weight: 700; font-size: .9rem; color: var(--brand-blue);
    text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.pricing-value-link:hover { color: var(--brand-orange); }

.pricing-trust-strip {
    padding: 48px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.pricing-trust-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem; font-weight: 800; color: var(--brand-blue); line-height: 1;
}
.pricing-trust-num.accent { color: var(--brand-orange); }
.pricing-trust-label { font-size: .86rem; color: var(--muted); font-weight: 600; margin-top: 6px; }

@media (max-width: 767.98px) {
    .pricing-hero { padding: 36px 0 24px; }
    .pricing-hero-stat-card { width: 100%; }
    .pricing-value-card { flex-direction: column; align-items: flex-start; }
    .pricing-trust-num { font-size: 1.6rem; }
}

/* ============================================================
   Testimonials
   ============================================================ */
.testi-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 30px; height: 100%; position: relative;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testi-quote { font-size: 2.6rem; color: var(--brand-orange); opacity: .28; line-height: 1; font-family: Georgia, serif; }
.testi-stars { color: #f59e0b; margin-bottom: 12px; }
.testi-text { color: var(--ink); font-size: 1rem; margin-bottom: 20px; }
.testi-person { display: flex; align-items: center; gap: 13px; }
.testi-ava { width: 50px; height: 50px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: 'Plus Jakarta Sans'; }
.testi-name { font-weight: 700; color: var(--ink); line-height: 1.2; }
.testi-role { font-size: .82rem; color: var(--muted); }

/* ============================================================
   Cities / global
   ============================================================ */
.city-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px 20px; height: 100%; display: flex; align-items: center; gap: 16px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.city-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.city-flag {
    width: 52px;
    height: 52px;
    flex: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .12);
    border: 2px solid #fff;
    outline: 1px solid var(--line);
    background: var(--bg-soft);
    display: grid;
    place-items: center;
}
.city-flag .fi {
    width: 52px;
    height: 52px;
    background-size: cover;
    background-position: center;
}
.city-name { font-weight: 700; color: var(--ink); font-size: .98rem; }
.city-count { font-size: .85rem; color: var(--brand-orange); font-weight: 600; margin-top: 2px; }

/* ============================================================
   CTA + Contact form
   ============================================================ */
.cta-section {
    background:
        radial-gradient(700px 400px at 90% 10%, rgba(255,112,5,.35), transparent 60%),
        var(--grad-brand);
    color: #fff; border-radius: 34px; padding: 56px; position: relative; overflow: hidden;
}
.cta-section h2 { color: #fff; }
.cta-list { list-style: none; padding: 0; margin: 22px 0 0; }
.cta-list li { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; color: rgba(255,255,255,.92); font-weight: 500; }
.cta-list li i { color: var(--brand-orange); background: #fff; border-radius: 50%; padding: 3px; font-size: .9rem; }

.contact-form-card {
    background: #fff; border-radius: 24px; padding: 34px; box-shadow: var(--shadow-lg); color: var(--body);
}
.contact-form-card h4 { color: var(--ink); }
.form-label { font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 6px; }
.form-control, .form-select {
    border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 15px; font-size: .95rem;
}
.form-control:focus, .form-select:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 4px rgba(0,52,188,.10); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: #0a1533; color: rgba(255,255,255,.68); padding: 70px 0 26px; }
.footer-about { font-size: .93rem; margin-top: 6px; }
.footer-heading { color: #fff; font-size: 1.02rem; margin-bottom: 18px; font-weight: 700; }
.footer-links, .footer-contact, .footer-legal { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: rgba(255,255,255,.68); font-size: .93rem; }
.footer-links a:hover { color: var(--brand-orange); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: .93rem; align-items: flex-start; }
.footer-contact li i { color: var(--brand-orange); margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,.78); }
.footer-contact a:hover { color: var(--brand-orange); }
.footer-social a {
    width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08);
    display: grid; place-items: center; color: #fff; font-size: 1.05rem;
}
.footer-social a:hover { background: var(--brand-orange); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 46px; padding-top: 22px; font-size: .88rem; }
.footer-legal a { color: rgba(255,255,255,.6); font-size: .88rem; }
.footer-legal a:hover { color: var(--brand-orange); }

/* ============================================================
   Floating buttons
   ============================================================ */
.float-whatsapp {
    position: fixed; bottom: 26px; right: 26px; width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.6rem;
    box-shadow: 0 10px 26px rgba(37,211,102,.45); z-index: 1040; animation: pulse 2.4s infinite;
}
.float-whatsapp:hover { color: #fff; transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

.back-to-top {
    position: fixed; bottom: 92px; right: 30px; width: 46px; height: 46px; border-radius: 12px;
    background: var(--brand-blue); color: #fff; border: none; display: grid; place-items: center;
    font-size: 1.1rem; box-shadow: var(--shadow); z-index: 1040;
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--brand-blue-dark); }

/* ============================================================
   Reveal-on-scroll animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991.98px) {
    .section { padding: 64px 0; }
    .main-nav .navbar-collapse {
        background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 16px; margin-top: 12px;
    }
    .main-nav .nav-link.active::after { display: none; }
    .nav-cta { margin-top: 8px; }
    .hero { padding: 54px 0 70px; }
    .hero-form-card { margin-top: 32px; }
    .cta-section { padding: 40px 28px; }
}

@media (max-width: 575.98px) {
    .section { padding: 52px 0; }
    .hero-title { font-size: 2.05rem; }
    .brand-logo-img { height: 42px; max-width: 170px; }
    .hero-form-card form { padding: 18px 18px 22px; }
    .hero-form-header { padding: 18px 18px 14px; }
    .tutor-foot { flex-direction: column; }
    .cta-section { padding: 32px 20px; border-radius: 24px; }
    .contact-form-card { padding: 24px; }
    .float-whatsapp { width: 50px; height: 50px; font-size: 1.4rem; bottom: 20px; right: 18px; }
    .back-to-top { right: 22px; bottom: 80px; }
    .stat-num { font-size: 2rem; }
}

/* ============================================================
   FIND TUTORS PAGE
   ============================================================ */

/* ---- Page Header (compact) ---- */
.page-header {
    position: relative;
    overflow: hidden;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
}
.page-header--compact {
    padding: 16px 0 18px;
}
.page-header-accent {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(520px 180px at 100% 0%, rgba(255, 112, 5, .10), transparent 70%),
        radial-gradient(480px 160px at 0% 100%, rgba(0, 52, 188, .08), transparent 65%);
    pointer-events: none;
}
.page-breadcrumb { margin-bottom: 10px; }
.page-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    font-size: .82rem;
}
.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: var(--muted);
    content: "›";
}
.page-breadcrumb .breadcrumb-item a {
    color: var(--brand-blue);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.page-breadcrumb .breadcrumb-item a:hover { color: var(--brand-blue-dark); }
.page-breadcrumb .breadcrumb-item.active {
    color: var(--body);
    font-weight: 500;
}

.page-header-compact-inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.page-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-brand);
    color: #fff;
    font-size: 1.2rem;
    box-shadow: var(--shadow-blue);
    flex-shrink: 0;
    margin-top: 2px;
}
.page-header-copy { min-width: 0; }
.page-header-title {
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -.025em;
    color: var(--ink);
    margin-bottom: 6px;
    line-height: 1.15;
}
.page-header-title .accent { color: var(--brand-orange); }
.page-header-lead {
    font-size: .9rem;
    color: var(--body);
    max-width: 520px;
}

/* ---- Filter Section (highlighted) ---- */
.filter-section {
    background: var(--bg-soft);
    z-index: 1020;
    padding: 16px 0 20px;
    border-bottom: none;
}
.filter-panel {
    background: #fff;
    border: 1px solid rgba(0, 52, 188, .14);
    border-radius: 18px;
    box-shadow:
        0 0 0 1px rgba(0, 52, 188, .04),
        0 12px 32px rgba(0, 52, 188, .10);
    overflow: visible;
    position: relative;
}
.filter-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(90deg, var(--brand-blue) 0%, #1e4fd6 45%, var(--brand-orange) 100%);
}
.filter-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(0, 52, 188, .08);
    background: linear-gradient(135deg, rgba(0, 52, 188, .05), rgba(255, 112, 5, .04));
    border-radius: 18px 18px 0 0;
}
.filter-panel-title {
    display: flex;
    align-items: center;
    gap: 14px;
}
.filter-panel-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-blue);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: var(--shadow-blue);
    flex-shrink: 0;
}
.filter-panel-title h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 2px;
    color: var(--ink);
}
.filter-panel-title p {
    margin: 0;
    font-size: .82rem;
    color: var(--body);
}
.filter-panel-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--brand-blue);
    background: rgba(0, 52, 188, .10);
    border: 1px solid rgba(0, 52, 188, .16);
    padding: 6px 12px;
    border-radius: 100px;
    flex-shrink: 0;
}
.filter-panel-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    border: 1.5px solid rgba(0, 52, 188, .2);
    background: #fff;
    color: var(--brand-blue);
    font-size: .82rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 100px;
    cursor: pointer;
    transition: all .2s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 52, 188, .08);
}
.filter-panel-toggle:hover {
    background: var(--brand-blue-light);
    border-color: var(--brand-blue);
}
.filter-panel-toggle .bi-chevron-down {
    font-size: .75rem;
    transition: transform .25s ease;
}
.filter-panel.is-expanded .filter-panel-toggle .bi-chevron-down {
    transform: rotate(180deg);
}
.filter-panel-body {
    display: block;
}
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 20px 12px;
}
.filter-item {
    position: relative;
}
.filter-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid rgba(0, 52, 188, .18);
    border-radius: 10px;
    padding: 10px 16px;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    color: var(--ink);
    box-shadow: 0 2px 6px rgba(0, 52, 188, .04);
}
.filter-btn:hover, .filter-btn.active {
    border-color: var(--brand-blue);
    background: var(--brand-blue-light);
    box-shadow: 0 4px 12px rgba(0, 52, 188, .12);
}
.filter-btn.active {
    color: var(--brand-blue);
    font-weight: 600;
}
.filter-label {
    display: none;
}
.filter-value {
    font-weight: 500;
}
.filter-arrow {
    font-size: .7rem;
    transition: transform .2s;
}
.filter-item.open .filter-arrow {
    transform: rotate(180deg);
}

/* ---- Filter Dropdown Panel ---- */
.filter-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 260px;
    max-height: 380px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
    z-index: 1050;
    overflow: hidden;
    animation: filterDropIn .18s ease;
}
.filter-dropdown--wide {
    min-width: 340px;
}
.filter-dropdown--cat {
    min-width: 340px;
}
@keyframes filterDropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.filter-item.open .filter-dropdown {
    display: flex;
    flex-direction: column;
}
.filter-dropdown-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
}
.filter-dropdown-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

/* ---- Filter Options ---- */
.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: .9rem;
    transition: background .15s;
}
.filter-option:hover {
    background: #f0f4ff;
}
.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
    accent-color: var(--brand-blue);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.filter-option i {
    color: var(--brand-blue);
    font-size: 1rem;
}
.filter-option--cat {
    align-items: flex-start;
}
.filter-option--cat .cat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.filter-option--cat .cat-info strong {
    font-size: .88rem;
}
.filter-option--cat .cat-info small {
    font-size: .78rem;
    color: #6c757d;
    line-height: 1.3;
}
.filter-hint {
    color: #adb5bd;
    font-size: .85rem;
    margin: 6px 0 0;
    font-style: italic;
}

/* ---- Availability Chips ---- */
.avail-section {
    margin-bottom: 14px;
}
.avail-section:last-child { margin-bottom: 0; }
.avail-heading {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #6c757d;
    margin-bottom: 8px;
}
.avail-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.avail-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    font-size: .82rem;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}
.avail-chip:hover {
    border-color: var(--brand-blue);
    background: #eef2ff;
}
.avail-chip input {
    display: none;
}
.avail-chip:has(input:checked) {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}

/* ---- Active Filter Chips ---- */
.active-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 16px;
    flex-wrap: wrap;
    border-top: 1px dashed rgba(0, 52, 188, .12);
    margin-top: 4px;
    padding-top: 14px;
}
.active-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.active-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #eef2ff;
    border: 1px solid #c6d4ff;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 500;
    color: var(--brand-blue);
}
.active-chip .chip-remove {
    cursor: pointer;
    font-size: .9rem;
    opacity: .6;
    transition: opacity .15s;
}
.active-chip .chip-remove:hover { opacity: 1; }
.clear-all-btn {
    font-size: .82rem;
    color: #dc3545 !important;
    text-decoration: none;
    font-weight: 500;
}
.clear-all-btn:hover { text-decoration: underline; }

/* ---- Results Header ---- */
.find-results-section {
    padding-top: 28px;
    padding-bottom: 72px;
}
.find-results-layout {
    align-items: flex-start;
}
.find-results-main {
    min-width: 0;
}
.find-results-sidebar {
    position: relative;
}
@media (min-width: 992px) {
    .find-results-layout {
        align-items: stretch;
    }
    .find-results-sidebar {
        display: flex;
        flex-direction: column;
    }
    .find-help-card--sidebar {
        align-self: flex-start;
        width: 100%;
        transition: box-shadow .25s ease, transform .25s ease;
    }
    .find-help-card--sidebar.is-fixed {
        position: fixed;
        z-index: 1010;
        box-shadow: 0 20px 56px rgba(0, 52, 188, .3);
    }
    .find-help-card--sidebar.is-pinned-bottom {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1;
    }
}
.results-header {
    margin-bottom: 20px;
}
.results-count {
    font-size: 1rem;
    font-weight: 600;
    color: var(--body);
}
.results-count span {
    color: var(--brand-blue);
    font-weight: 800;
}

/* ---- No Results ---- */
.no-results {
    text-align: center;
    padding: 60px 20px;
}
.no-results-inner i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 16px;
    display: block;
}
.no-results-inner h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.no-results-inner p {
    color: #6c757d;
}

/* ---- Loading ---- */
.filter-loading {
    text-align: center;
    padding: 60px 20px;
}
.filter-loading p {
    margin-top: 12px;
    color: #6c757d;
}

/* ---- Tutor cards on Find page: equal height ---- */
.find-results-section .tutor-col {
    display: flex;
}
.find-results-section .tutor-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.find-results-section .tutor-bio {
    flex: 1;
}
.find-results-section .tutor-foot {
    margin-top: auto;
    gap: 8px;
    padding: 0 20px 20px;
}
.find-results-section .tutor-foot .btn {
    flex: 1;
    justify-content: center;
    padding: 7px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 0;
    gap: 5px;
    line-height: 1.2;
    min-height: 34px;
    text-transform: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.find-results-section .tutor-foot .btn i {
    font-size: 0.85rem;
}
.find-results-section .tutor-foot .btn:active {
    transform: none;
}
.find-results-section .tutor-foot .btn-outline-brand {
    border: 1px solid var(--brand-blue);
    color: var(--brand-blue);
    background: #fff;
}
.find-results-section .tutor-foot .btn-outline-brand:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
    transform: none;
    box-shadow: none;
}
.find-results-section .tutor-foot .btn-brand {
    background: var(--brand-blue);
    color: #fff;
    box-shadow: none;
}
.find-results-section .tutor-foot .btn-brand:hover {
    background: var(--brand-blue-dark);
    color: #fff;
    transform: none;
    box-shadow: none;
}

/* ---- Mobile responsive for filter bar ---- */
@media (max-width: 991.98px) {
    .page-header--compact { padding: 14px 0 16px; }
    .filter-panel-head {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }
    .filter-panel-toggle {
        display: inline-flex;
    }
    .filter-panel-body {
        display: none;
        border-top: 1px solid rgba(0, 52, 188, .08);
    }
    .filter-panel.is-expanded .filter-panel-body {
        display: block;
    }
    .filter-bar {
        overflow: visible;
        flex-wrap: wrap;
        gap: 8px;
        padding-bottom: 12px;
    }
    .filter-item {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
    }
    .filter-item--wide,
    .filter-item[data-filter="categories"] {
        flex: 1 1 100%;
    }
    .filter-btn {
        width: 100%;
        min-width: 0;
        justify-content: space-between;
    }
    .filter-value {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: left;
    }
    .filter-dropdown {
        position: fixed;
        top: auto !important;
        bottom: 0;
        left: 0 !important;
        right: 0;
        width: 100%;
        min-width: 100%;
        max-height: 70vh;
        border-radius: 20px 20px 0 0;
        animation: filterSlideUp .25s ease;
    }
    @keyframes filterSlideUp {
        from { transform: translateY(100%); }
        to   { transform: translateY(0); }
    }
    .filter-dropdown--wide,
    .filter-dropdown--cat {
        min-width: 100%;
    }
}
@media (max-width: 575.98px) {
    .page-header--compact { padding: 12px 0 14px; }
    .page-header-icon { width: 38px; height: 38px; font-size: 1rem; border-radius: 12px; }
    .page-header-title { font-size: 1.3rem; }
    .page-header-lead { font-size: .84rem; }
    .filter-panel-head { padding: 14px 16px 12px; }
    .filter-bar { padding: 14px 16px 10px; gap: 8px; }
    .filter-item { flex: 1 1 100%; }
    .active-filters { padding: 12px 16px 14px; }
    .filter-panel-badge { display: none; }
    .filter-btn { padding: 10px 12px; font-size: .82rem; }
    .results-count { font-size: 1.1rem; }
}


/* ============================================================
   TUTOR PROFILE PAGE
   ============================================================ */

/* ── Breadcrumb ── */
.tp-breadcrumb { padding: 14px 0; background: #f8f9fc; border-bottom: 1px solid #eee; }
.tp-breadcrumb .breadcrumb { font-size: .85rem; }
.tp-breadcrumb .breadcrumb-item a { color: var(--brand-blue); text-decoration: none; }
.tp-breadcrumb .breadcrumb-item a:hover { text-decoration: underline; }
.tp-breadcrumb .breadcrumb-item.active { color: #6c757d; }

/* ── Profile Header Card ── */
.tp-header-section { padding: 32px 0 0; }
.tp-header-card {
    background: #fff; border-radius: 16px; padding: 32px; box-shadow: 0 4px 24px rgba(0,0,0,.06);
    border: 1px solid #eef0f5;
}
.tp-avatar-lg {
    width: 110px; height: 110px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-orange), var(--brand-blue));
    display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0;
}
.tp-avatar-lg img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.tp-avatar-initials { color: #fff; font-size: 2.2rem; font-weight: 700; letter-spacing: 1px; }
.tp-verified-badge {
    position: absolute; bottom: 2px; right: 2px; width: 28px; height: 28px;
    background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.tp-verified-badge i { color: #1da1f2; font-size: 1.1rem; }
.tp-name { font-size: 1.8rem; font-weight: 800; color: var(--brand-blue); margin-bottom: 4px; }
.tp-education { font-size: .92rem; color: #555; margin-bottom: 8px; }
.tp-education i { color: var(--brand-orange); margin-right: 4px; }
.tp-meta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 10px; }
.tp-meta-item { font-size: .85rem; color: #666; display: flex; align-items: center; gap: 5px; }
.tp-meta-item i { color: var(--brand-orange); font-size: .9rem; }
.tp-badges-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tp-cat-badge {
    display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px;
    background: #f0f4ff; color: var(--brand-blue); border-radius: 20px; font-size: .78rem; font-weight: 600;
    border: 1px solid #d8e2f8;
}
.tp-cat-badge i { font-size: .8rem; }
.tp-header-stats {
    display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
    text-align: right; min-width: 170px; padding-left: 16px;
    border-left: 1px solid #eef0f5;
}
.tp-header-rating {
    display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px;
}
.tp-header-success {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
    background: #e8f5e9; color: #2e7d32; border-radius: 20px; font-size: .82rem; font-weight: 600;
}
.tp-header-success i { font-size: .85rem; }
.tp-header-price {
    display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
    padding: 12px 18px; background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
    border: 2px solid rgba(0, 52, 188, .15); border-radius: 12px; min-width: 140px;
}
.tp-header-price-label {
    font-size: .72rem; font-weight: 600; color: #666; text-transform: uppercase; letter-spacing: .04em;
}
.tp-header-price-value {
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.65rem; font-weight: 800;
    color: var(--brand-blue); line-height: 1.1;
}
.tp-rating-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.tp-stars i { color: #ffc107; font-size: .95rem; }
.tp-rating-num { font-weight: 700; color: #333; font-size: .95rem; }
.tp-review-link { color: var(--brand-blue); font-size: .85rem; text-decoration: none; }
.tp-review-link:hover { text-decoration: underline; }
.tp-success-badge {
    display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px;
    background: #e8f5e9; color: #2e7d32; border-radius: 20px; font-size: .78rem; font-weight: 600;
}
.tp-dbs-badge {
    display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px;
    background: #e8f5e9; color: #2e7d32; border-radius: 20px; font-size: .78rem; font-weight: 600;
    border: 1px solid #c8e6c9;
}
.tp-dbs-badge i { font-size: .8rem; }
.tp-stat-row.tp-stat-dbs i { color: #2e7d32; }

/* ── Content Section ── */
.tp-content-section { padding: 32px 0 60px; }

/* ── Profile Cards ── */
.tp-card {
    background: #fff; border-radius: 14px; box-shadow: 0 2px 16px rgba(0,0,0,.05);
    border: 1px solid #eef0f5; margin-bottom: 24px; overflow: hidden;
}
.tp-card-header {
    display: flex; align-items: center; gap: 10px; padding: 18px 24px;
    border-bottom: 1px solid #f0f2f8; background: #fafbfe;
}
.tp-card-header i { font-size: 1.2rem; color: var(--brand-orange); }
.tp-card-header h2 { font-size: 1.15rem; font-weight: 700; color: var(--brand-blue); margin: 0; }
.tp-card-body { padding: 20px 24px; }
.tp-card-body.p-0 { padding: 0; }
.tp-bio-text { color: #444; line-height: 1.75; font-size: .93rem; margin: 0; }

/* ── Qualifications Table ── */
.tp-table { width: 100%; border-collapse: collapse; }
.tp-table thead th {
    background: #f8f9fc; padding: 12px 20px; font-size: .82rem;
    font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: .5px;
    border-bottom: 2px solid #eef0f5;
}
.tp-table tbody td { padding: 12px 20px; border-bottom: 1px solid #f2f3f8; font-size: .9rem; color: #444; }
.tp-table tbody tr:last-child td { border-bottom: none; }
.tp-grade-badge {
    display: inline-block; padding: 2px 10px; background: #e8f5e9; color: #2e7d32;
    border-radius: 6px; font-weight: 700; font-size: .82rem;
}

/* ── Subjects Offered Grid ── */
.tp-subjects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.tp-subject-chip {
    background: #f8f9fc; border: 1px solid #eef0f5; border-radius: 12px; padding: 14px 16px;
    transition: box-shadow .2s;
}
.tp-subject-chip:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.tp-subject-chip-head {
    display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
    font-size: .92rem; color: var(--brand-blue);
}
.tp-subject-chip-head i { font-size: 1.1rem; color: var(--brand-orange); }
.tp-subject-chip-levels { display: flex; flex-wrap: wrap; gap: 6px; }
.tp-level-pill {
    display: inline-block; padding: 2px 10px; background: #fff; border: 1px solid #dde3f0;
    border-radius: 20px; font-size: .75rem; color: #555; font-weight: 500;
}

/* ── Availability Table ── */
.tp-avail-table { width: 100%; border-collapse: collapse; }
.tp-avail-table thead th {
    padding: 12px 8px; font-size: .78rem; font-weight: 700;
    color: #555; text-align: center; background: #f8f9fc;
    border-bottom: 2px solid #eef0f5; text-transform: uppercase; letter-spacing: .5px;
}
.tp-avail-table tbody td { padding: 12px 8px; border-bottom: 1px solid #f2f3f8; }
.tp-avail-table tbody tr:last-child td { border-bottom: none; }
.tp-slot-label {
    font-size: .82rem; color: #555; font-weight: 600; white-space: nowrap;
    display: flex; align-items: center; gap: 6px;
}
.tp-slot-label i { color: var(--brand-orange); font-size: .9rem; }
.tp-avail-table .text-success { font-size: 1.1rem; }
.tp-avail-na { color: #d0d0d0; font-size: .85rem; }

/* ── Reviews ── */
.tp-rating-summary {
    display: flex; gap: 32px; padding: 20px 0; margin-bottom: 24px;
    border-bottom: 1px solid #f0f2f8; align-items: flex-start;
}
.tp-rating-big { text-align: center; min-width: 120px; }
.tp-rating-number { font-size: 3rem; font-weight: 800; color: var(--brand-blue); line-height: 1; }
.tp-rating-stars-lg i { color: #ffc107; font-size: 1.1rem; }
.tp-rating-total { font-size: .85rem; color: #888; margin-top: 4px; }
.tp-rating-bars { flex: 1; }
.tp-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.tp-bar-label { font-size: .8rem; color: #666; min-width: 40px; text-align: right; display: flex; align-items: center; gap: 3px; }
.tp-bar-label i { color: #ffc107; font-size: .7rem; }
.tp-bar-track { flex: 1; height: 8px; background: #f0f2f8; border-radius: 4px; overflow: hidden; }
.tp-bar-fill { height: 100%; background: linear-gradient(90deg, #ffc107, #ffab00); border-radius: 4px; transition: width .4s ease; }
.tp-bar-count { font-size: .8rem; color: #888; min-width: 24px; }

.tp-reviews-list { display: flex; flex-direction: column; gap: 20px; }
.tp-review {
    padding: 20px; background: #fafbfe; border-radius: 12px; border: 1px solid #eef0f5;
    transition: box-shadow .2s;
}
.tp-review:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.tp-review-pinned { border-left: 3px solid var(--brand-orange); }
.tp-review-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.tp-reviewer-avatar {
    width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-blue), var(--brand-orange));
    color: #fff; font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.tp-reviewer-info { flex: 1; }
.tp-reviewer-name { font-weight: 700; color: #333; font-size: .92rem; display: flex; align-items: center; gap: 8px; }
.tp-pinned-badge {
    display: inline-flex; align-items: center; gap: 3px; padding: 1px 8px;
    background: #fff3e0; color: var(--brand-orange); border-radius: 10px; font-size: .7rem; font-weight: 600;
}
.tp-reviewer-meta { font-size: .78rem; color: #888; display: flex; flex-wrap: wrap; gap: 6px; }
.tp-reviewer-meta span:not(:last-child)::after { content: '·'; margin-left: 6px; color: #ccc; }
.tp-review-date { color: #aaa; }
.tp-review-stars i { color: #ffc107; font-size: .85rem; }
.tp-review-body p { color: #444; font-size: .9rem; line-height: 1.7; margin: 0; }
.tp-review-reply {
    margin-top: 12px; padding: 14px 16px; background: #fff; border-radius: 10px;
    border-left: 3px solid var(--brand-blue);
}
.tp-reply-label { font-size: .8rem; font-weight: 700; color: var(--brand-blue); margin-bottom: 4px; }
.tp-reply-label i { margin-right: 4px; }
.tp-review-reply p { font-size: .87rem; color: #555; margin: 0; }

/* ── Sidebar ── */
.tp-sidebar-sticky { position: sticky; top: 100px; }
.tp-sidebar-card {
    background: #fff; border-radius: 14px; box-shadow: 0 4px 24px rgba(0,0,0,.06);
    border: 1px solid #eef0f5; padding: 24px; margin-bottom: 20px;
    transition: box-shadow .4s ease, border-color .4s ease;
}
.tp-sidebar-card.tp-message-highlight {
    border-color: var(--brand-orange);
    box-shadow:
        0 0 0 3px rgba(255, 112, 5, .28),
        0 12px 36px rgba(0, 52, 188, .14);
    animation: tpMessageGlow 1.1s ease-in-out 3;
}
@keyframes tpMessageGlow {
    0%, 100% { box-shadow: 0 0 0 3px rgba(255, 112, 5, .28), 0 12px 36px rgba(0, 52, 188, .14); }
    50% { box-shadow: 0 0 0 6px rgba(255, 112, 5, .18), 0 16px 40px rgba(0, 52, 188, .18); }
}
.tp-sidebar-card-header {
    display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.tp-sidebar-card-header i { font-size: 1.3rem; color: var(--brand-orange); }
.tp-sidebar-card-header h3 { font-size: 1.1rem; font-weight: 700; color: var(--brand-blue); margin: 0; }
.tp-sidebar-lead { font-size: .85rem; color: #666; margin-bottom: 18px; line-height: 1.5; }
.tp-sidebar-card .form-label { font-size: .82rem; margin-bottom: .35rem; }
.tp-sidebar-card .row.g-2 > [class*="col-"] .form-control,
.tp-sidebar-card .row.g-2 > [class*="col-"] .form-select { font-size: .88rem; }

/* Quick Stats */
.tp-quick-stats-title { font-size: 1rem; font-weight: 700; color: var(--brand-blue); margin-bottom: 16px; }
.tp-stat-row {
    display: flex; align-items: center; gap: 10px; padding: 10px 0;
    border-bottom: 1px solid #f2f3f8; font-size: .88rem; color: #444;
}
.tp-stat-row:last-child { border-bottom: none; }
.tp-stat-row i { font-size: 1rem; color: var(--brand-orange); width: 20px; text-align: center; }

/* ── Profile Page Phone Input (same as homepage) ── */
.tp-sidebar-card .phone-input-row { display: flex; gap: 8px; }
.tp-sidebar-card .phone-code-wrap { position: relative; }
.tp-sidebar-card .phone-code-btn {
    display: flex; align-items: center; gap: 6px; background: #fff;
    border: 1px solid #dee2e6; border-radius: .375rem; padding: 6px 12px;
    font-size: .85rem; cursor: pointer; white-space: nowrap; height: 100%;
    color: #333; transition: border-color .2s;
}
.tp-sidebar-card .phone-code-btn:hover { border-color: var(--brand-blue); }
.tp-sidebar-card .phone-code-dropdown {
    display: none; position: absolute; top: 100%; left: 0; z-index: 1060;
    background: #fff; border: 1px solid #dee2e6; border-radius: .5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.12); max-height: 260px; overflow-y: auto;
    min-width: 180px; margin-top: 4px;
}
.tp-sidebar-card .phone-code-dropdown.open { display: block; }
.tp-sidebar-card .phone-code-option {
    display: flex; align-items: center; gap: 8px; padding: 8px 14px;
    cursor: pointer; font-size: .84rem; color: #333; transition: background .15s;
}
.tp-sidebar-card .phone-code-option:hover { background: #f0f4ff; }

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .tp-header-card { padding: 24px; }
    .tp-avatar-lg { width: 80px; height: 80px; }
    .tp-avatar-initials { font-size: 1.6rem; }
    .tp-name { font-size: 1.4rem; }
    .tp-header-stats {
        align-items: flex-start; text-align: left; border-left: none; border-top: 1px solid #eef0f5;
        padding-left: 0; padding-top: 16px; min-width: 0; width: 100%;
    }
    .tp-header-rating { justify-content: flex-start; }
    .tp-header-price { align-items: flex-start; width: 100%; }
    .tp-rating-summary { flex-direction: column; gap: 20px; }
    .tp-sidebar-sticky { position: static; }
}
@media (max-width: 575.98px) {
    .tp-header-card .row { flex-direction: column; text-align: center; }
    .tp-header-card .col-auto { display: flex; justify-content: center; }
    .tp-meta-row { justify-content: center; }
    .tp-badges-row { justify-content: center; }
    .tp-header-stats { align-items: center; text-align: center; }
    .tp-header-rating { justify-content: center; }
    .tp-header-price { align-items: center; }
    .tp-subjects-grid { grid-template-columns: 1fr; }
    .tp-avail-table { font-size: .78rem; }
    .tp-avail-table thead th { padding: 8px 4px; font-size: .7rem; }
    .tp-avail-table tbody td { padding: 8px 4px; }
    .tp-slot-label { font-size: .72rem; }
}

/* ── Find Tutors: Help CTA (sidebar) ── */
.find-help-card {
    background: linear-gradient(160deg, #0034bc 0%, #1a4fd6 52%, #2558e0 100%);
    border-radius: 20px;
    padding: 32px 28px;
    color: #fff;
    box-shadow: 0 16px 48px rgba(0, 52, 188, .22);
    position: relative;
    overflow: hidden;
}
.find-help-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 160px;
    height: 160px;
    background: rgba(255, 112, 5, .2);
    border-radius: 50%;
    pointer-events: none;
}
.find-help-card::after {
    content: '';
    position: absolute;
    bottom: -70px;
    left: -30px;
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, .06);
    border-radius: 50%;
    pointer-events: none;
}
.find-help-card > * {
    position: relative;
    z-index: 1;
}
.find-help-card--sidebar {
    border: 1px solid rgba(255, 255, 255, .12);
}
.find-help-sidebar-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 1.45rem;
    margin-bottom: 18px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.find-help-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 10px;
}
.find-help-eyebrow i { color: var(--brand-orange); }
.find-help-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.25;
}
.find-help-text {
    font-size: .92rem;
    color: rgba(255, 255, 255, .9);
    line-height: 1.65;
    margin-bottom: 0;
}
.find-help-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}
.find-help-list--stacked {
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
    margin-bottom: 22px;
}
.find-help-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .86rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .95);
    line-height: 1.4;
}
.find-help-list i {
    color: #7dffb0;
    font-size: .95rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.find-help-btn {
    box-shadow: 0 8px 24px rgba(255, 112, 5, .35);
    background: var(--brand-orange);
    border-color: var(--brand-orange);
}
.find-help-btn:hover {
    background: var(--brand-orange-dark);
    border-color: var(--brand-orange-dark);
}
.find-help-note {
    margin-top: 12px;
    font-size: .78rem;
    color: rgba(255, 255, 255, .75);
    text-align: center;
}
@media (max-width: 991.98px) {
    .find-results-sidebar {
        margin-top: 8px;
    }
    .find-help-card--sidebar.is-fixed,
    .find-help-card--sidebar.is-pinned-bottom {
        position: static;
        width: 100%;
        box-shadow: 0 16px 48px rgba(0, 52, 188, .22);
    }
    .find-results-section {
        padding-bottom: 48px;
    }
    .find-help-card {
        padding: 32px 28px;
    }
    .find-help-title {
        font-size: 1.45rem;
    }
}
@media (max-width: 575.98px) {
    .find-help-card {
        padding: 28px 22px;
    }
}

/* ── Policy Modals ── */
.policy-modal-trigger { color: var(--brand-blue); font-weight: 600; text-decoration: none; }
.policy-modal-trigger:hover { color: var(--brand-orange); text-decoration: underline; }
.footer-legal .policy-modal-trigger { color: rgba(255,255,255,.6); font-weight: 500; }
.footer-legal .policy-modal-trigger:hover { color: var(--brand-orange); text-decoration: none; }
.form-check-label .policy-modal-trigger { font-weight: 600; }
.policy-modal .modal-content {
    border: none; border-radius: 18px; overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .18);
}
.policy-modal-header {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #1a4fd6 100%);
    border-bottom: none; padding: 24px 28px; align-items: flex-start;
}
.policy-modal-heading { display: flex; align-items: center; gap: 16px; }
.policy-modal-icon {
    width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.14);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.policy-modal-icon i { font-size: 1.45rem; color: #fff; }
.policy-modal-header .modal-title { color: #fff; font-size: 1.35rem; font-weight: 800; margin-bottom: 2px; }
.policy-modal-meta { color: rgba(255,255,255,.75); font-size: .82rem; }
.policy-modal-body {
    padding: 28px 32px; max-height: min(62vh, 560px); overflow-y: auto;
    font-size: .92rem; color: #444; line-height: 1.75;
}
.policy-modal-body .policy-intro {
    font-size: .98rem; color: #333; padding: 14px 16px; background: #f7f9ff;
    border-left: 4px solid var(--brand-orange); border-radius: 0 10px 10px 0; margin-bottom: 22px;
}
.policy-modal-body h6 {
    font-size: .88rem; font-weight: 800; color: var(--brand-blue); text-transform: uppercase;
    letter-spacing: .04em; margin: 22px 0 8px;
}
.policy-modal-body h6:first-of-type { margin-top: 0; }
.policy-modal-body p { margin-bottom: 12px; }
.policy-modal-body ul { padding-left: 1.2rem; margin-bottom: 12px; }
.policy-modal-body li { margin-bottom: 6px; }
.policy-modal-body a { color: var(--brand-blue); font-weight: 600; }
.policy-modal-footer {
    border-top: 1px solid #eef0f5; padding: 16px 28px; background: #fafbfe;
    justify-content: flex-end; gap: 10px;
}
@media (max-width: 575.98px) {
    .policy-modal-body { padding: 22px 20px; }
    .policy-modal-header { padding: 20px; }
    .policy-modal-footer { padding: 14px 20px; flex-direction: column; }
    .policy-modal-footer .btn { width: 100%; }
}

/* ============================================================
   BECOME A TUTOR PAGE
   ============================================================ */

/* ── Hero ── */
.bat-hero {
    padding: 72px 0 80px; position: relative; overflow: hidden;
    background: linear-gradient(145deg, #f7f9ff 0%, #eef3ff 60%, #fef6f0 100%);
}
.bat-hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(circle 300px at 15% 20%, rgba(0,52,188,.06) 0%, transparent 100%),
        radial-gradient(circle 250px at 85% 70%, rgba(255,112,5,.06) 0%, transparent 100%);
}
.bat-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    color: var(--brand-orange); margin-bottom: 14px;
}
.bat-hero-title {
    font-size: 2.8rem; font-weight: 800; color: var(--brand-blue); line-height: 1.15; margin-bottom: 20px;
}
.bat-hero-title .accent { color: var(--brand-orange); }
.bat-hero-lead {
    font-size: 1.1rem; color: var(--body); max-width: 560px; line-height: 1.75; margin-bottom: 32px;
}
.bat-hero-stats {
    display: flex; gap: 32px; margin-bottom: 32px;
}
.bat-hero-stat-value {
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--brand-blue); line-height: 1;
}
.bat-hero-stat-label { font-size: .78rem; color: var(--muted); font-weight: 600; margin-top: 4px; }
.bat-hero-cta { min-width: 200px; }

.bat-hero-visual {
    position: relative; min-height: 380px;
}
.bat-hero-card {
    position: absolute; display: flex; align-items: center; gap: 12px;
    background: #fff; border-radius: 14px; padding: 16px 22px;
    box-shadow: 0 8px 28px rgba(0,0,0,.08); font-weight: 700; font-size: .9rem; color: var(--ink);
    border: 1px solid rgba(0,52,188,.08);
}
.bat-hero-card i { font-size: 1.25rem; color: var(--brand-blue); }
.bat-hero-card--1 { top: 10%; left: 10%; animation: batFloat 4s ease-in-out infinite; }
.bat-hero-card--2 { top: 35%; right: 5%; animation: batFloat 4s ease-in-out infinite .5s; }
.bat-hero-card--3 { bottom: 25%; left: 5%; animation: batFloat 4s ease-in-out infinite 1s; }
.bat-hero-card--4 { bottom: 5%; right: 15%; animation: batFloat 4s ease-in-out infinite 1.5s; }
@keyframes batFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ── Benefits ── */
.bat-benefits { background: #fff; }
.bat-benefit-card {
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 32px 28px; height: 100%; transition: all .3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,.03);
}
.bat-benefit-card:hover {
    transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,52,188,.1);
    border-color: rgba(0,52,188,.18);
}
.bat-benefit-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, var(--brand-blue-light) 0%, rgba(0,52,188,.08) 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--brand-blue); margin-bottom: 18px;
}
.bat-benefit-card h3 { font-size: 1.08rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.bat-benefit-card p { font-size: .9rem; color: var(--body); line-height: 1.65; margin: 0; }

/* ── Process Steps ── */
.bat-process { background: var(--bg-soft); }
.bat-steps { max-width: 700px; margin: 0 auto; }
.bat-step {
    display: flex; align-items: flex-start; gap: 22px; padding: 28px 0;
    border-bottom: 1px solid var(--line); position: relative;
}
.bat-step:last-child { border-bottom: none; }
.bat-step-number {
    width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
    background: var(--brand-blue); color: #fff;
    font-family: 'Plus Jakarta Sans'; font-size: 1.15rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(0,52,188,.22);
}
.bat-step-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.bat-step-content p { font-size: .9rem; color: var(--body); margin: 0; line-height: 1.6; }

/* ── Application Form ── */
.bat-apply-section {
    background: linear-gradient(180deg, var(--bg-soft) 0%, #f7f9ff 100%);
    scroll-margin-top: 100px;
}
.bat-apply-card {
    background: #fff; border-radius: 20px; box-shadow: 0 8px 40px rgba(0,0,0,.06);
    border: 1px solid #eef0f5; max-width: 860px; margin: 0 auto; overflow: hidden;
}
.bat-apply-header {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #1a4fd6 100%);
    padding: 32px 36px; display: flex; align-items: center; gap: 20px; color: #fff;
}
.bat-apply-header-icon {
    width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.14);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bat-apply-header-icon i { font-size: 1.5rem; color: #fff; }
.bat-apply-header h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; }
.bat-apply-header p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.8); }

.bat-apply-form { padding: 32px 36px; }
.bat-form-section { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid #f0f2f8; }
.bat-form-section:last-of-type { border-bottom: none; }
.bat-form-section-title {
    font-size: 1.05rem; font-weight: 700; color: var(--brand-blue); margin-bottom: 18px;
    display: flex; align-items: center; gap: 10px;
}
.bat-form-section-title i { font-size: 1.1rem; color: var(--brand-orange); }
.bat-form-hint { font-size: .82rem; color: var(--muted); margin-bottom: 10px; }

/* Subject & Category chips */
.bat-subject-grid, .bat-cat-grid {
    display: flex; flex-wrap: wrap; gap: 10px;
}
.bat-subject-chip, .bat-cat-chip { cursor: pointer; }
.bat-subject-chip input, .bat-cat-chip input { display: none; }
.bat-subject-chip-inner {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 100px;
    background: #f8f9fe; border: 1.5px solid var(--line);
    font-size: .85rem; font-weight: 600; color: var(--ink);
    transition: all .2s;
}
.bat-subject-chip-inner i { font-size: .95rem; color: var(--brand-blue); }
.bat-subject-chip input:checked + .bat-subject-chip-inner {
    background: var(--brand-blue); color: #fff; border-color: var(--brand-blue);
    box-shadow: 0 4px 14px rgba(0,52,188,.25);
}
.bat-subject-chip input:checked + .bat-subject-chip-inner i { color: #fff; }

.bat-cat-chip-inner {
    display: flex; flex-direction: column; gap: 2px;
    padding: 12px 18px; border-radius: 12px;
    background: #f8f9fe; border: 1.5px solid var(--line);
    transition: all .2s; min-width: 180px;
}
.bat-cat-chip-inner strong { font-size: .88rem; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.bat-cat-chip-inner strong i { color: var(--brand-blue); }
.bat-cat-chip-inner small { font-size: .76rem; color: var(--muted); }
.bat-cat-chip input:checked + .bat-cat-chip-inner {
    background: var(--brand-blue-light); border-color: var(--brand-blue);
}
.bat-cat-chip input:checked + .bat-cat-chip-inner strong { color: var(--brand-blue); }

/* Availability grid */
.bat-avail-grid {
    display: grid; grid-template-columns: auto repeat(7, 1fr); gap: 6px;
    text-align: center; max-width: 520px;
}
.bat-avail-day {
    font-size: .72rem; font-weight: 700; color: var(--brand-blue); text-transform: uppercase;
    padding: 6px 2px;
}
.bat-avail-header { grid-column: 1; }
.bat-avail-slot {
    font-size: .72rem; font-weight: 600; color: var(--muted); text-align: right;
    padding-right: 8px; display: flex; align-items: center; justify-content: flex-end;
    white-space: nowrap;
}
.bat-avail-cell {
    cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.bat-avail-cell input { display: none; }
.bat-avail-check {
    width: 34px; height: 34px; border-radius: 8px; border: 1.5px solid #dee2e6;
    display: flex; align-items: center; justify-content: center;
    background: #f8f9fe; transition: all .2s; color: transparent; font-size: 1rem;
}
.bat-avail-cell:hover .bat-avail-check { border-color: var(--brand-blue); background: var(--brand-blue-light); }
.bat-avail-cell input:checked + .bat-avail-check {
    background: #16a34a; border-color: #16a34a; color: #fff;
    box-shadow: 0 2px 8px rgba(22,163,74,.3);
}

/* Submit section */
.bat-form-submit-section { border-bottom: none !important; padding-bottom: 0; margin-bottom: 0; text-align: center; }
.bat-submit-btn { min-width: 260px; }

/* Success */
.bat-apply-success {
    padding: 60px 36px; text-align: center;
}
.bat-apply-success-icon { font-size: 4rem; color: #16a34a; margin-bottom: 18px; }
.bat-apply-success h3 { font-size: 1.5rem; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.bat-apply-success p { font-size: 1rem; color: var(--body); max-width: 420px; margin: 0 auto 24px; }

.bat-form-alert {
    background: #fff5f5; border: 1px solid #fecaca; color: #dc2626; border-radius: 10px;
    padding: 12px 18px; font-size: .88rem; font-weight: 600;
    display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.bat-form-alert i { font-size: 1.1rem; flex-shrink: 0; }

/* Photo upload */
.bat-photo-upload {
    display: flex; align-items: stretch; gap: 20px;
    padding: 20px; border-radius: 16px;
    background: linear-gradient(135deg, #f8faff 0%, #f3f6ff 100%);
    border: 1px solid #e4e9f5;
}
.bat-photo-preview-wrap { flex: none; }
.bat-photo-preview {
    width: 120px; height: 120px; border-radius: 50%;
    background: #fff; border: 3px solid #fff;
    box-shadow: 0 8px 24px rgba(0,52,188,.12);
    overflow: hidden; position: relative;
    display: flex; align-items: center; justify-content: center;
}
.bat-photo-placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 100%; height: 100%; color: #c5cee0;
    background: linear-gradient(145deg, #eef2ff 0%, #e8edf8 100%);
}
.bat-photo-placeholder i { font-size: 3rem; }
.bat-photo-img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.bat-photo-dropzone {
    flex: 1; position: relative; min-height: 120px;
    border: 2px dashed #c8d3ea; border-radius: 14px;
    background: #fff; transition: all .25s ease;
    display: flex; align-items: center; justify-content: center;
}
.bat-photo-dropzone.is-dragover {
    border-color: var(--brand-blue); background: var(--brand-blue-light);
    transform: scale(1.01);
}
.bat-photo-dropzone.has-file {
    border-style: solid; border-color: #bbf7d0; background: #f0fdf4;
}
.bat-photo-input {
    position: absolute; inset: 0; width: 100%; height: 100%;
    opacity: 0; cursor: pointer; z-index: 2;
}
.bat-photo-dropzone.has-file .bat-photo-input { pointer-events: none; }
.bat-photo-dropzone-inner {
    text-align: center; padding: 20px 24px; pointer-events: none;
}
.bat-photo-dropzone-icon {
    width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 12px;
    background: var(--brand-blue-light); color: var(--brand-blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.bat-photo-dropzone-title {
    font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 4px;
}
.bat-photo-dropzone-sub {
    font-size: .85rem; color: var(--muted); margin-bottom: 8px;
}
.bat-photo-browse {
    color: var(--brand-blue); font-weight: 700; text-decoration: underline;
    text-underline-offset: 2px;
}
.bat-photo-dropzone-hint { font-size: .78rem; color: var(--muted); }
.bat-photo-selected {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    padding: 16px 20px; width: 100%; position: relative; z-index: 3;
}
.bat-photo-selected-info {
    display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0;
    font-size: .88rem; font-weight: 600; color: #166534;
}
.bat-photo-selected-info i { font-size: 1.1rem; flex-shrink: 0; }
.bat-photo-selected-info span {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bat-photo-change,
.bat-photo-remove {
    border: none; border-radius: 8px; padding: 7px 14px;
    font-size: .8rem; font-weight: 700; cursor: pointer; transition: all .2s;
}
.bat-photo-change {
    background: var(--brand-blue); color: #fff;
}
.bat-photo-change:hover { background: #002da0; }
.bat-photo-remove {
    background: #fff; color: #dc2626; border: 1px solid #fecaca;
}
.bat-photo-remove:hover { background: #fef2f2; }

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .bat-hero { padding: 48px 0 56px; }
    .bat-hero-title { font-size: 2.1rem; }
    .bat-hero-stats { gap: 24px; }
    .bat-apply-form { padding: 24px 22px; }
    .bat-apply-header { padding: 24px 22px; flex-direction: column; text-align: center; }
    .bat-cat-chip-inner { min-width: 0; }
    .bat-photo-upload { flex-direction: column; align-items: center; text-align: center; }
    .bat-photo-selected { justify-content: center; }
}
@media (max-width: 575.98px) {
    .bat-hero-title { font-size: 1.65rem; }
    .bat-hero-stats { flex-direction: column; gap: 14px; }
    .bat-hero-stat { display: flex; align-items: center; gap: 10px; }
    .bat-hero-stat-value { font-size: 1.4rem; }
    .bat-avail-grid { gap: 4px; }
    .bat-avail-check { width: 28px; height: 28px; font-size: .85rem; border-radius: 6px; }
    .bat-avail-day { font-size: .62rem; }
    .bat-avail-slot { font-size: .62rem; padding-right: 4px; }
    .bat-submit-btn { width: 100%; }
}
