/* --------------------------------------------------------------------------
   Homepage layered hero
   -------------------------------------------------------------------------- */

.ka-home-main-hero {
    position: relative;
    min-height: calc(100vh - 104px);
    overflow: hidden;
    background: #f8f3e8;
    isolation: isolate;
}

.ka-home-main-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 28% 36%, rgba(255, 215, 0, 0.22), transparent 22%),
        linear-gradient(105deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.84) 42%, transparent 42%),
        var(--ka-gradient-purple);
}

.ka-home-slant-divider {
    position: absolute;
    top: -6%;
    left: 52%;
    z-index: 6;
    width: 4px;
    height: 112%;
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 233, 28, 0.2) 16%,
        rgba(255, 215, 0, 0.95) 48%,
        rgba(255, 160, 36, 0.72) 72%,
        transparent 100%
    );
    box-shadow:
        0 0 18px rgba(255, 215, 0, 0.55),
        0 0 42px rgba(255, 160, 36, 0.35);
    transform: skewX(-14deg);
    transform-origin: top center;
    opacity: 0.85;
    pointer-events: none;
}

.ka-home-main-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    z-index: 1;
    width: 56%;
    background:
        linear-gradient(135deg, rgba(42, 0, 61, 0.92), rgba(89, 12, 96, 0.74));
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
    pointer-events: none;
}

.ka-home-hero-image {
    position: absolute;
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
}

.ka-home-hero-image-left {
    left: 0;
    top: 0;
    bottom: auto;
    z-index: 2;
    width: 55%;
    height: 100%;
    background-image:
        linear-gradient(
            90deg,
            rgba(255, 233, 28, 0.14) 0%,
            rgba(255, 215, 0, 0.16) 35%,
            rgba(215, 109, 29, 0.20) 65%,
            rgba(255, 255, 255, 0.88) 100%
        ),
        url('../images/home-hero-english-training.png');
    background-position: left bottom;
}

.ka-home-hero-image-right {
    right: 0;
    top: 0;
    z-index: 2;
    width: 60%;
    height: 100%;
    background-image:
        linear-gradient(90deg, rgba(42,0,61,0.62), rgba(42,0,61,0.18)),
        url('../images/home-hero-study-abroad.png');
    background-position: center center;
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);

}

/* --------------------------------------------------------------------------
   Homepage about section
   -------------------------------------------------------------------------- */

.ka-home-about-section {
    position: relative;
    overflow: hidden;
    background: var(--ka-white);
}

.ka-home-about-section::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--ka-gradient-yellow);
    opacity: 0.9;
    pointer-events: none;
}

.ka-home-about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 92px;
    align-items: center;
}

.ka-home-about-visual {
    position: relative;
    min-height: 520px;
}

.ka-home-about-image {
    position: relative;
    z-index: 3;
    width: 86%;
    margin: 0 0 0 auto;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(42, 0, 61, 0.16);
}

.ka-home-about-image img {
    width: 100%;
    height: 420px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.ka-home-about-accent {
    position: absolute;
    border-radius: 14px;
    pointer-events: none;
}

.ka-home-about-accent-purple {
    z-index: 1;
    right: 0;
    top: 80px;
    width: 44%;
    height: 250px;
    background: var(--ka-gradient-purple);
}

.ka-home-about-accent-gold {
    z-index: 4;
    right: 36px;
    bottom: 88px;
    width: 250px;
    min-height: 88px;
    background: var(--ka-gradient-yellow);
    box-shadow: 0 18px 38px rgba(255, 160, 36, 0.26);
}

.ka-home-about-floating-card {
    position: absolute;
    right: 36px;
    bottom: 88px;
    z-index: 5;
    width: 250px;
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 20px;
    border-radius: 14px;
    background: var(--ka-gradient-yellow);
    color: var(--ka-purple-dark);
    box-shadow: 0 18px 38px rgba(255, 160, 36, 0.28);
    text-align: center;
}

.ka-home-about-floating-card span {
    font-family: var(--ka-font-heading);
    font-size: 13px;
    line-height: 1.25;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.ka-home-about-floating-card strong {
    font-family: var(--ka-font-body);
    font-size: 24px;
    line-height: 1;
}

.ka-home-about-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.ka-home-about-content h2 {
    margin: 0 0 22px;
    color: var(--ka-text);
    font-family: var(--ka-font-heading);
    font-size: clamp(34px, 3.2vw, 52px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -2.5px;
    text-transform: uppercase;
}

.ka-home-about-divider {
    width: 92px;
    height: 4px;
    margin: 24px 0 28px;
    border-radius: 999px;
    background: var(--ka-gradient-yellow);
}

.ka-home-about-content p {
    max-width: 620px;
    margin: 0 0 18px;
    color: var(--ka-muted);
    font-size: 17px;
    line-height: 1.75;
}

.ka-home-about-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
    margin: 30px 0 34px;
}

.ka-home-about-points div {
    position: relative;
    padding-left: 34px;
    color: var(--ka-text);
    font-family: var(--ka-font-caption);
    font-size: 16px;
    line-height: 1.4;
}

.ka-home-about-points div::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -2px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f0edf7;
    color: var(--ka-purple-secondary);
    font-size: 15px;
    font-weight: 700;
}

.ka-home-service-label {
    position: absolute;
    z-index: 5;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 18px;
    align-items: center;
    max-width: 360px;
}

.ka-home-service-left {
    left: 6%;
    top: 88px;
}

.ka-home-service-right {
    right: 7%;
    top: 88px;
    color: var(--ka-white);
}

.ka-home-service-icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ka-gradient-purple);
    color: var(--ka-white);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.72);
    font-size: 30px;
}

.ka-home-service-right .ka-home-service-icon {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.75);
}

.ka-home-service-label h2 {
    margin: 0 0 12px;
    color: var(--ka-purple-secondary);
    font-family: var(--ka-font-heading);
    font-size: 24px;
    line-height: 1.18;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.ka-home-service-right h2 {
    color: var(--ka-white);
}

.ka-home-service-label h2::after {
    content: "";
    display: block;
    width: 82px;
    height: 4px;
    margin-top: 14px;
    border-radius: 999px;
    background: var(--ka-gradient-yellow);
}

.ka-home-service-label p {
    margin: 0;
    color: #2f2838;
    font-size: 18px;
    line-height: 1.45;
}

.ka-home-service-right p {
    color: rgba(255, 255, 255, 0.86);
}

.ka-home-hero-center-card {
    position: absolute;
    left: 50%;
    top: 48%;
    z-index: 8;
    width: min(560px, calc(100% - 40px));
    padding: 54px 48px 42px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    box-shadow: 0 28px 80px rgba(42, 0, 61, 0.24);
    text-align: center;
    transform: translate(-50%, -50%);
}

.ka-home-card-icon {
    display: block;
    margin-bottom: 10px;
    color: rgba(89, 12, 96, 0.32);
    font-size: 44px;
    line-height: 1;
}

.ka-home-hero-center-card h1 {
    margin: 0;
    color: #22202c;
    font-family: var(--ka-font-heading);
    font-size: clamp(32px, 2.8vw, 44px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -2.5px;
    text-transform: none;
}

.ka-home-hero-center-card h1 span {
    display: block;
    margin-top: 4px;
    color: var(--ka-purple-secondary);
}

.ka-home-hero-center-card p {
    max-width: 430px;
    margin: 22px auto 30px;
    color: #322b3b;
    font-size: 19px;
    line-height: 1.55;
}

.ka-home-hero-dual-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.ka-home-hero-cta {
    min-height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-radius: 14px;
    font-family: var(--ka-font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    text-align: left;
    text-transform: uppercase;
    box-shadow: 0 14px 30px rgba(42, 0, 61, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ka-home-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(42, 0, 61, 0.2);
}

.ka-home-hero-cta span {
    font-size: 28px;
    line-height: 1;
}

.ka-home-hero-cta-gold {
    background: var(--ka-gradient-yellow);
    color: var(--ka-purple-dark);
}

.ka-home-hero-cta-purple {
    background: var(--ka-gradient-purple);
    color: var(--ka-white);
}

.ka-section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}

.ka-section-heading-row h2 {
    margin: 0;
    color: var(--ka-purple-dark);
    font-family: var(--ka-font-heading);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Homepage courses section
   -------------------------------------------------------------------------- */

.ka-home-courses-section {
    position: relative;
    overflow: hidden;
}

.ka-home-section-intro {
    max-width: 620px;
    margin: 0 auto;
    color: var(--ka-muted);
    font-size: 17px;
    line-height: 1.7;
}

.ka-home-course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    margin-top: 54px;
}

.ka-home-course-card {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    padding: 34px;
    border-radius: 20px;
    background: var(--ka-white);
    box-shadow: 0 18px 50px rgba(42, 0, 61, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ka-home-course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 76px rgba(42, 0, 61, 0.15);
}

.ka-home-course-logo {
    width: 112px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 28px;
}

.ka-home-course-logo img {
    max-width: 112px;
    max-height: 64px;
    display: block;
    object-fit: contain;
}

.ka-home-course-logo span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #f0edf7;
    color: var(--ka-purple-secondary);
    font-family: var(--ka-font-heading);
    font-size: 24px;
    line-height: 1;
}

.ka-home-course-card h3 {
    margin: 0 0 14px;
    color: var(--ka-purple-dark);
    font-family: var(--ka-font-heading);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.ka-home-course-card p {
    margin: 0 0 24px;
    color: var(--ka-muted);
    font-size: 16px;
    line-height: 1.65;
}

.ka-home-course-link {
    margin-top: auto;
    color: var(--ka-purple-secondary);
    font-family: var(--ka-font-heading);
    font-size: 14px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.ka-home-course-card:hover .ka-home-course-link {
    color: var(--ka-orange-dark);
}

.ka-home-section-cta {
    margin-top: 44px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Homepage study abroad destinations section
   -------------------------------------------------------------------------- */

.ka-home-destinations-section {
    position: relative;
    overflow: hidden;
    padding: 95px 0 105px;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 215, 0, 0.12), transparent 24%),
        radial-gradient(circle at 88% 82%, rgba(255, 160, 36, 0.10), transparent 26%),
        var(--ka-gradient-purple);
}

.ka-home-destinations-bg {
    display: none;
}

.ka-home-destinations-layout {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 52px;
}

.ka-home-destinations-content {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    color: var(--ka-white);
}

.ka-home-destinations-content .ka-split-label {
    justify-content: center;
    margin-bottom: 22px;
}

.ka-home-destinations-content h2 {
    max-width: 900px;
    margin: 0 auto 22px;
    color: var(--ka-white);
    font-family: var(--ka-font-heading);
    font-size: clamp(38px, 3vw, 52px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -2.5px;
    text-transform: uppercase;
}

.ka-home-destinations-content p {
    max-width: 720px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.7;
}

.ka-home-destinations-cards-wrap {
    min-width: 0;
}

.ka-home-destinations-cards {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}

.ka-home-destination-card {
    width: 100%;
    max-width: 272px;
    flex: 0 1 272px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--ka-white);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ka-home-destination-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.25);
}

.ka-home-destination-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #eee9f5;
}

.ka-home-destination-image > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ka-home-destination-card:hover .ka-home-destination-image > img {
    transform: scale(1.04);
}

.ka-home-destination-flag {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 3;
    width: 38px;
    height: 26px;
    display: block;
    padding: 0;
    border-radius: 5px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 6px 16px rgba(42, 0, 61, 0.18);
}

.ka-home-destination-flag img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ka-home-destination-body {
    min-height: 170px;
    padding: 26px 28px 28px;
    background: var(--ka-white);
}

.ka-home-destination-body h3 {
    position: relative;
    margin: 0 0 12px;
    padding-left: 30px;
    color: var(--ka-text);
    font-family: var(--ka-font-caption);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.ka-home-destination-body h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 3px;
    border-radius: 999px;
    background: var(--ka-gradient-yellow);
    transform: translateY(-50%);
}

.ka-home-destination-body p {
    margin: 0 0 18px;
    color: var(--ka-muted);
    font-size: 15px;
    line-height: 1.55;
}

.ka-home-destination-link {
    color: var(--ka-purple-secondary);
    font-family: var(--ka-font-heading);
    font-size: 13px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.ka-home-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ka-home-card {
    overflow: hidden;
    border-radius: 20px;
    background: var(--ka-white);
    box-shadow: var(--ka-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ka-home-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 55px rgba(31, 0, 52, 0.18);
}

.ka-home-card-image {
    display: block;
    background: #eee9f5;
}

.ka-home-card-image img {
    width: 100%;
    height: 220px;
    display: block;
    object-fit: cover;
}

.ka-home-card-body {
    padding: 26px;
}

.ka-home-card-body h3 {
    margin: 0 0 12px;
    color: var(--ka-purple-dark);
    font-family: var(--ka-font-heading);
    font-size: 21px;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ka-home-card-body p {
    margin: 0 0 20px;
    color: var(--ka-muted);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Homepage testimonials section
   -------------------------------------------------------------------------- */

.ka-home-testimonials-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 0% 82%, rgba(89, 12, 96, 0.16), transparent 18%),
        radial-gradient(circle at 94% 92%, rgba(255, 215, 0, 0.22), transparent 18%),
        var(--ka-light);
}

.ka-home-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 52px;
}

.ka-home-testimonial-card {
    position: relative;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    padding: 38px 34px 34px;
    border-radius: 22px;
    background: var(--ka-white);
    box-shadow: 0 24px 70px rgba(42, 0, 61, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ka-home-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 32px 86px rgba(42, 0, 61, 0.13);
}

.ka-home-testimonial-quote {
    margin-bottom: 14px;
    color: var(--ka-orange);
    font-family: var(--ka-font-caption);
    font-size: 64px;
    line-height: 0.7;
}

.ka-home-testimonial-card > p {
    margin: 0 0 28px;
    color: var(--ka-muted);
    font-size: 17px;
    line-height: 1.75;
    font-style: italic;
}

.ka-home-testimonial-person {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    align-items: center;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--ka-border);
}

.ka-home-testimonial-avatar {
    width: 58px;
    height: 58px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--ka-gradient-purple);
    color: var(--ka-white);
    display: grid;
    place-items: center;
    font-family: var(--ka-font-heading);
    font-size: 22px;
}

.ka-home-testimonial-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ka-home-testimonial-person h3 {
    margin: 0 0 6px;
    color: var(--ka-purple-dark);
    font-family: var(--ka-font-heading);
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.ka-home-testimonial-person span {
    color: var(--ka-muted);
    font-family: var(--ka-font-caption);
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.ka-home-testimonials-cta {
    margin-top: 44px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Homepage blog section - 2 column editorial grid
   -------------------------------------------------------------------------- */

.ka-home-blog-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 96% 12%, rgba(89, 12, 96, 0.06), transparent 20%),
        radial-gradient(circle at 4% 92%, rgba(255, 215, 0, 0.18), transparent 18%),
        var(--ka-white);
}

.ka-home-blog-grid-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    align-items: stretch;
}

.ka-home-blog-intro-card {
    min-height: 410px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px;
    border-radius: 24px;
    background: var(--ka-white);
}

.ka-home-blog-intro-card h2 {
    max-width: 560px;
    margin: 0;
    color: var(--ka-text);
    font-family: var(--ka-font-heading);
    font-size: clamp(34px, 3.2vw, 52px);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -2.5px;
    text-transform: uppercase;
}

.ka-home-blog-divider {
    width: 82px;
    height: 4px;
    margin: 28px 0 28px;
    border-radius: 999px;
    background: var(--ka-gradient-yellow);
}

.ka-home-blog-intro-card p {
    max-width: 560px;
    margin: 0 0 38px;
    color: var(--ka-muted);
    font-size: 17px;
    line-height: 1.75;
}

.ka-home-blog-intro-card .ka-btn {
    align-self: flex-start;
}

.ka-home-blog-tile {
    position: relative;
    min-height: 410px;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
}

.ka-home-blog-tile-image {
    height: 285px;
    overflow: hidden;
    border-radius: 22px;
    background: #eee9f5;
    box-shadow: 0 18px 45px rgba(42, 0, 61, 0.08);
}

.ka-home-blog-tile-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ka-home-blog-tile:hover .ka-home-blog-tile-image img {
    transform: scale(1.04);
}

.ka-home-blog-placeholder {
    min-height: 285px;
    display: grid;
    place-items: center;
    padding: 28px;
    color: var(--ka-purple-dark);
    font-family: var(--ka-font-heading);
    font-size: 18px;
    letter-spacing: -1px;
    text-align: center;
    text-transform: uppercase;
}

.ka-home-blog-tile-content {
    position: relative;
    z-index: 2;
    width: calc(100% - 52px);
    margin: -72px auto 0;
    padding: 28px 34px 30px;
    border-radius: 16px;
    background: var(--ka-gradient-purple);
    color: var(--ka-white);
    box-shadow: 0 24px 70px rgba(42, 0, 61, 0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ka-home-blog-tile:hover .ka-home-blog-tile-content {
    transform: translateY(-4px);
    box-shadow: 0 32px 86px rgba(42, 0, 61, 0.3);
}

.ka-home-blog-tile-content::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px; /* shorter than the left divider */
    height: 5px; /* a little thicker */
    border-radius: 999px;
    background: linear-gradient(90deg, #D76D1D 0%, #FFD700 100%);
    transform: translate(-45%, -50%);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.18);
}

.ka-home-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--ka-font-caption);
    font-size: 13px;
    line-height: 1.2;
}

.ka-home-blog-meta span + span::before {
    content: "•";
    margin-right: 12px;
    color: var(--ka-gold);
}

.ka-home-blog-tile-content h3 {
    margin: 0 0 18px;
    color: var(--ka-white);
    font-family: var(--ka-font-caption);
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: 1.2px;
}

.ka-home-blog-link {
    display: inline-flex;
    color: var(--ka-gold);
    font-family: var(--ka-font-heading);
    font-size: 13px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

/* Home page css ends here*/

/* --------------------------------------------------------------------------
   Homepage hero visibility control
   Desktop keeps the original hero. Tablet/mobile use Hero V2.
   -------------------------------------------------------------------------- */

.ka-home-hero-mobile {
    display: none;
}

@media (min-width: 901px) {
    .ka-home-hero-desktop {
        display: block;
    }

    .ka-home-hero-mobile {
        display: none;
    }
}

@media (max-width: 900px) {
    .ka-home-hero-desktop {
        display: none;
    }

    .ka-home-hero-mobile {
        display: block;
    }
}

/* --------------------------------------------------------------------------
   Homepage Hero V2 - Tablet and Mobile
   -------------------------------------------------------------------------- */

.ka-home-hero-v2 {
    position: relative;
    overflow: hidden;
    min-height: auto;
    padding: 0 0 72px;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 215, 0, 0.16), transparent 22%),
        radial-gradient(circle at 92% 84%, rgba(89, 12, 96, 0.20), transparent 26%),
        var(--ka-gradient-purple);
}

.ka-home-hero-v2-inner {
    display: grid;
    gap: 34px;
}

/* --------------------------------------------------------------------------
   Combined split visual block
   -------------------------------------------------------------------------- */

.ka-home-hero-v2-visual-wrap {
    position: relative;
    width: min(calc(100vw - 160px), 1600px);
    min-height: 560px;
    margin-left: 50%;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
    background: var(--ka-gradient-purple);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
    transform: translateX(-50%);
}

.ka-home-hero-v2-panel {
    position: absolute;
    inset: 0;
    min-height: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.ka-home-hero-v2-panel-left {
    z-index: 1;
    width: 56%;
}

.ka-home-hero-v2-panel-right {
    z-index: 2;
    left: auto;
    right: 0;
    width: 61%;
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.ka-home-hero-v2-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
}

.ka-home-hero-v2-image-left {
    background-image:
        linear-gradient(
            90deg,
            rgba(255, 233, 28, 0.12) 0%,
            rgba(255, 215, 0, 0.14) 34%,
            rgba(215, 109, 29, 0.18) 66%,
            rgba(255, 255, 255, 0.78) 100%
        ),
        url('../images/home-hero-english-training.png');
    background-position: left bottom;
}

.ka-home-hero-v2-image-right {
    background-image:
        linear-gradient(90deg, rgba(42, 0, 61, 0.62), rgba(42, 0, 61, 0.22)),
        url('../images/home-hero-study-abroad.png');
    background-position: center center;
}

.ka-home-hero-v2-panel::after {
    display: none;
}

/* --------------------------------------------------------------------------
   Service labels
   -------------------------------------------------------------------------- */

.ka-home-hero-v2-service {
    position: absolute;
    z-index: 5;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    align-items: center;
    color: var(--ka-white);
}

.ka-home-hero-v2-panel-left .ka-home-hero-v2-service {
    left: 42px;
    top: 68px;
    right: auto;
    bottom: auto;
    max-width: 360px;
    color: var(--ka-purple-secondary);
}

.ka-home-hero-v2-panel-right .ka-home-hero-v2-service {
    right: 42px;
    top: 68px;
    left: auto;
    bottom: auto;
    max-width: 360px;
}

.ka-home-hero-v2-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ka-gradient-purple);
    color: var(--ka-white);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.78);
    font-size: 24px;
}

.ka-home-hero-v2-panel-right .ka-home-hero-v2-icon {
    background: rgba(255, 255, 255, 0.1);
}

.ka-home-hero-v2-service h2 {
    margin: 0 0 8px;
    font-family: var(--ka-font-heading);
    font-size: 20px;
    line-height: 1.18;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.ka-home-hero-v2-panel-left .ka-home-hero-v2-service h2 {
    color: var(--ka-purple-secondary);
}

.ka-home-hero-v2-panel-right .ka-home-hero-v2-service h2 {
    color: var(--ka-white);
}

.ka-home-hero-v2-service h2::after {
    content: "";
    display: block;
    width: 76px;
    height: 4px;
    margin-top: 10px;
    border-radius: 999px;
    background: var(--ka-gradient-yellow);
}

.ka-home-hero-v2-service p {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
}

.ka-home-hero-v2-panel-left .ka-home-hero-v2-service p {
    color: #2f2838;
}

.ka-home-hero-v2-panel-right .ka-home-hero-v2-service p {
    color: rgba(255, 255, 255, 0.86);
}

/* --------------------------------------------------------------------------
   Center card
   -------------------------------------------------------------------------- */

.ka-home-hero-v2-card {
    position: relative;
    z-index: 8;
    width: min(620px, calc(100% - 42px));
    justify-self: center;
    margin-top: -350px;
    padding: 48px 50px 42px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    box-shadow: 0 28px 80px rgba(42, 0, 61, 0.26);
    text-align: center;
}

.ka-home-hero-v2-card-icon {
    display: block;
    margin-bottom: 8px;
    color: rgba(89, 12, 96, 0.30);
    font-size: 42px;
    line-height: 1;
}

.ka-home-hero-v2-card h1 {
    margin: 0;
    color: #22202c;
    font-family: var(--ka-font-heading);
    font-size: clamp(32px, 3vw, 46px);
    line-height: 1.14;
    letter-spacing: -1.5px;
    text-transform: none;
}

.ka-home-hero-v2-card h1 span {
    display: block;
    margin-top: 4px;
    color: var(--ka-purple-secondary);
}

.ka-home-hero-v2-card p {
    max-width: 520px;
    margin: 20px auto 28px;
    color: #322b3b;
    font-size: 18px;
    line-height: 1.6;
}

.ka-home-hero-v2-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ka-home-hero-v2-cta {
    min-height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 14px;
    font-family: var(--ka-font-heading);
    font-size: 15px;
    line-height: 1.15;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    box-shadow: 0 14px 30px rgba(42, 0, 61, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ka-home-hero-v2-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(42, 0, 61, 0.2);
}

.ka-home-hero-v2-cta span {
    font-size: 24px;
}

.ka-home-hero-v2-cta-gold {
    background: var(--ka-gradient-yellow);
    color: var(--ka-purple-dark);
}

.ka-home-hero-v2-cta-purple {
    background: var(--ka-gradient-purple);
    color: var(--ka-white);
}

/* --------------------------------------------------------------------------
   Tablet layout - keep desktop-style split
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {

    .ka-home-hero-v2-panel-left {
        width: 57%;
    }

    .ka-home-hero-v2-panel-right {
        width: 63%;
        clip-path: polygon(19% 0, 100% 0, 100% 100%, 0 100%);
    }

    .ka-home-hero-v2-image-left {
        background-position: 24% bottom;
    }

    .ka-home-hero-v2-image-right {
        background-position: 58% center;
    }

    .ka-home-hero-v2-panel-left .ka-home-hero-v2-service {
        left: 24px;
        top: 44px;
        max-width: 260px;
    }

    .ka-home-hero-v2-panel-right .ka-home-hero-v2-service {
        right: 24px;
        top: 44px;
        max-width: 250px;
    }

    .ka-home-hero-v2-service {
        grid-template-columns: 46px 1fr;
        gap: 12px;
    }

    .ka-home-hero-v2-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .ka-home-hero-v2-service h2 {
        font-size: 14px;
        line-height: 1.2;
        letter-spacing: 0.8px;
    }

    .ka-home-hero-v2-service h2::after {
        width: 54px;
        height: 3px;
        margin-top: 8px;
    }

    .ka-home-hero-v2-service p {
        font-size: 12px;
        line-height: 1.35;
    }

    .ka-home-hero-v2-card {
        width: min(560px, calc(100% - 36px));
        margin-top: -120px;
        padding: 34px 30px 30px;
        border-radius: 22px;
    }

    .ka-home-hero-v2-card-icon {
        font-size: 34px;
    }

    .ka-home-hero-v2-card h1 {
        font-size: 28px;
        line-height: 1.24;
        letter-spacing: 0.2px;
    }

    .ka-home-hero-v2-card p {
        margin: 16px auto 24px;
        font-size: 15px;
        line-height: 1.55;
    }

    .ka-home-hero-v2-cta {
        min-height: 58px;
        font-size: 13px;
    }

    .ka-home-hero-v2 {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}

.ka-home-hero-v2 .ka-container,
.ka-home-hero-v2-inner {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.ka-home-hero-v2-inner {
    gap: 0;
}

.ka-home-hero-v2-visual-wrap {
    min-height: 300px;
    width: 100vw;
    max-width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 26px;
    border-bottom-right-radius: 26px;
}
}

/* --------------------------------------------------------------------------
   Mobile layout - compact split, same design language
   -------------------------------------------------------------------------- */

@media (max-width: 560px) {
     
    .ka-home-hero-v2-panel-left {
        width: 60%;
    }

    .ka-home-hero-v2-panel-right {
        width: 66%;
        clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
    }

    .ka-home-hero-v2-image-left {
        background-position: 34% bottom;
    }

    .ka-home-hero-v2-image-right {
        background-position: 63% center;
    }

    .ka-home-hero-v2-panel-left .ka-home-hero-v2-service {
        left: 14px;
        top: 24px;
        max-width: 175px;
    }

    .ka-home-hero-v2-panel-right .ka-home-hero-v2-service {
        right: 12px;
        top: 24px;
        max-width: 160px;
    }

    .ka-home-hero-v2-service {
        grid-template-columns: 36px 1fr;
        gap: 8px;
    }

    .ka-home-hero-v2-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .ka-home-hero-v2-service h2 {
        margin-bottom: 6px;
        font-size: 10px;
        line-height: 1.18;
        letter-spacing: 0.4px;
    }

    .ka-home-hero-v2-service h2::after {
        width: 38px;
        height: 3px;
        margin-top: 6px;
    }

    .ka-home-hero-v2-service p {
        font-size: 9.5px;
        line-height: 1.3;
    }

    .ka-home-hero-v2-card {
        width: calc(100% - 24px);
        margin-top: -100px;
        padding: 28px 20px 24px;
        border-radius: 18px;
    }

    .ka-home-hero-v2-card-icon {
        font-size: 32px;
    }

    .ka-home-hero-v2-card h1 {
        font-size: 21px;
        line-height: 1.25;
        letter-spacing: 0;
    }

    .ka-home-hero-v2-card p {
        margin: 14px auto 20px;
        font-size: 13px;
        line-height: 1.55;
    }

    .ka-home-hero-v2-actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ka-home-hero-v2-cta {
        min-height: 52px;
        font-size: 12px;
    }

    .ka-home-hero-v2 {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}

.ka-home-hero-v2 .ka-container,
.ka-home-hero-v2-inner {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.ka-home-hero-v2-visual-wrap {
    min-height: 260px;
    width: 100vw;
    max-width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
}