/* =========================================================
   TUTORHUB - FIND TUTORS
   PREMIUM / ELEGANT / PROFESSIONAL DESIGN
   ========================================================= */


/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {

    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --primary-soft: #eff6ff;

    --indigo: #4f46e5;
    --indigo-dark: #3730a3;
    --indigo-soft: #eef2ff;

    --purple: #7c3aed;
    --purple-soft: #f5f3ff;

    --green: #16a34a;
    --green-soft: #f0fdf4;

    --gold: #d4a017;
    --gold-soft: #fffbeb;

    --dark: #111827;
    --dark-soft: #1e293b;

    --text: #334155;
    --muted: #64748b;
    --light-muted: #94a3b8;

    --white: #ffffff;

    --border: #e2e8f0;
    --border-light: #edf1f7;

    --page-bg: #f5f7fc;

    --card-shadow:
        0 12px 35px rgba(15, 23, 42, .08);

    --card-shadow-hover:
        0 24px 55px rgba(15, 23, 42, .14);
}


/* =========================================================
   PAGE
   ========================================================= */

.find-tutors-page {

    position: relative;

    min-height: 100vh;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 8% 52%,
            rgba(96, 165, 250, .10),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 66%,
            rgba(129, 140, 248, .11),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f8faff 0%,
            #f0f4fc 48%,
            #fafbff 100%
        );
}


/* =========================================================
   BACKGROUND DECORATION
   ========================================================= */

.find-tutors-page::before {

    content: "";

    position: absolute;

    width: 620px;
    height: 620px;

    top: 360px;
    left: -280px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(37, 99, 235, .07),
            transparent 68%
        );

    pointer-events: none;

    z-index: 0;
}


.find-tutors-page::after {

    content: "";

    position: absolute;

    width: 620px;
    height: 620px;

    top: 600px;
    right: -300px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(79, 70, 229, .07),
            transparent 68%
        );

    pointer-events: none;

    z-index: 0;
}


/* =========================================================
   VIDEO BACKGROUND
   HERO ONLY
   ========================================================= */

.video-bg {

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 620px;

    z-index: 0;

    overflow: hidden;

    background:
        #dce3ee;
}


.video-bg video {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    opacity: .43;

    filter:
        blur(1px)
        saturate(.62)
        brightness(1.08);

    transform: scale(1.035);
}


/* =========================================================
   HERO VIDEO OVERLAY
   ========================================================= */

.video-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(226, 232, 240, .47) 0%,
            rgba(226, 232, 240, .57) 42%,
            rgba(239, 243, 250, .82) 72%,
            rgba(245, 247, 252, .98) 100%
        );
}


/* =========================================================
   MAIN CONTAINER
   ========================================================= */

.find-tutors-container {

    position: relative;

    z-index: 5;

    width: min(1380px, 94%);

    margin: 0 auto;

    padding:
        105px 0 90px;
}


/* =========================================================
   HERO
   ========================================================= */

.find-hero {

    max-width: 900px;

    margin:
        0 auto 42px;

    text-align: center;
}


.hero-badge {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding:
        8px 16px;

    border:
        1px solid
        rgba(255, 255, 255, .85);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, .68);

    color:
        #1e3a8a;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.6px;

    box-shadow:
        0 8px 25px
        rgba(15, 23, 42, .07);

    backdrop-filter:
        blur(14px);
}


.badge-dot {

    width: 7px;
    height: 7px;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        #22c55e;

    box-shadow:
        0 0 0 4px
        rgba(34, 197, 94, .13);
}


/* =========================================================
   HERO TITLE
   ========================================================= */

.find-hero h1 {

    margin:
        17px 0 12px;

    color:
        #111827;

    font-size:
        clamp(34px, 4vw, 50px);

    line-height:
        1.08;

    font-weight:
        800;

    letter-spacing:
        -1.4px;

    text-shadow:
        0 3px 18px
        rgba(255, 255, 255, .48);
}


.find-hero h1 span {

    color:
        #4f46e5;
}


/* =========================================================
   HERO DESCRIPTION
   ========================================================= */

.find-hero p {

    max-width:
        760px;

    margin:
        0 auto;

    color:
        rgba(255, 255, 255, .96);

    font-size:
        15px;

    line-height:
        1.7;

    font-weight:
        500;

    text-shadow:
        0 2px 12px
        rgba(15, 23, 42, .28);
}


/* =========================================================
   SEARCH CARD
   ========================================================= */

.search-card {

    max-width:
        1110px;

    margin:
        0 auto 66px;

    padding:
        22px;

    background:
        rgba(255, 255, 255, .96);

    border:
        1px solid
        rgba(255, 255, 255, .95);

    border-radius:
        20px;

    box-shadow:
        0 22px 55px
        rgba(15, 23, 42, .12);

    backdrop-filter:
        blur(16px);
}


/* =========================================================
   SEARCH FORM
   ========================================================= */

.search-form {

    display:
        grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr)
        auto;

    gap:
        13px;

    align-items:
        end;
}


/* =========================================================
   SEARCH FIELD
   ========================================================= */

.search-field label {

    display:
        block;

    margin:
        0 0 7px;

    color:
        var(--dark);

    font-size:
        11px;

    font-weight:
        800;

    letter-spacing:
        .15px;
}


.input-box {

    position:
        relative;
}


.input-icon {

    position:
        absolute;

    left:
        14px;

    top:
        50%;

    z-index:
        2;

    transform:
        translateY(-50%);

    font-size:
        14px;

    pointer-events:
        none;
}


.input-box input,
.input-box select {

    width:
        100%;

    height:
        49px;

    box-sizing:
        border-box;

    padding:
        0 14px 0 42px;

    border:
        1px solid
        #dce3ed;

    border-radius:
        11px;

    background:
        #ffffff;

    color:
        var(--dark);

    font-family:
        inherit;

    font-size:
        13px;

    outline:
        none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


.input-box input::placeholder {

    color:
        #9aa5b5;
}


.input-box input:hover,
.input-box select:hover {

    border-color:
        #cbd5e1;
}


.input-box input:focus,
.input-box select:focus {

    border-color:
        var(--primary);

    background:
        #ffffff;

    box-shadow:
        0 0 0 4px
        rgba(37, 99, 235, .09);
}


/* =========================================================
   SEARCH BUTTON
   ========================================================= */

.search-submit {

    height:
        49px;

    min-width:
        155px;

    padding:
        0 20px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        9px;

    border:
        0;

    border-radius:
        11px;

    background:
        linear-gradient(
            135deg,
            #2563eb 0%,
            #4f46e5 100%
        );

    color:
        #ffffff;

    font-family:
        inherit;

    font-size:
        13px;

    font-weight:
        800;

    cursor:
        pointer;

    box-shadow:
        0 10px 25px
        rgba(37, 99, 235, .22);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.search-submit b {

    font-size:
        17px;

    font-weight:
        500;

    transition:
        transform .2s ease;
}


.search-submit:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 15px 30px
        rgba(37, 99, 235, .28);
}


.search-submit:hover b {

    transform:
        translateX(4px);
}


.search-submit:active {

    transform:
        translateY(0);
}


/* =========================================================
   ACTIVE FILTER
   ========================================================= */

.active-filter {

    display:
        flex;

    align-items:
        center;

    flex-wrap:
        wrap;

    gap:
        7px;

    margin:
        12px 2px 0;

    color:
        var(--muted);

    font-size:
        11px;
}


.active-filter strong {

    color:
        var(--dark);

    font-weight:
        700;
}


.active-filter a {

    margin-left:
        5px;

    color:
        var(--primary);

    font-weight:
        800;

    text-decoration:
        none;
}


.active-filter a:hover {

    text-decoration:
        underline;
}


/* =========================================================
   RESULTS HEADER
   ========================================================= */

.results-header {

    margin:
        0 auto 24px;

    max-width:
        1200px;
}


.results-label {

    display:
        inline-block;

    color:
        var(--primary);

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        1.7px;
}


.results-header h2 {

    margin:
        6px 0 5px;

    color:
        #111827;

    font-size:
        30px;

    line-height:
        1.2;

    font-weight:
        800;

    letter-spacing:
        -.6px;
}


.results-header p {

    margin:
        0;

    color:
        #64748b;

    font-size:
        13px;

    line-height:
        1.6;
}


/* =========================================================
   TUTOR GRID
   ========================================================= */

.tutor-grid {

    width:
        100%;

    max-width:
        1200px;

    margin:
        0 auto;

    display:
        grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap:
        20px;

    align-items:
        stretch;
}


/* =========================================================
   TUTOR CARD
   ========================================================= */

.tutor-card {

    position:
        relative;

    min-width:
        0;

    box-sizing:
        border-box;

    padding:
        18px 17px 17px;

    background:
        rgba(255, 255, 255, .98);

    border:
        1px solid
        rgba(226, 232, 240, .95);

    border-radius:
        19px;

    box-shadow:
        var(--card-shadow);

    overflow:
        hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


.tutor-card::before {

    content:
        "";

    position:
        absolute;

    top:
        0;

    left:
        0;

    right:
        0;

    height:
        3px;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #4f46e5,
            #7c3aed
        );

    opacity:
        .95;
}


.tutor-card:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(191, 219, 254, .95);

    box-shadow:
        var(--card-shadow-hover);
}


/* =========================================================
   CARD TOP
   ========================================================= */

.card-top {

    position:
        relative;

    height:
        27px;
}


/* =========================================================
   VERIFIED BADGE
   ========================================================= */

.verified-badge {

    position:
        absolute;

    top:
        0;

    right:
        0;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        5px;

    padding:
        5px 9px;

    border:
        1px solid
        #bbf7d0;

    border-radius:
        999px;

    background:
        #f0fdf4;

    color:
        #15803d;

    font-size:
        8px;

    font-weight:
        800;

    letter-spacing:
        .15px;

    white-space:
        nowrap;
}


.verified-badge span {

    width:
        14px;

    height:
        14px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        #22c55e;

    color:
        #ffffff;

    font-size:
        8px;

    line-height:
        1;
}


/* =========================================================
   TUTOR PROFILE
   ========================================================= */

.tutor-profile {

    padding:
        3px 0 18px;

    text-align:
        center;
}


/* =========================================================
   PROFILE PHOTO
   ========================================================= */

.profile-photo-wrap {

    position:
        relative;

    width:
        96px;

    height:
        96px;

    margin:
        0 auto 13px;
}


.profile-photo-wrap::before {

    content:
        "";

    position:
        absolute;

    inset:
        -4px;

    border-radius:
        50%;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #6366f1,
            #8b5cf6
        );

    z-index:
        0;

    opacity:
        .75;
}


.profile-photo {

    position:
        relative;

    z-index:
        1;

    width:
        100%;

    height:
        100%;

    display:
        block;

    object-fit:
        cover;

    border:
        4px solid
        #ffffff;

    border-radius:
        50%;

    box-shadow:
        0 9px 26px
        rgba(15, 23, 42, .15);
}


/* =========================================================
   ONLINE DOT
   ========================================================= */

.online-dot {

    position:
        absolute;

    right:
        1px;

    bottom:
        3px;

    z-index:
        3;

    width:
        14px;

    height:
        14px;

    border:
        3px solid
        #ffffff;

    border-radius:
        50%;

    background:
        #22c55e;

    box-shadow:
        0 2px 6px
        rgba(15, 23, 42, .14);
}


/* =========================================================
   TUTOR NAME
   ========================================================= */

.tutor-name {

    margin:
        0 0 6px;

    color:
        #111827;

    font-size:
        18px;

    line-height:
        1.2;

    font-weight:
        800;

    letter-spacing:
        -.25px;

    word-break:
        break-word;
}


/* =========================================================
   TUTOR SUBJECT
   ========================================================= */

.tutor-subject {

    max-width:
        250px;

    min-height:
        20px;

    margin:
        0 auto;

    color:
        #64748b;

    font-size:
        11px;

    line-height:
        1.5;

    font-weight:
        600;

    word-break:
        break-word;
}


/* =========================================================
   RATE DISPLAY
   ========================================================= */

.rate-display {

    margin:
        8px 0 0;

    display:
        flex;

    align-items:
        baseline;

    justify-content:
        center;

    gap:
        4px;
}


.rate-display strong {

    color:
        #1d4ed8;

    font-size:
        16px;

    font-weight:
        800;
}


.rate-display span {

    color:
        #94a3b8;

    font-size:
        10px;

    font-weight:
        600;
}


/* =========================================================
   PACKAGE HEADING
   ========================================================= */

.package-heading {

    padding:
        15px 0 11px;

    border-top:
        1px solid
        #edf1f7;

    text-align:
        center;
}


.package-heading > div:first-child {

    width:
        100%;
}


.package-heading span {

    display:
        block;

    margin-bottom:
        3px;

    color:
        #2563eb;

    font-size:
        8px;

    font-weight:
        800;

    letter-spacing:
        1.3px;
}


.package-heading h4 {

    margin:
        0;

    color:
        #172033;

    font-size:
        15px;

    font-weight:
        800;
}


.package-heading p {

    margin:
        5px 0 0;

    color:
        #64748b;

    font-size:
        10px;

    line-height:
        1.45;
}


.package-icon {

    display:
        none;
}


/* =========================================================
   TUTOR RATES HEADING
   ========================================================= */

.tutor-rates-heading span {

    display:
        block;
}


/* =========================================================
   SUBSCRIPTION LIST
   ========================================================= */

.subscription-list {

    display:
        flex;

    flex-direction:
        column;

    gap:
        8px;

    padding:
        0 0 15px;
}


/* =========================================================
   SUBSCRIPTION PLAN
   ========================================================= */

.subscription-plan {

    position:
        relative;

    min-height:
        76px;

    box-sizing:
        border-box;

    padding:
        11px 12px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        8px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fbfcff 100%
        );

    border:
        1px solid
        #e2e8f0;

    border-radius:
        12px;

    cursor:
        pointer;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


.subscription-plan:hover {

    transform:
        translateY(-2px);

    border-color:
        #bfdbfe;

    background:
        #ffffff;

    box-shadow:
        0 9px 22px
        rgba(37, 99, 235, .09);
}


/* =========================================================
   PLAN LEFT
   ========================================================= */

.plan-left {

    min-width:
        0;

    flex:
        1;

    display:
        flex;

    align-items:
        center;

    gap:
        9px;

    text-align:
        left;
}


.plan-left > div:last-child {

    min-width:
        0;

    display:
        flex;

    flex-direction:
        column;
}


/* =========================================================
   PLAN ICON
   ========================================================= */

.plan-icon {

    width:
        30px;

    height:
        30px;

    flex:
        0 0 30px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        9px;

    background:
        #eff6ff;

    color:
        #2563eb;

    font-size:
        9px;

    font-weight:
        900;

    border:
        1px solid
        #dbeafe;
}


.starter-icon {

    background:
        #eff6ff;

    color:
        #2563eb;
}


.standard-icon {

    background:
        #eef2ff;

    color:
        #4f46e5;
}


.premium-icon {

    background:
        #f5f3ff;

    color:
        #7c3aed;
}


/* =========================================================
   PLAN TEXT
   ========================================================= */

.plan-left strong {

    display:
        block;

    color:
        #172033;

    font-size:
        10px;

    font-weight:
        800;

    line-height:
        1.25;

    letter-spacing:
        .25px;

    text-transform:
        uppercase;
}


.plan-left span {

    display:
        block;

    margin-top:
        3px;

    color:
        #64748b;

    font-size:
        8px;

    line-height:
        1.35;

    font-weight:
        500;
}


/* =========================================================
   PLAN PRICE
   ========================================================= */

.plan-middle {

    flex:
        0 0 auto;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        flex-end;

    justify-content:
        center;

    text-align:
        right;
}


.plan-middle strong {

    display:
        block;

    color:
        #2563eb;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        19px;

    line-height:
        1.15;

    font-weight:
        800;

    letter-spacing:
        -.2px;

    white-space:
        nowrap;
}


.plan-middle span {

    display:
        none;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.subscription-plan::after {

    display:
        none;
}


/* =========================================================
   CLICKABLE PLAN BUTTON
   ========================================================= */

.plan-button {

    position:
        absolute;

    inset:
        0;

    z-index:
        10;

    display:
        block;

    width:
        100%;

    height:
        100%;

    opacity:
        0;

    font-size:
        0;

    cursor:
        pointer;

    text-decoration:
        none;
}


.plan-button span {

    display:
        none;
}


/* =========================================================
   POPULAR PLAN
   ========================================================= */

.subscription-plan.popular {

    min-height:
        82px;

    padding-top:
        30px;

    border:
        1.5px solid
        #8b5cf6;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #faf8ff 100%
        );

    box-shadow:
        0 8px 24px
        rgba(124, 58, 237, .10);

    overflow:
        hidden;
}


.subscription-plan.popular:hover {

    border-color:
        #7c3aed;

    box-shadow:
        0 13px 28px
        rgba(124, 58, 237, .15);
}


/* =========================================================
   POPULAR TAG
   ========================================================= */

.popular-tag {

    position:
        absolute;

    top:
        0;

    left:
        0;

    width:
        100%;

    height:
        25px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        10px 10px 0 0;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #6366f1
        );

    color:
        #ffffff;

    font-size:
        7px;

    font-weight:
        800;

    letter-spacing:
        .8px;

    box-shadow:
        0 3px 9px
        rgba(124, 58, 237, .16);
}


/* =========================================================
   RATING
   ========================================================= */

.rating {

    margin:
        12px 0 0;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    flex-wrap:
        wrap;

    gap:
        4px;

    text-align:
        center;
}


.stars {

    display:
        flex;

    align-items:
        center;

    gap:
        1px;
}


.star {

    color:
        #d5dbe5;

    font-size:
        13px;

    line-height:
        1;
}


.star.filled {

    color:
        #f5b301;
}


.rating strong {

    color:
        #334155;

    font-size:
        10px;

    font-weight:
        700;
}


.rating > span:last-child {

    color:
        #94a3b8;

    font-size:
        9px;
}


/* =========================================================
   VIEW PROFILE BUTTON
   ========================================================= */

.profile-button {

    width:
        100%;

    min-height:
        44px;

    margin-top:
        5px;

    padding:
        0 14px;

    box-sizing:
        border-box;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        7px;

    border:
        0;

    border-radius:
        10px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #4f46e5
        );

    color:
        #ffffff;

    font-size:
        11px;

    font-weight:
        800;

    text-decoration:
        none;

    box-shadow:
        0 8px 20px
        rgba(37, 99, 235, .18);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}


.profile-button b {

    font-size:
        15px;

    font-weight:
        500;

    transition:
        transform .2s ease;
}


.profile-button:hover {

    transform:
        translateY(-2px);

    filter:
        brightness(1.03);

    box-shadow:
        0 13px 27px
        rgba(37, 99, 235, .25);
}


.profile-button:hover b {

    transform:
        translateX(4px);
}


/* =========================================================
   NO RESULTS
   ========================================================= */

.no-results {

    grid-column:
        1 / -1;

    padding:
        65px 25px;

    text-align:
        center;

    background:
        rgba(255, 255, 255, .96);

    border:
        1px solid
        #e2e8f0;

    border-radius:
        20px;

    box-shadow:
        var(--card-shadow);
}


.no-results-icon {

    width:
        60px;

    height:
        60px;

    margin:
        0 auto 14px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        #eff6ff;

    color:
        #2563eb;

    font-size:
        25px;
}


.no-results h3 {

    margin:
        0;

    color:
        #111827;

    font-size:
        21px;

    font-weight:
        800;
}


.no-results p {

    margin:
        7px 0 18px;

    color:
        #64748b;

    font-size:
        13px;
}


.reset-button {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        42px;

    padding:
        0 19px;

    border-radius:
        9px;

    background:
        #2563eb;

    color:
        #ffffff;

    font-size:
        12px;

    font-weight:
        700;

    text-decoration:
        none;

    box-shadow:
        0 8px 20px
        rgba(37, 99, 235, .18);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.reset-button:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 25px
        rgba(37, 99, 235, .25);
}


/* =========================================================
   LARGE DESKTOP
   4 CARDS
   ========================================================= */

@media (min-width: 1250px) {

    .find-tutors-container {

        width:
            min(1380px, 94%);
    }


    .tutor-grid {

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        max-width:
            1200px;
    }
}


/* =========================================================
   DESKTOP / SMALL LAPTOP
   ========================================================= */

@media (min-width: 1051px) and (max-width: 1249px) {

    .tutor-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        max-width:
            1100px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .find-tutors-container {

        width:
            92%;
    }


    .tutor-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            18px;
    }


    .search-form {

        grid-template-columns:
            1fr 1fr;
    }


    .search-submit {

        grid-column:
            1 / -1;

        width:
            100%;
    }
}


/* =========================================================
   SMALL TABLET
   ========================================================= */

@media (max-width: 760px) {

    .video-bg {

        height:
            590px;
    }


    .find-tutors-container {

        width:
            92%;

        padding-top:
            85px;
    }


    .find-hero {

        margin-bottom:
            35px;
    }


    .find-hero h1 {

        font-size:
            34px;

        letter-spacing:
            -.8px;
    }


    .find-hero p {

        font-size:
            13px;
    }


    .search-card {

        margin-bottom:
            48px;
    }


    .results-header h2 {

        font-size:
            27px;
    }


    .tutor-grid {

        grid-template-columns:
            1fr;

        max-width:
            470px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .video-bg {

        height:
            570px;
    }


    .find-tutors-container {

        width:
            92%;

        padding:
            78px 0 60px;
    }


    .find-hero h1 {

        font-size:
            31px;
    }


    .find-hero p {

        font-size:
            12px;

        line-height:
            1.65;
    }


    .search-card {

        padding:
            16px;

        border-radius:
            16px;
    }


    .search-form {

        grid-template-columns:
            1fr;
    }


    .search-submit {

        grid-column:
            auto;

        width:
            100%;
    }


    .results-header {

        margin-bottom:
            20px;
    }


    .results-header h2 {

        font-size:
            24px;
    }


    .results-header p {

        font-size:
            12px;
    }


    .tutor-grid {

        grid-template-columns:
            1fr;

        gap:
            16px;
    }


    .tutor-card {

        padding:
            18px 16px 16px;

        border-radius:
            17px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .video-bg {

        height:
            550px;
    }


    .find-tutors-container {

        width:
            94%;

        padding:
            72px 0 50px;
    }


    .hero-badge {

        padding:
            7px 12px;

        font-size:
            8px;
    }


    .find-hero h1 {

        font-size:
            28px;

        line-height:
            1.12;
    }


    .find-hero p {

        font-size:
            12px;
    }


    .search-card {

        padding:
            14px;

        border-radius:
            15px;
    }


    .input-box input,
    .input-box select,
    .search-submit {

        height:
            46px;
    }


    .results-header h2 {

        font-size:
            22px;
    }


    .results-header p {

        font-size:
            11px;
    }


    .profile-photo-wrap {

        width:
            92px;

        height:
            92px;
    }


    .tutor-name {

        font-size:
            18px;
    }


    .tutor-subject {

        font-size:
            11px;
    }


    .rate-display strong {

        font-size:
            15px;
    }


    .subscription-plan {

        min-height:
            72px;

        padding:
            10px;
    }


    .plan-icon {

        width:
            28px;

        height:
            28px;

        flex-basis:
            28px;
    }


    .plan-left strong {

        font-size:
            9px;
    }


    .plan-left span {

        font-size:
            7px;
    }


    .plan-middle strong {

        font-size:
            17px;
    }


    .subscription-plan.popular {

        min-height:
            79px;

        padding-top:
            29px;
    }


    .popular-tag {

        height:
            24px;

        font-size:
            7px;
    }


    .rating {

        margin-top:
            9px;
    }


    .star {

        font-size:
            12px;
    }


    .rating strong {

        font-size:
            9px;
    }


    .rating > span:last-child {

        font-size:
            8px;
    }


    .profile-button {

        min-height:
            43px;

        font-size:
            10px;
    }


    .profile-button b {

        font-size:
            14px;
    }
}


/* =========================================================
   EXTRA SMALL DEVICES
   ========================================================= */

@media (max-width: 360px) {

    .find-hero h1 {

        font-size:
            25px;
    }


    .find-hero p {

        font-size:
            11px;
    }


    .tutor-card {

        padding:
            16px 13px;
    }


    .plan-left span {

        max-width:
            105px;
    }


    .plan-middle strong {

        font-size:
            16px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.search-submit:focus-visible,
.profile-button:focus-visible,
.reset-button:focus-visible,
.plan-button:focus-visible {

    outline:
        3px solid
        rgba(37, 99, 235, .35);

    outline-offset:
        3px;
}


/* =========================================================
   REDUCE MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .tutor-card,
    .subscription-plan,
    .search-submit,
    .profile-button,
    .reset-button,
    .search-submit b,
    .profile-button b {

        transition:
            none;
    }


    .video-bg video {

        transform:
            none;
    }
}