/* Google Fonts Import — Plus Jakarta Sans */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');
/* ============================================================
   QURAN BLISS — COMPLETE STYLESHEET
============================================================ */

/* ==============================
   1. CSS VARIABLES
============================== */

:root {
    --qb-gradient: linear-gradient(135deg, #0d6e80 0%, #1C90A8 40%, #2db89e 70%, #61CE70 100%);
    --qb-primary: #0D6B77;
    --qb-primary-light: #6ec1e4;
    --qb-primary-dark: #095964;
    --qb-teal-dark: #0d6e80;
    --qb-teal-mid: #1C90A8;
    --qb-green: #61CE70;
    --qb-green-dark: #2E7D32;
    --qb-gold: #c59d5f;
    --qb-secondary: #D97706;
    --qb-bg: #f8fafc;
    --qb-card: #ffffff;
    --qb-text: #1e293b;
    --qb-muted: #64748b;
    --qb-border: #e2e8f0;
}


/* ==============================
   2. GLOBAL UTILITIES
============================== */

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.qb-star {
    color: #f59e0b;
    font-variation-settings: 'FILL' 1;
}

/* ── Shared badge / label style ── */
/* CONSOLIDATED: .qb-tag, .qb-tch-badge, .qb-scholars__content .qb-badge
   were all identical copies of .qb-section-label */
.qb-section-label,
.qb-tag,
.qb-tch-badge,
.qb-scholars__content .qb-badge {
    display: inline-block;
    background: #f0f8f8;
    padding: 9px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--qb-teal-mid);
    margin-bottom: 20px;
    border: 1.5px solid rgba(28, 144, 168, 0.3);
}

/* ── Shared display heading style ── */
/* CONSOLIDATED: .qb-heading h2, .qb-steps__header .qb-display,
   .qb-scholars__content .qb-display, .qb-courses__title h2,
   .qb-about-light .qb-title all repeated these same five properties */
.qb-section-title,
.qb-heading h2,
.qb-steps__header .qb-display,
.qb-scholars__content .qb-display,
.qb-courses__title h2,
.qb-about-light .qb-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--qb-text);
}

.qb-section-title {
    margin: 0 0 20px;
}

.qb-section-title span { color: var(--qb-teal-mid); }

.qb-courses-section .qb-section-title {
    font-size: clamp(32px, 4vw, 48px);
    margin: 0 0 18px;
}

.qb-why-section .qb-section-title {
    font-size: clamp(32px, 4vw, 48px);
}

.qb-section-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--qb-muted);
}

.qb-courses-section .qb-section-description {
    max-width: 760px;
    line-height: 1.9;
    margin: 0;
}

.qb-why-section .qb-section-description {
    max-width: 700px;
    margin: auto;
}

.qb-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
}

.qb-courses-section .qb-container { max-width: 1280px; }

.qb-btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: var(--qb-gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(28, 144, 168, 0.2);
    transition: 0.3s;
}

.qb-btn-pill:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(28, 144, 168, 0.3);
    color: #fff;
}

/* Badge width fix */
.qb-section-label,
.qb-tag,
.qb-tch-badge,
.qb-about-light .qb-eyebrow,
.qb-scholars__content .qb-badge {
    width: fit-content;
    align-self: flex-start;
}

/* ==============================
   3. HERO SECTION — .qb-s1
============================== */

.qb-s1 *,
.qb-s1 *::before,
.qb-s1 *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.qb-s1 {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #0d6e80 0%, #1C90A8 40%, #2db89e 70%, #61CE70 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.qb-s1::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(60deg, transparent 0, transparent 32px, rgba(255,255,255,.04) 32px, rgba(255,255,255,.04) 33px),
        repeating-linear-gradient(-60deg, transparent 0, transparent 32px, rgba(255,255,255,.04) 32px, rgba(255,255,255,.04) 33px);
    pointer-events: none;
}

.qb-s1-wrap {
    position: relative;
    z-index: 2;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .qb-s1 { padding: 100px 0; }
    .qb-s1-wrap {
        grid-template-columns: 1.2fr 1fr;
        gap: 60px;
        padding: 0 60px;
    }
}

@media (min-width: 1400px) {
    .qb-s1-wrap {
        padding: 0 80px;
    }
}

.qb-s1-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #d4f7da;
    margin-bottom: 25px;
}

.qb-s1-badge span {
    display: block;
    width: 35px;
    height: 2px;
    background: #61CE70;
}

.qb-s1-h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(36px, 4.5vw, 52px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 20px;
}

.qb-s1-h1 em {
    font-style: italic;
    color: #c9f7d1;
}

.qb-s1-desc {
    font-size: 1rem;
    color: rgba(255,255,255,.85);
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 30px;
}

.qb-s1-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.qb-s1-btn-w {
    padding: 16px 35px;
    border-radius: 50px;
    background: #fff;
    color: #1C90A8;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: 0.3s;
    text-align: center;
    width: 100%;
}

@media (min-width: 480px) { .qb-s1-btn-w { width: auto; } }

.qb-s1-btn-w:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.qb-s1-stats-grid {
    display: flex;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 30px;
    flex-wrap: wrap;
}

.qb-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    gap: 10px;
    flex: 1;
    min-width: 140px;
    max-width: 180px;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(245,196,83,0.25);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.15);
    color: #f5c453 !important;
    text-align: center;
    transition: all 0.3s ease;
}

.qb-stat-item:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.1);
    border-color: rgba(245,196,83,0.5);
    box-shadow: 0 12px 35px rgba(245,196,83,0.2);
}

.qb-stat-item *,
.qb-stat-item span,
.qb-stat-item i,
.qb-stat-item svg {
    color: #f5c453 !important;
    fill: #f5c453 !important;
    font-weight: 700;
}

.qb-stat-item-text {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    letter-spacing: 0.01em;
}

.qb-s1-img-frame {
    position: relative;
    width: 100%;
    max-width: 550px;
    justify-self: center;
    animation: fadeInUp 1s ease forwards;
    margin-top: 20px;
}

.qb-s1-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    aspect-ratio: 1 / 1;
}

.qb-s1-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.qb-s1-pill {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #fff;
    color: #1C90A8;
    padding: 10px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 3;
}

@media (min-width: 768px) {
    .qb-s1-pill {
        top: -15px;
        right: -15px;
        padding: 12px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .qb-s1-stats-grid {
        flex-wrap: nowrap;
        gap: 8px;
        padding-top: 20px;
    }
    .qb-stat-item {
        min-width: unset;
        max-width: unset;
        flex: 1;
        padding: 12px 8px;
        border-radius: 12px;
        gap: 6px;
        font-size: 15px;
    }
    .qb-stat-item-text { font-size: 0.7rem; letter-spacing: 0; }
}

.qb-hero-content > * {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}
.qb-hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.qb-hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.qb-hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.qb-hero-content > *:nth-child(4) { animation-delay: 0.4s; }

/* ==============================
   4. SOLUTION SECTION
============================== */

.qb-solution-section {
    padding: 100px 20px;
    background: var(--qb-bg);
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.qb-solution-grid {
    max-width: 1280px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 40px;
    align-items: center;
}

.qb-heading { margin-bottom: 40px; }

/* .qb-tag is now covered by the shared badge rule above */

.qb-heading h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin: 0;
}

.qb-heading h2 span { color: var(--qb-teal-mid); }

.qb-problem-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.qb-problem-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 28px;
    background: #fff;
    border-radius: 24px;
    border-left: 4px solid #ef4444;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    transition: .3s ease;
}

.qb-problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

.qb-icon {
    min-width: 52px;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qb-danger { background: #fef2f2; color: #ef4444; }

.qb-problem-card h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.005em;
    margin: 0 0 10px;
    color: #ef4444;
}

.qb-problem-card p {
    margin: 0;
    line-height: 1.7;
    color: var(--qb-muted);
    font-style: italic;
}

.qb-middle-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.qb-line {
    flex: 1;
    width: 1px;
    background: var(--qb-border);
}

.qb-arrow-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--qb-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin: 22px 0;
    box-shadow: 0 15px 40px rgba(13,107,119,.3);
    flex-shrink: 0;
}

.qb-solution-card {
    background: #fff;
    border-radius: 36px;
    padding: 50px;
    box-shadow: 0 25px 70px rgba(13,107,119,.08);
    border: 1px solid #f1f5f9;
}

.qb-solution-card .qb-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 30px;
    border: none;
}

.qb-pulse {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: qbPulse 1.5s infinite;
}

.qb-solution-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 24px;
    color: var(--qb-text);
}

.qb-solution-card h3 span { color: var(--qb-teal-mid); }

.qb-solution-desc {
    color: var(--qb-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

.qb-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.qb-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    color: #334155;
    line-height: 1.7;
}

.qb-check-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qb-check-icon .material-symbols-outlined { font-size: 18px; }

.qb-stats {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 20px;
}

.qb-stats h5 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
    color: var(--qb-primary);
}

.qb-stats p {
    margin: 0;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #94a3b8;
}

.qb-solution-section .qb-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.qb-solution-section .qb-rating .material-symbols-outlined {
    color: #f59e0b;
    font-size: 24px;
}

@media (max-width: 767px) {
    .qb-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .qb-stats h5 { font-size: 20px; }
    .qb-stats p  { font-size: 9px; letter-spacing: 1px; }
}


/* ==============================
   5. COURSES TRACK SECTION
   .qb-courses-section
============================== */

.qb-courses-section {
    position: relative;
    overflow: hidden;
    background: #f0f8f8;
    padding: 110px 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.qb-pattern {
    position: absolute;
    inset: 0;
    opacity: .05;
    background-image:
        radial-gradient(var(--qb-primary-light) 0.5px, transparent 0.5px),
        radial-gradient(var(--qb-primary-light) 0.5px, transparent 0.5px);
    background-size: 22px 22px;
    background-position: 0 0, 11px 11px;
    pointer-events: none;
}

.qb-courses-header { margin-bottom: 48px; }

.qb-course-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 55px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(148, 163, 184, .25);
}

.qb-highlight-text {
    color: var(--qb-teal-mid) !important;
    font-style: normal;
    background: none !important;
}

.qb-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: #fff;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s ease;
}

.qb-tab[data-filter="arabic"]:hover,
.qb-tab[data-filter="arabic"].qb-tab--active {
    background: #1C90A8; border-color: transparent; color: #fff;
    box-shadow: 0 10px 30px rgba(28,144,168,.25);
}
.qb-tab[data-filter="quran"]:hover,
.qb-tab[data-filter="quran"].qb-tab--active {
    background: #61CE70; border-color: transparent; color: #fff;
    box-shadow: 0 10px 30px rgba(97,206,112,.30);
}
.qb-tab[data-filter="islamic"]:hover,
.qb-tab[data-filter="islamic"].qb-tab--active {
    background: #d97706; border-color: transparent; color: #fff;
    box-shadow: 0 10px 30px rgba(217,119,6,.30);
}

.qb-tab:hover .qb-tab-dot,
.qb-tab--active .qb-tab-dot,
.qb-tab:hover .qb-tab-dot--green,
.qb-tab--active .qb-tab-dot--green,
.qb-tab:hover .qb-tab-dot--gold,
.qb-tab--active .qb-tab-dot--gold {
    background: rgba(255,255,255,0.75);
}

.qb-tab-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--qb-primary-light);
    flex-shrink: 0;
    transition: background .3s ease;
}
.qb-tab-dot--green { background: var(--qb-green); }
.qb-tab-dot--gold  { background: var(--qb-gold); }

.qb-course-card.qb-hidden  { display: none; }
.qb-course-card.qb-visible { animation: qbFadeUp .4s ease both; }

@keyframes qbFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Grid layout ── */
.qb-course-grid { position: relative; }

.qb-slider-viewport,
.qb-slider-track { display: contents; }

.qb-course-grid:not(.qb-has-slider) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ── Slider controls — BELOW the cards ── */
.qb-slider-controls {
    display: none;
}

.qb-course-grid.qb-has-slider {
    position: relative;
    display: block;
}

.qb-course-grid.qb-has-slider .qb-slider-viewport {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 28px;
}

.qb-course-grid.qb-has-slider .qb-slider-track {
    display: flex;
    gap: 24px;
    transition: transform .45s cubic-bezier(.25,.46,.45,.94);
    will-change: transform;
}

.qb-course-grid.qb-has-slider .qb-course-card {
    flex: 0 0 var(--qb-card-w, calc(33.333% - 16px));
    animation: none;
}

/* Controls row: [prev] [dots] [next] — all inline, below viewport */
.qb-course-grid.qb-has-slider .qb-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

/* Prev / Next — inline (NOT absolute) */
.qb-prev-btn,
.qb-next-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--qb-primary-light);
    background: #fff;
    color: var(--qb-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .3s ease;
    flex-shrink: 0;
    position: static;
    transform: none;
    box-shadow: 0 4px 12px rgba(15,23,42,.1);
}

.qb-prev-btn .material-symbols-outlined,
.qb-next-btn .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
}

.qb-prev-btn:hover,
.qb-next-btn:hover {
    background: var(--qb-primary);
    color: #fff;
    transform: scale(1.08);
}

.qb-prev-btn:disabled,
.qb-next-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
    transform: scale(1);
}

.qb-slider-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.qb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(28,144,168,.25);
    cursor: pointer;
    transition: .3s ease;
    border: none;
    padding: 0;
    display: block;
}

.qb-dot.qb-dot--active {
    width: 24px;
    border-radius: 999px;
    background: var(--qb-primary);
}

/* ── Course Cards — SMALLER desktop ── */
.qb-courses-section .qb-course-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    transition: .4s ease;
    box-shadow: 0 6px 24px rgba(15,23,42,.06);
}

.qb-courses-section .qb-course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(15,23,42,.11);
}

.qb-course-card--blue  { border-top: 4px solid var(--qb-primary-light); }
.qb-course-card--green { border-top: 4px solid var(--qb-green); }
.qb-course-card--gold  { border-top: 4px solid var(--qb-gold); }

/* Smaller image */
.qb-course-image {
    height: 190px;
    position: relative;
    overflow: hidden;
}

.qb-course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.qb-courses-section .qb-course-card:hover img { transform: scale(1.06); }

.qb-course-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.4), rgba(15,23,42,.06));
}

/* Smaller content padding */
.qb-course-content { padding: 22px; }

.qb-course-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.qb-course-badge--blue  { background: rgba(110,193,228,.12); color: var(--qb-primary); }
.qb-course-badge--green { background: rgba(97,206,112,.12);  color: var(--qb-green-dark); }
.qb-course-badge--gold  { background: rgba(217,119,6,.12);   color: var(--qb-gold); }

/* Smaller title */
.qb-course-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 10px;
    color: var(--qb-text);
}

/* Shorter excerpt */
.qb-course-content p {
    margin: 0 0 16px;
    color: var(--qb-muted);
    line-height: 1.7;
    font-size: 14px;
    min-height: unset;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Course meta row — reviews + duration ── */
.qb-course-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.qb-course-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--qb-muted);
}

.qb-course-meta-item .material-symbols-outlined {
    font-size: 14px;
    color: var(--qb-teal-mid);
}

.qb-course-meta-item.qb-meta-stars .material-symbols-outlined {
    color: #f59e0b;
    font-variation-settings: 'FILL' 1;
}

/* Course footer */
.qb-course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(148,163,184,.15);
}

.qb-course-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--qb-primary);
    font-size: 13px;
    font-weight: 700;
    transition: .3s ease;
}

.qb-course-link:hover { gap: 10px; }

.qb-trial-btn {
    border: none;
    background: rgba(97,206,112,.12);
    color: var(--qb-green-dark);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease;
}

.qb-trial-btn:hover {
    background: var(--qb-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Bottom CTA */
.qb-bottom-action {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.qb-all-courses-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 34px;
    border-radius: 18px;
    text-decoration: none;
    border: 1px solid rgba(110,193,228,.35);
    color: var(--qb-primary);
    font-weight: 700;
    transition: .3s ease;
    background: #fff;
}

.qb-all-courses-btn:hover {
    background: rgba(110,193,228,.08);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(13,107,119,.08);
}

.qb-all-courses-btn .material-symbols-outlined { transition: transform .3s ease; }
.qb-all-courses-btn:hover .material-symbols-outlined { transform: translateX(4px); }

@media (max-width: 991px) {
    .qb-course-grid:not(.qb-has-slider) { grid-template-columns: repeat(2, 1fr); }
}


/* ==============================
   6. STEPS SECTION — .qb-steps
============================== */

.qb-steps {
    background: var(--qb-bg);
    padding: 100px 20px;
    font-family: 'Outfit', sans-serif;
    position: relative;
}

.qb-steps__header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 60px;
}

.qb-steps__header .qb-section-label { display: inline-block; }

.qb-steps__header .qb-display {
    font-size: clamp(32px, 4vw, 48px);
}

.qb-steps__header .qb-display span { color: var(--qb-teal-mid); }

.qb-steps__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.qb-steps__connector { display: none; }

.qb-step-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
}

.qb-step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(13,110,128,0.1);
    border-color: rgba(97,206,112,0.2);
}

.qb-step-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 4px;
    background: var(--qb-gradient);
    border-radius: 0 0 10px 10px;
    transition: width 0.4s ease;
}

.qb-step-card:hover::before { width: 50%; }

.qb-step-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: #f8fdfc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.qb-step-card:hover .qb-step-icon { background: var(--qb-gradient); }

.qb-step-icon .material-symbols-outlined {
    font-size: 34px;
    background: var(--qb-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: 0.3s;
}

.qb-step-card:hover .qb-step-icon .material-symbols-outlined {
    -webkit-text-fill-color: #fff;
}

.qb-step-num {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--qb-gold);
    margin-bottom: 8px;
}

.qb-step-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.005em;
    color: var(--qb-text);
    margin-bottom: 12px;
}

.qb-step-card p { color: #666; font-size: 15px; line-height: 1.6; }

.qb-steps__cta {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}


/* ==============================
   7. WHY US SECTION — .qb-why-section
============================== */

.qb-why-section {
    position: relative;
    overflow: hidden;
    background: var(--qb-bg);
    padding: 100px 20px;
    font-family: 'Outfit', sans-serif;
}

.qb-why-pattern {
    position: absolute;
    inset: 0;
    opacity: .03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0l8.5 25.5H75L53.5 41l8.5 25.5L40 51l-22 15.5L26.5 41 5 25.5h26.5L40 0z' fill='%230d6e80'/%3E%3C/svg%3E");
}

.qb-why-header {
    text-align: center;
    margin-bottom: 80px;
}

.qb-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.qb-features-grid .qb-feature-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 45px 35px;
    text-align: center;
    border: 1px solid #edf2f7;
    box-shadow: 0 10px 30px rgba(13,110,128,0.04);
    transition: all 0.4s cubic-bezier(0.165,0.84,0.44,1);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.qb-features-grid .qb-feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(13,110,128,0.1);
    border-color: rgba(97,206,112,0.2);
}

.qb-feature-icon {
    width: 80px; height: 80px;
    margin-bottom: 30px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f8f8;
    color: var(--qb-teal-mid);
    transition: 0.3s;
}

.qb-features-grid .qb-feature-card:hover .qb-feature-icon {
    background: var(--qb-gradient);
    color: #fff;
    transform: rotate(-5deg);
}

.qb-feature-icon .material-symbols-outlined { font-size: 38px; }

.qb-features-grid .qb-feature-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.005em;
    margin: 0 0 15px;
    color: var(--qb-text);
    position: relative;
    padding-bottom: 12px;
}

.qb-features-grid .qb-feature-card h3::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 40px; height: 3px;
    background: var(--qb-gradient);
    transform: translateX(-50%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.qb-features-grid .qb-feature-card:hover h3::after { width: 80px; }

.qb-features-grid .qb-feature-card p {
    margin: 0;
    color: var(--qb-muted);
    line-height: 1.7;
    font-size: 15px;
}


/* ==============================
   8. SCHOLARS SECTION — .qb-scholars
============================== */

.qb-scholars {
    background: #f8fafc;
    padding: 100px 20px;
    font-family: 'Outfit', sans-serif;
}

.qb-scholars__grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.qb-scholars__content { flex: 1.2; }

/* .qb-scholars__content .qb-badge is now covered by the shared badge rule */

.qb-scholars__content .qb-display {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 25px;
}

.qb-scholars__content .qb-display span {
    color: var(--qb-teal-mid);
    background: none;
    -webkit-text-fill-color: unset;
}

.qb-scholars__content > p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.qb-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.qb-feature-grid .qb-feature-card {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.qb-feature-grid .qb-feature-card:hover { transform: translateY(-5px); }

.qb-feature-grid .qb-feature-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    height: 3px; width: 0;
    background: var(--qb-gradient);
    transition: width 0.3s ease;
}

.qb-feature-grid .qb-feature-card:hover::after { width: 100%; }

.qb-feature-card__icon {
    color: var(--qb-teal-mid);
    background: #f0f8f8;
    padding: 10px;
    border-radius: 12px;
    display: flex;
}

.qb-feature-grid .qb-feature-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.005em;
    color: var(--qb-text);
    margin-bottom: 4px;
}

.qb-feature-grid .qb-feature-card p { font-size: 13px; color: #777; margin: 0; }

.qb-scholars__visual {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.qb-scholars__main-img {
    width: 100%;
    height: 100%;
    min-height: 720px;
    object-fit: cover;
    display: block;
    border-radius: 40px;
}

.qb-scholars__testimonial {
    position: absolute;
    bottom: 20px; left: 15px;
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    max-width: 260px;
    z-index: 10;
}

.qb-stars { color: var(--qb-gold); margin-bottom: 10px; }

.qb-scholars__testimonial blockquote {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    margin: 0 0 15px;
}

.qb-scholars__side {
    position: absolute;
    top: 0; right: -5px;
    z-index: 10;
}

.qb-scholars__badge {
    background: var(--qb-gradient);
    color: #fff;
    padding: 25px 20px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(28,144,168,0.3);
}


/* ==============================
   9. TEACHERS SECTION — .qb-tch
============================== */

.qb-tch-section {
    padding: 100px 20px;
    background: #f0f8f8;
    font-family: 'Outfit', sans-serif;
    overflow: hidden;
}

.qb-tch-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

/* .qb-tch-badge is now covered by the shared badge rule */

.qb-tch-header .qb-section-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 14px;
}

.qb-tch-header .qb-section-title span { color: var(--qb-teal-mid); }

.qb-tch-header .qb-section-description {
    font-size: 16px;
    color: var(--qb-muted);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

.qb-tch-slider-container {
    position: relative;
    max-width: 1240px;
    margin: 0 auto 60px;
    padding: 0 45px;
}

.qb-tch-slider-viewport {
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    display: flex;
}

.qb-tch-slider-viewport::-webkit-scrollbar { display: none; }

.qb-tch-slider-track {
    display: flex;
    gap: 30px;
    padding: 20px 5px;
}

.qb-tch-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid #e8f4f6;
    box-shadow: 0 10px 30px rgba(13,110,128,0.06);
    transition: all 0.4s cubic-bezier(0.165,0.84,0.44,1);
    position: relative;
    width: 360px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.qb-tch-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 4px;
    background: var(--qb-gradient);
    transition: width 0.4s ease;
    z-index: 5;
}

.qb-tch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(13,110,128,0.14);
    border-color: rgba(97,206,112,0.25);
}

.qb-tch-card:hover::before { width: 100%; }

.qb-tch-card-top { display: flex; flex-direction: column; height: 100%; }

.qb-tch-card-img {
    width: 100%; min-width: 100%;
    height: 240px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e0f4f8, #f0fffe);
}

.qb-tch-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.qb-tch-card:hover .qb-tch-card-img img { transform: scale(1.06); }

.qb-tch-card-flag {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(255,255,255,0.95);
    padding: 5px 10px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: var(--qb-teal-dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    border: 1px solid rgba(13,110,128,0.1);
    z-index: 2;
}

.qb-tch-card-main {
    flex: 1;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.qb-tch-top-row { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }

.qb-tch-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.005em;
    color: var(--qb-text);
    margin-bottom: 2px;
}

.qb-tch-role {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--qb-teal-mid);
    line-height: 1.5;
    min-height: 40px;
}

.qb-tch-stars-row { display: flex; align-items: center; gap: 1px; flex-shrink: 0; }
.qb-tch-star-icon  { font-size: 14px; color: var(--qb-gold); }
.qb-tch-rating-num { font-size: 13px; font-weight: 700; color: var(--qb-text); margin-left: 6px; }
.qb-tch-reviews    { font-size: 11px; color: var(--qb-muted); margin-left: 3px; }

.qb-tch-chips-row { display: flex; flex-wrap: wrap; gap: 4px; }

.qb-tch-chip {
    font-size: 9px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 50px;
    letter-spacing: 0.3px;
}

.qb-tch-ck { background: #f0f8f8;              color: var(--qb-teal-dark); border: 1px solid #d0eaf0; }
.qb-tch-ci { background: rgba(197,157,95,.1);   color: #8a6a30;            border: 1px solid rgba(197,157,95,.25); }
.qb-tch-cg { background: rgba(97,206,112,.1);   color: #2E7D32;            border: 1px solid rgba(97,206,112,.3); }

.qb-tch-bio-preview { font-size: 13.5px; color: var(--qb-muted); line-height: 1.7; margin: 0; }

.qb-tch-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f0f4f5;
    margin-top: auto;
}

.qb-tch-btn-trial,
.qb-tch-btn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165,0.84,0.44,1);
    font-family: 'Outfit', sans-serif;
    flex: 1;
}

.qb-tch-btn-trial {
    background: var(--qb-gradient);
    color: #fff;
    box-shadow: 0 6px 16px rgba(28,144,168,0.2);
}

.qb-tch-btn-trial:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(28,144,168,0.3);
    color: #fff;
}

.qb-tch-btn-more {
    background: #fff;
    color: var(--qb-teal-mid);
    border: 1.5px solid rgba(28,144,168,0.4);
}

.qb-tch-btn-more:hover {
    background: var(--qb-teal-mid);
    color: #fff;
    border-color: var(--qb-teal-mid);
    box-shadow: 0 6px 16px rgba(28,144,168,0.15);
    transform: translateY(-2px);
}

.qb-accordion { border-top: 1px solid #f0f4f5; }

.qb-acc-toggle {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 13px;
    color: var(--qb-teal-mid);
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.qb-acc-toggle:hover { color: var(--qb-border); }

.qb-acc-arrow {
    font-size: 10px;
    transition: transform 0.25s;
    display: inline-block;
    color: var(--qb-text);
}

.qb-acc-toggle.open .qb-acc-arrow { transform: rotate(180deg); }

.qb-acc-body { display: none; padding: 0 24px 22px; font-size: 13px; color: var(--qb-muted); line-height: 1.8; }
.qb-acc-body.open { display: block; }

.qb-tch-prev-btn,
.qb-tch-next-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e8f4f6;
    color: var(--qb-text);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(13,110,128,0.08);
    z-index: 10;
    transition: all 0.3s ease;
}

.qb-tch-prev-btn:hover,
.qb-tch-next-btn:hover {
    background: var(--qb-teal-mid);
    color: #ffffff;
    border-color: var(--qb-teal-mid);
}

.qb-tch-prev-btn:disabled,
.qb-tch-next-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.qb-tch-slider-dots { display: flex; gap: 8px; align-items: center; }

.qb-tch-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #e8f4f6;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
    padding: 0;
}

.qb-tch-dot--active { background: var(--qb-teal-mid); transform: scale(1.2); }

.qb-tch-cta-bar {
    background: #fff;
    border: 1px solid #e8f4f6;
    border-radius: 60px;
    padding: 14px 14px 14px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(13,110,128,0.06);
}

.qb-tch-meta { display: flex; align-items: center; gap: 20px; }
.qb-tch-avatar-group { display: flex; align-items: center; }

.qb-tch-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-right: -15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.qb-tch-av--1    { background: #0d6e80; }
.qb-tch-av--2    { background: #1C90A8; }
.qb-tch-av--3    { background: #2db89e; }
.qb-tch-av--more { background: #61CE70; }

.qb-tch-btn-teal {
    background: var(--qb-gradient);
    color: #fff;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    font-size: 14px;
}

.qb-tch-btn-teal:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(28,144,168,0.3);
    color: #fff;
}

@media (max-width: 767px) {
    .qb-tch-section { padding: 60px 16px; }

    .qb-tch-header .qb-section-description {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        font-size: 15px;
        line-height: 1.7;
        text-align: center;
        margin: 14px auto 0;
        max-width: 100%;
        padding: 0 8px;
    }

    .qb-tch-header { margin-bottom: 36px; }

    .qb-tch-slider-container {
        padding: 0;
        margin-bottom: 40px;
        overflow: hidden;
    }

    .qb-tch-slider-viewport {
        width: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .qb-tch-slider-track { gap: 16px; padding: 20px 16px; align-items: stretch; }

    .qb-tch-card {
        width: calc(100vw - 32px);
        max-width: 360px;
        flex-shrink: 0;
        scroll-snap-align: center;
        margin: 0 auto;
    }

    .qb-tch-slider-controls { display: none; }

    .qb-tch-cta-bar {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
        border-radius: 28px;
        text-align: center;
        max-width: calc(100vw - 32px);
        margin: 0 auto;
    }

    .qb-tch-meta { flex-direction: column; gap: 12px; }
    .qb-tch-avatar-group { margin-right: -15px; }
}


/* ==============================
   10. ABOUT SECTION — .qb-about-light
============================== */

.qb-about-light {
    /* --qb-gradient removed: identical to :root definition */
    --primary-teal: #1C90A8;
    --text-dark: #0d6e80;
    --text-gray: #555;
    position: relative;
    background: #ffffff;
    padding: 80px 20px;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
}

.qb-about-light .qb-curve-deco {
    position: absolute;
    top: 0; right: 0;
    width: 250px; height: 250px;
    background: var(--primary-teal);
    clip-path: circle(70% at 100% 0%);
    opacity: 0.9;
    z-index: 1;
}

.qb-about-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.qb-about-light .qb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f0f8f8;
    padding: 9px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--primary-teal);
    margin-bottom: 20px;
    border: 1.5px solid rgba(28,144,168,0.3);
}

.qb-about-light .qb-line {
    width: 40px; height: 1px;
    background: var(--primary-teal);
    flex: unset;
}

.qb-about-light .qb-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 10px;
}

.qb-about-light .qb-title span { color: var(--primary-teal); }

.qb-sub-gold {
    color: var(--primary-teal);
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 15px;
}

.qb-about-light .qb-divider {
    width: 60px; height: 3px;
    background: var(--primary-teal);
    margin-bottom: 25px;
}

.qb-description { color: var(--text-gray); line-height: 1.7; font-size: 16px; margin-bottom: 30px; }

.qb-feat-list { list-style: none; padding: 0; margin-bottom: 35px; }

.qb-feat-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #444;
    font-weight: 500;
}

.qb-feat-list i { color: var(--primary-teal); font-size: 20px; }

.qb-about-light .qb-btn-pill .material-symbols-outlined { font-size: 20px; line-height: 1; }

.qb-video-box { position: relative; }

.qb-video-box .elementor-widget-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.qb-video-box .elementor-wrapper { display: block; width: 100%; }

.qb-video-box .elementor-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

.qb-video-box .elementor-video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    border: 0;
    display: block;
}


/* ==============================
   11. FEATURED COURSES — .qb-courses
============================== */

.qb-courses {
    padding: 100px 20px;
    background-color: #ffffff;
    font-family: 'Outfit', sans-serif;
}

.qb-courses__container { max-width: 1200px; margin: 0 auto; }

.qb-courses__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 30px;
}

.qb-courses__title .qb-section-label { display: inline-block; }

.qb-courses__title h2 {
    font-size: clamp(32px, 4vw, 48px);
}

.qb-courses__title h2 span {
    color: var(--qb-teal-mid);
    background: none;
    -webkit-text-fill-color: unset;
}

.qb-courses__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.qb-courses .qb-course-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #f0f4f5;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165,0.84,0.44,1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(13,110,128,0.04);
}

.qb-courses .qb-course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(13,110,128,0.1);
}

.qb-course-card__banner {
    height: 200px;
    position: relative;
    background: var(--qb-teal-dark);
    overflow: hidden;
}

.qb-course-card__banner img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.qb-course-card__tags {
    position: absolute;
    top: 12px; left: 12px; right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.qb-tag-featured,
.qb-tag-popular {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(6px);
}

.qb-tag-featured {
    background: rgba(13,110,128,0.88);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    margin-right: auto;
}

.qb-tag-popular {
    background: rgba(220,38,38,0.88);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    margin-left: auto;
}

.qb-tag-featured .material-symbols-outlined,
.qb-tag-popular  .material-symbols-outlined { font-size: 11px !important; line-height: 1; }

.qb-course-card__content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.qb-course-card__content h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.005em;
    color: var(--qb-text);
    margin-bottom: 12px;
}

.qb-course-card__content p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.qb-course-card__meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.qb-courses .qb-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--qb-teal-mid);
}

.qb-course-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.qb-btn-enroll {
    color: var(--qb-teal-dark);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.qb-btn-enroll:hover { color: var(--qb-teal-mid); padding-left: 5px; }

.qb-tag-free {
    background: #f0fdf4;
    color: #16a34a;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

/* ── CTA STRIP ────────────────── */
.qb-s7-cta {
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(135deg, #083540 0%, #1C90A8 55%, #2db89e 80%, #61CE70 100%);
  padding: 88px 20px;
  text-align: center;
  position: relative; overflow: hidden;
}
.qb-s7-cta::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 65%);
  pointer-events: none;
}
.qb-s7-cta::after {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0, transparent 28px, rgba(255,255,255,.025) 28px, rgba(255,255,255,.025) 29px);
  pointer-events: none;
}
.qb-s7-cta-inner { position: relative; z-index: 1; max-width: 660px; margin: 0 auto; }
.qb-s7-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 16px;
}
.qb-s7-cta h2 em { font-style: italic; color: #c9f7d1; }
.qb-s7-cta p { font-size: 1.02rem; color: rgba(255,255,255,.78); line-height: 1.75; margin-bottom: 38px; }
.qb-s7-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700;
  padding: 16px 44px; border-radius: 50px; border: none;
  cursor: pointer; text-decoration: none;
  background: #fff; color: #1C90A8;
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
  transition: all .28s ease;
}
.qb-s7-cta-btn:hover { background: #e6fdf9; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.28); }
.qb-s7-cta-price { display: block; margin-top: 20px; font-size: .88rem; color: rgba(255,255,255,.55); }
.qb-s7-cta-price strong { color: #c9f7d1; }


/* ==============================
   12. ANIMATIONS
============================== */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes qbPulse {
    0%   { opacity: 1; transform: scale(1); }
    50%  { opacity: .5; transform: scale(1.6); }
    100% { opacity: 1; transform: scale(1); }
}


/* ==============================
   13. MEDIA QUERIES
============================== */

@media (min-width: 1024px) {
    .qb-steps__grid { grid-template-columns: repeat(3, 1fr); }

    .qb-steps__connector {
        display: block !important;
        position: absolute;
        top: 60px; left: 15%; right: 15%;
        height: 2px;
        background: linear-gradient(to right, transparent, rgba(45,184,158,0.2), transparent);
        z-index: 0;
    }

    .qb-scholars__grid { flex-direction: row; align-items: flex-start; }
}

@media (max-width: 1100px) {
    .qb-solution-grid { grid-template-columns: 1fr; gap: 28px; }

    .qb-middle-arrow {
        display: flex;
        flex-direction: row;
        align-items: center;
        height: 60px;
        width: 100%;
    }

    .qb-middle-arrow .qb-line {
        flex: 1;
        width: auto;
        height: 1px;
    }

    .qb-arrow-circle {
        transform: rotate(90deg);
        margin: 0 16px;
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 991px) {
    .qb-course-grid:not(.qb-has-slider) { grid-template-columns: repeat(2, 1fr); }
    .qb-about-wrap { grid-template-columns: 1fr; text-align: left; }
    .qb-about-light .qb-curve-deco { width: 150px; height: 150px; }
    .qb-video-box { width: 100%; }
}

@media (max-width: 768px) {

    /* Unified mobile heading sizes */
    .qb-courses-section .qb-section-title,
    .qb-steps__header .qb-display,
    .qb-scholars__content .qb-display,
    .qb-tch-header .qb-section-title,
    .qb-why-section .qb-section-title,
    .qb-heading h2,
    .qb-courses__title h2,
    .qb-about-light .qb-title {
        font-size: 32px;
        line-height: 1.2;
    }

    /* ── Courses section mobile ── */
    .qb-courses-section { padding: 70px 16px; }

    .qb-course-tabs {
        flex-wrap: nowrap;
        overflow: visible;
        justify-content: center;
        gap: 6px;
        padding-bottom: 0;
        border-bottom: none;
        margin-bottom: 30px;
    }

    .qb-tab {
        padding: 8px 10px;
        font-size: 11px;
        gap: 5px;
        flex: 1;
        justify-content: center;
    }

    .qb-tab-dot,
    .qb-tab-dot--green,
    .qb-tab-dot--gold { width: 7px; height: 7px; }

    .qb-course-grid:not(.qb-has-slider) { grid-template-columns: 1fr; gap: 16px; }

    .qb-course-image { height: 160px; }

    .qb-course-content { padding: 16px; }

    .qb-course-content h3 { font-size: 17px; margin-bottom: 8px; }

    .qb-course-content p { font-size: 13px; margin-bottom: 12px; }

    .qb-course-badge { padding: 5px 10px; font-size: 9px; margin-bottom: 10px; }

    .qb-course-meta { gap: 10px; margin-bottom: 12px; }
    .qb-course-meta-item { font-size: 11px; }
    .qb-course-meta-item .material-symbols-outlined { font-size: 13px; }

    .qb-course-footer {
        flex-direction: row;
        align-items: center;
        padding-top: 12px;
        gap: 8px;
    }

    .qb-course-link { font-size: 12px; }

    .qb-trial-btn {
        padding: 8px 12px;
        font-size: 11px;
        border-radius: 10px;
        width: auto;
    }

    /* ── Scholars mobile ── */
    .qb-scholars { padding: 70px 16px; }
    .qb-scholars__grid { gap: 40px; }

    .qb-scholars__visual {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        position: relative;
        overflow: hidden;
        border-radius: 20px;
        display: block;
        flex: unset;
    }

    .qb-scholars__main-img {
        width: 100%;
        height: 400px;
        min-height: unset;
        object-fit: cover;
        border-radius: 20px;
        display: block;
    }

    .qb-scholars__side {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 10;
        margin: 0;
    }

    .qb-scholars__badge {
        padding: 12px 10px;
        border-radius: 14px;
        min-width: unset;
        width: 80px;
        flex-direction: column;
        font-size: 9px;
        gap: 3px;
        box-shadow: 0 6px 16px rgba(28,144,168,0.3);
    }

    .qb-scholars__badge .material-symbols-outlined {
        font-size: 13px !important;
    }

    .qb-scholars__testimonial {
        position: absolute;
        bottom: 10px;
        left: 10px;
        margin: 0;
        max-width: 110px;
        padding: 8px;
        border-radius: 10px;
        box-shadow: 0 6px 16px rgba(0,0,0,0.1);
        z-index: 10;
    }

    .qb-scholars__testimonial blockquote {
        font-size: 7.5px;
        line-height: 1.35;
        margin: 0 0 5px;
    }

    .qb-scholars__testimonial p,
    .qb-scholars__testimonial strong {
        font-size: 7.5px;
        line-height: 1.3;
    }

    .qb-stars { font-size: 8px; margin-bottom: 3px; }

    .qb-stars .material-symbols-outlined {
        font-size: 9px !important;
    }

    /* Feature grid */
    .qb-feature-grid { grid-template-columns: 1fr; gap: 14px; }

    /* Why section */
    .qb-why-section { padding: 70px 20px; }
    .qb-features-grid { grid-template-columns: 1fr; }

    /* Misc */
    .qb-courses__header  { flex-direction: column; align-items: flex-start; }
    .qb-teachers__cta-bar { flex-direction: column; border-radius: 25px; padding: 30px; text-align: center; gap: 20px; }
    .qb-meta { flex-direction: column; }
    .qb-avatar-group { margin-bottom: 10px; }
}

/* MERGED: two separate @media (max-width: 640px) blocks combined into one */
@media (max-width: 640px) {
    .qb-course-grid:not(.qb-has-slider) { grid-template-columns: 1fr; }
    .qb-course-grid.qb-has-slider .qb-course-card { flex: 0 0 var(--qb-card-w, 100%); }
    .qb-card-top { flex-direction: column; }
    .qb-card-img { width: 100%; min-width: unset; height: 200px; }
    .qb-teachers__cta-bar { flex-direction: column; border-radius: 25px; padding: 28px; text-align: center; }
    .qb-meta { flex-direction: column; }
    .qb-course-grid.qb-has-slider .qb-slider-track { padding: 8px 20px; }
}

@media (max-width: 480px) {
    .qb-about-light { padding: 50px 16px; }
    .qb-about-light .qb-title { font-size: 28px; }
}