/* ==========================================================================
   KCI Tech — Modern Classy Theme Overrides
   Loaded after app.css
   ========================================================================== */

:root {
    --color-primary: #0c1445;
    --color-primary-light: #1a2560;
    --color-secondary: #c9a962;
    --color-secondary-dark: #a8873f;
    --color-textSecondary: #c9a962;
    --color-heading: #1a2332;
    --color-body: #64748b;
    --color-border: #e8ecf1;
    --gradient-primary: linear-gradient(135deg, #0c1445 0%, #1a2560 50%, #0c1445 100%);
    --gradient-gold: linear-gradient(135deg, #c9a962 0%, #dfc07a 100%);
    --gradient-hero: linear-gradient(105deg, rgba(12, 20, 69, 0.92) 0%, rgba(12, 20, 69, 0.55) 45%, rgba(12, 20, 69, 0.15) 100%);
    --color-lighten04: #f8f9fb;
    --cta-color-bg: #f4f6f9;
    --shadow-soft: 0 4px 24px rgba(12, 20, 69, 0.06);
    --shadow-card: 0 8px 32px rgba(12, 20, 69, 0.08);
    --shadow-hover: 0 16px 48px rgba(12, 20, 69, 0.12);
    --radius: 12px;
    --radius-big: 20px;
    --font-primary: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
    --font-secondary: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
}

/* ---- Base Typography ---- */
body {
    font-family: var(--font-primary);
    color: var(--color-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.section-title .title,
.heading-font {
    font-family: var(--font-display) !important;
    font-weight: 600 !important;
    letter-spacing: -0.025em;
    text-transform: none !important;
    color: var(--color-heading);
}

/* ---- Header ---- */
.header-style-2 .header-top-bar {
    background: var(--gradient-primary);
    border-bottom: 1px solid rgba(201, 169, 98, 0.15);
}

.header-style-2 .header-top .header-info li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color 0.25s ease;
}

.header-style-2 .header-top .header-info li a:hover {
    color: var(--color-secondary);
}

.header-style-2 .header-top .header-info li:after {
    background-color: rgba(255, 255, 255, 0.15);
}

.header-style-2 .header-mainmenu {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(12, 20, 69, 0.06);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header-style-2 .header-mainmenu.is-scrolled {
    box-shadow: var(--shadow-soft);
}

.header-style-2 .mainmenu-nav .mainmenu > li > a {
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.01em;
    color: var(--color-heading);
    transition: color 0.25s ease;
}

.header-style-2 .mainmenu-nav .mainmenu > li > a:hover,
.header-style-2 .mainmenu-nav .mainmenu > li > a.active {
    color: var(--color-secondary-dark);
}

.header-style-2 .header-mainmenu .header-right:after {
    background: var(--color-border);
}

.header-style-2 .header-mainmenu .header-right {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.header-style-2 .header-action li.search-icon a {
    position: relative;
    z-index: 1;
}

/* ---- Buttons ---- */
a.edu-btn,
button.edu-btn {
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(12, 20, 69, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.edu-btn:after,
button.edu-btn:after {
    border-radius: 50px;
    background: var(--gradient-gold);
}

a.edu-btn:hover,
button.edu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(12, 20, 69, 0.2);
}

a.edu-btn.btn-secondary,
button.edu-btn.btn-secondary {
    background: var(--gradient-gold);
    color: var(--color-primary);
    font-weight: 600;
}

a.edu-btn.btn-secondary:hover,
button.edu-btn.btn-secondary:hover {
    color: var(--color-primary);
}

/* ==========================================================================
   KCI Modern Hero — split layout (text + computer image)
   ========================================================================== */
.kci-hero {
    position: relative;
    overflow: visible;
}

.kci-hero__stage {
    position: relative;
    padding: 48px 0 56px;
    overflow: hidden;
}

.kci-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 85% 35%, rgba(201, 169, 98, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 10% 80%, rgba(12, 20, 69, 0.06) 0%, transparent 50%),
        linear-gradient(165deg, #f7f8fb 0%, #eef1f6 45%, #e8ecf3 100%);
    z-index: 0;
}

.kci-hero__grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(12, 20, 69, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(12, 20, 69, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
    z-index: 1;
    pointer-events: none;
}

.kci-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

/* Left — copy */
.kci-hero__copy {
    max-width: 560px;
}

.kci-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(12, 20, 69, 0.08);
    box-shadow: 0 2px 12px rgba(12, 20, 69, 0.04);
    margin-bottom: 20px;
}

.kci-hero__tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-secondary);
    flex-shrink: 0;
}

.kci-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.2vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    color: var(--color-heading);
    line-height: 1.12;
    margin-bottom: 18px;
}

.kci-hero__title-accent {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a2a6e 55%, var(--color-secondary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.kci-hero__desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-body);
    margin-bottom: 22px;
    max-width: 480px;
}

.kci-hero__courses {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.kci-hero__courses li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-heading);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(12, 20, 69, 0.08);
    padding: 8px 14px;
    border-radius: 50px;
}

.kci-hero__course-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-secondary);
    flex-shrink: 0;
}

.kci-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.kci-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.kci-hero__btn--primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 6px 24px rgba(12, 20, 69, 0.22);
}

.kci-hero__btn--primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(12, 20, 69, 0.28);
}

.kci-hero__btn--outline {
    background: #fff;
    color: var(--color-heading);
    border: 1px solid rgba(12, 20, 69, 0.12);
    box-shadow: 0 2px 12px rgba(12, 20, 69, 0.05);
}

.kci-hero__btn--outline:hover {
    color: var(--color-heading);
    background: #fff;
    transform: translateY(-2px);
    border-color: rgba(12, 20, 69, 0.2);
}

.kci-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(12, 20, 69, 0.08);
}

.kci-hero__trust-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kci-hero__trust-item strong {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-heading);
    line-height: 1.1;
}

.kci-hero__trust-item span {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-body);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Right — media */
.kci-hero__media {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kci-hero__media-ring {
    position: absolute;
    width: min(92%, 440px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 98, 0.35);
    background: radial-gradient(circle at 30% 30%, rgba(201, 169, 98, 0.12) 0%, transparent 55%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.kci-hero__media-ring::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    border: 1px dashed rgba(12, 20, 69, 0.1);
}

.kci-hero__media-card {
    position: relative;
    z-index: 1;
    width: min(100%, 460px);
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--color-primary) 0%, #0a1030 100%);
    padding: 12px;
    box-shadow:
        0 24px 64px rgba(12, 20, 69, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.kci-hero__media-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    z-index: 2;
    border-radius: 24px 24px 0 0;
}

.kci-hero__photo {
    display: block;
    width: 100%;
    height: auto;
    min-height: 300px;
    max-height: 460px;
    object-fit: contain;
    object-position: center bottom;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.08) 100%);
}

.kci-hero__badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(12, 20, 69, 0.12);
    max-width: 240px;
    z-index: 3;
}

.kci-hero__badge img {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.kci-hero__badge strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-heading);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.kci-hero__badge span {
    display: block;
    font-size: 11px;
    color: var(--color-body);
    line-height: 1.35;
    margin-top: 2px;
}

.kci-hero__badge--top {
    top: 8%;
    right: -4%;
}

.kci-hero__badge--bottom {
    bottom: 6%;
    left: -6%;
}

/* Bottom strip — matches footer card theme */
.kci-hero__bottom-wrap {
    background: #f0f1f3;
    padding: 20px 0 28px;
    position: relative;
}

.kci-hero__bottom {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 40px rgba(12, 20, 69, 0.06);
    border: 1px solid rgba(12, 20, 69, 0.05);
    position: relative;
    z-index: 4;
    margin-top: 0;
    overflow: hidden;
}

.kci-hero__panel {
    padding: 36px 32px;
    border-right: 1px solid var(--color-border);
    position: relative;
}

.kci-hero__panel:last-child {
    border-right: none;
}

.kci-hero__panel--accent {
    background: linear-gradient(135deg, #f8f9fb 0%, #fff 100%);
}

.kci-hero__panel-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.kci-hero__panel-icons span {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(12, 20, 69, 0.04);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 16px;
    transition: background 0.2s ease, color 0.2s ease;
}

.kci-hero__panel h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-heading);
    line-height: 1.35;
    margin-bottom: 12px;
}

.kci-hero__panel p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--color-body);
    margin: 0;
}

.kci-hero__panel-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-heading);
    text-decoration: none;
    border-bottom: 1px solid var(--color-secondary);
    padding-bottom: 2px;
    transition: color 0.2s ease;
}

.kci-hero__panel-link:hover {
    color: var(--color-secondary-dark);
}

.kci-hero__panel--stats strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.kci-hero__rating {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.kci-hero__stars {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-heading);
}

.kci-hero__stars i {
    color: var(--color-secondary);
    margin-right: 4px;
}

.kci-hero__avatars {
    display: flex;
}

.kci-hero__avatars span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    margin-left: -8px;
}

.kci-hero__avatars span:first-child {
    margin-left: 0;
    background: #4664e4;
}

.kci-hero__avatars span:nth-child(2) {
    background: #8e56ff;
}

.kci-hero__avatars span:nth-child(3) {
    background: var(--color-secondary-dark);
}

/* Responsive */
@media only screen and (max-width: 991px) {
    .kci-hero__stage {
        padding: 32px 0 40px;
    }

    .kci-hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .kci-hero__copy {
        max-width: none;
        text-align: center;
    }

    .kci-hero__desc {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .kci-hero__courses {
        justify-content: center;
    }

    .kci-hero__buttons {
        justify-content: center;
    }

    .kci-hero__trust {
        justify-content: center;
    }

    .kci-hero__media {
        min-height: 360px;
        max-width: 480px;
        margin: 0 auto;
    }

    .kci-hero__badge--top {
        right: 0;
        top: 4%;
    }

    .kci-hero__badge--bottom {
        left: 0;
        bottom: 2%;
    }

    .kci-hero__bottom-wrap {
        padding: 16px 0 24px;
    }

    .kci-hero__bottom {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .kci-hero__panel {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding: 28px 24px;
    }

    .kci-hero__panel:last-child {
        border-bottom: none;
    }
}

@media only screen and (max-width: 767px) {
    .kci-hero__stage {
        padding: 24px 0 32px;
    }

    .kci-hero__title {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

    .kci-hero__desc {
        font-size: 15px;
    }

    .kci-hero__media {
        min-height: 300px;
    }

    .kci-hero__photo {
        min-height: 260px;
        max-height: 360px;
    }

    .kci-hero__badge {
        max-width: 200px;
        padding: 10px 14px;
    }

    .kci-hero__badge--top {
        top: 0;
        right: -4px;
    }

    .kci-hero__badge--bottom {
        bottom: 0;
        left: -4px;
    }

    .kci-hero__buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .kci-hero__btn {
        width: 100%;
        padding: 9px 20px;
    }

    .kci-hero__trust {
        gap: 20px;
    }

    .kci-hero__trust-item strong {
        font-size: 18px;
    }
}

/* ---- Hero Banner (legacy) ---- */
.hero-banner.hero-style-3 .swiper-slide:before {
    background: var(--gradient-hero);
}

.banner-content .title,
.banner-content .subtitle,
.heading-font {
    font-family: var(--font-display) !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: -0.03em;
    color: #fff;
}

.banner-content .subtitle {
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.12em;
    text-transform: uppercase !important;
    color: var(--color-secondary) !important;
    display: inline-block;
    padding: 6px 16px;
    background: rgba(201, 169, 98, 0.15);
    border: 1px solid rgba(201, 169, 98, 0.35);
    border-radius: 50px;
    margin-bottom: 16px;
}

.banner-content .title {
    font-size: clamp(32px, 4.5vw, 52px) !important;
    line-height: 1.15 !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-banner.hero-style-3 .thumbnail-bg-content .banner-content p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 400;
}

.hero-banner.hero-style-3 .hero-slider-bg-controls .swiper-slide-controls {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.hero-banner.hero-style-3 .hero-slider-bg-controls .swiper-slide-controls:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

/* ---- Section spacing (tighter gaps) ---- */
.kci-section,
.section-gap-large,
.kci-blog-area.section-gap-large {
    padding: 56px 0 64px !important;
}

.about-style-3.kci-section,
.edu-about-area.about-style-3 {
    padding: 56px 0 64px !important;
}

.kci-section--alt {
    background: var(--color-lighten04);
}

.section-title {
    margin-bottom: 36px;
}

.kci-section__footer,
.kci-blog-area__footer {
    margin-top: 32px;
    text-align: center;
}

.kci-section__link,
.kci-blog-area__view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-heading);
    text-decoration: none;
    border-bottom: 1px solid var(--color-secondary);
    padding-bottom: 2px;
    transition: color 0.2s ease;
}

.kci-section__link:hover,
.kci-blog-area__view-all:hover {
    color: var(--color-secondary-dark);
}

@media only screen and (max-width: 767px) {
    .kci-section,
    .section-gap-large,
    .about-style-3.kci-section,
    .edu-about-area.about-style-3 {
        padding: 40px 0 48px !important;
    }

    .kci-hero__bottom-wrap {
        padding: 16px 0 24px;
    }

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

/* ---- About section ---- */
.kci-about {
    background: #fff;
    overflow: hidden;
}

.kci-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.kci-about__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border: none;
    margin-bottom: 24px;
}

.kci-about__tabs .nav-item {
    margin: 0;
}

.kci-about__tabs .nav-item::after {
    display: none;
}

.kci-about__tabs .nav-link {
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-body);
    background: var(--color-lighten04);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    transition: all 0.25s ease;
}

.kci-about__tabs .nav-link::after {
    display: none;
}

.kci-about__tabs .nav-link:hover,
.kci-about__tabs .nav-link.active {
    color: #fff;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.kci-about__panels p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-body);
    margin-bottom: 18px;
}

.kci-about__list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 12px;
}

.kci-about__list li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-heading);
    line-height: 1.5;
}

.kci-about__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(201, 169, 98, 0.2);
    border: 2px solid var(--color-secondary);
}

.kci-about__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.kci-about__highlight {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kci-about__highlight strong {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-heading);
    line-height: 1.1;
}

.kci-about__highlight span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-body);
}

.kci-about__media {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kci-about__media-ring {
    position: absolute;
    width: min(92%, 420px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 98, 0.35);
    background: radial-gradient(circle at 30% 30%, rgba(201, 169, 98, 0.1) 0%, transparent 55%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.kci-about__media-card {
    position: relative;
    z-index: 1;
    width: min(100%, 440px);
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--color-primary) 0%, #0a1030 100%);
    padding: 10px;
    box-shadow: 0 24px 64px rgba(12, 20, 69, 0.18);
}

.kci-about__media-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    z-index: 2;
}

.kci-about__media-card img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 320px;
    max-height: 460px;
    object-fit: cover;
    border-radius: 16px;
}

.kci-about__float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(12, 20, 69, 0.12);
    max-width: 230px;
    z-index: 3;
}

.kci-about__float strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-heading);
    line-height: 1.3;
}

.kci-about__float span {
    display: block;
    font-size: 11px;
    color: var(--color-body);
    margin-top: 2px;
}

.kci-about__float--top {
    top: 8%;
    right: -2%;
}

.kci-about__float--bottom {
    bottom: 6%;
    left: -4%;
}

@media only screen and (max-width: 991px) {
    .kci-about__grid {
        grid-template-columns: 1fr;
    }

    .kci-about__content {
        order: 1;
    }

    .kci-about__media {
        order: 2;
        min-height: 340px;
        max-width: 480px;
        margin: 0 auto;
    }

    .kci-about__highlights {
        justify-content: center;
    }
}

@media only screen and (max-width: 767px) {
    .kci-about__float--top {
        right: 0;
        top: 0;
    }

    .kci-about__float--bottom {
        left: 0;
        bottom: 0;
    }
}

/* ---- Courses grid ---- */
.kci-courses__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.kci-courses__count {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-body);
}

.kci-courses__select {
    min-width: 160px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-heading);
    background: var(--color-lighten04);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    cursor: pointer;
}

.kci-courses__pagination {
    margin-top: 40px;
}

.kci-courses__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.kci-course-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-big);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.kci-course-card::before {
    content: "";
    display: block;
    height: 4px;
    background: var(--gradient-gold);
}

.kci-course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.kci-course-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    text-decoration: none;
}

.kci-course-card--navy .kci-course-card__media {
    background: linear-gradient(145deg, #0c1445 0%, #1a2560 100%);
}

.kci-course-card--gold .kci-course-card__media {
    background: linear-gradient(145deg, #a8873f 0%, #c9a962 100%);
}

.kci-course-card--teal .kci-course-card__media {
    background: linear-gradient(145deg, #0d9488 0%, #0891b2 100%);
}

.kci-course-card--slate .kci-course-card__media {
    background: linear-gradient(145deg, #334155 0%, #475569 100%);
}

.kci-course-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.kci-course-card:hover .kci-course-card__media img {
    transform: scale(1.06);
}

.kci-course-card__media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(12, 20, 69, 0.55) 100%);
    pointer-events: none;
}

.kci-course-card__code {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.kci-course-card__badge,
.kci-course-card__mode {
    position: absolute;
    z-index: 2;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 50px;
}

.kci-course-card__badge {
    top: 14px;
    left: 14px;
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
}

.kci-course-card__mode {
    top: 14px;
    right: 14px;
    color: #fff;
    background: rgba(12, 20, 69, 0.55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.kci-course-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 22px 24px;
}

.kci-course-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.kci-course-card__tags span {
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(12, 20, 69, 0.05);
    border: 1px solid rgba(12, 20, 69, 0.08);
    border-radius: 50px;
}

.kci-course-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.35;
    margin: 0 0 10px;
}

.kci-course-card__title a {
    color: var(--color-heading);
    text-decoration: none;
    transition: color 0.2s ease;
}

.kci-course-card__title a:hover {
    color: var(--color-primary);
}

.kci-course-card__desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--color-body);
    margin: 0 0 18px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kci-course-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 11px 22px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: var(--color-primary);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(12, 20, 69, 0.18);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.kci-course-card__link:hover {
    color: var(--color-primary);
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(12, 20, 69, 0.15);
}

@media only screen and (max-width: 991px) {
    .kci-courses__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media only screen and (max-width: 575px) {
    .kci-courses__grid {
        grid-template-columns: 1fr;
    }

    .kci-courses__toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .kci-courses__select {
        width: 100%;
    }
}

/* ---- Testimonials grid ---- */
.kci-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.kci-testimonial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-big);
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.kci-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.kci-testimonial-card__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.kci-testimonial-card__stars i {
    font-size: 15px;
    color: var(--color-secondary);
}

.kci-testimonial-card__stars i.is-muted {
    opacity: 0.35;
}

.kci-testimonial-card__quote {
    font-size: 15px;
    line-height: 1.75;
    color: var(--color-body);
    margin: 0 0 22px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kci-testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}

.kci-testimonial-card__avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kci-testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.kci-testimonial-card__avatar span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-transform: uppercase;
}

.kci-testimonial-card__author strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-heading);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.kci-testimonial-card__author > div:not(.kci-testimonial-card__avatar) span {
    display: block;
    font-size: 12px;
    color: var(--color-body);
    margin-top: 2px;
}

@media only screen and (max-width: 991px) {
    .kci-testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media only screen and (max-width: 575px) {
    .kci-testimonials__grid {
        grid-template-columns: 1fr;
    }

    .kci-testimonial-card {
        padding: 24px;
    }
}

.section-title .shape-line {
    display: none !important;
}

.section-title .pre-title {
    display: inline-block;
    color: var(--color-secondary-dark);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title.section-center .pre-title {
    position: relative;
}

.section-title .title {
    font-weight: 700;
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    letter-spacing: -0.035em;
    line-height: 1.2;
    margin-bottom: 0;
    color: var(--color-heading);
}

.section-title.section-left .title {
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
}

.section-title.section-center .title {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-title .title .color-primary {
    color: var(--color-primary);
}

.section-title p {
    margin-top: 16px;
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-body);
    max-width: 560px;
}

.section-title.section-center p {
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 767px) {
    .section-title {
        margin-bottom: 36px;
    }

    .section-title .pre-title {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .section-title .title {
        font-size: clamp(1.5rem, 6vw, 1.85rem);
    }
}

/* ---- Feature Cards ---- */
.features-area-3 {
    margin-top: 0;
    position: relative;
    z-index: 10;
    padding: 60px 0 20px;
}

.features-box.features-style-3 {
    border-radius: var(--radius-big);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    background: #fff;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
}

.features-box.features-style-3:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.features-box.features-style-3 .content .title {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.01em;
}

.features-box.features-style-3 .content p {
    color: var(--color-body);
    line-height: 1.65;
    font-size: 14px;
}

/* ---- About Section ---- */
.about-style-3 .about-content .nav-tabs .nav-link {
    font-weight: 500;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 14px;
    transition: all 0.25s ease;
}

.about-style-3 .about-content .nav-tabs .nav-link.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.about-style-3 .about-image-gallery .main-img-1 {
    border-radius: var(--radius-big);
    box-shadow: var(--shadow-card);
}

/* ---- Counter ---- */
.counterup-area-1 .edu-counterup.counterup-style-1 {
    padding: 28px 20px;
    border-radius: var(--radius-big);
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.counterup-area-1 .edu-counterup.counterup-style-1:hover {
    transform: translateY(-4px);
}

.counterup-area-1 .counter-item.count-number {
    font-weight: 700;
    letter-spacing: -0.03em;
}

.counterup-area-1 .edu-counterup .title {
    font-weight: 500;
    color: var(--color-body);
    font-size: 14px;
}

/* ---- Blog masonry grid ---- */
.kci-section__footer p {
    font-size: 15px;
    color: var(--color-body);
    margin-bottom: 12px;
}

.kci-blog-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* 1 blog */
.kci-blog-masonry--count-1 {
    grid-template-rows: minmax(280px, 320px);
    grid-template-areas: "c1 c1 c1 c1";
}

.kci-blog-masonry--count-1 .kci-blog-masonry__card--1 { grid-area: c1; }

/* 2 blogs */
.kci-blog-masonry--count-2 {
    grid-template-rows: minmax(260px, 300px);
    grid-template-areas: "c1 c1 c2 c2";
}

.kci-blog-masonry--count-2 .kci-blog-masonry__card--1 { grid-area: c1; }
.kci-blog-masonry--count-2 .kci-blog-masonry__card--2 { grid-area: c2; }

/* 3 blogs */
.kci-blog-masonry--count-3 {
    grid-template-rows: repeat(2, minmax(240px, 1fr));
    grid-template-areas:
        "c1 c1 c2 c2"
        "c3 c3 c2 c2";
}

.kci-blog-masonry--count-3 .kci-blog-masonry__card--1 { grid-area: c1; }
.kci-blog-masonry--count-3 .kci-blog-masonry__card--2 { grid-area: c2; }
.kci-blog-masonry--count-3 .kci-blog-masonry__card--3 { grid-area: c3; }

/* 4 blogs */
.kci-blog-masonry--count-4 {
    grid-template-rows: repeat(2, minmax(240px, 1fr));
    grid-template-areas:
        "c1 c1 c2 c3"
        "c4 c4 c2 c3";
}

.kci-blog-masonry--count-4 .kci-blog-masonry__card--1 { grid-area: c1; }
.kci-blog-masonry--count-4 .kci-blog-masonry__card--2 { grid-area: c2; }
.kci-blog-masonry--count-4 .kci-blog-masonry__card--3 { grid-area: c3; }
.kci-blog-masonry--count-4 .kci-blog-masonry__card--4 { grid-area: c4; }

/* 5 blogs */
.kci-blog-masonry--count-5 {
    grid-template-rows: repeat(2, minmax(240px, 1fr));
    grid-template-areas:
        "c1 c1 c2 c3"
        "c4 c5 c2 c3";
}

.kci-blog-masonry--count-5 .kci-blog-masonry__card--1 { grid-area: c1; }
.kci-blog-masonry--count-5 .kci-blog-masonry__card--2 { grid-area: c2; }
.kci-blog-masonry--count-5 .kci-blog-masonry__card--3 { grid-area: c3; }
.kci-blog-masonry--count-5 .kci-blog-masonry__card--4 { grid-area: c4; }
.kci-blog-masonry--count-5 .kci-blog-masonry__card--5 { grid-area: c5; }

/* 6 blogs */
.kci-blog-masonry--count-6 {
    grid-template-rows: repeat(2, minmax(240px, 1fr));
    grid-template-areas:
        "c1 c1 c2 c3"
        "c4 c5 c2 c6";
}

.kci-blog-masonry--count-6 .kci-blog-masonry__card--1 { grid-area: c1; }
.kci-blog-masonry--count-6 .kci-blog-masonry__card--2 { grid-area: c2; }
.kci-blog-masonry--count-6 .kci-blog-masonry__card--3 { grid-area: c3; }
.kci-blog-masonry--count-6 .kci-blog-masonry__card--4 { grid-area: c4; }
.kci-blog-masonry--count-6 .kci-blog-masonry__card--5 { grid-area: c5; }
.kci-blog-masonry--count-6 .kci-blog-masonry__card--6 { grid-area: c6; }

.kci-blog-masonry__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 0;
    min-width: 0;
    padding: 28px;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    background-color: var(--color-primary);
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 32px rgba(12, 20, 69, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    isolation: isolate;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.kci-blog-masonry__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(12, 20, 69, 0.16);
    text-decoration: none;
}

.kci-blog-masonry__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        180deg,
        rgba(12, 20, 69, 0.05) 0%,
        rgba(12, 20, 69, 0.25) 40%,
        rgba(12, 20, 69, 0.88) 100%
    );
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.kci-blog-masonry__card:hover .kci-blog-masonry__overlay {
    background: linear-gradient(
        180deg,
        rgba(12, 20, 69, 0.1) 0%,
        rgba(12, 20, 69, 0.35) 40%,
        rgba(12, 20, 69, 0.92) 100%
    );
}

.kci-blog-masonry__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.kci-blog-masonry__cat {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.kci-blog-masonry__title {
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.6vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #fff;
    margin: 0;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kci-blog-masonry__card--1 .kci-blog-masonry__title,
.kci-blog-masonry__card--4 .kci-blog-masonry__title {
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    -webkit-line-clamp: 2;
}

.kci-blog-masonry__card--2 .kci-blog-masonry__title {
    font-size: clamp(1.1rem, 1.8vw, 1.45rem);
    -webkit-line-clamp: 4;
}

.kci-blog-masonry__btn {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin-top: 6px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.kci-blog-masonry__card:hover .kci-blog-masonry__btn {
    transform: translateY(-2px);
    background: var(--color-secondary);
    color: var(--color-primary);
}

@media only screen and (max-width: 991px) {
    .kci-blog-masonry,
    .kci-blog-masonry--count-1,
    .kci-blog-masonry--count-2,
    .kci-blog-masonry--count-3,
    .kci-blog-masonry--count-4,
    .kci-blog-masonry--count-5,
    .kci-blog-masonry--count-6 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
        grid-template-areas: none;
        grid-auto-rows: minmax(240px, auto);
    }

    .kci-blog-masonry__card,
    .kci-blog-masonry__card--1,
    .kci-blog-masonry__card--2,
    .kci-blog-masonry__card--3,
    .kci-blog-masonry__card--4,
    .kci-blog-masonry__card--5,
    .kci-blog-masonry__card--6 {
        grid-area: auto !important;
        min-height: 240px;
    }
}

@media only screen and (max-width: 575px) {
    .kci-blog-masonry,
    .kci-blog-masonry--count-1,
    .kci-blog-masonry--count-2,
    .kci-blog-masonry--count-3,
    .kci-blog-masonry--count-4,
    .kci-blog-masonry--count-5,
    .kci-blog-masonry--count-6 {
        grid-template-columns: 1fr;
    }

    .kci-blog-masonry__card {
        min-height: 260px;
        padding: 24px;
    }

    .kci-blog-masonry__title {
        -webkit-line-clamp: 3;
    }
}

/* ---- Course Cards ---- */
.edu-course.course-style-3 .inner {
    border-radius: var(--radius-big);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background: #fff;
}

.edu-course.course-style-3 .inner:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.edu-course.course-style-3 .thumbnail img,
.edu-course.course-style-3 .thumbnail > a > div {
    border-radius: var(--radius-big) var(--radius-big) 0 0 !important;
}

.edu-course.course-style-3 .content .title a {
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--color-heading);
    transition: color 0.25s ease;
}

.edu-course.course-style-3 .content .title a:hover {
    color: var(--color-secondary-dark);
}

.edu-course.course-style-3 .content .course-level {
    color: var(--color-secondary-dark);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.course-area-3.bg-lighten04 {
    background: var(--color-lighten04) !important;
}

/* ---- Testimonials ---- */
.testimonial-area-2 .testimonial-slide {
    border-radius: var(--radius-big);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    background: #fff;
}

.testimonial-area-2 .testimonial-slide .content p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-body);
    font-style: italic;
}

.testimonial-area-2 .rating-icon i {
    color: var(--color-secondary);
}

/* ---- Blog / Event Cards ---- */
.edu-event.event-style-1 .inner {
    border-radius: var(--radius-big);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background: #fff;
}

.edu-event.event-style-1 .inner:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.edu-event.event-style-1 .content .title a {
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* ---- CTA Banner (legacy pages) ---- */
.university-cta-wrapper {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.university-cta-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.university-cta-wrapper.edu-cta-banner-area::before {
    display: none;
}

.university-cta-wrapper .edu-cta-banner .section-title .title {
    color: #fff;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.university-cta-wrapper .section-title .title .color-primary {
    color: var(--color-secondary) !important;
}

/* ==========================================================================
   KCI Footer — Graphy-style
   ========================================================================== */
.kci-footer {
    position: relative;
    margin-top: 0;
}

/* Dark CTA block */
.kci-footer-cta {
    position: relative;
    background: #0a0a0a;
    /* border-radius: 0 0 32px 32px; */
    padding: 72px 0 96px;
    overflow: hidden;
    text-align: center;
}

.kci-footer-cta__glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 40%, transparent 70%);
    pointer-events: none;
}

.kci-footer-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
}

.kci-footer-cta__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.kci-footer-cta__text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 32px;
}

.kci-footer-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: #fff;
    color: #0a0a0a;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.kci-footer-cta__btn:hover {
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

/* Footer body on light gray */
.kci-footer-body {
    position: relative;
    background: #f0f1f3;
    padding: 48px 0 48px;
    margin-top: 0;
    overflow: hidden;
}

.kci-footer-watermark {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: clamp(120px, 18vw, 220px);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: rgba(12, 20, 69, 0.04);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    line-height: 1;
}

/* White card */
.kci-footer-card {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 24px;
    padding: 48px 48px 32px;
    box-shadow: 0 4px 40px rgba(12, 20, 69, 0.06);
    border: 1px solid rgba(12, 20, 69, 0.05);
}

/* Brand column */
.kci-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
}

.kci-footer-logo img {
    border-radius: 50%;
    object-fit: cover;
}

.kci-footer-logo span {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-heading);
}

.kci-footer-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--color-body);
    margin-bottom: 24px;
    max-width: 320px;
}

.kci-footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.kci-footer-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    color: var(--color-heading);
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.kci-footer-social li a:hover {
    background: var(--color-heading);
    border-color: var(--color-heading);
    color: #fff;
    transform: translateY(-2px);
}

/* Link columns */
.kci-footer-col__title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--color-heading);
    margin-bottom: 20px;
}

.kci-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kci-footer-links li + li {
    margin-top: 12px;
}

.kci-footer-links a {
    font-size: 14px;
    color: var(--color-body);
    text-decoration: none;
    transition: color 0.2s ease;
}

.kci-footer-links a:hover {
    color: var(--color-heading);
}

/* Contact list */
.kci-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kci-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-body);
}

.kci-footer-contact li + li {
    margin-top: 14px;
}

.kci-footer-contact li i {
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 16px;
    color: var(--color-secondary-dark);
}

.kci-footer-contact a {
    color: var(--color-body);
    text-decoration: none;
    transition: color 0.2s ease;
}

.kci-footer-contact a:hover {
    color: var(--color-heading);
}

/* Bottom bar */
.kci-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.kci-footer-copy {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

.kci-footer-copy a {
    color: var(--color-heading);
    text-decoration: none;
    font-weight: 500;
}

.kci-footer-copy a:hover {
    color: var(--color-secondary-dark);
}

.kci-footer-legal {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.kci-footer-legal a {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.kci-footer-legal a:hover {
    color: var(--color-heading);
}

/* Responsive */
@media only screen and (max-width: 991px) {
    .kci-footer-cta {
        padding: 56px 0 80px;
        /* border-radius: 0 0 24px 24px; */
    }

    .kci-footer-card {
        padding: 36px 28px 28px;
    }
}

@media only screen and (max-width: 767px) {
    .kci-footer-cta {
        padding: 48px 0 72px;
    }

    .kci-footer-body {
        padding-top: 36px;
        padding-bottom: 32px;
    }

    .kci-footer-card {
        padding: 28px 20px 24px;
        border-radius: 20px;
    }

    .kci-footer-desc {
        max-width: 100%;
    }

    .kci-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 32px;
    }

    .kci-footer-legal {
        flex-wrap: wrap;
        gap: 16px;
    }

    .kci-footer-watermark {
        font-size: 80px;
        bottom: 0;
    }
}

/* ---- Breadcrumb Pages ---- */
.edu-breadcrumb-area {
    background: var(--gradient-primary) !important;
}

.edu-breadcrumb-area .page-title .title {
    font-weight: 600;
    letter-spacing: -0.03em;
}

/* ---- Course placeholder letters ---- */
.heading-font {
    font-size: 5rem !important;
    font-weight: 600 !important;
    opacity: 0.85;
    letter-spacing: 0.05em !important;
}

/* ---- Smooth scroll & selection ---- */
::selection {
    background: rgba(201, 169, 98, 0.25);
    color: var(--color-primary);
}

/* ==========================================================================
   Smooth loading — prevent flicker / layout shift
   ========================================================================== */

[data-sal|='fade'],
[data-sal|='slide'],
[data-sal|='zoom'],
body.sal-disabled [data-sal] {
    opacity: 1 !important;
    transform: none !important;
}

/* Hero: visible immediately, no 2s hidden delay or zoom jump */
.hero-banner.hero-style-3 .thumbnail-bg-content .banner-content .subtitle,
.hero-banner.hero-style-3 .thumbnail-bg-content .banner-content .title,
.hero-banner.hero-style-3 .thumbnail-bg-content .banner-content p,
.hero-banner.hero-style-3 .thumbnail-bg-content .banner-content .banner-btn {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition-delay: 0s !important;
}

.hero-banner.hero-style-3 .swiper-slide img {
    transform: scale(1) !important;
    transition: opacity 0.5s ease !important;
}

.hero-banner.hero-style-3 .swiper-lazy-preloader {
    display: none !important;
}

.hero-banner.hero-style-3 .swiper-slide img.swiper-lazy {
    opacity: 1 !important;
}

/* Softer feature overlap — less layout jump */

/* Sticky header: native CSS sticky — no fixed/placeholder jump */
.edu-header .header-mainmenu,
.header-style-2 .header-mainmenu {
    position: sticky !important;
    top: 0;
    z-index: 999;
    animation: none !important;
    transform: none !important;
}

.edu-header .header-mainmenu.edu-sticky,
.header-style-2 .header-mainmenu.edu-sticky {
    position: sticky !important;
    animation: none !important;
    transform: none !important;
}

#edu-sticky-placeholder {
    display: none !important;
    height: 0 !important;
}

/* Search popup must sit above sticky nav (z-index 999) */
.edu-search-popup {
    z-index: 10000 !important;
}

/* Reserve hero height to prevent content jump */
.hero-banner.hero-style-3 {
    min-height: clamp(480px, 55vh, 715px);
}

.hero-banner.hero-style-3 .swiper-slide img {
    min-height: clamp(480px, 55vh, 715px);
}

/* Counter numbers visible before odometer JS runs */
.odometer {
    min-width: 1.5ch;
}

/* Reduce paint flicker on cards */
.features-box.features-style-3,
.edu-course.course-style-3 .inner,
.edu-event.event-style-1 .inner,
.counterup-area-1 .edu-counterup.counterup-style-1 {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

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

/* ---- Responsive hero adjustments ---- */
@media only screen and (max-width: 767px) {
    .banner-content .title {
        font-size: 28px !important;
    }

    .features-area-3 {
        margin-top: 0;
    }

    .features-box.features-style-3 {
        margin-bottom: 16px;
    }
}

/* ---- Floating buttons: WhatsApp left, back-to-top right ---- */
.whatsapp-float {
    left: 30px !important;
    right: auto !important;
}

.rn-progress-parent {
    left: auto !important;
    right: 30px !important;
}

@media only screen and (max-width: 767px) {
    .whatsapp-float {
        left: 24px !important;
    }

    .rn-progress-parent {
        right: 24px !important;
    }
}

/* ==========================================================================
   Inner pages — shared modern layout
   ========================================================================== */
.kci-page-header {
    background: linear-gradient(165deg, #f7f8fb 0%, #eef1f6 100%);
    border-bottom: 1px solid var(--color-border);
    padding: 40px 0 44px;
}

.kci-page-header__pre {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-secondary-dark);
    margin-bottom: 10px;
}

.kci-page-header__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    color: var(--color-heading);
    line-height: 1.15;
    margin: 0 0 12px;
}

.kci-page-header__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.kci-page-header__breadcrumb a {
    color: var(--color-body);
    text-decoration: none;
    transition: color 0.2s ease;
}

.kci-page-header__breadcrumb a:hover {
    color: var(--color-primary);
}

.kci-page-header__breadcrumb span[aria-current] {
    color: var(--color-heading);
    font-weight: 600;
}

.kci-page-header__sep {
    color: rgba(12, 20, 69, 0.25);
}

.kci-page-header__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--color-body);
}

.kci-page-header__meta ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.kci-page-header__meta li {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.kci-page-header__meta i {
    color: var(--color-secondary);
}

.kci-inner-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

.kci-inner-layout--wide {
    grid-template-columns: 1fr;
}

.kci-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-big);
    box-shadow: var(--shadow-soft);
    padding: 28px;
}

.kci-card + .kci-card {
    margin-top: 24px;
}

.kci-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-heading);
    margin: 0 0 16px;
}

/* Why choose (inner pages) */
.kci-why .section-title .title {
    font-size: clamp(2rem, 3.8vw, 2.75rem);
    max-width: 820px;
}

.kci-why .section-title .pre-title {
    font-size: 13px;
    margin-bottom: 16px;
}

.kci-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.kci-why-card {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-big);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kci-why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.kci-why-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(12, 20, 69, 0.06);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.kci-why-card__icon--gold {
    background: rgba(201, 169, 98, 0.15);
    color: var(--color-secondary-dark);
}

.kci-why-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--color-heading);
}

.kci-why-card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--color-body);
    margin: 0;
}

/* Contact */
.kci-contact__grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 32px;
    align-items: start;
}

.kci-contact-info {
    display: grid;
    gap: 16px;
}

.kci-contact-info__item {
    display: flex;
    gap: 16px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-big);
    box-shadow: var(--shadow-soft);
}

.kci-contact-info__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(12, 20, 69, 0.06);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.kci-contact-info__item h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--color-heading);
}

.kci-contact-info__item p,
.kci-contact-info__item a {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-body);
    margin: 0;
    text-decoration: none;
}

.kci-contact-info__item a:hover {
    color: var(--color-primary);
}

.kci-contact-form-wrap {
    padding: 32px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-big);
    box-shadow: var(--shadow-soft);
}

.kci-contact-form-wrap .form-control {
    border: 1px solid var(--color-border) !important;
    border-radius: 8px;
    padding: 0 14px !important;
    font-size: 14px;
    color: var(--color-heading);
    background: var(--color-lighten04);
    box-shadow: none !important;
}

.kci-contact-form-wrap input.form-control {
    height: 44px !important;
}

.kci-contact-form-wrap textarea.form-control {
    min-height: 140px;
    padding: 12px 14px !important;
    resize: vertical;
}

.kci-contact-form-wrap .form-control::placeholder {
    color: rgba(12, 20, 69, 0.4);
}

.kci-contact-form-wrap .form-control:focus {
    background: #fff;
    border-color: var(--color-secondary) !important;
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.18) !important;
    outline: none;
}

.kci-contact-form-wrap .form-control.is-invalid {
    border-color: #dc3545 !important;
}

.kci-contact-form-wrap .form-group {
    margin-bottom: 0;
}

.kci-contact-form-wrap .kci-contact-form__captcha {
    max-width: 150px;
}

.kci-map {
    margin-top: 0;
    border-radius: var(--radius-big);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.kci-map iframe {
    display: block;
    width: 100%;
    min-height: 380px;
    border: 0;
}

/* FAQ */
.kci-faq__layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

.kci-faq-nav {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-big);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 100px;
}

.kci-faq-nav h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--color-heading);
}

.kci-faq-nav .nav-tabs {
    flex-direction: column;
    gap: 8px;
    border: none;
}

.kci-faq-nav .nav-link {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-body);
    background: var(--color-lighten04);
    border: 1px solid var(--color-border);
    border-radius: 12px;
}

.kci-faq-nav .nav-link.active,
.kci-faq-nav .nav-link:hover {
    color: #fff;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.kci-faq-content .accordion-item {
    border: 1px solid var(--color-border);
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: var(--shadow-soft);
}

.kci-faq-content .accordion-button {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-heading);
    background: #fff;
    box-shadow: none;
    padding: 18px 22px;
}

.kci-faq-content .accordion-button:not(.collapsed) {
    color: var(--color-primary);
    background: rgba(12, 20, 69, 0.03);
}

.kci-faq-content .accordion-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-body);
    padding: 0 22px 20px;
}

/* Gallery */
.kci-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.kci-gallery__item {
    position: relative;
    display: block;
    border-radius: var(--radius-big);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
}

.kci-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.kci-gallery__item:hover img {
    transform: scale(1.05);
}

.kci-gallery__zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 20, 69, 0.45);
    color: #fff;
    font-size: 28px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kci-gallery__item:hover .kci-gallery__zoom {
    opacity: 1;
}

/* Blog list */
.kci-blog-list__item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-big);
    box-shadow: var(--shadow-soft);
    margin-bottom: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kci-blog-list__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.kci-blog-list__thumb {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--color-lighten04);
}

.kci-blog-list__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kci-blog-list__cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-secondary-dark);
    margin-bottom: 8px;
}

.kci-blog-list__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.35;
}

.kci-blog-list__title a {
    color: var(--color-heading);
    text-decoration: none;
}

.kci-blog-list__title a:hover {
    color: var(--color-primary);
}

.kci-blog-list__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--color-body);
    margin-bottom: 12px;
    list-style: none;
    padding: 0;
}

.kci-blog-list__excerpt {
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-body);
    margin: 0 0 16px;
}

.kci-blog-list__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--color-secondary);
    padding-bottom: 2px;
}

/* Sidebar widgets */
.kci-sidebar .kci-widget {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-big);
    box-shadow: var(--shadow-soft);
    margin-bottom: 24px;
}

.kci-sidebar .kci-widget__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--color-heading);
}

.kci-sidebar-search__field {
    position: relative;
    display: flex;
    align-items: center;
}

.kci-sidebar-search__field i {
    position: absolute;
    left: 14px;
    font-size: 16px;
    color: rgba(12, 20, 69, 0.45);
    pointer-events: none;
    z-index: 1;
}

.kci-sidebar-search input[type="search"] {
    width: 100%;
    height: 44px !important;
    padding: 0 14px 0 42px !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 8px;
    font-size: 14px;
    color: var(--color-heading);
    background: var(--color-lighten04);
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
}

.kci-sidebar-search input[type="search"]::placeholder {
    color: rgba(12, 20, 69, 0.4);
}

.kci-sidebar-search input[type="search"]:focus {
    outline: none;
    background: #fff;
    border-color: var(--color-secondary) !important;
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.18) !important;
}

.kci-sidebar-search input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.kci-sidebar .category-list,
.kci-sidebar .latest-post-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kci-sidebar .category-list li {
    border-bottom: 1px solid var(--color-border);
}

.kci-sidebar .category-list li:last-child {
    border-bottom: none;
}

.kci-sidebar .category-list a {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: var(--color-body);
    text-decoration: none;
}

.kci-sidebar .category-list a:hover {
    color: var(--color-primary);
}

.kci-sidebar .latest-post {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.kci-sidebar .latest-post:last-child {
    border-bottom: none;
}

.kci-sidebar .latest-post .title a {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-heading);
    text-decoration: none;
    line-height: 1.4;
}

.kci-sidebar .widget-action {
    background: linear-gradient(145deg, var(--color-primary) 0%, #0a1030 100%);
    color: #fff;
    border: none;
}

.kci-sidebar .widget-action .kci-widget__title,
.kci-sidebar .widget-action p {
    color: rgba(255, 255, 255, 0.9);
}

.kci-sidebar .widget-action .edu-btn {
    background: #fff;
    color: var(--color-primary);
    border-radius: 50px;
    font-weight: 600;
}

/* Course details */
.kci-course-detail .heading-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-heading);
    margin: 0 0 16px;
}

.kci-course-detail .course-details-content {
    padding: 32px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-big);
    box-shadow: var(--shadow-soft);
}

.kci-course-detail .border-box {
    padding: 24px;
    background: var(--color-lighten04);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    margin: 24px 0;
}

.kci-course-detail .edu-accordion .accordion-item {
    border: 1px solid var(--color-border);
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: 12px;
}

.kci-course-detail .accordion-button {
    font-weight: 600;
    font-size: 15px;
}

/* Blog detail */
.kci-blog-detail__media {
    margin: -28px -28px 24px;
    border-radius: var(--radius-big) var(--radius-big) 0 0;
    overflow: hidden;
}

.kci-blog-detail__image {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.kci-blog-detail__video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

.kci-blog-detail__content {
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-body);
}

.kci-blog-detail__tags,
.kci-blog-detail__share {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.kci-blog-detail__tags h6,
.kci-blog-detail__share h6 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--color-heading);
}

.kci-blog-author {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.kci-blog-author__avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}

.kci-blog-author h5 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.kci-blog-author p {
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 12px;
}

.kci-blog-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.kci-blog-nav__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-big);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    color: var(--color-heading);
    font-size: 14px;
    font-weight: 600;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kci-blog-nav__link:hover {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-card);
    color: var(--color-primary);
}

.kci-blog-nav__link--next {
    justify-content: flex-end;
    text-align: right;
}

.kci-sidebar .category-list li span {
    color: var(--color-body);
}

.kci-sidebar .kci-widget .category-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
}

.kci-sidebar .tag-list a {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 8px 8px 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-body);
    background: var(--color-lighten04);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.kci-sidebar .tag-list a:hover {
    color: #fff;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

/* Hide legacy inner-page chrome when modern layout is used */
.kci-page-header + .edu-breadcrumb-area {
    display: none;
}

@media only screen and (max-width: 991px) {
    .kci-inner-layout,
    .kci-contact__grid,
    .kci-faq__layout {
        grid-template-columns: 1fr;
    }

    .kci-why__grid {
        grid-template-columns: 1fr;
    }

    .kci-blog-list__item {
        grid-template-columns: 1fr;
    }

    .kci-faq-nav {
        position: static;
    }
}

@media only screen and (max-width: 767px) {
    .kci-page-header {
        padding: 32px 0 36px;
    }
}

/* ==========================================================================
   Student Enquiry Modal
   ========================================================================== */
.kci-enquiry-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(12, 20, 69, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.kci-enquiry-modal {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 32px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(12, 20, 69, 0.22);
    border: 1px solid rgba(201, 169, 98, 0.25);
}

.kci-enquiry-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.kci-enquiry-modal__close:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: rotate(90deg);
}

.kci-enquiry-modal__header {
    padding: 20px 24px 14px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #121a52 55%, #0a1030 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.kci-enquiry-modal__header::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(201, 169, 98, 0.18);
    pointer-events: none;
}

.kci-enquiry-modal__pre {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 6px;
}

.kci-enquiry-modal__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 4px;
    color: #fff;
}

.kci-enquiry-modal__subtitle {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.kci-enquiry-modal__body {
    padding: 16px 20px 18px;
    overflow-y: auto;
}

.kci-enquiry-modal__success {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #166534;
}

.kci-enquiry-modal__success i {
    font-size: 20px;
    margin-top: 2px;
}

.kci-enquiry-modal__success strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.kci-enquiry-modal__success span {
    font-size: 13px;
    font-weight: 400;
}

.kci-enquiry-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
}

.kci-enquiry-form__group--full {
    grid-column: 1 / -1;
}

.kci-enquiry-form__group {
    margin-bottom: 0;
}

.kci-enquiry-form__group label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-heading);
    letter-spacing: 0.01em;
}

.kci-enquiry-form__req {
    color: var(--color-secondary-dark);
    font-weight: 600;
}

.kci-enquiry-form__opt {
    color: var(--color-body);
    font-weight: 400;
    font-size: 12px;
}

.kci-enquiry-form__group input,
.kci-enquiry-form__group select,
.kci-enquiry-form__group textarea {
    width: 100%;
    padding: 0 12px !important;
    font-size: 13px !important;
    font-weight: 400;
    color: var(--color-heading);
    background: var(--color-lighten04);
    border: 1px solid var(--color-border) !important;
    border-radius: 8px;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.kci-enquiry-form__group input {
    height: 38px !important;
}

.kci-enquiry-form__group select {
    height: 38px !important;
    padding-right: 28px !important;
}

.kci-enquiry-form__group input::placeholder,
.kci-enquiry-form__group textarea::placeholder {
    color: rgba(12, 20, 69, 0.38);
    font-weight: 400;
}

.kci-enquiry-form__group input:focus,
.kci-enquiry-form__group select:focus,
.kci-enquiry-form__group textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.18);
}

.kci-enquiry-form__group input.is-invalid,
.kci-enquiry-form__group select.is-invalid,
.kci-enquiry-form__group textarea.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12);
}

.kci-enquiry-form__group textarea {
    height: auto !important;
    padding: 8px 12px !important;
    resize: vertical;
    min-height: 58px;
    max-height: 100px;
    line-height: 1.45;
}

.kci-enquiry-form__error {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    color: #dc3545;
    font-weight: 400;
}

.kci-enquiry-form__alert {
    padding: 8px 10px;
    margin-top: 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 400;
    color: #991b1b;
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.kci-enquiry-form__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

.kci-enquiry-form__submit {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-secondary) 0%, #dfc88a 100%);
    box-shadow: 0 6px 18px rgba(201, 169, 98, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kci-enquiry-form__submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(201, 169, 98, 0.45);
}

.kci-enquiry-form__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.kci-enquiry-form__cancel {
    flex-shrink: 0;
    padding: 8px 4px;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-body);
    cursor: pointer;
    transition: color 0.2s ease;
}

.kci-enquiry-form__cancel:hover {
    color: var(--color-primary);
}

@media only screen and (max-width: 767px) {
    .kci-enquiry-modal__header,
    .kci-enquiry-modal__body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .kci-enquiry-form__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .kci-enquiry-form__actions {
        flex-direction: column;
    }

    .kci-enquiry-form__cancel {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   Mobile sidebar / drawer menu
   ========================================================================== */
.kci-mobile-menu {
    background-color: rgba(12, 20, 69, 0.55) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.kci-mobile-menu .inner {
    width: min(320px, 88vw);
    background: #fff;
    box-shadow: 8px 0 40px rgba(12, 20, 69, 0.18);
    border-right: 1px solid rgba(201, 169, 98, 0.2);
}

.kci-mobile-menu__header {
    padding: 16px 18px !important;
    border-bottom: none !important;
    background: linear-gradient(135deg, var(--color-primary) 0%, #121a52 100%);
}

.kci-mobile-menu__header .logo a img.kci-mobile-menu__logo {
    display: block !important;
    max-height: 46px;
    width: auto;
    background: #fff;
    border-radius: 10px;
    padding: 4px 6px;
}

.kci-mobile-menu__header .logo a img.logo-light,
.kci-mobile-menu__header .logo a img.logo-dark {
    display: none !important;
}

.kci-mobile-menu__header .close-menu .close-button {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    box-shadow: none !important;
    border-radius: 50%;
    font-size: 15px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.kci-mobile-menu__header .close-menu .close-button:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #fff !important;
    transform: rotate(90deg);
}

.kci-mobile-menu__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 16px 20px;
    overflow-y: auto;
}

.kci-mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 0 14px;
    padding: 0;
}

.kci-mobile-menu__link {
    display: block;
    margin: 0;
    padding: 11px 14px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-heading);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    text-decoration: none;
    -webkit-text-fill-color: currentColor;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.kci-mobile-menu__link::before,
.kci-mobile-menu__link::after {
    content: none !important;
    display: none !important;
}

.kci-mobile-menu__link:hover {
    color: var(--color-primary);
    border-color: rgba(201, 169, 98, 0.45);
    background: var(--color-lighten04);
}

.kci-mobile-menu__link.is-active {
    color: var(--color-primary);
    font-weight: 600;
    background: rgba(201, 169, 98, 0.12);
    border-color: rgba(201, 169, 98, 0.55);
    box-shadow: inset 3px 0 0 var(--color-secondary);
}

.kci-mobile-menu__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.kci-mobile-menu__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kci-mobile-menu__btn--primary {
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-secondary) 0%, #dfc88a 100%);
    box-shadow: 0 6px 18px rgba(201, 169, 98, 0.35);
}

.kci-mobile-menu__btn--primary:hover {
    color: var(--color-primary);
    transform: translateY(-1px);
}

.kci-mobile-menu__btn--outline {
    color: var(--color-primary);
    background: #fff;
    border: 1px solid var(--color-border);
}

.kci-mobile-menu__btn--outline:hover {
    color: var(--color-primary);
    border-color: var(--color-secondary);
}

.kci-mobile-menu__contact {
    margin-top: auto;
    padding: 14px 0 8px;
    border-top: 1px solid var(--color-border);
    display: grid;
    gap: 6px;
}

.kci-mobile-menu__contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--color-body);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 10px;
    word-break: break-word;
    transition: color 0.2s ease, background 0.2s ease;
}

.kci-mobile-menu__contact a i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(12, 20, 69, 0.06);
    color: var(--color-primary);
    font-size: 14px;
    flex-shrink: 0;
}

.kci-mobile-menu__contact a:hover {
    color: var(--color-primary);
    background: var(--color-lighten04);
}

.header-style-2 .hamberger-button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-lighten04);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.header-style-2 .hamberger-button:hover {
    background: rgba(201, 169, 98, 0.15);
    border-color: rgba(201, 169, 98, 0.45);
    transform: scale(1.03);
}

.header-style-2 .hamberger-button i {
    font-size: 18px;
}

body:has(.popup-mobile-menu.active) .whatsapp-float {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

/* ==========================================================================
   Student / Auth login page
   ========================================================================== */
.kci-auth-page {
    padding-top: 48px;
    padding-bottom: 64px;
}

.kci-auth-card {
    max-width: 460px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.kci-auth-card__header {
    padding: 28px 28px 22px;
    text-align: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, #121a52 100%);
    color: #fff;
}

.kci-auth-card__logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: #fff;
    border-radius: 14px;
    padding: 8px;
    margin-bottom: 16px;
}

.kci-auth-card__header h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
    color: #fff;
}

.kci-auth-card__header p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

.kci-auth-card__body {
    padding: 24px 28px 28px;
}

.kci-auth-form {
    width: 100%;
}

.kci-auth-form__group input,
.kci-auth-form__submit {
    box-sizing: border-box;
    max-width: 100%;
}

.kci-auth-alert {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 16px;
}

.kci-auth-alert--success {
    color: #166534;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.kci-auth-alert--error {
    color: #991b1b;
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.kci-auth-form__group {
    margin-bottom: 14px;
}

.kci-auth-form__group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-heading);
}

.kci-auth-form__req {
    color: var(--color-secondary-dark);
}

.kci-auth-form__group input {
    width: 100%;
    height: 44px !important;
    padding: 0 14px !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 8px;
    font-size: 14px;
    color: var(--color-heading);
    background: var(--color-lighten04);
    box-shadow: none !important;
}

.kci-auth-form__group--password {
    position: relative;
}

.kci-auth-form__group--password input {
    padding-right: 44px !important;
}

.kci-auth-form__toggle {
    position: absolute;
    right: 8px;
    bottom: 6px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--color-body);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.kci-auth-form__toggle:hover {
    color: var(--color-primary);
    background: rgba(12, 20, 69, 0.05);
}

.kci-auth-form__group input::placeholder {
    color: rgba(12, 20, 69, 0.4);
}

.kci-auth-form__group input:focus {
    outline: none;
    background: #fff;
    border-color: var(--color-secondary) !important;
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.18) !important;
}

.kci-auth-form__group input.is-invalid {
    border-color: #dc3545 !important;
}

.kci-auth-form__error {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #dc3545;
}

.kci-auth-form__remember {
    margin: 4px 0 18px;
}

.kci-auth-form__check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-body);
    cursor: pointer;
    margin: 0;
}

.kci-auth-form__check input {
    width: 16px;
    height: 16px !important;
    accent-color: var(--color-primary);
}

.kci-auth-form__submit {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-secondary) 0%, #dfc88a 100%);
    box-shadow: 0 6px 18px rgba(201, 169, 98, 0.35);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kci-auth-form__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(201, 169, 98, 0.42);
}

.kci-auth-card__footer {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.kci-auth-card__footer p {
    font-size: 14px;
    color: var(--color-body);
    margin: 0 0 8px;
}

.kci-auth-card__footer a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.kci-auth-card__footer a:hover {
    color: var(--color-secondary-dark);
}

.kci-auth-card__back {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-body) !important;
}

@media only screen and (max-width: 767px) {
    .kci-auth-page {
        padding-top: 32px;
        padding-bottom: 48px;
    }

    .kci-auth-card__header,
    .kci-auth-card__body {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ---- Verify student page ---- */
.kci-verify-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-big);
    box-shadow: var(--shadow-soft);
    padding: 32px;
    margin-bottom: 24px;
}

.kci-verify-card__intro {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.kci-verify-card__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(12, 20, 69, 0.08);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.kci-verify-alert {
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
}

.kci-verify-form .form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 8px;
}

.kci-verify-form .form-control {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    min-height: 48px;
    padding: 10px 14px;
    font-size: 15px;
}

.kci-verify-form .form-control:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.15);
}

.kci-verify-result {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-big);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.kci-verify-result__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 24px 28px;
    border-bottom: 1px solid var(--color-border);
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.kci-verify-result__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.kci-verify-preview {
    padding: 16px;
    background: #f8fafc;
}

.kci-verify-preview iframe {
    display: block;
    width: 100%;
    height: 640px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
}

@media only screen and (max-width: 767px) {
    .kci-verify-card {
        padding: 22px 18px;
    }

    .kci-verify-result__header {
        padding: 18px;
    }

    .kci-verify-preview iframe {
        height: 420px;
    }
}
