/* =====================================================================
   QKLRN Academy — brand layer on top of the base theme (main.css)
   Brand colours come from the logo:  blue #0051C5  ·  orange #FE4400
   ===================================================================== */
:root {
    --q-blue: #0051C5;
    --q-blue-soft: rgba(0, 81, 197, .08);
    --q-orange: #FE4400;
    --q-orange-soft: rgba(254, 68, 0, .08);
    --q-ink: #1B212F;
    --q-text: #5f6472;
    --q-line: rgba(27, 33, 47, .1);
}

html, body { overflow-x: hidden; }
body { color: var(--q-text); }
::selection { background: var(--q-orange); color: #fff; }

/* ---------- header ---------- */
.logo img { max-height: 52px; width: auto; }
.main-menu .navbar-nav .nav-link.active,
.main-menu .navbar-nav .nav-link:hover { color: var(--q-orange); }
.main-menu .navbar-nav .nav-item { margin: 0 4px; }
.q-header-call {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--q-blue-soft); color: var(--q-blue); font-size: 17px;
    transition: .3s;
}
.q-header-call:hover { background: var(--q-blue); color: #fff; }
.theme_btn i { margin-right: 6px; }
.free_btn i.fa-whatsapp { font-size: 18px; vertical-align: -2px; }
@media (max-width: 575px) {
    .right-btn .free_btn { padding-left: 16px; padding-right: 16px; }
    .right-btn .free_btn .q-btn-label { display: none; }
    .right-btn .free_btn i { margin-right: 0; }
    .logo img { max-height: 42px; }
}

/* mobile side menu */
.side-mobile-menu ul li a { text-transform: none; }
.offset-sidebar .info-widget2 p a { color: inherit; }

/* ---------- hero ---------- */
.slider__content .main-title { color: var(--q-ink); }
.q-hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 6px; }
.q-hero-points span { font-weight: 600; color: var(--q-ink); font-size: 15px; }
.q-hero-points i { color: var(--q-orange); margin-right: 7px; }
.search__area .widget__search input { min-width: 0; }
@media (max-width: 767px) {
    .search__area { display: block !important; }
    .search__area li { margin-bottom: 12px; }
    .search__area .search_btn { margin-left: 0 !important; width: 100%; }
}

/* ---------- section headings ---------- */
.section-title h2 { color: var(--q-ink); }
.q-section-intro { max-width: 640px; margin: 18px auto 0; }

/* ---------- benefit cards ---------- */
.single-box p { margin-bottom: 0; }

/* ---------- category tiles ---------- */
a.q-category { display: block; color: inherit; height: calc(100% - 30px); }
a.q-category:hover h4 { color: var(--q-orange); }
.q-category img { height: 64px; width: auto; }

/* ---------- course cards ---------- */
.q-course-card { height: calc(100% - 30px); display: flex; flex-direction: column; }
.q-course-card .z-gallery__thumb { overflow: hidden; border-radius: 10px; }
.q-course-card .z-gallery__thumb img { width: 100%; height: 230px; object-fit: cover; transition: transform .5s; }
.q-course-card:hover .z-gallery__thumb img { transform: scale(1.04); }
.q-course-card .feedback-tag { background: var(--q-blue); color: #fff; }
.q-course-card .z-gallery__content { display: flex; flex-direction: column; flex: 1; }
.q-card-summary { font-size: 15px; line-height: 1.6; }
.q-course-card .course__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.q-course-card .course__meta span { margin-right: 0; }
.q-more {
    margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--q-orange);
    border-top: 1px solid var(--q-line); display: block;
}
.q-more i { margin-left: 6px; transition: transform .3s; }
.q-more:hover { color: var(--q-blue); }
.q-more:hover i { transform: translateX(4px); }
.grid.row .grid-item { display: flex; flex-direction: column; }
#search-note { display: none; text-align: center; margin-bottom: 30px; font-weight: 600; }
#search-note a { color: var(--q-orange); text-decoration: underline; }

/* ---------- why choose ---------- */
.q-why-tags .feature { white-space: nowrap; }

/* ---------- how it works ---------- */
.q-steps { counter-reset: qstep; }
.q-step {
    position: relative; background: #fff; border: 1px solid var(--q-line); border-radius: 14px;
    padding: 40px 30px 34px; height: calc(100% - 30px); transition: .3s;
}
.q-step:hover { box-shadow: 0 20px 40px rgba(27, 33, 47, .08); transform: translateY(-4px); }
.q-step__no {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 50%; margin-bottom: 22px;
    background: var(--q-orange-soft); color: var(--q-orange); font-size: 20px; font-weight: 800;
}
.q-step:nth-child(2n) .q-step__no, .col-lg-4:nth-child(2) .q-step__no { background: var(--q-blue-soft); color: var(--q-blue); }
.q-step h4 { color: var(--q-ink); margin-bottom: 12px; }
.q-step p { margin: 0; }

/* ---------- call-to-action band ---------- */
.q-cta {
    position: relative; overflow: hidden; border-radius: 20px;
    background: linear-gradient(120deg, var(--q-blue) 0%, #0a3f94 100%);
    padding: 70px 60px; color: #fff;
}
.q-cta::after {
    content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px;
    border-radius: 50%; background: var(--q-orange); opacity: .9;
}
.q-cta::before {
    content: ""; position: absolute; right: 120px; bottom: -120px; width: 220px; height: 220px;
    border-radius: 50%; border: 30px solid rgba(255, 255, 255, .08);
}
.q-cta > * { position: relative; z-index: 1; }
.q-cta h2 { color: #fff; font-size: 40px; line-height: 1.2; margin-bottom: 14px; }
.q-cta p { color: rgba(255, 255, 255, .85); font-size: 17px; margin: 0; }
.q-cta .q-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.q-cta .theme_btn { background: #fff; color: var(--q-blue); }
.q-cta .theme_btn:hover { background: var(--q-orange); color: #fff; }
.q-cta .theme_btn.q-btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .6); }
.q-cta .theme_btn.q-btn-ghost:hover { background: #fff; color: var(--q-blue); border-color: #fff; }
@media (max-width: 991px) {
    .q-cta { padding: 50px 30px; text-align: center; }
    .q-cta h2 { font-size: 30px; }
    .q-cta .q-cta-actions { justify-content: center; margin-top: 28px; }
    .q-cta::after { width: 160px; height: 160px; right: -60px; top: -60px; }
}

/* ---------- about page ---------- */
.q-value {
    background: #fff; border-radius: 14px; padding: 36px 28px; height: calc(100% - 30px);
    border: 1px solid var(--q-line); transition: .3s;
}
.q-value:hover { border-color: transparent; box-shadow: 0 20px 40px rgba(27, 33, 47, .08); }
.q-value i {
    width: 58px; height: 58px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 22px; background: var(--q-orange-soft); color: var(--q-orange);
}
.q-value.is-blue i { background: var(--q-blue-soft); color: var(--q-blue); }
.q-value h4 { color: var(--q-ink); margin-bottom: 10px; }
.q-value p { margin: 0; }
.q-mv { border-left: 4px solid var(--q-orange); padding: 6px 0 6px 24px; }
.q-mv.is-blue { border-color: var(--q-blue); }
.q-mv h3 { color: var(--q-ink); margin-bottom: 10px; }
.about-wrapper .section-title p { font-size: 16px; }

/* ---------- page title ---------- */
.page-title-area { position: relative; }
.page-title-area .page-title { color: var(--q-ink); }
.breadcrumb li a { color: var(--q-text); }
.breadcrumb li:last-child a, .breadcrumb li span { color: var(--q-orange); }

/* ---------- course details ---------- */
.q-pill {
    display: inline-block; padding: 6px 16px; border-radius: 30px; font-size: 14px; font-weight: 700;
    background: var(--q-blue-soft); color: var(--q-blue);
}
.q-lead { font-size: 18px; line-height: 1.7; }
.q-detail-img img { width: 100%; max-height: 440px; object-fit: cover; border-radius: 16px; }
.q-outcomes li { margin-bottom: 14px; }
.q-modules { list-style: none; padding: 0; margin: 0; border: 1px solid var(--q-line); border-radius: 14px; overflow: hidden; }
.q-modules li {
    display: flex; align-items: center; gap: 18px; padding: 18px 24px; font-weight: 600; color: var(--q-ink);
    border-bottom: 1px solid var(--q-line); background: #fff;
}
.q-modules li:last-child { border-bottom: 0; }
.q-modules li:nth-child(odd) { background: #fbfbfd; }
.q-mod-no { color: var(--q-orange); font-weight: 800; min-width: 26px; }
.q-side-card {
    position: sticky; top: 120px; background: #fff; border-radius: 16px; padding: 34px 30px;
    box-shadow: 0 20px 50px rgba(27, 33, 47, .08); border-top: 4px solid var(--q-orange);
}
.q-side-card h4 { color: var(--q-ink); }
.q-facts { list-style: none; padding: 0; margin: 0 0 28px; }
.q-facts li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--q-line); }
.q-facts li img { width: 18px; height: 18px; }
.q-facts li span { flex: 1; }
.q-facts li b { color: var(--q-ink); text-align: right; }
.q-btn-block { display: block; width: 100%; text-align: center; }
.q-small { font-size: 14px; margin-bottom: 0; }

/* ---------- contact ---------- */
.q-contact-card {
    background: #fff; border-radius: 16px; padding: 34px 28px; height: calc(100% - 30px);
    border: 1px solid var(--q-line); text-align: center; transition: .3s;
}
.q-contact-card:hover { box-shadow: 0 20px 40px rgba(27, 33, 47, .08); border-color: transparent; }
.q-contact-card .q-ic {
    width: 66px; height: 66px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-size: 26px; margin-bottom: 20px; background: var(--q-orange-soft); color: var(--q-orange);
}
.q-contact-card.is-blue .q-ic { background: var(--q-blue-soft); color: var(--q-blue); }
.q-contact-card.is-green .q-ic { background: rgba(37, 211, 102, .12); color: #1faa55; }
.q-contact-card h4 { color: var(--q-ink); margin-bottom: 8px; }
.q-contact-card p { margin-bottom: 14px; }
.q-contact-card a.q-contact-link { font-weight: 700; color: var(--q-blue); font-size: 18px; }
.q-contact-card a.q-contact-link:hover { color: var(--q-orange); }
.contact-form-wrapper select,
.contact-form-wrapper input,
.contact-form-wrapper textarea { width: 100%; }
.contact-form-wrapper .nice-select { width: 100%; height: 60px; line-height: 58px; border-radius: 6px; }
.contact-form-wrapper .nice-select .list { width: 100%; max-height: 260px; overflow-y: auto; }
.q-form-note { font-size: 14px; margin-top: 14px; }
.q-form-status { display: block; margin-top: 14px; font-weight: 600; }
.q-form-status.is-error { color: #d93025; }
.q-form-status.is-ok { color: #1faa55; }

/* ---------- FAQ ---------- */
.accordion-two .accordion-button { color: var(--q-ink); }
.q-faq-side {
    background: linear-gradient(160deg, var(--q-blue), #0a3f94); color: #fff; border-radius: 16px; padding: 40px 32px;
}
.q-faq-side h3 { color: #fff; margin-bottom: 12px; }
.q-faq-side p { color: rgba(255, 255, 255, .85); }
.q-faq-side .theme_btn { background: #fff; color: var(--q-blue); }
.q-faq-side .theme_btn:hover { background: var(--q-orange); color: #fff; }

/* ---------- footer ---------- */
.footer-area { background: #0d1b36; }
.footer-area p, .footer-area .fot-list li a, .footer-area .fot-list li { color: rgba(255, 255, 255, .7); }
.footer-area .fot-list li a:hover { color: var(--q-orange); }
.footer-area .widget-title { color: #fff; }
.footer-area .copyright h5, .footer-area .copyright h5 a { color: rgba(255, 255, 255, .6); font-weight: 500; }
.footer-area .copy-right-area { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-logo-box { display: inline-block; background: #fff; border-radius: 10px; padding: 10px 14px; }
.footer-logo-box img { height: 44px; width: auto; }
.footer__social a { background: rgba(255, 255, 255, .08); color: #fff; }
.footer__social a:hover { background: var(--q-orange); color: #fff; }
.q-tagline { color: var(--q-orange) !important; font-weight: 700; letter-spacing: .3px; }

/* ---------- floating WhatsApp ---------- */
.q-wa-float {
    position: fixed; left: 22px; bottom: 22px; z-index: 999;
    width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, .45); transition: transform .3s;
}
.q-wa-float:hover { color: #fff; transform: scale(1.08); }

/* preloader in brand colours */
.preloader span { background: var(--q-orange); }
.preloader span:last-child { background: var(--q-blue); }

/* nav: no dropdown carets (no sub-menus) */
.navbar-nav .nav-item .nav-link::before { display: none; }
.navbar-nav .nav-item .nav-link { margin: 0 22px; }
.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link.active { color: var(--q-orange); }

/* equal-height course cards */
.q-course-card h4 { min-height: 68px; }
.q-card-summary { min-height: 52px; }
.q-more { border-top: 0; padding-top: 14px; }
@media (max-width: 767px) {
    .q-course-card h4, .q-card-summary { min-height: 0; }
}

/* page title banner (sits under the transparent header) */
section.page-title-area { min-height: 420px; padding-top: 160px; }
section.page-title-area::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.85) 45%, rgba(255,255,255,.35) 100%);
}
section.page-title-area .container { position: relative; z-index: 1; }
.page-title-area .page-title { font-size: 52px; line-height: 1.15; max-width: 820px; }
@media (max-width: 991px) {
    section.page-title-area { min-height: 320px; padding-top: 130px; }
    .page-title-area .page-title { font-size: 38px; }
}
@media (max-width: 575px) {
    section.page-title-area { min-height: 260px; }
    .page-title-area .page-title { font-size: 30px; }
}

/* mobile: keep decorative shapes inside the screen */
@media (max-width: 767px) {
    .slider__img__box .img-six, .slider__img__box .img-seven { display: none; }
    .slider-area, .why-chose-section-wrapper, main { overflow-x: hidden; }
    .why-chose-section-wrapper { margin-left: 0 !important; margin-right: 0 !important; }
    .q-wa-float { width: 52px; height: 52px; font-size: 26px; left: 14px; bottom: 14px; }
}

/* ---------- kids activities ---------- */
.q-kids-art { width: 100%; max-width: 520px; display: block; margin: 0 auto; }
.q-kids-box {
    background: linear-gradient(135deg, #FFF4EE 0%, #EEF4FE 100%);
    border-radius: 24px; padding: 60px 60px 50px;
}
.q-kids-box .q-kids-art { max-width: 400px; }
@media (max-width: 991px) {
    .q-kids-box { padding: 40px 26px; }
    .q-kids-box .q-kids-art { max-width: 300px; margin-bottom: 30px; }
}
.q-header-call i.fa-envelope { font-size: 16px; }

/* nav fits six items without wrapping */
.navbar-nav .nav-item .nav-link { white-space: nowrap; margin: 0 16px; }
@media (min-width: 992px) and (max-width: 1399px) {
    .navbar-nav .nav-item .nav-link { margin: 0 10px; font-size: 16px; }
    #theme-menu-one.pl-100 { padding-left: 30px; padding-right: 30px; }
}
.right-btn ul { flex-wrap: nowrap; }
@media (max-width: 1199px) {
    .right-btn .free_btn { padding-left: 18px; padding-right: 18px; }
    .right-btn .free_btn .q-btn-label { display: none; }
    .right-btn .free_btn i { margin-right: 0; }
}
.right-btn ul li:first-child { display: block !important; }
@media (max-width: 400px) { .right-btn ul li:first-child { display: none !important; } }
