
/* ==========================================================================
   Kids Academy 01 — Premium Header / Navbar / Hero Upgrade
   ========================================================================== */

:root {
    --ka-primary: #ff7657;
    --ka-primary-dark: #ed5a39;
    --ka-secondary: #5667ef;
    --ka-secondary-soft: #eef0ff;
    --ka-accent: #ffd166;
    --ka-mint: #dff7eb;
    --ka-text: #243042;
    --ka-muted: #687386;
    --ka-line: #ebe7e2;
    --ka-surface: #ffffff;
    --ka-soft: #fff9f5;
    --ka-shadow: 0 20px 60px rgba(35, 48, 66, .10);
}

.ka-template {
    overflow-x: clip;
    background: #fff;
    color: var(--ka-text);
}

.ka-container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

/* Header */
.ka-header-top {
    background: #263247;
    color: rgba(255,255,255,.86);
    font-size: 12px;
}

.ka-header-top__inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ka-header-top__message,
.ka-header-top__contact,
.ka-header-top__contact a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ka-header-top__contact {
    gap: 18px;
}

.ka-header-top__contact a {
    color: inherit;
    text-decoration: none;
}

.ka-header-top__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ka-accent);
    box-shadow: 0 0 0 4px rgba(255, 209, 102, .14);
}

.ka-header-main {
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--ka-line);
}

.ka-header-main__inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ka-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.ka-brand__logo {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff4ef, #f1f3ff);
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255,118,87,.12);
}

.ka-brand__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 7px;
}

.ka-brand__text {
    display: grid;
    gap: 2px;
}

.ka-brand__name {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.025em;
}

.ka-brand__tagline {
    color: var(--ka-muted);
    font-size: 12px;
    font-weight: 700;
}

.ka-header-badges {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ka-header-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #edf0f4;
    font-size: 11px;
    font-weight: 800;
    color: #526072;
}

.ka-header-badges i {
    color: var(--ka-primary);
}

/* Navbar */
.ka-navbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--ka-line);
    box-shadow: 0 6px 24px rgba(36,48,66,.04);
}

.ka-navbar__inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.ka-navbar__menu {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ka-navbar__menu ul {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ka-navbar__menu a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 13px;
    border-radius: 10px;
    color: #344054;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: .2s ease;
}

.ka-navbar__menu a:hover {
    color: var(--ka-primary-dark);
    background: #fff3ee;
}

.ka-navbar__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--ka-primary), var(--ka-primary-dark));
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(255,118,87,.22);
}

.ka-navbar__toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--ka-line);
    border-radius: 11px;
    background: #fff;
    padding: 10px;
}

.ka-navbar__toggle span {
    display: block;
    height: 2px;
    background: #344054;
    margin: 4px 0;
    border-radius: 999px;
}

/* Hero */
.ka-hero {
    position: relative;
    isolation: isolate;
    padding: 88px 0 96px;
    background:
        radial-gradient(circle at 12% 20%, rgba(255,209,102,.23), transparent 22%),
        radial-gradient(circle at 84% 24%, rgba(86,103,239,.12), transparent 24%),
        linear-gradient(135deg, #fffaf6 0%, #f7f8ff 100%);
}

.ka-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 64px;
    align-items: center;
}

.ka-hero__grid--reverse .ka-hero__visual {
    order: -1;
}

.ka-hero__content {
    max-width: 660px;
}

.ka-kicker--hero {
    gap: 7px;
    background: #fff1eb;
    color: var(--ka-primary-dark);
    border: 1px solid rgba(255,118,87,.10);
}

.ka-hero h1 {
    margin: 20px 0 18px;
    max-width: 760px;
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: .98;
    letter-spacing: -.055em;
    color: var(--ka-text);
}

.ka-hero__lead {
    max-width: 660px;
    margin: 0;
    color: #5f6c7c;
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.8;
}

.ka-hero__actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ka-hero__actions--center {
    justify-content: center;
}

.ka-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 20px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ka-btn:hover {
    transform: translateY(-2px);
}

.ka-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--ka-primary), var(--ka-primary-dark));
    box-shadow: 0 14px 30px rgba(255,118,87,.23);
}

.ka-btn-secondary {
    color: #344054;
    background: rgba(255,255,255,.9);
    border: 1px solid #e8e2dd;
}

.ka-hero__trust {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ka-hero__trust div {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(231,226,220,.8);
}

.ka-hero__trust strong,
.ka-hero__trust span {
    display: block;
}

.ka-hero__trust strong {
    font-size: 13px;
}

.ka-hero__trust span {
    margin-top: 3px;
    color: var(--ka-muted);
    font-size: 10px;
    line-height: 1.45;
}

.ka-hero__visual {
    position: relative;
    min-width: 0;
}

.ka-hero__image-card,
.ka-hero__placeholder {
    min-height: 520px;
    border-radius: 34px;
    overflow: hidden;
    background: linear-gradient(145deg, #fff0e8, #edf0ff);
    border: 8px solid rgba(255,255,255,.82);
    box-shadow: var(--ka-shadow);
}

.ka-hero__image-card img {
    width: 100%;
    height: 520px;
    display: block;
    object-fit: cover;
}

.ka-hero__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 32px;
    text-align: center;
    color: #667085;
}

.ka-hero__placeholder-icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: #fff;
    color: var(--ka-secondary);
    font-size: 28px;
    box-shadow: 0 12px 26px rgba(86,103,239,.12);
}

.ka-hero__placeholder strong {
    color: var(--ka-text);
}

.ka-hero__placeholder span {
    max-width: 280px;
    font-size: 12px;
}

.ka-hero__floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 190px;
    padding: 14px 16px;
    border-radius: 17px;
    background: rgba(255,255,255,.93);
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: 0 15px 40px rgba(36,48,66,.12);
    backdrop-filter: blur(12px);
}

.ka-hero__floating-card i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff1eb;
    color: var(--ka-primary);
}

.ka-hero__floating-card strong,
.ka-hero__floating-card span {
    display: block;
}

.ka-hero__floating-card strong {
    color: var(--ka-text);
    font-size: 12px;
}

.ka-hero__floating-card span {
    color: var(--ka-muted);
    font-size: 10px;
    line-height: 1.35;
}

.ka-hero__floating-card--top {
    top: 32px;
    left: -44px;
}

.ka-hero__floating-card--bottom {
    right: -26px;
    bottom: 34px;
}

.ka-hero__decor {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    opacity: .7;
    z-index: 1;
}

.ka-hero__decor--one {
    width: 170px;
    height: 170px;
    left: -60px;
    bottom: -40px;
    background: #ffeadc;
}

.ka-hero__decor--two {
    width: 120px;
    height: 120px;
    right: 6%;
    top: 4%;
    background: #e8ebff;
}

.ka-hero__center {
    max-width: 920px;
    text-align: center;
}

.ka-hero__center .ka-hero__lead {
    margin-inline: auto;
}

.ka-hero__wide-image {
    margin-top: 42px;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: var(--ka-shadow);
}

.ka-hero__wide-image img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.ka-hero--04 {
    background:
        linear-gradient(90deg, rgba(35,48,66,.72), rgba(35,48,66,.20)),
        linear-gradient(135deg, #8392ff, #ff9b7f);
}

.ka-hero__glass-panel {
    max-width: 720px;
    padding: 42px;
    border-radius: 30px;
    background: rgba(255,255,255,.90);
    box-shadow: var(--ka-shadow);
    backdrop-filter: blur(15px);
}

.ka-hero__checks {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
}

.ka-hero__checks li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #526072;
    font-weight: 700;
}

.ka-hero__checks i {
    color: #46a878;
}

/* Responsive */
@media (max-width: 980px) {
    .ka-header-badges {
        display: none;
    }

    .ka-hero__grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .ka-hero__content {
        max-width: 760px;
    }

    .ka-hero__visual {
        max-width: 680px;
        width: 100%;
        margin-inline: auto;
    }

    .ka-hero__floating-card--top {
        left: 12px;
    }

    .ka-hero__floating-card--bottom {
        right: 12px;
    }
}

@media (max-width: 760px) {
    .ka-header-top {
        display: none;
    }

    .ka-header-main__inner {
        min-height: 72px;
    }

    .ka-brand__logo {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }

    .ka-brand__name {
        font-size: 17px;
    }

    .ka-navbar__inner {
        position: relative;
        justify-content: space-between;
    }

    .ka-navbar__toggle {
        display: block;
    }

    .ka-navbar__menu {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        padding: 12px;
        border-radius: 0 0 16px 16px;
        background: #fff;
        border: 1px solid var(--ka-line);
        box-shadow: var(--ka-shadow);
    }

    .ka-navbar__menu.is-open {
        display: grid;
    }

    .ka-navbar__menu ul {
        display: grid;
        width: 100%;
    }

    .ka-navbar__menu a {
        width: 100%;
    }

    .ka-navbar__cta {
        margin-left: auto;
    }

    .ka-hero {
        padding: 60px 0 68px;
    }

    .ka-hero h1 {
        font-size: clamp(2.7rem, 13vw, 4.2rem);
    }

    .ka-hero__trust {
        grid-template-columns: 1fr;
    }

    .ka-hero__image-card,
    .ka-hero__placeholder,
    .ka-hero__image-card img {
        min-height: 390px;
        height: 390px;
    }

    .ka-hero__floating-card {
        position: static;
        margin-top: 10px;
        width: 100%;
    }
}

@media (max-width: 520px) {
    .ka-brand__tagline {
        display: none;
    }

    .ka-navbar__cta {
        font-size: 0;
        width: 42px;
        padding: 0;
    }

    .ka-navbar__cta i {
        font-size: 13px;
    }

    .ka-hero__actions .ka-btn {
        width: 100%;
    }

    .ka-hero__glass-panel {
        padding: 26px;
    }
}



/* ==========================================================================
   Kids Academy 01 — Dedicated Template Navbar Fix
   ========================================================================== */

.ka-navbar__menu {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.ka-navbar__menu > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    color: #344054;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.ka-navbar__menu > a:hover {
    color: var(--ka-primary-dark);
    background: #fff3ee;
    transform: translateY(-1px);
}

.ka-navbar__cta span {
    display: inline;
}

@media (max-width: 760px) {
    .ka-navbar__menu {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        z-index: 50;
        padding: 12px;
        border: 1px solid var(--ka-line);
        border-radius: 0 0 16px 16px;
        background: #fff;
        box-shadow: var(--ka-shadow);
    }

    .ka-navbar__menu.is-open {
        display: grid;
        gap: 4px;
    }

    .ka-navbar__menu > a {
        width: 100%;
        justify-content: flex-start;
        min-height: 44px;
    }
}

@media (max-width: 520px) {
    .ka-navbar__cta span {
        display: none;
    }
}



/* ==========================================================================
   Kids Academy 01 — Premium Dropdown Navigation
   ========================================================================== */

.ka-nav-item {
    position: relative;
}

.ka-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    color: #344054;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.ka-nav-link:hover,
.ka-nav-item:hover > .ka-nav-link {
    color: var(--ka-primary-dark);
    background: #fff3ee;
}

.ka-nav-chevron {
    font-size: 9px;
    transition: transform .2s ease;
}

.ka-nav-item:hover .ka-nav-chevron {
    transform: rotate(180deg);
}

.ka-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 90;
    min-width: 220px;
    padding: 9px;
    border: 1px solid #ece7e2;
    border-radius: 16px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 20px 50px rgba(36,48,66,.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition:
        opacity .18s ease,
        transform .18s ease,
        visibility .18s ease;
}

.ka-nav-item:hover > .ka-dropdown,
.ka-nav-item:focus-within > .ka-dropdown,
.ka-nav-item.is-open > .ka-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.ka-dropdown::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 28px;
    width: 13px;
    height: 13px;
    transform: rotate(45deg);
    background: #fff;
    border-left: 1px solid #ece7e2;
    border-top: 1px solid #ece7e2;
}

.ka-dropdown__link {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 11px;
    border-radius: 11px;
    color: #425066;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition:
        background .18s ease,
        color .18s ease,
        transform .18s ease;
}

.ka-dropdown__link:hover {
    background: #fff4ef;
    color: var(--ka-primary-dark);
    transform: translateX(2px);
}

.ka-dropdown__icon {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #f1f3ff;
    color: var(--ka-secondary);
    font-size: 5px;
}

@media (max-width: 760px) {

    .ka-navbar__menu {
        align-items: stretch;
    }

    .ka-nav-item {
        width: 100%;
    }

    .ka-nav-link {
        width: 100%;
        min-height: 46px;
        justify-content: space-between;
        padding: 0 14px;
    }

    .ka-dropdown {
        position: static;
        display: none;
        min-width: 0;
        margin: 2px 0 7px;
        padding: 7px;
        border-radius: 12px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        background: #fafbff;
    }

    .ka-dropdown::before {
        display: none;
    }

    .ka-nav-item:hover > .ka-dropdown,
    .ka-nav-item:focus-within > .ka-dropdown {
        display: none;
    }

    .ka-nav-item.is-open > .ka-dropdown {
        display: block;
    }

    .ka-nav-item.is-open .ka-nav-chevron {
        transform: rotate(180deg);
    }

    .ka-dropdown__link {
        min-height: 40px;
    }
}

