/*
 * Qari for Kids — final visual system
 * This file intentionally loads last. It only changes presentation; existing
 * forms, links, API handlers and JavaScript behaviour stay untouched.
 */

:root {
    --qfk-forest: #12384b;
    --qfk-forest-dark: #0b2938;
    --qfk-forest-soft: #e8f3f1;
    --qfk-teal: #397b6e;
    --qfk-teal-light: #83c8bb;
    --qfk-blue: #3968b2;
    --qfk-amber: #3968b2;
    --qfk-amber-dark: #294f8d;
    --qfk-cream: #f3f7fa;
    --qfk-paper: #ffffff;
    --qfk-ink: #142f3d;
    --qfk-copy: #4d6168;
    --qfk-line: #d8e5e4;
    --qfk-shadow-sm: 0 10px 28px rgba(20, 54, 45, 0.08);
    --qfk-shadow-lg: 0 24px 60px rgba(20, 54, 45, 0.13);
    --main-color: #397b6e;
    --main-color-rgb: 57, 123, 110;
    --color-two: #3968b2;
    --color-two-rgb: 57, 104, 178;
    --color-seven: #3968b2;
    --color-seven-rgb: 57, 104, 178;
    --qfk-gold: #3968b2;
    --qfk-hero-cta-orange: #3968b2;
    --qfk-hero-cta-orange-border: #294f8d;
    --qfk-hero-cta-text: #ffffff;
    --font-family-Lexend: 'Lexend', sans-serif;
}

html {
    background: var(--qfk-cream);
}

body {
    color: var(--qfk-copy);
    background: var(--qfk-paper);
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6,
.sec-title_heading,
.page-title h2 {
    color: var(--qfk-ink);
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    letter-spacing: -0.035em;
}

p {
    color: var(--qfk-copy);
}

.auto-container {
    max-width: 1280px;
    padding-right: 28px;
    padding-left: 28px;
}

.wow,
.wow[style*='visibility'],
.qfk-home .wow {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Header ------------------------------------------------------------------ */
.qfk-topbar {
    height: 34px;
    color: rgba(255, 255, 255, 0.84);
    background: var(--qfk-forest-dark);
}

.qfk-topbar__inner,
.qfk-topbar__links,
.qfk-topbar__message {
    display: flex;
    align-items: center;
}

.qfk-topbar__inner {
    min-height: 34px;
    justify-content: space-between;
    gap: 24px;
}

.qfk-topbar__message,
.qfk-topbar__links {
    gap: 17px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.qfk-topbar__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--qfk-amber);
    box-shadow: 0 0 0 5px rgba(57, 104, 178, 0.16);
}

.qfk-topbar__links a,
.qfk-topbar__links span {
    color: rgba(255, 255, 255, 0.84);
}

.qfk-topbar__links i {
    margin-right: 6px;
    color: var(--qfk-teal-light);
}

.main-header.header-style-three,
.main-header .header-upper {
    min-height: 96px;
    border-bottom: 1px solid rgba(10, 74, 62, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

.main-header .header-upper .inner-container {
    min-height: 96px;
}

.main-header .header-upper .logo-box {
    padding: 5px 24px 5px 0;
}

.main-header .header-upper .logo-box .logo img {
    width: auto !important;
    height: 84px !important;
    object-fit: contain;
}

.main-header.header-style-three .main-menu .navigation > li,
.main-header .main-menu .navigation > li {
    margin-right: 25px;
}

.main-header.header-style-three .main-menu .navigation > li > a,
.main-header .main-menu .navigation > li > a {
    padding: 37px 0 34px;
    color: #263e36;
    font-family: 'Lexend', sans-serif;
    font-size: 14px !important;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.main-header .main-menu .navigation > li > a::after {
    bottom: 22px;
    height: 3px;
    border-radius: 5px;
    background: var(--qfk-amber);
}

.main-header .main-menu .navigation > li:hover > a {
    color: var(--qfk-forest);
}

.main-header .main-menu .navigation > li > ul {
    padding: 10px;
    border: 1px solid var(--qfk-line);
    border-radius: 14px;
    box-shadow: var(--qfk-shadow-lg);
}

.main-header .main-menu .navigation > li > ul > li > a {
    padding: 11px 14px;
    border-radius: 8px;
    color: #3b5049;
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
}

.header_button-box .btn-style-four {
    padding: 13px 21px;
    border: 1px solid var(--qfk-amber-dark);
    border-radius: 10px;
    color: #fff;
    background: var(--qfk-amber);
    box-shadow: 0 8px 20px rgba(41, 79, 141, 0.22);
    font-family: 'Lexend', sans-serif;
    font-size: 14px !important;
    font-weight: 700;
}

.main-header.fixed-header .header-upper {
    box-shadow: 0 10px 28px rgba(20, 54, 45, 0.08);
}

.mobile-menu .menu-box {
    background: #f3f7fa !important;
    transition: all 0.28s ease !important;
}

.mobile-menu .menu-backdrop {
    transition: all 0.24s ease !important;
}

/* Shared headings and buttons -------------------------------------------- */
.sec-title {
    margin-bottom: 38px;
}

.sec-title_title {
    color: var(--qfk-teal);
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.sec-title_heading {
    max-width: 800px;
    margin-top: 9px;
    font-size: clamp(36px, 3.35vw, 50px);
    line-height: 1.14;
}

.sec-title.centered .sec-title_heading {
    margin-right: auto;
    margin-left: auto;
}

.btn-style-one,
.btn-style-three,
.btn-style-four,
.qfk-static-hero__btn,
.course-block_one-study {
    font-family: 'Lexend', sans-serif;
}

.btn-style-one {
    border-radius: 10px;
    background: var(--qfk-forest);
    box-shadow: 0 10px 22px rgba(10, 74, 62, 0.16);
}

/* Keep both animated button labels readable in their resting and hover states. */
.contact-form #submit-button .text-one,
.contact-form #submit-button .text-one span,
.contact-form #submit-button .text-two,
.contact-form #submit-button .text-two span {
    color: #fff !important;
}

.btn-style-three .text-one,
.btn-style-three .text-one span,
.btn-style-three .text-two,
.btn-style-three .text-two span {
    color: #fff !important;
}

/* Replace legacy gold gradients and badges with the logo's blue/teal tones. */
.welcome-one_years::before,
.welcome-two_years::before,
.welcome-three_years::before,
.service-block_one.style-two .service-block_one-icon,
.welcome-two_learn-icon {
    background: linear-gradient(110deg, var(--qfk-teal), var(--qfk-blue));
}

.service-one.style-two::before,
.cta-one .inner-container {
    background: linear-gradient(110deg, var(--qfk-forest), var(--qfk-blue));
}

.helpline-widget .widget-content::before {
    background: linear-gradient(180deg, #dcefeb, #dfe9f7);
}

.popup-content {
    border-color: var(--qfk-blue);
}

.popup-content button,
.self-heading {
    color: #fff;
    background: var(--qfk-blue);
}

.self-color,
.self-list a:hover {
    color: var(--qfk-blue);
}

/* Neutralize warm legacy colors that are declared inside individual pages. */
.sec-title_title {
    color: var(--qfk-teal) !important;
    border-color: currentColor !important;
}

.class-one .sec-title_title {
    color: var(--qfk-teal-light) !important;
}

.event-detail,
.sidebar-widget.style-two.category-widget,
.accordian-outer {
    background-color: #f3f7fa !important;
}

.cta-two_icon,
.helpline-widget_phone {
    color: var(--qfk-forest) !important;
    background-color: #dcefeb !important;
}

.testimonial-two {
    background-color: #f4f8fa !important;
}

.testimonial-block_two-inner::before {
    background: #e4edf5 !important;
}

.testimonial-block_two-rating {
    border-color: #cbdce9 !important;
    background-color: #edf3f8 !important;
}

.institute-block_one-inner {
    background-color: #f4f8fa !important;
}

.institute-block_one-inner::before {
    background: linear-gradient(135deg, var(--qfk-teal), var(--qfk-blue)) !important;
}

.institute-block_one-icon {
    border-color: #a9c6db !important;
    color: #fff !important;
    background-color: var(--qfk-blue) !important;
}

.qfk-home .feature-block_one-inner {
    border-color: var(--qfk-line) !important;
    background-color: #f3f7fa !important;
}

.qfk-home .qfk-static-hero__feature-icon--orange img {
    filter: hue-rotate(178deg) saturate(0.85);
}

.thankyou-box::before {
    background: linear-gradient(90deg, var(--qfk-teal), var(--qfk-blue)) !important;
}

/* Keep the contact panel inside the same cool blue/teal visual system. */
.contact-info .inner-container {
    border: 1px solid #cbdce9;
    background: #eaf2f8;
}

.contact-info_text,
.contact-info_text span,
.contact-info_text a {
    color: var(--qfk-forest-dark) !important;
}

.btn-style-four .btn-wrap .text-one,
.btn-style-four .btn-wrap .text-two,
.btn-style-four .btn-wrap .text-one span,
.btn-style-four .btn-wrap .text-two span {
    color: #fff !important;
}

/* Home hero --------------------------------------------------------------- */
.qfk-home .qfk-static-hero,
.qfk-home .qfk-static-hero.slider-three {
    min-height: 640px;
    background: var(--qfk-cream);
}

.qfk-home .qfk-static-hero__slide.slider-three_banner-slide {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    border-bottom: 1px solid #dce7ee;
    background: var(--qfk-cream);
}

.qfk-home .qfk-static-hero__slide.slider-three_banner-slide::before {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: block;
    content: '';
    background:
        radial-gradient(circle at 8% 18%, rgba(57, 104, 178, 0.12), transparent 25%),
        linear-gradient(90deg, #f3f7fa 0%, #f3f7fa 45%, rgba(243, 247, 250, 0.93) 52%, rgba(243, 247, 250, 0) 68%);
}

.qfk-home .qfk-static-hero__slide.slider-three_banner-slide::after {
    position: absolute;
    z-index: 1;
    right: 17px;
    bottom: 17px;
    width: 46%;
    height: calc(100% - 34px);
    border: 1px solid rgba(10, 74, 62, 0.12);
    border-radius: 30px;
    content: '';
    background-image: url('../images/main-slider.webp');
    background-position: 88% center;
    background-size: cover;
    box-shadow: var(--qfk-shadow-lg);
    pointer-events: none;
}

.qfk-home .qfk-static-hero__slide.slider-three_banner-slide .slider-three_banner-image {
    position: absolute;
    z-index: 1;
    top: 18px;
    right: 18px;
    bottom: auto;
    left: auto;
    width: 46%;
    height: calc(100% - 36px);
    border-radius: 28px;
    object-fit: cover;
    object-position: 88% center;
    opacity: 0;
}

.qfk-home .qfk-static-hero__slide .auto-container,
.qfk-home .qfk-static-hero__slide .row,
.qfk-home .qfk-static-hero__slide .slider-three_content {
    min-height: 640px;
}

.qfk-home .qfk-static-hero__slide .slider-three_content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
}

.qfk-home .qfk-static-hero__slide .slider-three_content-inner {
    width: 100%;
    max-width: 610px;
    padding: 42px 0 34px;
}

.qfk-home .qfk-static-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border: 1px solid rgba(10, 74, 62, 0.14);
    border-radius: 999px;
    color: var(--qfk-forest);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 8px 24px rgba(20, 54, 45, 0.05);
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
}

.qfk-home .qfk-static-hero__badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--qfk-amber);
}

.qfk-home .qfk-static-hero__title,
.qfk-home .qfk-static-hero h1.qfk-static-hero__title {
    max-width: 570px;
    margin: 20px 0 10px;
    color: var(--qfk-ink);
    font-family: 'Lexend', sans-serif;
    font-size: clamp(45px, 4.55vw, 64px);
    font-weight: 750;
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.qfk-home .qfk-static-hero h2.qfk-static-hero__subtitle {
    margin: 0 0 13px;
    color: var(--qfk-forest);
    font-family: 'Lexend', sans-serif;
    font-size: clamp(21px, 2vw, 28px);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.25;
}

.qfk-home .qfk-static-hero__subtitle-accent {
    color: var(--qfk-blue);
}

.qfk-home .qfk-static-hero__text {
    max-width: 565px;
    margin-bottom: 21px;
    color: #52645e;
    font-size: 16px;
    line-height: 1.7;
}

.qfk-home .qfk-static-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-bottom: 22px;
}

.qfk-home .qfk-static-hero__btn {
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
}

.qfk-home .qfk-static-hero__btn--primary {
    border: 1px solid var(--qfk-amber-dark);
    color: #fff;
    background: var(--qfk-amber);
    box-shadow: 0 10px 24px rgba(41, 79, 141, 0.24);
}

.qfk-home .qfk-static-hero__btn--primary:hover {
    border-color: var(--qfk-forest);
    color: #fff;
    background: var(--qfk-forest);
}

.qfk-home .qfk-static-hero__btn--whatsapp {
    border: 1px solid rgba(10, 74, 62, 0.22);
    color: var(--qfk-forest);
    background: #fff;
}

.qfk-home .qfk-static-hero__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    max-width: 575px;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.qfk-home .qfk-static-hero__feature {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 54px;
    padding: 8px 10px;
    border: 1px solid rgba(10, 74, 62, 0.1);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.76);
}

.qfk-home .qfk-static-hero__feature-icon {
    display: grid;
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    padding: 5px;
    place-items: center;
    border-radius: 9px;
    background: #fff;
}

.qfk-home .qfk-static-hero__feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qfk-home .qfk-static-hero__feature-text {
    min-width: 0;
    color: #2b423a;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
}

.qfk-home .qfk-static-hero__feature--mobile-only {
    display: none;
}

.qfk-home .qfk-static-hero__trust {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.qfk-home .qfk-static-hero__trust-label {
    color: #617069;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.qfk-home .qfk-static-hero__flags {
    display: flex;
    gap: 10px;
}

.qfk-home .qfk-static-hero__flag-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.qfk-home .qfk-static-hero__flag {
    width: 25px;
    height: 25px;
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 3px 9px rgba(20, 54, 45, 0.12);
}

.qfk-home .qfk-static-hero__flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qfk-home .qfk-static-hero__flag-name {
    color: #41544d;
    font-size: 12px;
    font-weight: 600;
}

/* Four-step strip --------------------------------------------------------- */
.qfk-home .featured-one {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding: 72px 0 82px;
    background: linear-gradient(180deg, #f3f7fa 0%, #ffffff 100%);
}

.qfk-home .featured-one_header {
    max-width: 720px;
    margin: 0 auto 38px;
    text-align: center;
}

.qfk-home .featured-one_eyebrow {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--qfk-teal);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.qfk-home .featured-one_header h2 {
    margin: 0;
    color: var(--qfk-ink);
    font-size: clamp(34px, 3.4vw, 48px);
    font-weight: 750;
    letter-spacing: -0.04em;
    line-height: 1.14;
}

.qfk-home .featured-one_header p {
    max-width: 650px;
    margin: 14px auto 0;
    color: var(--qfk-copy);
    font-size: 16px;
    line-height: 1.7;
}

.qfk-home .featured-one .inner-container {
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none;
}

.qfk-home .featured-one .row {
    row-gap: 24px;
}

.qfk-home .feature-block_one {
    position: relative;
    display: flex;
    margin-bottom: 0;
}

.qfk-home .feature-block_one::after,
.qfk-home .feature-block_one:not(:last-child)::after,
.qfk-home .feature-block_one:nth-child(odd)::after {
    display: none;
}

.qfk-home .feature-block_one-inner {
    position: relative;
    width: 100%;
    min-height: 230px;
    padding: 112px 24px 27px;
    overflow: hidden;
    border: 1px solid #d5e2ea !important;
    border-radius: 18px;
    color: var(--qfk-copy);
    background: #fff !important;
    box-shadow: 0 14px 34px rgba(18, 56, 75, 0.08);
    text-align: left;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.qfk-home .feature-block_one-inner::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    content: '';
    background: linear-gradient(90deg, var(--qfk-teal), var(--qfk-blue));
}

.qfk-home .feature-block_one-inner:hover {
    border-color: #afc9da !important;
    box-shadow: 0 20px 44px rgba(18, 56, 75, 0.13);
    transform: translateY(-5px);
}

.qfk-home .feature-block_one-inner::after {
    position: absolute;
    top: 22px;
    right: 22px;
    color: rgba(18, 56, 75, 0.14);
    font-size: 30px;
    font-weight: 750;
    line-height: 1;
}

.qfk-home .feature-block_one:nth-child(1) .feature-block_one-inner::after { content: '01'; }
.qfk-home .feature-block_one:nth-child(2) .feature-block_one-inner::after { content: '02'; }
.qfk-home .feature-block_one:nth-child(3) .feature-block_one-inner::after { content: '03'; }
.qfk-home .feature-block_one:nth-child(4) .feature-block_one-inner::after { content: '04'; }

.qfk-home .feature-block_one-icon {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 72px;
    height: 72px;
    padding: 12px;
    border: 1px solid #c8dce8;
    border-radius: 18px;
    background: #eaf2f8;
    filter: hue-rotate(178deg) saturate(0.88);
    object-fit: contain;
}

.qfk-home .feature-block_one-inner h3 {
    margin: 0 0 10px;
    color: var(--qfk-ink);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.qfk-home .feature-block_one-inner p {
    margin: 0;
    color: var(--qfk-copy);
    font-size: 15px;
    line-height: 1.65;
}

/* Welcome ----------------------------------------------------------------- */
.qfk-home .welcome-three {
    padding: 110px 0 92px;
    background: #fff;
}

.qfk-home .welcome-three_pattern,
.qfk-home .welcome-three_pattern-two {
    opacity: 0.1;
}

.qfk-home .welcome-three .row {
    align-items: center;
}

.qfk-home .welcome-three_image-column {
    order: 1;
}

.qfk-home .welcome-three_content-column {
    order: 2;
}

.qfk-home .welcome-three_image-outer {
    min-height: 640px;
    padding-right: 44px;
}

.qfk-home .welcome-three_image {
    width: calc(100% - 55px);
    height: 590px;
    overflow: hidden;
    border: 9px solid #fff;
    border-radius: 28px;
    box-shadow: var(--qfk-shadow-lg);
}

.qfk-home .welcome-three_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qfk-home .welcome-three_image-two {
    right: 0;
    bottom: 0;
    width: 245px;
    height: 280px;
    overflow: hidden;
    border: 8px solid #fff;
    border-radius: 22px;
    box-shadow: var(--qfk-shadow-lg);
}

.qfk-home .welcome-three_image-two img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qfk-home .welcome-three_dots,
.qfk-home .welcome-three_dots-two {
    opacity: 0.17;
}

.qfk-home .welcome-three_content-outer {
    max-width: 590px;
    padding-left: 32px;
}

.qfk-home .welcome-three .sec-title {
    margin-bottom: 21px;
}

.qfk-home .welcome-three .sec-title_title img {
    max-width: 120px;
    opacity: 0.55;
}

.qfk-home .welcome-three .sec-title_heading {
    font-size: clamp(36px, 3.5vw, 50px);
}

.qfk-home .welcome-three_years {
    display: inline-flex !important;
    gap: 9px;
    margin-bottom: 18px;
    padding: 9px 14px;
    border: 1px solid #d8e9e1;
    border-radius: 999px;
    color: var(--qfk-forest);
    background: var(--qfk-forest-soft);
    font-size: 13px;
    font-weight: 650;
}

/* Replace the old full-width ribbon with a compact, high-contrast badge. */
.welcome-two_years {
    right: auto !important;
    bottom: 18px !important;
    left: 18px !important;
    display: inline-flex !important;
    width: auto !important;
    max-width: calc(100% - 36px);
    gap: 9px !important;
    padding: 10px 16px !important;
    border: 1px solid #cfe2df;
    border-radius: 999px;
    color: var(--qfk-forest-dark) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 10px 26px rgba(11, 41, 56, 0.14);
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.4;
}

.welcome-two_years::before,
.qfk-home .welcome-three_years::before {
    display: none !important;
    content: none !important;
}

.welcome-two_years span,
.qfk-home .welcome-three_years span {
    color: var(--qfk-blue) !important;
}

/* The Trustpilot artwork uses a white wordmark, so it needs a dark surface. */
.trustpilot-logo--brand {
    margin-top: 0;
    text-align: center;
}

.trustpilot-logo--brand a {
    display: inline-flex;
    padding: 16px 20px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(131, 200, 187, 0.32);
    border-radius: 16px;
    background: linear-gradient(145deg, var(--qfk-forest), var(--qfk-forest-dark));
    box-shadow: 0 16px 38px rgba(11, 41, 56, 0.16);
    line-height: 0;
}

.trustpilot-logo--brand img {
    display: block;
    width: 210px;
    max-width: 100%;
    height: auto;
    opacity: 1;
}

.qfk-home .welcome-three_text {
    margin-bottom: 13px;
    color: #586961;
    font-size: 15px;
    line-height: 1.75;
}

.qfk-home .welcome-three_button {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

.scholar-detail_play,
.scholar-detail_play.highlight-video {
    position: static !important;
    inset: auto !important;
    display: inline-flex;
    width: auto !important;
    max-width: 100%;
    min-height: 58px;
    padding: 5px 18px 5px 5px;
    align-items: center;
    gap: 11px;
    border: 1px solid #cddde8;
    border-radius: 999px;
    color: var(--qfk-ink);
    background: #fff;
    box-shadow: 0 9px 24px rgba(18, 56, 75, 0.09);
    font-family: 'Lexend', sans-serif;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.scholar-detail_play i,
.scholar-detail_play.highlight-video i {
    display: inline-grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    padding: 0 0 0 2px;
    place-items: center;
    border-radius: 50%;
    color: #fff !important;
    background: var(--qfk-blue) !important;
    box-shadow: 0 0 0 5px rgba(57, 104, 178, 0.12);
    font-size: 13px;
    line-height: 1;
    animation: none !important;
}

.scholar-detail_play span,
.scholar-detail_play.highlight-video span {
    margin: 0;
    color: var(--qfk-ink) !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
}

.scholar-detail_play:hover,
.scholar-detail_play:focus-visible {
    border-color: #9bbbd1;
    color: var(--qfk-ink);
    box-shadow: 0 13px 30px rgba(18, 56, 75, 0.14);
    transform: translateY(-2px);
}

.scholar-detail_play:hover i,
.scholar-detail_play:focus-visible i {
    background: var(--qfk-forest) !important;
}

.price-one .welcome-three_button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.price-one .welcome-three_button .scholar-detail_play {
    margin-right: auto;
    margin-left: auto;
}

/* Courses ----------------------------------------------------------------- */
.qfk-home .courses-one.style-two {
    margin-top: 0;
    padding: 90px 0 82px;
    background-color: #edf6f2 !important;
    background-image: none !important;
}

.qfk-home .courses-one .sec-title_title {
    color: var(--qfk-forest);
}

.qfk-home .courses-one .sec-title_heading,
.qfk-home .courses-one .sec-title_heading[style] {
    color: var(--qfk-ink) !important;
}

.qfk-home .course-block_two {
    margin-bottom: 28px;
}

.qfk-home .course-block_two-inner {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(10, 74, 62, 0.1);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--qfk-shadow-sm);
}

.qfk-home .course-block_two-inner:hover {
    border-color: rgba(10, 74, 62, 0.24);
    box-shadow: var(--qfk-shadow-lg);
    transform: translateY(-5px);
}

.qfk-home .course-block_two-image {
    height: 208px;
    overflow: hidden;
    background: var(--qfk-forest);
}

.qfk-home .course-block_two-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.qfk-home .course-block_two-inner:hover .course-block_two-image img {
    transform: scale(1.045);
}

.qfk-home .course-block_two-content {
    position: relative;
    height: 280px;
    padding: 27px 24px 23px;
}

.qfk-home .course-block_two-heading {
    padding-right: 34px;
    font-size: 20px;
    line-height: 1.35;
}

.qfk-home .course-block_two-heading a {
    color: var(--qfk-ink);
}

.qfk-home .course-block_two-content p {
    color: #65756e;
    font-size: 14px;
    line-height: 1.65;
}

.qfk-home .course-block_two-icon {
    top: 25px;
    right: 21px;
    width: 31px;
    opacity: 0.5;
}

.qfk-home .course-block_one-study {
    color: var(--qfk-forest);
    border-bottom-color: var(--qfk-amber);
    font-size: 13px;
    font-weight: 700;
}

.qfk-home .home-view-all-wrap .theme-btn {
    border-color: var(--qfk-forest);
    color: #fff;
    background: var(--qfk-forest);
    box-shadow: 0 10px 24px rgba(10, 74, 62, 0.18);
}

/* Why study --------------------------------------------------------------- */
.qfk-home .institute-one {
    padding: 90px 0 72px;
    color: #fff;
    background: var(--qfk-forest-dark);
}

.qfk-home .institute-one .sec-title_title {
    color: var(--qfk-teal-light) !important;
}

.qfk-home .institute-one .sec-title_heading {
    color: #fff;
}

.qfk-home .institute-block_one {
    margin-bottom: 24px;
}

.qfk-home .institute-block_one-inner {
    min-height: 235px;
    padding: 28px 24px 25px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.055) !important;
    box-shadow: none;
}

.qfk-home .institute-block_one-inner::before {
    display: none;
}

.qfk-home .institute-block_one-inner:hover {
    border-color: rgba(131, 200, 187, 0.55);
    background: rgba(255, 255, 255, 0.085) !important;
    box-shadow: 0 18px 38px rgba(2, 26, 21, 0.2);
    transform: translateY(-4px);
}

.qfk-home .institute-block_one-icon {
    width: 66px;
    height: 66px;
    padding: 12px;
    border: 1px solid rgba(131, 200, 187, 0.55);
    background: var(--qfk-amber);
}

.qfk-home .institute-block_one-heading {
    margin-top: 20px;
    font-size: 20px;
    line-height: 1.35;
}

.qfk-home .institute-block_one-heading a,
.qfk-home .institute-block_one-inner:hover .institute-block_one-heading a {
    color: #fff;
}

.qfk-home .institute-block_one-text,
.qfk-home .institute-block_one-inner:hover .institute-block_one-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.65;
}

.qfk-home .institute-block_one-bismillah {
    opacity: 0.08;
}

/* Pricing ----------------------------------------------------------------- */
.qfk-home .price-one {
    padding: 92px 0 82px;
    background: var(--qfk-cream);
}

.qfk-home .price-block_one {
    margin-bottom: 24px;
}

.qfk-home .price-block_one-inner {
    min-height: 430px;
    padding: 32px 25px 28px;
    border: 1px solid var(--qfk-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--qfk-shadow-sm);
}

.qfk-home .price-block_one:nth-child(2) .price-block_one-inner {
    border: 2px solid var(--qfk-amber);
    box-shadow: 0 22px 48px rgba(41, 79, 141, 0.16);
    transform: translateY(-8px);
}

.qfk-home .price-block_one-heading {
    color: var(--qfk-ink);
    font-size: 21px;
}

.qfk-home .price-block_one-price {
    color: var(--qfk-forest);
    font-family: 'Lexend', sans-serif;
}

.qfk-home .price-block_one-button a {
    border-radius: 10px;
}

/* Testimonials ------------------------------------------------------------ */
.qfk-home .testimonial-two {
    padding: 90px 0 96px;
    background-color: #fff !important;
    background-image: none !important;
}

.qfk-home .testimonial-block_two-inner {
    min-height: 310px;
    padding: 28px;
    border: 1px solid var(--qfk-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--qfk-shadow-sm);
}

.qfk-home .testimonial-block_two-text {
    color: #586a62;
}

.qfk-home .testimonial-block_two-author {
    color: var(--qfk-ink);
    font-family: 'Lexend', sans-serif;
}

/* Videos ------------------------------------------------------------------ */
.qfk-home .class-one {
    padding: 88px 0 82px;
    background-color: var(--qfk-forest-dark) !important;
    background-blend-mode: multiply;
}

.qfk-home .class-one .sec-title_title {
    color: var(--qfk-teal-light) !important;
}

.qfk-home .class-one .sec-title_heading,
.qfk-home .class-one .video-sec {
    color: #fff !important;
    font-family: 'Lexend', sans-serif;
}

.qfk-home .class-one .video-sec {
    font-size: clamp(34px, 3.2vw, 48px);
    font-weight: 700;
    line-height: 1.15;
}

.qfk-home .class-block_one {
    margin-bottom: 26px;
}

.qfk-home .class-block_one-inner {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.qfk-home .class-block_one-image {
    overflow: hidden;
}

.qfk-home .class-block_one-image img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.qfk-home .class-block_one-content {
    padding: 22px 21px 20px;
}

.qfk-home .class-block_one-heading {
    font-size: 19px;
}

.qfk-home .class-block_one-heading a {
    color: var(--qfk-ink);
}

.qfk-home .class-block_one-list a {
    color: var(--qfk-forest);
}

/* FAQ and platforms ------------------------------------------------------- */
.qfk-home .faq-one {
    padding: 92px 0 88px;
    background: #f7faf8;
}

.qfk-home .faq-one > .auto-container > h3 {
    max-width: 770px;
    margin: 0 auto 44px;
    color: var(--qfk-ink);
    font-family: 'Lexend', sans-serif;
    font-size: clamp(33px, 3.1vw, 46px);
    font-weight: 700;
    line-height: 1.18;
    text-align: center;
}

.qfk-home .faq-one > .auto-container > h3 br {
    display: none;
}

.qfk-home .faq-one_accordian-column > h4 {
    margin-bottom: 22px;
    font-size: 20px;
}

.qfk-home .accordion-box_two .block {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--qfk-line);
    border-radius: 12px;
    background: #fff;
}

.qfk-home .accordion-box_two .block .acc-btn {
    padding: 16px 54px 16px 22px;
    color: var(--qfk-ink);
    font-family: 'Lexend', sans-serif;
    font-size: 15px;
    font-weight: 600;
}

.qfk-home .accordion-box_two .block .icon-outer {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.qfk-home .accordion-box_two .block .acc-btn.active {
    color: var(--qfk-forest);
    background: #eef7f3;
}

.qfk-home .accordion-box_two .block .content .text,
.qfk-home .accordion-box_two .block .content li {
    color: #576961;
}

.qfk-home .helpline-widget {
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: var(--qfk-forest);
    box-shadow: var(--qfk-shadow-lg);
}

.qfk-home .helpline-title,
.qfk-home .helpline-widget_number,
.qfk-home .helpline-widget_number span {
    color: #fff;
}

.helpline-widget {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(131, 200, 187, 0.28) !important;
    border-radius: 20px !important;
    background: linear-gradient(145deg, var(--qfk-forest), var(--qfk-forest-dark)) !important;
    box-shadow: 0 22px 52px rgba(11, 41, 56, 0.18) !important;
}

.helpline-widget .widget-content {
    display: flex;
    min-height: 455px;
    padding: 32px 30px 34px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.helpline-widget .widget-content::before {
    z-index: 0;
    top: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(131, 200, 187, 0.18), transparent 42%),
        linear-gradient(145deg, var(--qfk-forest), var(--qfk-forest-dark)) !important;
}

.helpline-widget .widget-content > * {
    position: relative;
    z-index: 1;
}

.helpline-widget .image {
    width: 116px;
    height: 116px;
    margin: 0 auto 24px;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.88);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 12px 30px rgba(2, 25, 36, 0.25);
    animation: none !important;
}

.helpline-widget .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.helpline-widget .helpline-title {
    max-width: 310px;
    margin: 0 auto;
    color: #fff !important;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.45;
}

.helpline-widget .helpline-widget_phone {
    width: 76px;
    height: 76px;
    margin-top: 24px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    color: var(--qfk-forest) !important;
    background: #e7f3f1 !important;
    box-shadow: 0 10px 24px rgba(2, 25, 36, 0.2);
    font-size: 30px;
    line-height: 74px;
}

.helpline-widget .helpline-widget_number {
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.45;
}

.helpline-widget .helpline-widget_number span {
    display: block;
    margin-top: 7px;
    color: #fff !important;
    font-size: 21px;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.qfk-home .news-two {
    padding: 82px 0 76px;
    background: #fff;
}

.qfk-home .news-block_two-inner {
    display: grid;
    min-height: 160px;
    overflow: hidden;
    place-items: center;
    border: 1px solid var(--qfk-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--qfk-shadow-sm);
}

.qfk-home .news-block_two-image img {
    width: 100%;
}

/* CTA and footer ---------------------------------------------------------- */
.cta-two .inner-container {
    padding: 31px 54px;
    border: 1px solid rgba(131, 200, 187, 0.5);
    border-radius: 18px;
    background: linear-gradient(110deg, var(--qfk-forest), var(--qfk-teal));
    box-shadow: var(--qfk-shadow-lg);
}

.cta-two_heading,
.cta-two_title {
    color: #fff;
    font-family: 'Lexend', sans-serif;
}

.main-footer {
    background: var(--qfk-forest-dark);
}

.main-footer .footer-logo {
    display: inline-flex;
    padding: 9px 11px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(3, 24, 34, 0.22);
}

.main-footer .footer-logo img {
    width: auto;
    height: 112px;
    object-fit: contain;
}

.footer-list li a,
.footer_list li,
.footer-text {
    font-size: 14.5px;
}

.thankyou-box .brand img {
    width: auto;
    max-width: 210px;
    height: auto;
}

.footer-title {
    color: #fff;
    font-family: 'Lexend', sans-serif;
}

/* Floating controls ------------------------------------------------------- */
.qfk-social-dock {
    display: none !important;
    top: auto !important;
    right: auto !important;
    bottom: 84px !important;
    left: 18px !important;
    gap: 8px !important;
    transform: none !important;
}

body:not(.qfk-past-hero):not(.qfk-no-hero) .qfk-social-dock {
    transform: translate3d(-12px, 0, 0) !important;
}

.qfk-social-dock__toggle {
    display: grid !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    place-items: center;
    border: 1px solid rgba(131, 200, 187, 0.8) !important;
    color: #fff !important;
    background: var(--qfk-forest) !important;
    box-shadow: var(--qfk-shadow-sm) !important;
}

.qfk-social-dock__list {
    position: absolute;
    bottom: 58px;
    left: 0;
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.qfk-social-dock.is-open .qfk-social-dock__list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.qfk-social-dock__link {
    width: 42px !important;
    height: 42px !important;
}

.qfk-chat-trigger {
    right: auto !important;
    bottom: 20px !important;
    left: 18px !important;
    display: flex !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--qfk-amber) !important;
    border-radius: 50% !important;
    color: #fff !important;
    background: var(--qfk-forest) !important;
    box-shadow: var(--qfk-shadow-sm) !important;
}

.qfk-chat-trigger i {
    color: #fff !important;
    font-size: 17px !important;
}

.qfk-chat-trigger__label {
    display: none !important;
}

/* Keep the chat control discoverable on every section, including the hero. */
body:not(.trial-popup-open) .qfk-chat-trigger {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
}

.qfk-right-floats {
    top: auto !important;
    right: 18px !important;
    bottom: 20px !important;
    width: auto !important;
    transform: none !important;
}

body:not(.qfk-past-hero):not(.qfk-no-hero) .qfk-right-floats {
    transform: translate3d(12px, 0, 0) !important;
}

.qfk-floating-trial.theme-btn.btn-style-four {
    display: none !important;
    width: auto !important;
    min-width: 108px !important;
    max-width: none !important;
    min-height: 42px;
    padding: 10px 15px !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: var(--qfk-amber) !important;
    font-size: 11px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.qfk-floating-trial__stack {
    display: block !important;
}

.qfk-floating-trial__label {
    writing-mode: horizontal-tb !important;
    transform: none !important;
}

.qfk-right-floats__contacts {
    width: 48px !important;
    gap: 9px !important;
}

.qfk-right-floats__contacts .sticky-contact-btn a {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
}

.qfk-right-floats__contacts .sticky-whatsapp i {
    font-size: 23px !important;
}

/* Popup polish ------------------------------------------------------------ */
.trial-popup__card {
    border: 1px solid rgba(10, 74, 62, 0.14) !important;
    border-radius: 18px !important;
    box-shadow: 0 28px 80px rgba(4, 36, 29, 0.24) !important;
}

.trial-popup__title {
    color: var(--qfk-ink) !important;
    font-family: 'Lexend', sans-serif !important;
    font-size: 22px !important;
}

.trial-popup__field,
.trial-popup__select-wrap select {
    border-radius: 9px !important;
    font-family: 'Lexend', sans-serif !important;
}

.trial-popup__btn {
    border-radius: 10px !important;
    color: #fff !important;
    background: var(--qfk-amber) !important;
    font-family: 'Lexend', sans-serif !important;
    font-weight: 700 !important;
}

/* Payment page ----------------------------------------------------------- */
.qfk-payment-page .service-detail {
    padding: 78px 0 72px;
    background: linear-gradient(180deg, #f3f7fa 0%, #fff 100%);
}

.qfk-payment-page .service-detail_content-outer {
    padding: 40px 42px;
    border-color: var(--qfk-line);
    background: #fff;
    box-shadow: var(--qfk-shadow-sm);
}

.qfk-payment-page .service-detail_lower-title:first-child {
    margin-bottom: 24px;
    color: var(--qfk-ink);
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.18;
}

.qfk-payment-page .service-detail_lower-title:not(:first-child) {
    margin: 28px 0 10px;
    color: var(--qfk-forest);
    font-size: 21px;
}

.qfk-payment-page .service-detail_content-outer p,
.qfk-payment-page .service-detail_list li {
    color: #52645e;
    font-size: 16px;
    line-height: 1.8;
}

.qfk-payment-page .payment-method_content {
    display: grid;
    min-height: 92px;
    padding: 16px;
    place-items: center;
    border-color: var(--qfk-line);
    background: #fff;
    box-shadow: 0 8px 22px rgba(20, 54, 45, 0.06);
}

.qfk-payment-page .payment-method_content img {
    width: auto;
    max-width: 100%;
    height: 50px;
    object-fit: contain;
}

.progress-wrap {
    background: #fff;
    box-shadow: 0 7px 20px rgba(20, 54, 45, 0.14);
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1199px) {
    .main-header.header-style-three .main-menu .navigation > li,
    .main-header .main-menu .navigation > li {
        margin-right: 18px;
    }

    .main-header.header-style-three .main-menu .navigation > li > a,
    .main-header .main-menu .navigation > li > a {
        font-size: 13px;
    }

    .header_button-box .btn-style-four {
        padding-right: 15px;
        padding-left: 15px;
    }

    .qfk-home .qfk-static-hero__slide.slider-three_banner-slide .slider-three_banner-image,
    .qfk-home .qfk-static-hero__slide.slider-three_banner-slide::after {
        width: 43%;
    }

    .qfk-home .qfk-static-hero__title,
    .qfk-home .qfk-static-hero h1.qfk-static-hero__title {
        font-size: 49px;
    }

    .qfk-home .welcome-three_content-outer {
        padding-left: 16px;
    }

    .qfk-home .course-block_two-content {
        height: 260px;
    }
}

@media (max-width: 991px) {
    .qfk-topbar {
        display: none;
    }

    .main-header.header-style-three,
    .main-header .header-upper,
    .main-header .header-upper .inner-container {
        min-height: 86px;
    }

    .main-header .header-upper .logo-box .logo img {
        height: 74px !important;
    }

    .main-header .mobile-nav-toggler {
        color: var(--qfk-forest);
    }

    .qfk-home .qfk-static-hero,
    .qfk-home .qfk-static-hero.slider-three,
    .qfk-home .qfk-static-hero__slide.slider-three_banner-slide,
    .qfk-home .qfk-static-hero__slide .auto-container,
    .qfk-home .qfk-static-hero__slide .row,
    .qfk-home .qfk-static-hero__slide .slider-three_content {
        min-height: 610px;
    }

    .qfk-home .qfk-static-hero__slide.slider-three_banner-slide .slider-three_banner-image,
    .qfk-home .qfk-static-hero__slide.slider-three_banner-slide::after {
        width: 42%;
    }

    .qfk-home .qfk-static-hero__slide .slider-three_content-inner {
        max-width: 540px;
    }

    .qfk-home .qfk-static-hero__title,
    .qfk-home .qfk-static-hero h1.qfk-static-hero__title {
        font-size: 45px;
    }

    .qfk-home .qfk-static-hero h2.qfk-static-hero__subtitle {
        font-size: 22px;
    }

    .qfk-home .feature-block_one::after,
    .qfk-home .feature-block_one:not(:last-child)::after,
    .qfk-home .feature-block_one:nth-child(odd)::after {
        display: none;
    }

    .qfk-home .welcome-three_image-outer {
        max-width: 650px;
        margin: 0 auto 55px;
    }

    .qfk-home .welcome-three_content-outer {
        max-width: 760px;
        margin: 0 auto;
        padding-left: 0;
    }

    .qfk-home .course-block_two-content {
        height: 255px;
    }
}

@media (max-width: 767px) {
    .auto-container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .welcome-two_years {
        bottom: 14px !important;
        left: 14px !important;
        max-width: calc(100% - 28px);
        padding: 9px 13px !important;
        font-size: 13px !important;
    }

    .trustpilot-logo--brand a {
        padding: 13px 16px;
        border-radius: 13px;
    }

    .trustpilot-logo--brand img {
        width: 180px;
    }

    .progress-wrap {
        display: none !important;
    }

    .accordion-box_two .block .acc-btn {
        padding-right: 58px !important;
    }

    .main-header .header-upper .logo-box .logo img {
        height: 70px !important;
    }

    .qfk-home .qfk-static-hero,
    .qfk-home .qfk-static-hero.slider-three,
    .qfk-home .qfk-static-hero__slide.slider-three_banner-slide,
    .qfk-home .qfk-static-hero__slide .auto-container,
    .qfk-home .qfk-static-hero__slide .row,
    .qfk-home .qfk-static-hero__slide .slider-three_content {
        min-height: auto;
    }

    .qfk-home .qfk-static-hero__slide.slider-three_banner-slide::before {
        z-index: 2;
        background:
            radial-gradient(circle at 8% 18%, rgba(57, 104, 178, 0.14), transparent 28%),
            linear-gradient(180deg, rgba(243, 247, 250, 0.98) 0%, rgba(243, 247, 250, 0.94) 58%, rgba(243, 247, 250, 0.82) 100%);
    }

    .qfk-home .qfk-static-hero__slide.slider-three_banner-slide .slider-three_banner-image {
        top: auto;
        right: 18px;
        bottom: 18px;
        left: 18px;
        width: calc(100% - 36px);
        height: 270px;
        border-radius: 22px;
        object-position: 90% center;
    }

    .qfk-home .qfk-static-hero__slide.slider-three_banner-slide::after {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        width: auto;
        height: auto;
        border: 0;
        border-radius: 0;
        opacity: 0.24;
        background-position: 86% center;
        box-shadow: none;
    }

    .qfk-home .qfk-static-hero__slide .slider-three_content-inner {
        max-width: 100%;
        padding: 36px 0 24px;
    }

    .qfk-home .qfk-static-hero__badge {
        padding: 7px 10px;
        font-size: 12px;
    }

    .qfk-home .qfk-static-hero__title,
    .qfk-home .qfk-static-hero h1.qfk-static-hero__title {
        max-width: 100%;
        margin-top: 18px;
        font-size: clamp(37px, 11vw, 48px);
        line-height: 1.04;
    }

    .qfk-home .qfk-static-hero h2.qfk-static-hero__subtitle {
        font-size: 21px;
    }

    .qfk-home .qfk-static-hero__text {
        font-size: 15px;
        line-height: 1.65;
    }

    .qfk-home .qfk-static-hero__ctas {
        display: grid;
        grid-template-columns: 1fr;
    }

    .qfk-home .qfk-static-hero__btn {
        width: 100%;
        justify-content: center;
    }

    .qfk-home .qfk-static-hero__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qfk-home .qfk-static-hero__feature,
    .qfk-home .qfk-static-hero__feature:nth-child(1),
    .qfk-home .qfk-static-hero__feature:nth-child(2),
    .qfk-home .qfk-static-hero__feature:nth-child(3),
    .qfk-home .qfk-static-hero__feature:nth-child(4),
    .qfk-home .qfk-static-hero__feature:last-child {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    .qfk-home .qfk-static-hero__feature-text {
        width: auto !important;
        flex: 1 1 auto !important;
    }

    .qfk-home .qfk-static-hero__feature-line {
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .qfk-home .qfk-static-hero__feature--mobile-only {
        display: flex;
    }

    .qfk-home .qfk-static-hero__trust {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .qfk-home .qfk-static-hero__flags {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .qfk-home .featured-one {
        margin-top: 0;
        padding: 56px 0 62px;
    }

    .qfk-home .featured-one .inner-container {
        padding: 0;
        border-radius: 0;
    }

    .qfk-home .featured-one_header {
        margin-bottom: 30px;
    }

    .qfk-home .featured-one_header h2 {
        font-size: 32px;
    }

    .qfk-home .featured-one_header p {
        font-size: 15px;
    }

    .qfk-home .feature-block_one::after,
    .qfk-home .feature-block_one:nth-child(odd)::after {
        display: none;
    }

    .qfk-home .feature-block_one-inner {
        min-height: 210px;
        padding: 108px 22px 25px;
    }

    .qfk-home .feature-block_one {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .qfk-home .feature-block_one-icon {
        top: 22px;
        left: 22px;
        width: 68px;
        height: 68px;
    }

    .qfk-home .feature-block_one-inner h3 {
        font-size: 19px;
    }

    .qfk-home .feature-block_one-inner p {
        font-size: 15px;
    }

    .helpline-widget .widget-content {
        min-height: 420px;
        padding: 28px 22px 30px;
    }

    .helpline-widget .image {
        width: 104px;
        height: 104px;
        margin-bottom: 21px;
    }

    .helpline-widget .helpline-title {
        font-size: 20px;
    }

    .helpline-widget .helpline-widget_number span {
        font-size: 20px;
    }

    .qfk-home .welcome-three {
        padding: 76px 0 65px;
    }

    .qfk-home .welcome-three_image-outer {
        min-height: 480px;
        padding-right: 22px;
    }

    .qfk-home .welcome-three_image {
        width: calc(100% - 25px);
        height: 440px;
        border-width: 6px;
        border-radius: 22px;
    }

    .qfk-home .welcome-three_image-two {
        width: 180px;
        height: 205px;
        border-width: 6px;
        border-radius: 17px;
    }

    .qfk-home .welcome-three .sec-title_heading {
        font-size: 34px;
    }

    .qfk-home .welcome-three_text {
        font-size: 15px;
    }

    .qfk-home .welcome-three_years + .welcome-three_text {
        display: block;
        overflow: visible;
        -webkit-line-clamp: unset;
    }

    .qfk-home .welcome-three_text + .welcome-three_text {
        display: block;
    }

    .qfk-courses-page .welcome-two_image-column {
        order: 1;
        margin-bottom: 32px;
    }

    .qfk-courses-page .welcome-two_content-column {
        order: 2;
        margin-bottom: 46px;
    }

    .qfk-payment-page .service-detail {
        padding: 56px 0;
    }

    .qfk-payment-page .service-detail_content-outer {
        padding: 28px 22px;
    }

    .qfk-payment-page .service-detail > .auto-container > .row:last-child > [class*='col-'] {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .qfk-home .courses-one.style-two,
    .qfk-home .institute-one,
    .qfk-home .price-one,
    .qfk-home .testimonial-two,
    .qfk-home .class-one,
    .qfk-home .faq-one,
    .qfk-home .news-two {
        padding-top: 68px;
        padding-bottom: 60px;
    }

    .qfk-home .course-block_two-image {
        height: 225px;
    }

    .qfk-home .course-block_two-content {
        height: auto;
        min-height: 245px;
    }

    .qfk-home .price-block_one:nth-child(2) .price-block_one-inner {
        transform: none;
    }

    .qfk-home .faq-one > .auto-container > h3 {
        margin-bottom: 34px;
        font-size: 31px;
    }

    .cta-two .inner-container {
        padding: 30px 24px;
        border-radius: 14px;
    }

    .qfk-right-floats {
        right: 12px !important;
        bottom: 12px !important;
    }

    .qfk-floating-trial.theme-btn.btn-style-four {
        min-width: 94px !important;
        min-height: 39px;
        padding: 9px 12px !important;
        font-size: 12px !important;
    }

    .qfk-right-floats__contacts {
        width: 44px !important;
    }

    .qfk-right-floats__contacts .sticky-contact-btn a {
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
    }

    .qfk-social-dock,
    .qfk-chat-trigger {
        left: 12px !important;
    }

    .qfk-chat-trigger {
        bottom: 12px !important;
        width: 44px !important;
        height: 44px !important;
    }

    .qfk-social-dock {
        bottom: 66px !important;
    }

    .qfk-social-dock__toggle {
        width: 44px !important;
        height: 44px !important;
    }

    .qfk-right-floats__contacts .sticky-contact-btn:last-child {
        display: none;
    }
}

@media (max-width: 420px) {
    .main-header.header-style-three .header_button-box {
        display: none !important;
    }

    .qfk-home .qfk-static-hero__title,
    .qfk-home .qfk-static-hero h1.qfk-static-hero__title {
        font-size: 38px;
    }

    .qfk-home .qfk-static-hero__flags {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 8px;
    }

    .qfk-home .welcome-three_image-outer {
        min-height: 410px;
    }

    .qfk-home .welcome-three_image {
        height: 375px;
    }

    .qfk-home .welcome-three_image-two {
        width: 150px;
        height: 175px;
    }

    .qfk-payment-page .service-detail > .auto-container > .row:last-child > [class*='col-'] {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

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

/* Final site-wide spacing and component rhythm --------------------------- */
section.welcome-two {
    padding-top: 76px;
    padding-bottom: 80px;
}

section.scholar-detail {
    padding-top: 76px;
}

section.event-detail.mt-60,
section.faq-one.mt-60 {
    margin-top: 0 !important;
}

section.event-detail {
    padding-top: 72px;
    padding-bottom: 72px;
}

section.courses-one.style-two {
    margin-top: 0;
    padding-top: 76px;
    padding-bottom: 68px;
}

section.faq-one {
    padding-top: 76px;
    padding-bottom: 72px;
}

section.service-detail {
    padding-top: 80px;
    padding-bottom: 80px;
}

.qfk-home .welcome-three {
    padding-top: 82px;
    padding-bottom: 78px;
}

.qfk-home .welcome-three_image-outer {
    min-height: 570px;
}

.qfk-home .welcome-three_image {
    height: 540px;
}

.price-one,
.qfk-home .price-one {
    padding-top: 76px;
    padding-bottom: 72px;
}

body:not(.qfk-home) .price-one {
    background: linear-gradient(180deg, #fff 0%, #f5f8fb 100%);
}

.price-one .sec-title {
    margin-bottom: 42px;
}

.price-one .top-rated_heading {
    max-width: 820px;
    margin: 8px auto 0;
    color: var(--qfk-copy);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.55;
}

.price-one #price-blocks {
    row-gap: 24px;
}

.price-one .price-block_one {
    margin-bottom: 0;
}

.price-one .price-block_one-inner,
.qfk-home .price-block_one-inner {
    min-height: 400px;
    padding: 30px 24px 27px;
    border: 1px solid var(--qfk-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(18, 56, 75, 0.08);
}

.price-one .price-block_one-inner:hover {
    border-color: #b8cfda;
    box-shadow: 0 20px 44px rgba(18, 56, 75, 0.13);
    transform: translateY(-4px);
}

.price-one .price-block_one-heading {
    color: var(--qfk-teal);
    font-size: 21px;
    text-transform: none;
}

.price-one .price-block_one-price {
    color: var(--qfk-forest);
    font-family: 'Lexend', sans-serif;
    font-size: 42px;
}

.price-one .price-block_one-price span {
    color: var(--qfk-copy);
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
}

.price-one .welcome-three_button {
    margin-top: 32px !important;
}

.cta-two .auto-container {
    max-width: 1280px;
}

.cta-two .inner-container,
.cta-two .inner-container.d-flex {
    display: grid !important;
    min-height: 154px;
    padding: 28px 38px;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    border: 1px solid rgba(131, 200, 187, 0.5);
    border-radius: 18px;
    background: linear-gradient(110deg, var(--qfk-forest), var(--qfk-teal));
    box-shadow: var(--qfk-shadow-lg);
}

.cta-two_bg {
    opacity: 0.16;
}

.cta-two_icon {
    z-index: 1;
    width: 88px;
    height: 88px;
    border-color: rgba(255, 255, 255, 0.52) !important;
    color: var(--qfk-forest) !important;
    background: #e4f2ef !important;
    font-size: 54px;
    line-height: 88px;
}

.cta-two_heading {
    z-index: 1;
    margin: 0;
    color: #fff;
    font-size: clamp(26px, 2.3vw, 34px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.cta-two_button {
    position: relative;
    z-index: 2;
}

.btn-style-three {
    min-width: 164px;
    border: 1px solid #4f7fc7;
    border-radius: 10px;
    color: #fff !important;
    background: var(--qfk-blue) !important;
    box-shadow: 0 10px 24px rgba(4, 29, 45, 0.2);
}

.btn-style-three::before {
    background: var(--qfk-forest-dark) !important;
}

.btn-style-three .text-one,
.btn-style-three .text-two {
    color: #fff !important;
}

@media (max-width: 767px) {
    section.welcome-two,
    section.scholar-detail,
    section.event-detail,
    section.courses-one.style-two,
    section.faq-one,
    section.service-detail,
    .qfk-home .welcome-three,
    .price-one,
    .qfk-home .price-one {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    section.welcome-two.pt-0 {
        padding-top: 0 !important;
    }

    section.welcome-two.pb-5 {
        padding-bottom: 48px !important;
    }

    .welcome-two_content-column,
    .qfk-courses-page .welcome-two_content-column {
        margin-bottom: 28px;
    }

    .qfk-courses-page .welcome-two_image-column {
        margin-bottom: 26px;
    }

    .sec-title {
        margin-bottom: 30px;
    }

    .sec-title_heading {
        font-size: clamp(30px, 9vw, 38px);
        line-height: 1.18;
    }

    .price-one .sec-title {
        margin-bottom: 32px;
    }

    .price-one .top-rated_heading {
        margin-top: 10px;
        font-size: 15px;
        line-height: 1.55;
    }

    .price-one #price-blocks {
        margin-right: -8px;
        margin-left: -8px;
        row-gap: 18px;
    }

    .price-one .price-block_one {
        padding-right: 8px;
        padding-left: 8px;
    }

    .price-one .price-block_one-inner,
    .qfk-home .price-block_one-inner {
        min-height: 350px;
        padding: 27px 20px 24px;
    }

    .price-one .welcome-three_button {
        margin-top: 26px !important;
    }

    .qfk-home .welcome-three_image-outer {
        min-height: 430px;
        margin-bottom: 38px;
    }

    .qfk-home .welcome-three_image {
        height: 400px;
    }

    .cta-two .inner-container,
    .cta-two .inner-container.d-flex {
        min-height: 0;
        padding: 28px 22px;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 17px;
        border-radius: 14px;
        text-align: center;
    }

    .cta-two_icon {
        width: 76px;
        height: 76px;
        font-size: 46px;
        line-height: 76px;
    }

    .cta-two_heading {
        margin: 0;
        font-size: 24px;
        line-height: 1.3;
    }

    .cta-two_heading br {
        display: none;
    }

    .cta-two_button,
    .btn-style-three {
        width: 100%;
    }

    .btn-style-three {
        padding: 15px 24px;
    }
}
.helpline-widget .helpline-widget_number a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 22px;
    border-radius: 10px;
    background: #3b6db7;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.helpline-widget .helpline-widget_number a:hover,
.helpline-widget .helpline-widget_number a:focus-visible {
    background: #294f8d;
    color: #ffffff;
    transform: translateY(-1px);
}
