/* ==========================================================================
   FIND TUTOR PAGE
   ========================================================================== */

/* ------------------------------------------------------------------
   HERO — dark gradient
------------------------------------------------------------------ */
.ft-hero-section {
    background: url('../../uploads/find-tutor.png') center center/ cover no-repeat;
    padding: 80px 0 120px;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

/* Ambient glow blobs */
.ft-hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.35;
}

.ft-hero-glow-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    top: -100px;
    right: -60px;
}

.ft-hero-glow-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
    bottom: -80px;
    left: 5%;
    opacity: 0.2;
}

.ft-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 18px;
}

.ft-hero-title {
    font-family: 'Prompt', sans-serif;
    font-size: clamp(1.65rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 18px;
}

.ft-highlight {
    background: linear-gradient(90deg, #fbbf24, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ft-hero-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 500px;
}

/* Primary CTA button */
.ft-btn-primary {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    border: none;
    color: #1a0a00;
    font-weight: 700;
    transition: opacity 0.15s, transform 0.15s;
}

.ft-btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: #1a0a00;
}

.ft-btn-primary:focus {
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.35);
}

/* Benefit box */
.ft-benefit-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 4px 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ft-benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ft-benefit-item:last-child {
    border-bottom: none;
}

.ft-benefit-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.ft-icon-blue {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.ft-icon-green {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.ft-icon-purple {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
}

.ft-icon-amber {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

/* ------------------------------------------------------------------
   CAROUSEL SECTION
------------------------------------------------------------------ */
.ft-carousel-section {
    background: #f8f9fa;
    padding: 52px 0;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

.ft-tutors-box {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 14px;
    padding: 28px 24px 24px;
}

.ft-tutor-swiper {
    overflow: hidden;
}

.ft-tutor-swiper .swiper-slide {
    width: 210px;
    flex-shrink: 0;
}

.ft-tutor-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #c87000;
    text-decoration: none;
    transition: color 0.15s;
    white-space: nowrap;
}

.ft-tutor-cta-link:hover {
    color: #1a1a1a;
    text-decoration: none;
}

/* ------------------------------------------------------------------
   SECTION TITLE — left colored bar
------------------------------------------------------------------ */
.ft-section-title {
    font-family: 'Prompt', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    border-left: 4px solid #f59e0b;
    padding-left: 14px;
    margin-bottom: 28px;
}

/* ------------------------------------------------------------------
   STEPS SECTION — background image
------------------------------------------------------------------ */
.ft-steps-section {
    position: relative;
    background:
       url('../../uploads/find-tutor2.png') center center / cover no-repeat;
    padding: 72px 0 60px;
    overflow: hidden;
    isolation: isolate;
}

/* .ft-steps-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(245, 158, 11, 0.18),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(59, 130, 246, 0.15),
            transparent 35%
        );
    pointer-events: none;
    z-index: -1;
} */

.ft-steps-section .container {
    position: relative;
    z-index: 2;
}

.ft-steps-header {
    text-align: center;
    margin-bottom: 52px;
}

.ft-steps-title {
    font-family: 'Prompt', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
}

.ft-steps-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.ft-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

/* Connecting dashed line through the icons */
.ft-steps-grid::before {
    content: '';
    position: absolute;
    top: 58px;
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.7) 0,
        rgba(255, 255, 255, 0.7) 6px,
        transparent 6px,
        transparent 14px
    );
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
    pointer-events: none;
    z-index: 0;
}

.ft-step-card {
    background: rgba(255, 255, 255, 0.93);
    /* border: 1px solid rgba(255, 255, 255, 0.8); */
    border-radius: 18px;
    padding: 30px 20px 26px;
    text-align: center;
    position: relative;
 
    /* box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.85); */
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    z-index: 1;
}

.ft-step-card:hover {
    transform: translateY(-6px);
    background: #ffffff;
    border-color: #ffffff;
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.ft-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-family: 'Prompt', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.18);
}

.ft-step-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ft-step-card:hover .ft-step-icon-wrap {
    transform: scale(1.08);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.ft-step-head {
    color: #111827;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Prompt', sans-serif;
}

.ft-step-body {
    color: #4b5563;
    font-size: 0.84rem;
    margin: 0;
    line-height: 1.65;
}

/* Step 1 — Blue */
.ft-step-1 {
    border-top: 3px solid #2563eb;
}

.ft-step-1 .ft-step-badge {
    background: #2563eb;
    color: #ffffff;
}

.ft-step-1 .ft-step-icon-wrap {
    background: #dbeafe;
    color: #1d4ed8;
}

/* Step 2 — Emerald */
.ft-step-2 {
    border-top: 3px solid #059669;
}

.ft-step-2 .ft-step-badge {
    background: #059669;
    color: #ffffff;
}

.ft-step-2 .ft-step-icon-wrap {
    background: #d1fae5;
    color: #047857;
}

/* Step 3 — Violet */
.ft-step-3 {
    border-top: 3px solid #7c3aed;
}

.ft-step-3 .ft-step-badge {
    background: #7c3aed;
    color: #ffffff;
}

.ft-step-3 .ft-step-icon-wrap {
    background: #ede9fe;
    color: #6d28d9;
}

/* Step 4 — Rose */
.ft-step-4 {
    border-top: 3px solid #e11d48;
}

.ft-step-4 .ft-step-badge {
    background: #e11d48;
    color: #ffffff;
}

.ft-step-4 .ft-step-icon-wrap {
    background: #ffe4e6;
    color: #be123c;
}

.ft-steps-cta {
    text-align: center;
    margin-top: 44px;
}

/* ------------------------------------------------------------------
   SUBJECTS SECTION
------------------------------------------------------------------ */
.ft-subjects-section {
    background: #f8f9fa;
    padding: 52px 0;
    border-top: 1px solid #eeeeee;
}

.ft-subj-head {
    color: #ffffff;
    padding: 14px 16px;
    border-radius: 11px 11px 0 0;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Category header colors */
.ft-subj-head.ft-cat-blue {
    background: linear-gradient(135deg, #1e40af, #2563eb);
}

.ft-subj-head.ft-cat-green {
    background: linear-gradient(135deg, #065f46, #059669);
}

.ft-subj-head.ft-cat-purple {
    background: linear-gradient(135deg, #4c1d95, #7c3aed);
}

.ft-subj-head.ft-cat-rose {
    background: linear-gradient(135deg, #881337, #e11d48);
}

.ft-subj-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    font-size: 0.875rem;
    color: #444444;
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 2px;
    transition: background 0.12s, color 0.12s;
}

.ft-subj-link:hover {
    background: #f0f4ff;
    color: #1e40af;
    text-decoration: none;
}

.ft-subj-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ft-subj-dot.ft-cat-blue {
    background: #2563eb;
}

.ft-subj-dot.ft-cat-green {
    background: #059669;
}

.ft-subj-dot.ft-cat-purple {
    background: #7c3aed;
}

.ft-subj-dot.ft-cat-rose {
    background: #e11d48;
}

.ft-subj-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s;
}

.ft-subj-all.ft-cat-blue {
    color: #1e40af;
}

.ft-subj-all.ft-cat-green {
    color: #065f46;
}

.ft-subj-all.ft-cat-purple {
    color: #4c1d95;
}

.ft-subj-all.ft-cat-rose {
    color: #881337;
}

.ft-subj-all:hover {
    opacity: 0.75;
    text-decoration: none;
}

.ft-subjects-section {
    padding-bottom: 28px;
}

.ft-cta-section {
    background: #f8f9fa;
    padding: 0 0 60px;
}

.ft-cta-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 54px 30px;
    background: linear-gradient(135deg, #fff7cc 0%, #fde047 55%, #fbbf24 100%);
    border: 1px solid rgba(245, 158, 11, 0.25);
    box-shadow: 0 18px 45px rgba(146, 91, 0, 0.16);
}

.ft-cta-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.ft-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    margin-bottom: 18px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(120, 53, 15, 0.12);
    color: #9a3412;
    font-family: 'Prompt', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.ft-cta-icon {
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #ffffff;
    font-size: 1.9rem;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.3);
    transform: rotate(-4deg);
}

.ft-cta-title {
    color: #1e293b;
    font-family: 'Prompt', sans-serif;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.45;
    margin-bottom: 14px;
}

.ft-cta-note {
    max-width: 620px;
    margin: 0 auto 28px;
    color: #57534e;
    font-family: 'Prompt', sans-serif;
    font-size: 0.96rem;
    font-weight: 400;
    line-height: 1.8;
}

.ft-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ft-cta-primary,
.ft-cta-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 12px 24px;
    border-radius: 13px;
    font-family: 'Prompt', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.ft-cta-primary {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    border: none;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.26);
}

.ft-cta-primary:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.34);
}

.ft-cta-line {
    background: #06c755;
    border: 1px solid #06c755;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(6, 199, 85, 0.22);
}

.ft-cta-line:hover {
    background: #05b84d;
    border-color: #05b84d;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(6, 199, 85, 0.3);
    text-decoration: none;
}

.ft-cta-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ft-cta-decoration-1 {
    width: 230px;
    height: 230px;
    top: -100px;
    left: -70px;
    background: rgba(37, 99, 235, 0.13);
}

.ft-cta-decoration-2 {
    width: 280px;
    height: 280px;
    right: -100px;
    bottom: -150px;
    background: rgba(249, 115, 22, 0.17);
}

@media (max-width: 767px) {
    .ft-subjects-section {
        padding-bottom: 20px;
    }

    .ft-cta-section {
        padding-bottom: 40px;
    }

    .ft-cta-card {
        border-radius: 20px;
        padding: 40px 20px;
    }

    .ft-cta-icon {
        width: 64px;
        height: 64px;
        font-size: 1.6rem;
    }

    .ft-cta-note {
        font-size: 0.9rem;
    }

    .ft-cta-actions {
        flex-direction: column;
    }

    .ft-cta-primary,
    .ft-cta-line {
        width: 100%;
    }
}

/* ------------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------------ */
@media (max-width: 991px) {
    .ft-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ft-steps-grid::before {
        display: none;
    }
}

@media (max-width: 767px) {
    .ft-hero-section {
        padding: 44px 0 40px;
    }

    .ft-hero-desc {
        font-size: 0.95rem;
    }

    .ft-steps-section {
        padding: 52px 0 44px;
        background-position: center center;
    }

    .ft-steps-header {
        margin-bottom: 36px;
    }

    .ft-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .ft-tutors-box {
        padding: 20px 16px 18px;
        border-radius: 10px;
    }

    .ft-tutor-swiper .swiper-slide {
        width: 180px;
    }
}

@media (max-width: 480px) {
    .ft-steps-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ft-step-card {
        padding: 22px 18px 20px;
    }

    .ft-steps-title {
        font-size: 1.5rem;
    }

    .ft-steps-subtitle {
        font-size: 0.9rem;
    }
}