/*
 * Qari for Kids visual refresh
 * Kept as an additive layer so the site's forms, API calls and JavaScript remain untouched.
 */

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/fa-brands-400.woff2') format('woff2'),
         url('../fonts/fa-brands-400.ttf') format('truetype');
}

:root {
    --main-color: rgb(20, 91, 73);
    --main-color-rgb: 20, 91, 73;
    --color-two: rgb(205, 157, 67);
    --color-two-rgb: 205, 157, 67;
    --color-three: rgb(27, 42, 36);
    --color-three-rgb: 27, 42, 36;
    --color-five: rgb(43, 67, 59);
    --color-five-rgb: 43, 67, 59;
    --color-seven: rgb(226, 184, 91);
    --color-seven-rgb: 226, 184, 91;
    --color-eight: rgb(239, 245, 241);
    --color-eight-rgb: 239, 245, 241;
    --color-nine: rgb(22, 39, 33);
    --color-nine-rgb: 22, 39, 33;
    --color-sixteen: rgb(250, 248, 242);
    --color-sixteen-rgb: 250, 248, 242;
    --color-thirty: rgb(16, 57, 49);
    --color-thirty-rgb: 16, 57, 49;
    --color-thirtyone: rgb(12, 46, 40);
    --color-thirtyone-rgb: 12, 46, 40;
    --font-family-Lexend: 'Inter', sans-serif;
    --qfk-ink: #162721;
    --qfk-muted: #65736d;
    --qfk-cream: #faf8f2;
    --qfk-line: #dde7e1;
    --qfk-gold: #cd9d43;
    --qfk-green: #145b49;
    --qfk-deep: #0d352e;
    --qfk-shadow: 0 18px 45px rgba(19, 58, 47, 0.09);
}

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

body {
    color: var(--qfk-muted);
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.sec-title_heading,
.page-title h2 {
    color: var(--qfk-ink);
    font-family: 'Lora', Georgia, serif;
    letter-spacing: -0.025em;
}

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

::selection {
    color: #fff;
    background: var(--qfk-green);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f3f0e9;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #b98e3d;
}

.auto-container {
    max-width: 1240px;
    padding-right: 24px;
    padding-left: 24px;
}

/* Header */
.main-header.header-style-three {
    min-height: 92px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(20, 91, 73, 0.11);
}

.main-header .header-upper {
    background: rgba(255, 255, 255, 0.97);
}

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

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

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

.main-header.header-style-three .main-menu .navigation > li > a,
.main-header .main-menu .navigation > li > a {
    padding: 35px 0;
    color: #243c34;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.main-header .main-menu .navigation > li {
    margin-right: 30px;
}

.main-header .main-menu .navigation > li > a::after {
    position: absolute;
    right: 50%;
    bottom: 25px;
    left: 50%;
    height: 2px;
    content: '';
    opacity: 0;
    background: var(--qfk-gold);
    transition: all 220ms ease;
}

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

.main-header .main-menu .navigation > li:hover > a::after,
.main-header .main-menu .navigation > li.current > a::after {
    right: 0;
    left: 0;
    opacity: 1;
}

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

.main-header .main-menu .navigation > li > ul > li {
    border-bottom-color: #edf1ee;
}

.main-header .main-menu .navigation > li > ul > li > a {
    border-radius: 6px;
    color: #42544d;
    font-size: 14px;
}

.main-header .main-menu .navigation > li > ul > li:hover > a {
    color: var(--qfk-green);
    background: #f1f6f3;
}

.header_button-box .btn-style-four {
    padding: 13px 23px;
    border-radius: 8px;
    box-shadow: 0 7px 18px rgba(205, 157, 67, 0.2);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.main-header.fixed-header .header-upper {
    border-bottom: 1px solid rgba(20, 91, 73, 0.09);
    box-shadow: 0 8px 26px rgba(20, 54, 44, 0.08);
}

.main-header.fixed-header .main-menu .navigation > li > a {
    padding: 29px 0;
}

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

.sec-title_title {
    color: var(--qfk-green);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.sec-title_heading {
    max-width: 780px;
    font-weight: 600;
    line-height: 1.15;
}

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

.btn-style-one,
.btn-style-four,
.course-block_one-study,
.course-block_two-study,
.news-block_one-more,
.news-block_three-more {
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.01em;
}

.btn-style-one {
    padding: 13px 27px;
    box-shadow: 0 8px 20px rgba(20, 91, 73, 0.16);
}

/* Home hero */
.qfk-static-hero {
    --qfk-hero-cream: #f8f5ed;
    --qfk-hero-green: var(--qfk-green);
    --qfk-hero-green-deep: var(--qfk-deep);
    --qfk-hero-orange: #d6a348;
    --qfk-hero-orange-dark: #b7832e;
    --qfk-hero-badge-bg: rgba(255, 255, 255, 0.72);
    --qfk-hero-badge-border: rgba(20, 91, 73, 0.18);
    --qfk-hero-heading: var(--qfk-ink);
    --qfk-hero-text: #596a63;
}

.qfk-static-hero__slide.slider-three_banner-slide {
    min-height: 690px;
    border-bottom: 1px solid #e5e1d8;
}

.qfk-static-hero__slide.slider-three_banner-slide::before {
    background: linear-gradient(90deg, rgba(248, 245, 237, 0.98) 0%, rgba(248, 245, 237, 0.91) 39%, rgba(248, 245, 237, 0.25) 68%, rgba(248, 245, 237, 0.03) 100%);
}

.qfk-static-hero__slide.slider-three_banner-slide .slider-three_content-inner {
    max-width: 650px;
    padding: 62px 0 54px;
}

.qfk-static-hero__badge {
    padding: 8px 13px;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(22, 56, 46, 0.05);
    letter-spacing: 0.025em;
}

.qfk-static-hero__title,
.qfk-static-hero h1.qfk-static-hero__title {
    margin-top: 18px;
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.03;
}

.qfk-static-hero h2.qfk-static-hero__subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.qfk-static-hero__text {
    max-width: 590px;
    font-size: 16px;
    line-height: 1.75;
}

.qfk-static-hero__btn {
    border-radius: 8px;
    box-shadow: none;
    font-family: 'Inter', sans-serif;
}

.qfk-static-hero__btn--primary {
    color: #172b24;
    box-shadow: 0 10px 22px rgba(183, 131, 46, 0.2);
}

.qfk-static-hero__btn--whatsapp {
    border-color: rgba(20, 91, 73, 0.26);
    background: rgba(255, 255, 255, 0.78);
}

.qfk-static-hero__features {
    padding: 14px 17px;
    border: 1px solid rgba(20, 91, 73, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 10px 28px rgba(22, 56, 46, 0.05);
}

.qfk-static-hero__feature-icon {
    border-radius: 8px;
}

.qfk-static-hero__feature-text,
.qfk-static-hero__flag-name {
    font-family: 'Inter', sans-serif;
}

.qfk-static-hero__trust {
    border-radius: 8px;
}

/* Four-step strip */
.featured-one {
    margin-top: -22px;
}

.featured-one .inner-container {
    padding: 28px 38px 5px;
    overflow: hidden;
    border: 1px solid rgba(221, 231, 225, 0.2);
    border-radius: 14px;
    background-color: var(--qfk-deep);
    background-blend-mode: soft-light;
    box-shadow: 0 20px 44px rgba(13, 53, 46, 0.17);
}

.feature-block_one-inner {
    min-height: 90px;
    padding: 17px 12px 0 86px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
}

.feature-block_one-icon {
    left: 0;
    width: 68px;
    height: 68px;
    padding: 12px;
    border: 1px solid rgba(226, 184, 91, 0.65);
    border-radius: 50%;
    background: #f1c76b;
}

.feature-block_one-inner:hover .feature-block_one-icon {
    transform: translateY(-3px);
}

/* Welcome */
.welcome-three {
    padding: 105px 0 25px;
}

.welcome-three_pattern,
.welcome-three_pattern-two {
    opacity: 0.22;
}

.welcome-three_image,
.welcome-three_image-two {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: var(--qfk-shadow);
}

.welcome-three_image img,
.welcome-three_image-two img,
.welcome-two_image img,
.scholar-detail_image img {
    width: 100%;
}

.welcome-three_image-outer::before,
.welcome-three_image::before {
    background-color: var(--qfk-green);
}

.welcome-three_content-outer {
    padding-left: 24px;
}

.welcome-three_years {
    display: inline-flex !important;
    padding: 12px 18px;
    border: 1px solid var(--qfk-line);
    border-radius: 8px;
    color: var(--qfk-green);
    background: #f6f9f7;
}

.welcome-three_years::before {
    display: none;
}

.welcome-three_text,
.welcome-two_content-outer p,
.scholar-detail p,
.event-detail p {
    color: #56675f;
    font-size: 15px;
    line-height: 1.8;
}

/* Courses */
.courses-one,
.courses-one.style-two {
    background-color: var(--qfk-deep);
    background-blend-mode: soft-light;
}

.courses-one.style-two {
    margin-top: 70px;
    padding: 65px 0 55px;
}

.courses-one .sec-title_title {
    color: #e4bb62;
}

.courses-one .sec-title_heading,
.courses-one .sec-title_heading[style] {
    color: #fff !important;
}

.course-block_two-inner,
.course-block_one-inner {
    border: 1px solid rgba(20, 91, 73, 0.1);
    border-radius: 12px;
    box-shadow: 0 13px 32px rgba(6, 28, 23, 0.14);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.course-block_two-inner:hover,
.course-block_one-inner:hover {
    box-shadow: 0 20px 38px rgba(5, 25, 21, 0.22);
    transform: translateY(-5px);
}

.course-block_two-image {
    overflow: hidden;
    background: var(--qfk-green);
}

.course-block_two-image img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.course-block_two-content {
    height: 285px;
    padding: 34px 28px 25px;
}

.course-block_two-heading {
    padding-right: 42px;
    font-size: 21px;
    line-height: 1.3;
}

.course-block_two-content p {
    color: #6b7772;
    line-height: 1.7;
}

.course-block_two-icon {
    top: 24px;
    right: 23px;
    width: 38px;
    opacity: 0.75;
}

.course-block_one-study {
    border-bottom: 1px solid var(--qfk-gold);
    border-radius: 0;
    color: var(--qfk-green);
    font-size: 13px;
    font-weight: 700;
    background: transparent;
}

.course-block_one-study:hover {
    color: #9a6c1d;
    background: transparent;
}

.home-view-all-wrap .theme-btn {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    box-shadow: none;
}

/* Feature and price cards */
.institute-one {
    padding: 90px 0 65px;
}

.institute-block_one-inner {
    padding: 32px 24px 27px;
    border: 1px solid var(--qfk-line);
    border-radius: 16px;
    background: #fbfaf6 !important;
    box-shadow: 0 9px 28px rgba(20, 54, 44, 0.04);
}

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

.institute-block_one-inner:hover {
    border-color: rgba(20, 91, 73, 0.32);
    box-shadow: var(--qfk-shadow);
    transform: translateY(-4px);
}

.institute-block_one-icon {
    width: 82px;
    height: 82px;
    padding: 15px;
    border: 1px solid #dcb45d;
    background: #f3cd77;
}

.institute-block_one-inner:hover .institute-block_one-heading a {
    color: var(--qfk-green);
}

.institute-block_one-inner:hover .institute-block_one-text {
    color: var(--qfk-muted);
}

.institute-block_one-heading {
    font-size: 20px;
}

.price-one {
    padding-top: 70px;
}

.price-block_one-inner {
    min-height: 420px;
    padding: 34px 25px 28px;
    border: 1px solid var(--qfk-line);
    border-radius: 14px;
    box-shadow: 0 14px 35px rgba(19, 58, 47, 0.07);
}

.price-block_one-inner:hover {
    border-color: rgba(20, 91, 73, 0.28);
    box-shadow: var(--qfk-shadow);
    transform: translateY(-4px);
}

.price-block_one-heading {
    font-size: 22px;
}

.price-block_one-price {
    color: var(--qfk-green);
    font-family: 'Lora', Georgia, serif;
}

.price-block_one-button .theme-btn,
.price-block_one-button a {
    border-radius: 8px;
}

/* Testimonials, class cards and articles */
.testimonial-two {
    padding: 75px 0 100px;
    background-color: #f7f4ec;
    background-blend-mode: soft-light;
}

.testimonial-section-subtext {
    color: var(--qfk-muted);
}

.testimonial-block_two-inner {
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--qfk-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(20, 54, 44, 0.06);
}

.testimonial-block_two-inner::before {
    display: none;
}

.testimonial-block_one-rating,
.testimonial-block_two-rating {
    padding: 7px 11px;
    border: 1px solid #eee3ca;
    border-radius: 6px;
    background: #fffaf0;
}

.testimonial-block_two-text {
    color: #5b6963;
}

.testimonial-block_two-author {
    font-family: 'Lora', Georgia, serif;
    font-size: 19px;
}

.testimonial-block_two-icon {
    opacity: 0.55;
}

.class-block_one-inner,
.news-block_one-inner,
.news-block_two-inner {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(19, 58, 47, 0.08);
}

.class-block_one-image img,
.news-block_one-image img,
.news-block_two-image img {
    width: 100%;
}

/* FAQ */
.faq-one {
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.accordion-box .block .acc-btn,
.accordion-box_two .block .acc-btn {
    color: var(--qfk-ink);
    font-weight: 600;
}

.accordion-box .block .acc-btn.active,
.accordion-box_two .block .acc-btn.active {
    color: var(--qfk-green);
    background: #f5f8f6;
}

.helpline-widget {
    border-radius: 14px;
    box-shadow: var(--qfk-shadow);
}

/* Inner pages */
.page-title {
    padding: 88px 0 82px;
    background-color: var(--qfk-deep);
    background-position: center;
    background-blend-mode: soft-light;
}

.page-title::before {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(90deg, rgba(9, 45, 38, 0.82), rgba(14, 64, 53, 0.55));
}

.page-title .auto-container {
    position: relative;
}

.page-title h1,
.page-title h2 {
    color: #fff;
    font-size: clamp(36px, 4vw, 55px);
    font-weight: 600;
}

.page-title .bread-crumb {
    padding: 7px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(5, 31, 26, 0.22);
}

.page-title .bread-crumb li,
.page-title .bread-crumb li a {
    font-size: 13px;
}

.welcome-two_image,
.scholar-detail_image {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--qfk-shadow);
}

.event-detail {
    background: #faf9f5;
}

.event-detail_heading::after,
.organiser-title::after {
    background: var(--qfk-gold);
}

.event-detail_list li::before {
    color: var(--qfk-green);
}

.organiser-widget,
.service-detail_content-outer {
    border: 1px solid var(--qfk-line);
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(19, 58, 47, 0.06);
}

.contact-info .inner-container {
    border-radius: 14px;
    background: #f1d38d;
    box-shadow: var(--qfk-shadow);
}

.contact-info_text {
    color: #40564e;
}

.contact-form #submit-button .text-one,
.contact-form #submit-button .text-one span {
    color: #18352d !important;
}

.contact-form #submit-button .text-two,
.contact-form #submit-button .text-two span {
    color: #fff !important;
}

.contact-info_icon {
    color: var(--qfk-green);
}

/* Shared course-detail benefit lists previously used a bright green that
   made white copy difficult to read. */
.self-list li {
    color: #fff;
    background-color: #0f704f;
}

.self-list a,
.self-list a:visited {
    color: #fff;
}

.thankyou-box h2 {
    color: #145b49 !important;
}

.thankyou-box .back-btn {
    color: #fff;
    background: #145b49;
    box-shadow: 0 9px 22px rgba(20, 91, 73, 0.18);
}

.thankyou-box .back-btn:hover {
    color: #fff;
    background: #0d4035;
}

.contact-form .form-group input[type='email'],
.contact-form .form-group input[type='password'],
.contact-form .form-group input[type='tel'],
.contact-form .form-group input[type='text'],
.contact-form .form-group select,
.contact-form .form-group textarea,
.course-comment_form .form-group input[type='email'],
.course-comment_form .form-group input[type='password'],
.course-comment_form .form-group input[type='tel'],
.course-comment_form .form-group input[type='text'],
.course-comment_form .form-group select,
.course-comment_form .form-group textarea {
    border: 1px solid #d8e1dc;
    border-radius: 8px;
    background: #fbfcfb;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.contact-form .form-group select:focus,
.course-comment_form .form-group input:focus,
.course-comment_form .form-group textarea:focus,
.course-comment_form .form-group select:focus {
    border-color: var(--qfk-green);
    box-shadow: 0 0 0 3px rgba(20, 91, 73, 0.09);
}

/* Call to action and footer */
.cta-two .inner-container {
    padding: 30px 62px 27px;
    border: 1px solid rgba(235, 199, 120, 0.5);
    border-radius: 14px;
    background: var(--qfk-green);
    box-shadow: 0 20px 45px rgba(13, 53, 46, 0.18);
}

.cta-two_heading,
.cta-two_title {
    color: #fff;
}

.cta-two_icon {
    border-color: rgba(255, 255, 255, 0.45);
    background: #edc66f;
}

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

.main-footer .footer_bg-image,
.main-footer .footer_bottom-bg {
    opacity: 0.35;
    background-blend-mode: soft-light;
}

.main-footer .inner-container {
    padding-bottom: 45px;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
}

.footer-list li a,
.footer_list li,
.footer-text {
    color: rgba(255, 255, 255, 0.73);
}

.footer-list li a:hover,
.footer-nav li a:hover {
    color: #ebc56e;
}

.footer_socials a {
    width: 43px;
    height: 43px;
    line-height: 43px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.footer_socials a:hover {
    color: var(--qfk-deep);
    background: #ebc56e;
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 26px 0;
}

/* Floating utilities */
.qfk-floating-trial,
.qfk-chat-trigger,
.qfk-social-dock__toggle,
.sticky-contact-icon {
    box-shadow: 0 10px 28px rgba(15, 53, 44, 0.2);
}

.qfk-chat-trigger,
.qfk-social-dock__toggle {
    background: var(--qfk-green);
}

.progress-wrap {
    border-color: rgba(20, 91, 73, 0.2);
    background: #fff;
}

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

    .main-header .header-upper .logo-box {
        padding-right: 16px;
    }

    .header_button-box .btn-style-four {
        padding: 12px 16px;
    }

    .feature-block_one-inner {
        padding-right: 0;
        padding-left: 76px;
    }
}

@media (max-width: 991px) {
    .main-header.header-style-three,
    .main-header .header-upper .inner-container {
        min-height: 82px;
    }

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

    .main-header .header-upper .logo-box {
        padding-left: 0;
    }

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

    .mobile-menu .menu-box {
        background: #f9f7f1;
    }

    .main-header .mobile-menu .navigation li > a {
        color: #243c34;
        border-bottom-color: #dfe7e2;
    }

    .welcome-three_content-outer {
        padding-left: 0;
    }

    .featured-one {
        margin-top: 18px;
    }

    .featured-one .inner-container {
        padding-right: 25px;
        padding-left: 25px;
    }
}

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

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

    .sec-title_heading {
        font-size: 32px;
        line-height: 1.2;
    }

    .qfk-static-hero__slide.slider-three_banner-slide {
        min-height: auto;
    }

    .qfk-static-hero__slide.slider-three_banner-slide::before {
        background: rgba(248, 245, 237, 0.92);
    }

    .qfk-static-hero__slide.slider-three_banner-slide .slider-three_content-inner {
        padding: 42px 0 38px;
    }

    .qfk-static-hero h2.qfk-static-hero__subtitle,
    .qfk-static-hero__text {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .qfk-static-hero__features {
        padding: 12px;
    }

    .featured-one .inner-container {
        padding: 24px 18px 2px;
        border-radius: 10px;
    }

    .feature-block_one-inner {
        min-height: 76px;
        padding: 9px 4px 0 70px;
    }

    .feature-block_one-icon {
        width: 56px;
        height: 56px;
        padding: 10px;
    }

    .welcome-three {
        padding-top: 75px;
    }

    .courses-one.style-two,
    .institute-one,
    .testimonial-two,
    .faq-one {
        padding-top: 65px;
        padding-bottom: 55px;
    }

    .courses-one.style-two {
        margin-top: 45px;
    }

    .course-block_two-content {
        height: auto;
        min-height: 270px;
    }

    .page-title {
        padding: 65px 0 60px;
    }

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

    .main-footer .inner-container {
        padding-top: 145px;
    }
}

@media (max-width: 575px) {
    .main-header .header-upper .inner-container > .d-flex {
        flex-wrap: nowrap !important;
    }

    .main-header.header-style-three .header_button-box {
        display: none !important;
    }

    .main-header.header-style-three .outer-box {
        flex: 0 0 auto;
        margin-left: auto;
    }

    .main-header .mobile-nav-toggler {
        display: block !important;
        margin-left: 0;
        color: var(--qfk-green);
    }

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

@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;
    }
}

/* ========================================================================
   Stronger home-page direction
   A split editorial layout intentionally separates this build from the
   original full-width template while preserving its content and actions.
   ======================================================================== */

/* Content must never depend on animation JavaScript to remain readable. */
.wow,
.wow[style*='visibility'] {
    visibility: visible !important;
}

.qfk-home .wow,
.qfk-home .qfk-static-hero__badge,
.qfk-home .qfk-static-hero__title-line-inner,
.qfk-home .qfk-static-hero__subtitle,
.qfk-home .qfk-static-hero__text,
.qfk-home .qfk-static-hero__ctas,
.qfk-home .qfk-static-hero__feature,
.qfk-home .qfk-static-hero__trust {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Slim utility bar */
.qfk-topbar {
    color: rgba(255, 255, 255, 0.82);
    background: #0b3e34;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 0.015em;
}

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

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

.qfk-topbar__message,
.qfk-topbar__links {
    gap: 18px;
}

.qfk-topbar__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e5b655;
    box-shadow: 0 0 0 4px rgba(229, 182, 85, 0.14);
}

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

.qfk-topbar__links a:hover {
    color: #f0ca76;
}

.qfk-topbar__links i {
    margin-right: 6px;
    color: #e5b655;
}

/* Split hero */
.qfk-home .qfk-static-hero,
.qfk-home .qfk-static-hero.slider-three {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: hidden;
    background: #f7f3e9;
}

.qfk-home .qfk-static-hero__slide.slider-three_banner-slide {
    min-height: 735px;
    padding: 0;
    border: 0;
    background:
        radial-gradient(circle at 9% 18%, rgba(205, 157, 67, 0.12) 0 2px, transparent 3px) 0 0 / 27px 27px,
        linear-gradient(135deg, #fbf8f0 0%, #f5f0e4 100%);
}

.qfk-home .qfk-static-hero__slide.slider-three_banner-slide::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 41%;
    background: #123f35;
    clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%);
}

.qfk-home .qfk-static-hero__slide.slider-three_banner-slide .slider-three_banner-image {
    top: 54px;
    right: max(28px, calc((100vw - 1240px) / 2));
    bottom: auto;
    left: auto;
    width: min(45vw, 600px);
    height: 625px;
    border: 7px solid rgba(255, 255, 255, 0.88);
    border-radius: 70px 10px 70px 10px;
    object-fit: cover;
    object-position: 67% center;
    box-shadow: 0 28px 65px rgba(7, 43, 35, 0.28);
    z-index: 2;
}

.qfk-home .qfk-static-hero__slide.slider-three_banner-slide .auto-container {
    max-width: 1240px;
}

.qfk-home .qfk-static-hero__slide.slider-three_banner-slide .slider-three_content {
    max-width: 650px;
    flex: 0 0 55%;
}

.qfk-home .qfk-static-hero__slide.slider-three_banner-slide .slider-three_content-inner {
    max-width: 625px;
    padding: 72px 0 48px;
}

.qfk-home .qfk-static-hero__badge {
    border: 0;
    border-left: 3px solid #d09b3e;
    border-radius: 0;
    color: #73571f;
    background: transparent;
    box-shadow: none;
}

.qfk-home .qfk-static-hero__badge-dot {
    display: none;
}

.qfk-home .qfk-static-hero__title,
.qfk-home .qfk-static-hero h1.qfk-static-hero__title {
    max-width: 610px;
    margin: 22px 0 15px;
    color: #112e27;
    font-size: clamp(53px, 5vw, 73px);
    line-height: 0.99;
}

.qfk-home .qfk-static-hero h2.qfk-static-hero__subtitle {
    max-width: 590px;
    color: #1c6755;
    font-size: clamp(25px, 2.35vw, 33px);
    line-height: 1.25;
}

.qfk-home .qfk-static-hero__subtitle-accent {
    color: #ad5f00;
}

.qfk-home .qfk-static-hero__text {
    max-width: 560px;
    color: #52665e;
    font-size: 16px;
}

.qfk-home .qfk-static-hero__ctas {
    margin-top: 25px;
}

.qfk-home .qfk-static-hero__btn {
    border-radius: 5px;
}

.qfk-home .qfk-static-hero__btn--primary {
    color: #fff;
    border-color: #145b49;
    background: #145b49;
    box-shadow: 7px 7px 0 #d8aa4e;
}

.qfk-home .qfk-static-hero__btn--primary:hover {
    color: #172b24;
    border-color: #d8aa4e;
    background: #d8aa4e;
    box-shadow: 4px 4px 0 #145b49;
}

.qfk-home .qfk-static-hero__btn--whatsapp {
    border-color: #b8cac2;
    background: transparent;
}

.qfk-home .qfk-static-hero__features {
    width: 100%;
    max-width: 590px;
    margin-top: 27px;
    padding: 0;
    border: 0;
    border-top: 1px solid #d8dfda;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.qfk-home .qfk-static-hero__feature {
    padding-top: 16px;
}

.qfk-home .qfk-static-hero__feature-icon {
    width: 42px;
    height: 42px;
    padding: 6px;
    border: 1px solid #dbe5df;
    background: #fff;
}

.qfk-home .qfk-static-hero__feature-text {
    color: #24473d;
    font-size: 12px;
}

.qfk-home .qfk-static-hero__trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    max-width: 590px;
    margin-top: 16px;
    padding: 0;
    border: 0;
    background: transparent;
}

.qfk-home .qfk-static-hero__trust-label {
    color: #52655d;
}

/* Process cards */
.qfk-home .featured-one {
    margin: 0;
    padding: 38px 0 85px;
    background: #fff;
}

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

.qfk-home .feature-block_one {
    margin-bottom: 0;
}

.qfk-home .feature-block_one-inner {
    min-height: 145px;
    padding: 77px 22px 22px;
    border-top: 3px solid #145b49;
    color: #314b42;
    background: #f7f5ef;
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
    box-shadow: 0 12px 28px rgba(20, 54, 44, 0.06);
}

.qfk-home .feature-block_one:nth-child(even) .feature-block_one-inner {
    border-top-color: #d2a24a;
    background: #fbf8ef;
}

.qfk-home .feature-block_one-inner::after {
    position: absolute;
    top: 18px;
    right: 18px;
    color: rgba(20, 91, 73, 0.15);
    font-family: 'Lora', Georgia, serif;
    font-size: 32px;
    font-weight: 600;
}

.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: 18px;
    left: 22px;
    width: 48px;
    height: 48px;
    padding: 9px;
    border: 0;
    border-radius: 7px;
    background: #e8bd62;
    margin: 0;
}

/* Story section: copy first, imagery second */
.qfk-home .welcome-three {
    padding: 95px 0 100px;
    overflow: hidden;
    background: #edf4ef;
}

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

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

.qfk-home .welcome-three_content-outer {
    padding: 15px 60px 0 0;
}

.qfk-home .welcome-three_image-outer {
    margin-left: 28px;
}

.qfk-home .welcome-three_image {
    border-radius: 8px 55px 8px 55px;
}

.qfk-home .welcome-three_image-two {
    right: auto;
    left: -35px;
    border: 7px solid #edf4ef;
    border-radius: 45px 7px 45px 7px;
}

.qfk-home .welcome-three_years {
    border: 0;
    border-left: 3px solid #d3a448;
    border-radius: 0;
    background: transparent;
}

/* Courses are intentionally light instead of the original dark band. */
.qfk-home .courses-one.style-two {
    margin: 0;
    padding: 95px 0 85px;
    background-color: #faf7ef;
    background-blend-mode: screen;
}

.qfk-home .courses-one .sec-title_title {
    color: #815b16;
}

.qfk-home .courses-one .sec-title_heading,
.qfk-home .courses-one .sec-title_heading[style] {
    color: #17372e !important;
}

.qfk-home .course-block_two-inner {
    border: 0;
    border-bottom: 4px solid #145b49;
    border-radius: 4px;
    box-shadow: 0 15px 36px rgba(20, 54, 44, 0.1);
}

.qfk-home .course-block_two-image img {
    aspect-ratio: 5 / 3;
}

.qfk-home .course-block_two-content {
    min-height: 294px;
    padding: 31px 27px 27px;
}

.qfk-home .home-view-all-wrap .theme-btn {
    color: #fff;
    border-color: #145b49;
    background: #145b49;
}

/* Dark study-benefits band */
.qfk-home .institute-one {
    padding: 90px 0 70px;
    background: #0e4036;
}

.qfk-home .institute-one .sec-title_title {
    color: #e4b75e;
}

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

.qfk-home .institute-block_one-inner {
    align-items: flex-start;
    padding: 27px 24px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 4px;
    text-align: left;
    background: rgba(255, 255, 255, 0.055) !important;
    box-shadow: none;
}

.qfk-home .institute-block_one-inner:hover {
    border-color: rgba(229, 182, 85, 0.75);
    background: rgba(255, 255, 255, 0.09) !important;
}

.qfk-home .institute-block_one-icon {
    width: 60px;
    height: 60px;
    margin: 0;
    padding: 10px;
    border: 0;
    border-radius: 5px;
    background: #e3b75e;
}

.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);
}

/* Remaining home sections */
.qfk-home .price-one {
    padding: 90px 0 30px;
}

.qfk-home .price-block_one:nth-child(2) .price-block_one-inner {
    border-top: 4px solid #d0a047;
    background: #fffcf5;
}

.qfk-home .testimonial-two {
    background-color: #f1f5f2;
}

.qfk-home .class-one {
    background-color: #302e2b !important;
    background-blend-mode: normal;
}

/* The original video band is dark on inner pages, so its labels need an
   explicit light treatment instead of inheriting the global dark headings. */
.class-one .sec-title_title {
    color: #e5b655 !important;
}

.class-one .sec-title_heading,
.class-one .video-sec {
    color: #fff !important;
}

.qfk-home .class-one .sec-title_heading,
.qfk-home .class-one .video-sec {
    color: #fff !important;
}

.qfk-home .class-one .sec-title_title {
    color: #e5b655 !important;
}

.qfk-home .class-one .video-sec {
    margin-bottom: 0;
}

.qfk-home .class-block_one-inner {
    border: 1px solid #dce5df;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(20, 54, 44, 0.09);
}

.qfk-home .class-block_one-heading a {
    color: #17372e;
}

/* Keep the persistent chat control from covering card titles and body copy. */
.qfk-chat-trigger {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    color: #fff !important;
    border: 1px solid #e5b655 !important;
    background: #145b49 !important;
}

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

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

.qfk-chat-trigger:hover,
.qfk-chat-trigger:focus-visible {
    color: #0d352e !important;
    background: #e5b655 !important;
}

.qfk-chat-trigger:hover i,
.qfk-chat-trigger:focus-visible i {
    color: #0d352e !important;
}

.qfk-home .news-two {
    background: #f7f4ec;
}

@media (max-width: 1199px) {
    .qfk-home .qfk-static-hero__slide.slider-three_banner-slide .slider-three_banner-image {
        right: 24px;
        width: 44vw;
    }

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

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

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

    .qfk-home .qfk-static-hero__slide.slider-three_banner-slide {
        min-height: auto;
    }

    .qfk-home .qfk-static-hero__slide.slider-three_banner-slide::before {
        width: 100%;
        opacity: 0.08;
        clip-path: none;
    }

    .qfk-home .qfk-static-hero__slide.slider-three_banner-slide .slider-three_banner-image {
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 0;
        opacity: 0.13;
        object-position: 68% center;
        box-shadow: none;
    }

    .qfk-home .qfk-static-hero__slide.slider-three_banner-slide .slider-three_content {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .qfk-home .qfk-static-hero__slide.slider-three_banner-slide .slider-three_content-inner {
        max-width: 680px;
        padding: 58px 18px 52px;
    }

    .qfk-home .featured-one {
        padding-top: 28px;
        padding-bottom: 55px;
    }

    .qfk-home .feature-block_one {
        margin-bottom: 20px;
    }

    .qfk-home .welcome-three_image-column,
    .qfk-home .welcome-three_content-column {
        order: initial;
    }

    .qfk-home .welcome-three_content-outer {
        padding: 50px 0 0;
    }
}

@media (max-width: 767px) {
    .qfk-topbar__inner {
        min-height: 31px;
        justify-content: center;
    }

    .qfk-topbar__links {
        display: none;
    }

    .qfk-topbar__message {
        font-size: 10px;
        text-align: center;
    }

    .qfk-home .qfk-static-hero__slide.slider-three_banner-slide .slider-three_content-inner {
        padding: 42px 0 44px;
    }

    .qfk-home .qfk-static-hero__title,
    .qfk-home .qfk-static-hero h1.qfk-static-hero__title {
        font-size: clamp(37px, 10.5vw, 49px);
    }

    .qfk-home .qfk-static-hero__features {
        padding-top: 5px;
    }

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

    .qfk-home .feature-block_one-inner {
        min-height: 124px;
    }

.qfk-home .welcome-three,
    .qfk-home .courses-one.style-two,
    .qfk-home .institute-one,
    .qfk-home .price-one {
        padding-top: 65px;
        padding-bottom: 55px;
    }

    .qfk-home .welcome-three_image-outer {
        margin-left: 0;
    }

    .qfk-home .institute-block_one-inner {
        align-items: center;
        text-align: center;
    }

    .qfk-home .institute-block_one-icon {
        margin: 0 auto;
    }
}
